{"version":3,"sources":["node_modules/@vendasta/billing/fesm2022/vendasta-billing.mjs","libs/billing/src/lib/core/sort-direction.ts","libs/billing/src/lib/core/paged-response.ts"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { Injectable } from '@angular/core';\nimport * as i1 from '@angular/common/http';\nimport { HttpHeaders } from '@angular/common/http';\nimport { map } from 'rxjs/operators';\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar Frequency = /*#__PURE__*/function (Frequency) {\n Frequency[Frequency[\"INVALID\"] = 0] = \"INVALID\";\n Frequency[Frequency[\"MONTHLY\"] = 1] = \"MONTHLY\";\n Frequency[Frequency[\"YEARLY\"] = 2] = \"YEARLY\";\n Frequency[Frequency[\"ONE_TIME\"] = 3] = \"ONE_TIME\";\n return Frequency;\n}(Frequency || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar Currency = /*#__PURE__*/function (Currency) {\n Currency[Currency[\"USD\"] = 0] = \"USD\";\n Currency[Currency[\"CAD\"] = 1] = \"CAD\";\n Currency[Currency[\"EUR\"] = 2] = \"EUR\";\n Currency[Currency[\"AUD\"] = 3] = \"AUD\";\n Currency[Currency[\"GBP\"] = 4] = \"GBP\";\n Currency[Currency[\"NZD\"] = 5] = \"NZD\";\n Currency[Currency[\"BRL\"] = 6] = \"BRL\";\n Currency[Currency[\"CHF\"] = 7] = \"CHF\";\n Currency[Currency[\"CNY\"] = 8] = \"CNY\";\n Currency[Currency[\"CZK\"] = 9] = \"CZK\";\n Currency[Currency[\"INR\"] = 10] = \"INR\";\n Currency[Currency[\"JPY\"] = 11] = \"JPY\";\n Currency[Currency[\"KHR\"] = 12] = \"KHR\";\n Currency[Currency[\"KRW\"] = 13] = \"KRW\";\n Currency[Currency[\"MXN\"] = 14] = \"MXN\";\n Currency[Currency[\"NOK\"] = 15] = \"NOK\";\n Currency[Currency[\"RUB\"] = 16] = \"RUB\";\n Currency[Currency[\"SEK\"] = 17] = \"SEK\";\n Currency[Currency[\"SGD\"] = 18] = \"SGD\";\n Currency[Currency[\"TRY\"] = 19] = \"TRY\";\n Currency[Currency[\"ZAR\"] = 20] = \"ZAR\";\n Currency[Currency[\"DZD\"] = 21] = \"DZD\";\n Currency[Currency[\"AWG\"] = 22] = \"AWG\";\n Currency[Currency[\"FJD\"] = 23] = \"FJD\";\n Currency[Currency[\"KYD\"] = 24] = \"KYD\";\n return Currency;\n}(Currency || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar FeeAmountType = /*#__PURE__*/function (FeeAmountType) {\n FeeAmountType[FeeAmountType[\"FEE_AMOUNT_TYPE_INVALID\"] = 0] = \"FEE_AMOUNT_TYPE_INVALID\";\n FeeAmountType[FeeAmountType[\"FEE_AMOUNT_TYPE_FIXED\"] = 1] = \"FEE_AMOUNT_TYPE_FIXED\";\n FeeAmountType[FeeAmountType[\"FEE_AMOUNT_TYPE_PERCENTAGE\"] = 2] = \"FEE_AMOUNT_TYPE_PERCENTAGE\";\n return FeeAmountType;\n}(FeeAmountType || {});\nvar FeeType = /*#__PURE__*/function (FeeType) {\n FeeType[FeeType[\"FEE_TYPE_INVALID\"] = 0] = \"FEE_TYPE_INVALID\";\n FeeType[FeeType[\"FEE_TYPE_MANAGEMENT\"] = 1] = \"FEE_TYPE_MANAGEMENT\";\n return FeeType;\n}(FeeType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar BillingStrategy = /*#__PURE__*/function (BillingStrategy) {\n BillingStrategy[BillingStrategy[\"BILLING_STRATEGY_NONE\"] = 0] = \"BILLING_STRATEGY_NONE\";\n BillingStrategy[BillingStrategy[\"BILLING_STRATEGY_END_OF_PERIOD\"] = 1] = \"BILLING_STRATEGY_END_OF_PERIOD\";\n BillingStrategy[BillingStrategy[\"BILLING_STRATEGY_START_OF_PERIOD\"] = 2] = \"BILLING_STRATEGY_START_OF_PERIOD\";\n BillingStrategy[BillingStrategy[\"BILLING_STRATEGY_INSTANTLY\"] = 3] = \"BILLING_STRATEGY_INSTANTLY\";\n BillingStrategy[BillingStrategy[\"BILLING_STRATEGY_END_OF_DAY\"] = 4] = \"BILLING_STRATEGY_END_OF_DAY\";\n return BillingStrategy;\n}(BillingStrategy || {});\nvar ProductPricingType = /*#__PURE__*/function (ProductPricingType) {\n ProductPricingType[ProductPricingType[\"PRODUCT_PRICING_TYPE_INVALID\"] = 0] = \"PRODUCT_PRICING_TYPE_INVALID\";\n ProductPricingType[ProductPricingType[\"PRODUCT_PRICING_TYPE_STANDARD\"] = 1] = \"PRODUCT_PRICING_TYPE_STANDARD\";\n ProductPricingType[ProductPricingType[\"PRODUCT_PRICING_TYPE_STAIRSTEP\"] = 2] = \"PRODUCT_PRICING_TYPE_STAIRSTEP\";\n ProductPricingType[ProductPricingType[\"PRODUCT_PRICING_TYPE_TIERED\"] = 3] = \"PRODUCT_PRICING_TYPE_TIERED\";\n return ProductPricingType;\n}(ProductPricingType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar Source = /*#__PURE__*/function (Source) {\n Source[Source[\"SOURCE_UNSET\"] = 0] = \"SOURCE_UNSET\";\n Source[Source[\"SOURCE_SYSTEM\"] = 1] = \"SOURCE_SYSTEM\";\n Source[Source[\"SOURCE_USER\"] = 2] = \"SOURCE_USER\";\n return Source;\n}(Source || {});\nvar SubscriptionStatus = /*#__PURE__*/function (SubscriptionStatus) {\n SubscriptionStatus[SubscriptionStatus[\"SUBSCRIPTION_STATUS_UNSET\"] = 0] = \"SUBSCRIPTION_STATUS_UNSET\";\n SubscriptionStatus[SubscriptionStatus[\"SUBSCRIPTION_STATUS_ACTIVE\"] = 1] = \"SUBSCRIPTION_STATUS_ACTIVE\";\n SubscriptionStatus[SubscriptionStatus[\"SUBSCRIPTION_STATUS_EXPIRED\"] = 2] = \"SUBSCRIPTION_STATUS_EXPIRED\";\n return SubscriptionStatus;\n}(SubscriptionStatus || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar DiscountType = /*#__PURE__*/function (DiscountType) {\n DiscountType[DiscountType[\"DISCOUNT_TYPE_FIXED_AMOUNT\"] = 0] = \"DISCOUNT_TYPE_FIXED_AMOUNT\";\n DiscountType[DiscountType[\"DISCOUNT_TYPE_PERCENT_AMOUNT\"] = 1] = \"DISCOUNT_TYPE_PERCENT_AMOUNT\";\n DiscountType[DiscountType[\"DISCOUNT_TYPE_FIXED_NUMBER_OF_UNITS\"] = 2] = \"DISCOUNT_TYPE_FIXED_NUMBER_OF_UNITS\";\n DiscountType[DiscountType[\"DISCOUNT_TYPE_FIXED_AMOUNT_PER_UNIT\"] = 3] = \"DISCOUNT_TYPE_FIXED_AMOUNT_PER_UNIT\";\n return DiscountType;\n}(DiscountType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar ContractSubscriptionStatus = /*#__PURE__*/function (ContractSubscriptionStatus) {\n ContractSubscriptionStatus[ContractSubscriptionStatus[\"CONTRACT_SUBSCRIPTION_STATUS_UNSET\"] = 0] = \"CONTRACT_SUBSCRIPTION_STATUS_UNSET\";\n ContractSubscriptionStatus[ContractSubscriptionStatus[\"CONTRACT_SUBSCRIPTION_STATUS_PENDING\"] = 1] = \"CONTRACT_SUBSCRIPTION_STATUS_PENDING\";\n ContractSubscriptionStatus[ContractSubscriptionStatus[\"CONTRACT_SUBSCRIPTION_STATUS_SUCCEEDED\"] = 2] = \"CONTRACT_SUBSCRIPTION_STATUS_SUCCEEDED\";\n ContractSubscriptionStatus[ContractSubscriptionStatus[\"CONTRACT_SUBSCRIPTION_STATUS_FAILED\"] = 3] = \"CONTRACT_SUBSCRIPTION_STATUS_FAILED\";\n return ContractSubscriptionStatus;\n}(ContractSubscriptionStatus || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar ProductSummaryBillingStrategy = /*#__PURE__*/function (ProductSummaryBillingStrategy) {\n ProductSummaryBillingStrategy[ProductSummaryBillingStrategy[\"CHARGE_AT_END_OF_BILLING_PERIOD\"] = 0] = \"CHARGE_AT_END_OF_BILLING_PERIOD\";\n ProductSummaryBillingStrategy[ProductSummaryBillingStrategy[\"CHARGE_AT_START_OF_BILLING_PERIOD\"] = 1] = \"CHARGE_AT_START_OF_BILLING_PERIOD\";\n ProductSummaryBillingStrategy[ProductSummaryBillingStrategy[\"CHARGE_INSTANTLY\"] = 2] = \"CHARGE_INSTANTLY\";\n ProductSummaryBillingStrategy[ProductSummaryBillingStrategy[\"CHARGE_AT_END_OF_DAY\"] = 3] = \"CHARGE_AT_END_OF_DAY\";\n return ProductSummaryBillingStrategy;\n}(ProductSummaryBillingStrategy || {});\nvar ProductSummaryDiscountDiscountType = /*#__PURE__*/function (ProductSummaryDiscountDiscountType) {\n ProductSummaryDiscountDiscountType[ProductSummaryDiscountDiscountType[\"FIXED_AMOUNT\"] = 0] = \"FIXED_AMOUNT\";\n ProductSummaryDiscountDiscountType[ProductSummaryDiscountDiscountType[\"PERCENT_AMOUNT\"] = 1] = \"PERCENT_AMOUNT\";\n ProductSummaryDiscountDiscountType[ProductSummaryDiscountDiscountType[\"FIXED_NUMBER_OF_UNITS\"] = 2] = \"FIXED_NUMBER_OF_UNITS\";\n ProductSummaryDiscountDiscountType[ProductSummaryDiscountDiscountType[\"FIXED_AMOUNT_PER_UNIT\"] = 3] = \"FIXED_AMOUNT_PER_UNIT\";\n return ProductSummaryDiscountDiscountType;\n}(ProductSummaryDiscountDiscountType || {});\nvar ProductSummaryProductType = /*#__PURE__*/function (ProductSummaryProductType) {\n ProductSummaryProductType[ProductSummaryProductType[\"BUNDLE\"] = 0] = \"BUNDLE\";\n ProductSummaryProductType[ProductSummaryProductType[\"FEE\"] = 1] = \"FEE\";\n ProductSummaryProductType[ProductSummaryProductType[\"PRODUCT\"] = 2] = \"PRODUCT\";\n ProductSummaryProductType[ProductSummaryProductType[\"SUBSCRIPTION\"] = 3] = \"SUBSCRIPTION\";\n ProductSummaryProductType[ProductSummaryProductType[\"VENDASTA_PRODUCT\"] = 4] = \"VENDASTA_PRODUCT\";\n return ProductSummaryProductType;\n}(ProductSummaryProductType || {});\nvar PricingRuleType = /*#__PURE__*/function (PricingRuleType) {\n PricingRuleType[PricingRuleType[\"STANDARD\"] = 0] = \"STANDARD\";\n PricingRuleType[PricingRuleType[\"STAIRSTEP\"] = 1] = \"STAIRSTEP\";\n PricingRuleType[PricingRuleType[\"TIERED\"] = 2] = \"TIERED\";\n PricingRuleType[PricingRuleType[\"CUSTOM\"] = 3] = \"CUSTOM\";\n return PricingRuleType;\n}(PricingRuleType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar SubscribeValidationStatus = /*#__PURE__*/function (SubscribeValidationStatus) {\n SubscribeValidationStatus[SubscribeValidationStatus[\"SUBSCRIBE_VALIDATION_STATUS_UNSET\"] = 0] = \"SUBSCRIBE_VALIDATION_STATUS_UNSET\";\n SubscribeValidationStatus[SubscribeValidationStatus[\"SUBSCRIBE_VALIDATION_STATUS_CANNOT_INSTANT_BILL\"] = 1] = \"SUBSCRIBE_VALIDATION_STATUS_CANNOT_INSTANT_BILL\";\n SubscribeValidationStatus[SubscribeValidationStatus[\"SUBSCRIBE_VALIDATION_STATUS_MISSING_MERCHANT_INFO\"] = 2] = \"SUBSCRIBE_VALIDATION_STATUS_MISSING_MERCHANT_INFO\";\n SubscribeValidationStatus[SubscribeValidationStatus[\"SUBSCRIBE_VALIDATION_STATUS_MISSING_PAYMENT_INFO\"] = 3] = \"SUBSCRIBE_VALIDATION_STATUS_MISSING_PAYMENT_INFO\";\n SubscribeValidationStatus[SubscribeValidationStatus[\"SUBSCRIBE_VALIDATION_STATUS_WILL_CAUSE_FUTURE_CHARGES\"] = 4] = \"SUBSCRIBE_VALIDATION_STATUS_WILL_CAUSE_FUTURE_CHARGES\";\n return SubscribeValidationStatus;\n}(SubscribeValidationStatus || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar Consumer = /*#__PURE__*/function (Consumer) {\n Consumer[Consumer[\"CONSUMER_WHOLESALE\"] = 0] = \"CONSUMER_WHOLESALE\";\n Consumer[Consumer[\"CONSUMER_RETAIL\"] = 1] = \"CONSUMER_RETAIL\";\n return Consumer;\n}(Consumer || {});\nvar RenewalState = /*#__PURE__*/function (RenewalState) {\n RenewalState[RenewalState[\"RENEWAL_STATE_IMMEDIATE\"] = 0] = \"RENEWAL_STATE_IMMEDIATE\";\n RenewalState[RenewalState[\"RENEWAL_STATE_DELAYED\"] = 1] = \"RENEWAL_STATE_DELAYED\";\n return RenewalState;\n}(RenewalState || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar PaymentCardCARD_TYPE = /*#__PURE__*/function (PaymentCardCARD_TYPE) {\n PaymentCardCARD_TYPE[PaymentCardCARD_TYPE[\"UNKNOWN\"] = 0] = \"UNKNOWN\";\n PaymentCardCARD_TYPE[PaymentCardCARD_TYPE[\"VISA\"] = 1] = \"VISA\";\n PaymentCardCARD_TYPE[PaymentCardCARD_TYPE[\"MASTERCARD\"] = 2] = \"MASTERCARD\";\n PaymentCardCARD_TYPE[PaymentCardCARD_TYPE[\"AMEX\"] = 3] = \"AMEX\";\n PaymentCardCARD_TYPE[PaymentCardCARD_TYPE[\"DISCOVER\"] = 4] = \"DISCOVER\";\n PaymentCardCARD_TYPE[PaymentCardCARD_TYPE[\"JCB\"] = 5] = \"JCB\";\n PaymentCardCARD_TYPE[PaymentCardCARD_TYPE[\"DINERS_CLUB\"] = 6] = \"DINERS_CLUB\";\n return PaymentCardCARD_TYPE;\n}(PaymentCardCARD_TYPE || {});\nvar PaymentCardFUNDING_TYPE = /*#__PURE__*/function (PaymentCardFUNDING_TYPE) {\n PaymentCardFUNDING_TYPE[PaymentCardFUNDING_TYPE[\"FUNDING_TYPE_UNKNOWN\"] = 0] = \"FUNDING_TYPE_UNKNOWN\";\n PaymentCardFUNDING_TYPE[PaymentCardFUNDING_TYPE[\"FUNDING_TYPE_CREDIT\"] = 1] = \"FUNDING_TYPE_CREDIT\";\n PaymentCardFUNDING_TYPE[PaymentCardFUNDING_TYPE[\"FUNDING_TYPE_DEBIT\"] = 2] = \"FUNDING_TYPE_DEBIT\";\n PaymentCardFUNDING_TYPE[PaymentCardFUNDING_TYPE[\"FUNDING_TYPE_PREPAID\"] = 3] = \"FUNDING_TYPE_PREPAID\";\n return PaymentCardFUNDING_TYPE;\n}(PaymentCardFUNDING_TYPE || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar PaymentMethodType = /*#__PURE__*/function (PaymentMethodType) {\n PaymentMethodType[PaymentMethodType[\"PAYMENT_METHOD_TYPE_UNSET\"] = 0] = \"PAYMENT_METHOD_TYPE_UNSET\";\n PaymentMethodType[PaymentMethodType[\"PAYMENT_METHOD_TYPE_CARD\"] = 1] = \"PAYMENT_METHOD_TYPE_CARD\";\n PaymentMethodType[PaymentMethodType[\"PAYMENT_METHOD_TYPE_ACH_DEBIT\"] = 2] = \"PAYMENT_METHOD_TYPE_ACH_DEBIT\";\n PaymentMethodType[PaymentMethodType[\"PAYMENT_METHOD_TYPE_ACSS_DEBIT\"] = 3] = \"PAYMENT_METHOD_TYPE_ACSS_DEBIT\";\n return PaymentMethodType;\n}(PaymentMethodType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar ListInvoicesRequestFiltersDateFilterDateField = /*#__PURE__*/function (ListInvoicesRequestFiltersDateFilterDateField) {\n ListInvoicesRequestFiltersDateFilterDateField[ListInvoicesRequestFiltersDateFilterDateField[\"CREATED\"] = 0] = \"CREATED\";\n return ListInvoicesRequestFiltersDateFilterDateField;\n}(ListInvoicesRequestFiltersDateFilterDateField || {});\nvar InvoiceStatus = /*#__PURE__*/function (InvoiceStatus) {\n InvoiceStatus[InvoiceStatus[\"DRAFT\"] = 0] = \"DRAFT\";\n InvoiceStatus[InvoiceStatus[\"DUE\"] = 1] = \"DUE\";\n InvoiceStatus[InvoiceStatus[\"PAID\"] = 2] = \"PAID\";\n InvoiceStatus[InvoiceStatus[\"VOID\"] = 3] = \"VOID\";\n return InvoiceStatus;\n}(InvoiceStatus || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar PayoutStatus = /*#__PURE__*/function (PayoutStatus) {\n PayoutStatus[PayoutStatus[\"PAYOUT_STATUS_NOT_SET\"] = 0] = \"PAYOUT_STATUS_NOT_SET\";\n PayoutStatus[PayoutStatus[\"PAYOUT_STATUS_PAID\"] = 1] = \"PAYOUT_STATUS_PAID\";\n PayoutStatus[PayoutStatus[\"PAYOUT_STATUS_PENDING\"] = 2] = \"PAYOUT_STATUS_PENDING\";\n PayoutStatus[PayoutStatus[\"PAYOUT_STATUS_IN_TRANSIT\"] = 3] = \"PAYOUT_STATUS_IN_TRANSIT\";\n PayoutStatus[PayoutStatus[\"PAYOUT_STATUS_CANCELED\"] = 4] = \"PAYOUT_STATUS_CANCELED\";\n PayoutStatus[PayoutStatus[\"PAYOUT_STATUS_FAILED\"] = 5] = \"PAYOUT_STATUS_FAILED\";\n return PayoutStatus;\n}(PayoutStatus || {});\nvar PayoutType = /*#__PURE__*/function (PayoutType) {\n PayoutType[PayoutType[\"PAYOUT_TYPE_NOT_SET\"] = 0] = \"PAYOUT_TYPE_NOT_SET\";\n PayoutType[PayoutType[\"PAYOUT_TYPE_BANK_ACCOUNT\"] = 1] = \"PAYOUT_TYPE_BANK_ACCOUNT\";\n PayoutType[PayoutType[\"PAYOUT_TYPE_CARD\"] = 2] = \"PAYOUT_TYPE_CARD\";\n return PayoutType;\n}(PayoutType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar SortDirection = /*#__PURE__*/function (SortDirection) {\n SortDirection[SortDirection[\"SORT_DIRECTION_ASCENDING\"] = 0] = \"SORT_DIRECTION_ASCENDING\";\n SortDirection[SortDirection[\"SORT_DIRECTION_DESCENDING\"] = 1] = \"SORT_DIRECTION_DESCENDING\";\n return SortDirection;\n}(SortDirection || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar MerchantType = /*#__PURE__*/function (MerchantType) {\n MerchantType[MerchantType[\"MERCHANT_TYPE_INVALID\"] = 0] = \"MERCHANT_TYPE_INVALID\";\n MerchantType[MerchantType[\"MERCHANT_TYPE_WHOLESALE\"] = 1] = \"MERCHANT_TYPE_WHOLESALE\";\n MerchantType[MerchantType[\"MERCHANT_TYPE_RETAIL\"] = 2] = \"MERCHANT_TYPE_RETAIL\";\n return MerchantType;\n}(MerchantType || {});\nvar SearchMerchantsRequestSortBy = /*#__PURE__*/function (SearchMerchantsRequestSortBy) {\n SearchMerchantsRequestSortBy[SearchMerchantsRequestSortBy[\"SEARCH_MERCHANTS_REQUEST_SORT_BY_MERCHANT_ID\"] = 0] = \"SEARCH_MERCHANTS_REQUEST_SORT_BY_MERCHANT_ID\";\n SearchMerchantsRequestSortBy[SearchMerchantsRequestSortBy[\"SEARCH_MERCHANTS_REQUEST_SORT_BY_COMPANY_NAME\"] = 1] = \"SEARCH_MERCHANTS_REQUEST_SORT_BY_COMPANY_NAME\";\n SearchMerchantsRequestSortBy[SearchMerchantsRequestSortBy[\"SEARCH_MERCHANTS_REQUEST_SORT_BY_CONTACT_NAME\"] = 2] = \"SEARCH_MERCHANTS_REQUEST_SORT_BY_CONTACT_NAME\";\n SearchMerchantsRequestSortBy[SearchMerchantsRequestSortBy[\"SEARCH_MERCHANTS_REQUEST_SORT_BY_EMAIL_ADDRESS\"] = 3] = \"SEARCH_MERCHANTS_REQUEST_SORT_BY_EMAIL_ADDRESS\";\n SearchMerchantsRequestSortBy[SearchMerchantsRequestSortBy[\"SEARCH_MERCHANTS_REQUEST_SORT_BY_COUNTRY\"] = 4] = \"SEARCH_MERCHANTS_REQUEST_SORT_BY_COUNTRY\";\n SearchMerchantsRequestSortBy[SearchMerchantsRequestSortBy[\"SEARCH_MERCHANTS_REQUEST_SORT_BY_STATE\"] = 5] = \"SEARCH_MERCHANTS_REQUEST_SORT_BY_STATE\";\n SearchMerchantsRequestSortBy[SearchMerchantsRequestSortBy[\"SEARCH_MERCHANTS_REQUEST_SORT_BY_CREATED\"] = 6] = \"SEARCH_MERCHANTS_REQUEST_SORT_BY_CREATED\";\n SearchMerchantsRequestSortBy[SearchMerchantsRequestSortBy[\"SEARCH_MERCHANTS_REQUEST_SORT_BY_UPDATED\"] = 7] = \"SEARCH_MERCHANTS_REQUEST_SORT_BY_UPDATED\";\n return SearchMerchantsRequestSortBy;\n}(SearchMerchantsRequestSortBy || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar Month = /*#__PURE__*/function (Month) {\n Month[Month[\"INVALID_MONTH\"] = 0] = \"INVALID_MONTH\";\n Month[Month[\"JANUARY\"] = 1] = \"JANUARY\";\n Month[Month[\"FEBRUARY\"] = 2] = \"FEBRUARY\";\n Month[Month[\"MARCH\"] = 3] = \"MARCH\";\n Month[Month[\"APRIL\"] = 4] = \"APRIL\";\n Month[Month[\"MAY\"] = 5] = \"MAY\";\n Month[Month[\"JUNE\"] = 6] = \"JUNE\";\n Month[Month[\"JULY\"] = 7] = \"JULY\";\n Month[Month[\"AUGUST\"] = 8] = \"AUGUST\";\n Month[Month[\"SEPTEMBER\"] = 9] = \"SEPTEMBER\";\n Month[Month[\"OCTOBER\"] = 10] = \"OCTOBER\";\n Month[Month[\"NOVEMBER\"] = 11] = \"NOVEMBER\";\n Month[Month[\"DECEMBER\"] = 12] = \"DECEMBER\";\n return Month;\n}(Month || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar MerchantReportStatus = /*#__PURE__*/function (MerchantReportStatus) {\n MerchantReportStatus[MerchantReportStatus[\"FAILED\"] = 0] = \"FAILED\";\n MerchantReportStatus[MerchantReportStatus[\"PENDING\"] = 1] = \"PENDING\";\n MerchantReportStatus[MerchantReportStatus[\"COMPLETED\"] = 2] = \"COMPLETED\";\n return MerchantReportStatus;\n}(MerchantReportStatus || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar CardType = /*#__PURE__*/function (CardType) {\n CardType[CardType[\"CARD_TYPE_UNKNOWN\"] = 0] = \"CARD_TYPE_UNKNOWN\";\n CardType[CardType[\"CARD_TYPE_VISA\"] = 1] = \"CARD_TYPE_VISA\";\n CardType[CardType[\"CARD_TYPE_MASTERCARD\"] = 2] = \"CARD_TYPE_MASTERCARD\";\n CardType[CardType[\"CARD_TYPE_AMEX\"] = 3] = \"CARD_TYPE_AMEX\";\n CardType[CardType[\"CARD_TYPE_DISCOVER\"] = 4] = \"CARD_TYPE_DISCOVER\";\n CardType[CardType[\"CARD_TYPE_JCB\"] = 5] = \"CARD_TYPE_JCB\";\n CardType[CardType[\"CARD_TYPE_DINERS_CLUB\"] = 6] = \"CARD_TYPE_DINERS_CLUB\";\n return CardType;\n}(CardType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar DisputeStatus = /*#__PURE__*/function (DisputeStatus) {\n DisputeStatus[DisputeStatus[\"DISPUTE_STATUS_UNSET\"] = 0] = \"DISPUTE_STATUS_UNSET\";\n DisputeStatus[DisputeStatus[\"DISPUTE_STATUS_WARNING_NEEDS_RESPONSE\"] = 1] = \"DISPUTE_STATUS_WARNING_NEEDS_RESPONSE\";\n DisputeStatus[DisputeStatus[\"DISPUTE_STATUS_WARNING_UNDER_REVIEW\"] = 2] = \"DISPUTE_STATUS_WARNING_UNDER_REVIEW\";\n DisputeStatus[DisputeStatus[\"DISPUTE_STATUS_WARNING_CLOSED\"] = 3] = \"DISPUTE_STATUS_WARNING_CLOSED\";\n DisputeStatus[DisputeStatus[\"DISPUTE_STATUS_NEEDS_RESPONSE\"] = 4] = \"DISPUTE_STATUS_NEEDS_RESPONSE\";\n DisputeStatus[DisputeStatus[\"DISPUTE_STATUS_UNDER_REVIEW\"] = 5] = \"DISPUTE_STATUS_UNDER_REVIEW\";\n DisputeStatus[DisputeStatus[\"DISPUTE_STATUS_CHARGE_REFUNDED\"] = 6] = \"DISPUTE_STATUS_CHARGE_REFUNDED\";\n DisputeStatus[DisputeStatus[\"DISPUTE_STATUS_WON\"] = 7] = \"DISPUTE_STATUS_WON\";\n DisputeStatus[DisputeStatus[\"DISPUTE_STATUS_LOST\"] = 8] = \"DISPUTE_STATUS_LOST\";\n return DisputeStatus;\n}(DisputeStatus || {});\nvar PaymentAllocationType = /*#__PURE__*/function (PaymentAllocationType) {\n PaymentAllocationType[PaymentAllocationType[\"PAYMENT_ALLOCATION_TYPE_UNSET\"] = 0] = \"PAYMENT_ALLOCATION_TYPE_UNSET\";\n PaymentAllocationType[PaymentAllocationType[\"PAYMENT_ALLOCATION_TYPE_PURCHASE\"] = 1] = \"PAYMENT_ALLOCATION_TYPE_PURCHASE\";\n PaymentAllocationType[PaymentAllocationType[\"PAYMENT_ALLOCATION_TYPE_INVOICE\"] = 2] = \"PAYMENT_ALLOCATION_TYPE_INVOICE\";\n return PaymentAllocationType;\n}(PaymentAllocationType || {});\nvar RetailPaymentPaymentMethodDetailsType = /*#__PURE__*/function (RetailPaymentPaymentMethodDetailsType) {\n RetailPaymentPaymentMethodDetailsType[RetailPaymentPaymentMethodDetailsType[\"PAYMENT_METHOD_DETAILS_TYPE_UNSET\"] = 0] = \"PAYMENT_METHOD_DETAILS_TYPE_UNSET\";\n RetailPaymentPaymentMethodDetailsType[RetailPaymentPaymentMethodDetailsType[\"PAYMENT_METHOD_DETAILS_TYPE_CARD\"] = 1] = \"PAYMENT_METHOD_DETAILS_TYPE_CARD\";\n RetailPaymentPaymentMethodDetailsType[RetailPaymentPaymentMethodDetailsType[\"PAYMENT_METHOD_DETAILS_TYPE_ACH_DEBIT\"] = 2] = \"PAYMENT_METHOD_DETAILS_TYPE_ACH_DEBIT\";\n RetailPaymentPaymentMethodDetailsType[RetailPaymentPaymentMethodDetailsType[\"PAYMENT_METHOD_DETAILS_TYPE_ACSS_DEBIT\"] = 3] = \"PAYMENT_METHOD_DETAILS_TYPE_ACSS_DEBIT\";\n return RetailPaymentPaymentMethodDetailsType;\n}(RetailPaymentPaymentMethodDetailsType || {});\nvar PaymentSource = /*#__PURE__*/function (PaymentSource) {\n PaymentSource[PaymentSource[\"PAYMENT_SOURCE_NONE\"] = 0] = \"PAYMENT_SOURCE_NONE\";\n PaymentSource[PaymentSource[\"PAYMENT_SOURCE_STRIPE\"] = 1] = \"PAYMENT_SOURCE_STRIPE\";\n PaymentSource[PaymentSource[\"PAYMENT_SOURCE_VCASH\"] = 2] = \"PAYMENT_SOURCE_VCASH\";\n return PaymentSource;\n}(PaymentSource || {});\nvar PaymentStatus = /*#__PURE__*/function (PaymentStatus) {\n PaymentStatus[PaymentStatus[\"PAYMENT_STATUS_UNSET\"] = 0] = \"PAYMENT_STATUS_UNSET\";\n PaymentStatus[PaymentStatus[\"PAYMENT_STATUS_SUCCEEDED\"] = 1] = \"PAYMENT_STATUS_SUCCEEDED\";\n PaymentStatus[PaymentStatus[\"PAYMENT_STATUS_FAILED\"] = 2] = \"PAYMENT_STATUS_FAILED\";\n PaymentStatus[PaymentStatus[\"PAYMENT_STATUS_REFUNDED\"] = 3] = \"PAYMENT_STATUS_REFUNDED\";\n PaymentStatus[PaymentStatus[\"PAYMENT_STATUS_PARTIALLY_REFUNDED\"] = 4] = \"PAYMENT_STATUS_PARTIALLY_REFUNDED\";\n return PaymentStatus;\n}(PaymentStatus || {});\nvar RetailPaymentReferenceType = /*#__PURE__*/function (RetailPaymentReferenceType) {\n RetailPaymentReferenceType[RetailPaymentReferenceType[\"RETAIL_PAYMENT_REFERENCE_TYPE_UNSET\"] = 0] = \"RETAIL_PAYMENT_REFERENCE_TYPE_UNSET\";\n RetailPaymentReferenceType[RetailPaymentReferenceType[\"RETAIL_PAYMENT_REFERENCE_TYPE_INVOICE\"] = 1] = \"RETAIL_PAYMENT_REFERENCE_TYPE_INVOICE\";\n RetailPaymentReferenceType[RetailPaymentReferenceType[\"RETAIL_PAYMENT_REFERENCE_TYPE_SALES_ORDER\"] = 2] = \"RETAIL_PAYMENT_REFERENCE_TYPE_SALES_ORDER\";\n return RetailPaymentReferenceType;\n}(RetailPaymentReferenceType || {});\nvar RetailRefundFailureReason = /*#__PURE__*/function (RetailRefundFailureReason) {\n RetailRefundFailureReason[RetailRefundFailureReason[\"RETAIL_REFUND_FAILURE_REASON_UNSET\"] = 0] = \"RETAIL_REFUND_FAILURE_REASON_UNSET\";\n RetailRefundFailureReason[RetailRefundFailureReason[\"RETAIL_REFUND_FAILURE_REASON_LOST_OR_STOLEN_CARD\"] = 1] = \"RETAIL_REFUND_FAILURE_REASON_LOST_OR_STOLEN_CARD\";\n RetailRefundFailureReason[RetailRefundFailureReason[\"RETAIL_REFUND_FAILURE_REASON_EXPIRED_OR_CANCELED_CARD\"] = 2] = \"RETAIL_REFUND_FAILURE_REASON_EXPIRED_OR_CANCELED_CARD\";\n RetailRefundFailureReason[RetailRefundFailureReason[\"RETAIL_REFUND_FAILURE_REASON_UNKNOWN\"] = 3] = \"RETAIL_REFUND_FAILURE_REASON_UNKNOWN\";\n return RetailRefundFailureReason;\n}(RetailRefundFailureReason || {});\nvar RetailRefundReason = /*#__PURE__*/function (RetailRefundReason) {\n RetailRefundReason[RetailRefundReason[\"RETAIL_REFUND_REASON_UNSET\"] = 0] = \"RETAIL_REFUND_REASON_UNSET\";\n RetailRefundReason[RetailRefundReason[\"RETAIL_REFUND_REASON_DUPLICATE\"] = 1] = \"RETAIL_REFUND_REASON_DUPLICATE\";\n RetailRefundReason[RetailRefundReason[\"RETAIL_REFUND_REASON_FRAUDULENT\"] = 2] = \"RETAIL_REFUND_REASON_FRAUDULENT\";\n RetailRefundReason[RetailRefundReason[\"RETAIL_REFUND_REASON_REQUESTED_BY_CUSTOMER\"] = 3] = \"RETAIL_REFUND_REASON_REQUESTED_BY_CUSTOMER\";\n return RetailRefundReason;\n}(RetailRefundReason || {});\nvar RetailRefundStatus = /*#__PURE__*/function (RetailRefundStatus) {\n RetailRefundStatus[RetailRefundStatus[\"RETAIL_REFUND_STATUS_UNSET\"] = 0] = \"RETAIL_REFUND_STATUS_UNSET\";\n RetailRefundStatus[RetailRefundStatus[\"RETAIL_REFUND_STATUS_PENDING\"] = 1] = \"RETAIL_REFUND_STATUS_PENDING\";\n RetailRefundStatus[RetailRefundStatus[\"RETAIL_REFUND_STATUS_SUCCEEDED\"] = 2] = \"RETAIL_REFUND_STATUS_SUCCEEDED\";\n RetailRefundStatus[RetailRefundStatus[\"RETAIL_REFUND_STATUS_FAILED\"] = 3] = \"RETAIL_REFUND_STATUS_FAILED\";\n RetailRefundStatus[RetailRefundStatus[\"RETAIL_REFUND_STATUS_REQUIRES_ACTION\"] = 4] = \"RETAIL_REFUND_STATUS_REQUIRES_ACTION\";\n RetailRefundStatus[RetailRefundStatus[\"RETAIL_REFUND_STATUS_CANCELED\"] = 5] = \"RETAIL_REFUND_STATUS_CANCELED\";\n return RetailRefundStatus;\n}(RetailRefundStatus || {});\nvar RetailTransactionType = /*#__PURE__*/function (RetailTransactionType) {\n RetailTransactionType[RetailTransactionType[\"RETAIL_TRANSACTION_TYPE_UNSET\"] = 0] = \"RETAIL_TRANSACTION_TYPE_UNSET\";\n RetailTransactionType[RetailTransactionType[\"RETAIL_TRANSACTION_TYPE_PAYMENT\"] = 1] = \"RETAIL_TRANSACTION_TYPE_PAYMENT\";\n RetailTransactionType[RetailTransactionType[\"RETAIL_TRANSACTION_TYPE_REFUND\"] = 2] = \"RETAIL_TRANSACTION_TYPE_REFUND\";\n RetailTransactionType[RetailTransactionType[\"RETAIL_TRANSACTION_TYPE_PAYOUT_FAILURE\"] = 3] = \"RETAIL_TRANSACTION_TYPE_PAYOUT_FAILURE\";\n RetailTransactionType[RetailTransactionType[\"RETAIL_TRANSACTION_TYPE_ADJUSTMENT\"] = 4] = \"RETAIL_TRANSACTION_TYPE_ADJUSTMENT\";\n return RetailTransactionType;\n}(RetailTransactionType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar ProductType = /*#__PURE__*/function (ProductType) {\n ProductType[ProductType[\"PRODUCT_TYPE_INVALID\"] = 0] = \"PRODUCT_TYPE_INVALID\";\n ProductType[ProductType[\"PRODUCT_TYPE_STANDARD_PRODUCT\"] = 1] = \"PRODUCT_TYPE_STANDARD_PRODUCT\";\n ProductType[ProductType[\"PRODUCT_TYPE_VENDASTA_PRODUCT\"] = 2] = \"PRODUCT_TYPE_VENDASTA_PRODUCT\";\n ProductType[ProductType[\"PRODUCT_TYPE_SUBSCRIPTION\"] = 3] = \"PRODUCT_TYPE_SUBSCRIPTION\";\n ProductType[ProductType[\"PRODUCT_TYPE_FEE\"] = 4] = \"PRODUCT_TYPE_FEE\";\n ProductType[ProductType[\"PRODUCT_TYPE_PRIVATE_PRODUCT\"] = 5] = \"PRODUCT_TYPE_PRIVATE_PRODUCT\";\n ProductType[ProductType[\"PRODUCT_TYPE_PARTNER_SUPPORT_SALES\"] = 6] = \"PRODUCT_TYPE_PARTNER_SUPPORT_SALES\";\n ProductType[ProductType[\"PRODUCT_TYPE_PACKAGE\"] = 7] = \"PRODUCT_TYPE_PACKAGE\";\n return ProductType;\n}(ProductType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar CreditType = /*#__PURE__*/function (CreditType) {\n CreditType[CreditType[\"CREDIT_TYPE_UNSET\"] = 0] = \"CREDIT_TYPE_UNSET\";\n CreditType[CreditType[\"CREDIT_TYPE_CREDIT_NOTE\"] = 1] = \"CREDIT_TYPE_CREDIT_NOTE\";\n CreditType[CreditType[\"CREDIT_TYPE_PROMOTIONAL\"] = 2] = \"CREDIT_TYPE_PROMOTIONAL\";\n return CreditType;\n}(CreditType || {});\nvar PurchaseStatus = /*#__PURE__*/function (PurchaseStatus) {\n PurchaseStatus[PurchaseStatus[\"PURCHASE_STATUS_UNSET\"] = 0] = \"PURCHASE_STATUS_UNSET\";\n PurchaseStatus[PurchaseStatus[\"PURCHASE_STATUS_PENDING\"] = 1] = \"PURCHASE_STATUS_PENDING\";\n PurchaseStatus[PurchaseStatus[\"PURCHASE_STATUS_DUE\"] = 2] = \"PURCHASE_STATUS_DUE\";\n PurchaseStatus[PurchaseStatus[\"PURCHASE_STATUS_SUCCESS\"] = 3] = \"PURCHASE_STATUS_SUCCESS\";\n PurchaseStatus[PurchaseStatus[\"PURCHASE_STATUS_DUNNING\"] = 4] = \"PURCHASE_STATUS_DUNNING\";\n PurchaseStatus[PurchaseStatus[\"PURCHASE_STATUS_FAILED\"] = 5] = \"PURCHASE_STATUS_FAILED\";\n return PurchaseStatus;\n}(PurchaseStatus || {});\nvar ListPurchaseRequestState = /*#__PURE__*/function (ListPurchaseRequestState) {\n ListPurchaseRequestState[ListPurchaseRequestState[\"LIST_PURCHASE_REQUEST_STATE_ALL\"] = 0] = \"LIST_PURCHASE_REQUEST_STATE_ALL\";\n ListPurchaseRequestState[ListPurchaseRequestState[\"LIST_PURCHASE_REQUEST_STATE_OVERDUE\"] = 1] = \"LIST_PURCHASE_REQUEST_STATE_OVERDUE\";\n return ListPurchaseRequestState;\n}(ListPurchaseRequestState || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar ReferenceType = /*#__PURE__*/function (ReferenceType) {\n ReferenceType[ReferenceType[\"PURCHASE\"] = 0] = \"PURCHASE\";\n ReferenceType[ReferenceType[\"PURCHASE_ITEM\"] = 1] = \"PURCHASE_ITEM\";\n ReferenceType[ReferenceType[\"INVOICE\"] = 2] = \"INVOICE\";\n return ReferenceType;\n}(ReferenceType || {});\nvar RefundReason = /*#__PURE__*/function (RefundReason) {\n RefundReason[RefundReason[\"REQUESTED_BY_CUSTOMER\"] = 0] = \"REQUESTED_BY_CUSTOMER\";\n RefundReason[RefundReason[\"DUPLICATE\"] = 1] = \"DUPLICATE\";\n RefundReason[RefundReason[\"FRAUDULENT\"] = 2] = \"FRAUDULENT\";\n return RefundReason;\n}(RefundReason || {});\nvar RefundStatus = /*#__PURE__*/function (RefundStatus) {\n RefundStatus[RefundStatus[\"SUCCEEDED\"] = 0] = \"SUCCEEDED\";\n RefundStatus[RefundStatus[\"FAILED\"] = 1] = \"FAILED\";\n RefundStatus[RefundStatus[\"PENDING\"] = 3] = \"PENDING\";\n return RefundStatus;\n}(RefundStatus || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar SalesCreditNoteStatus = /*#__PURE__*/function (SalesCreditNoteStatus) {\n SalesCreditNoteStatus[SalesCreditNoteStatus[\"SALES_CREDIT_NOTE_STATUS_IN_PROGRESS\"] = 0] = \"SALES_CREDIT_NOTE_STATUS_IN_PROGRESS\";\n SalesCreditNoteStatus[SalesCreditNoteStatus[\"SALES_CREDIT_NOTE_STATUS_READY_TO_POST\"] = 1] = \"SALES_CREDIT_NOTE_STATUS_READY_TO_POST\";\n SalesCreditNoteStatus[SalesCreditNoteStatus[\"SALES_CREDIT_NOTE_STATUS_COMPLETE\"] = 2] = \"SALES_CREDIT_NOTE_STATUS_COMPLETE\";\n SalesCreditNoteStatus[SalesCreditNoteStatus[\"SALES_CREDIT_NOTE_STATUS_DISCARDED\"] = 3] = \"SALES_CREDIT_NOTE_STATUS_DISCARDED\";\n return SalesCreditNoteStatus;\n}(SalesCreditNoteStatus || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar PaymentStatuses = /*#__PURE__*/function (PaymentStatuses) {\n PaymentStatuses[PaymentStatuses[\"PAYMENT_STATUSES_NOT_SET\"] = 0] = \"PAYMENT_STATUSES_NOT_SET\";\n PaymentStatuses[PaymentStatuses[\"PAYMENT_STATUSES_UNPAID\"] = 1] = \"PAYMENT_STATUSES_UNPAID\";\n PaymentStatuses[PaymentStatuses[\"PAYMENT_STATUSES_PAID\"] = 2] = \"PAYMENT_STATUSES_PAID\";\n PaymentStatuses[PaymentStatuses[\"PAYMENT_STATUSES_PART_PAID\"] = 3] = \"PAYMENT_STATUSES_PART_PAID\";\n PaymentStatuses[PaymentStatuses[\"PAYMENT_STATUSES_NOT_APPLICABLE\"] = 4] = \"PAYMENT_STATUSES_NOT_APPLICABLE\";\n return PaymentStatuses;\n}(PaymentStatuses || {});\nvar SalesInvoiceStatus = /*#__PURE__*/function (SalesInvoiceStatus) {\n SalesInvoiceStatus[SalesInvoiceStatus[\"SALES_INVOICE_STATUS_IN_PROGRESS\"] = 0] = \"SALES_INVOICE_STATUS_IN_PROGRESS\";\n SalesInvoiceStatus[SalesInvoiceStatus[\"SALES_INVOICE_STATUS_READY_TO_POST\"] = 1] = \"SALES_INVOICE_STATUS_READY_TO_POST\";\n SalesInvoiceStatus[SalesInvoiceStatus[\"SALES_INVOICE_STATUS_COMPLETE\"] = 2] = \"SALES_INVOICE_STATUS_COMPLETE\";\n SalesInvoiceStatus[SalesInvoiceStatus[\"SALES_INVOICE_STATUS_DISCARDED\"] = 3] = \"SALES_INVOICE_STATUS_DISCARDED\";\n return SalesInvoiceStatus;\n}(SalesInvoiceStatus || {});\nvar SalesInvoiceType = /*#__PURE__*/function (SalesInvoiceType) {\n SalesInvoiceType[SalesInvoiceType[\"SALES_INVOICE_TYPE_UNSET\"] = 0] = \"SALES_INVOICE_TYPE_UNSET\";\n SalesInvoiceType[SalesInvoiceType[\"SALES_INVOICE_TYPE_INVOICED\"] = 1] = \"SALES_INVOICE_TYPE_INVOICED\";\n SalesInvoiceType[SalesInvoiceType[\"SALES_INVOICE_TYPE_INSTANT\"] = 2] = \"SALES_INVOICE_TYPE_INSTANT\";\n return SalesInvoiceType;\n}(SalesInvoiceType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar PaymentProcessor = /*#__PURE__*/function (PaymentProcessor) {\n PaymentProcessor[PaymentProcessor[\"PAYMENT_PROCESSOR_INVALID\"] = 0] = \"PAYMENT_PROCESSOR_INVALID\";\n PaymentProcessor[PaymentProcessor[\"PAYMENT_PROCESSOR_UNSET\"] = 1] = \"PAYMENT_PROCESSOR_UNSET\";\n PaymentProcessor[PaymentProcessor[\"PAYMENT_PROCESSOR_STRIPE\"] = 2] = \"PAYMENT_PROCESSOR_STRIPE\";\n return PaymentProcessor;\n}(PaymentProcessor || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar CollectionMethod = /*#__PURE__*/function (CollectionMethod) {\n CollectionMethod[CollectionMethod[\"COLLECTION_METHOD_INVALID\"] = 0] = \"COLLECTION_METHOD_INVALID\";\n CollectionMethod[CollectionMethod[\"COLLECTION_METHOD_MANUAL\"] = 1] = \"COLLECTION_METHOD_MANUAL\";\n CollectionMethod[CollectionMethod[\"COLLECTION_METHOD_EMAIL\"] = 2] = \"COLLECTION_METHOD_EMAIL\";\n CollectionMethod[CollectionMethod[\"COLLECTION_METHOD_CHARGE_AUTOMATICALLY\"] = 3] = \"COLLECTION_METHOD_CHARGE_AUTOMATICALLY\";\n return CollectionMethod;\n}(CollectionMethod || {});\nvar Interval = /*#__PURE__*/function (Interval) {\n Interval[Interval[\"INTERVAL_INVALID\"] = 0] = \"INTERVAL_INVALID\";\n Interval[Interval[\"INTERVAL_DAY\"] = 1] = \"INTERVAL_DAY\";\n Interval[Interval[\"INTERVAL_WEEK\"] = 2] = \"INTERVAL_WEEK\";\n Interval[Interval[\"INTERVAL_MONTH\"] = 3] = \"INTERVAL_MONTH\";\n Interval[Interval[\"INTERVAL_YEAR\"] = 4] = \"INTERVAL_YEAR\";\n return Interval;\n}(Interval || {});\nvar RecurringInvoiceStatus = /*#__PURE__*/function (RecurringInvoiceStatus) {\n RecurringInvoiceStatus[RecurringInvoiceStatus[\"RECURRING_INVOICE_STATUS_INVALID\"] = 0] = \"RECURRING_INVOICE_STATUS_INVALID\";\n RecurringInvoiceStatus[RecurringInvoiceStatus[\"RECURRING_INVOICE_STATUS_INACTIVE\"] = 1] = \"RECURRING_INVOICE_STATUS_INACTIVE\";\n RecurringInvoiceStatus[RecurringInvoiceStatus[\"RECURRING_INVOICE_STATUS_ACTIVE\"] = 2] = \"RECURRING_INVOICE_STATUS_ACTIVE\";\n RecurringInvoiceStatus[RecurringInvoiceStatus[\"RECURRING_INVOICE_STATUS_ARCHIVED\"] = 3] = \"RECURRING_INVOICE_STATUS_ARCHIVED\";\n return RecurringInvoiceStatus;\n}(RecurringInvoiceStatus || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar MerchantServicesReportRunStatus = /*#__PURE__*/function (MerchantServicesReportRunStatus) {\n MerchantServicesReportRunStatus[MerchantServicesReportRunStatus[\"MERCHANT_SERVICES_REPORT_RUN_STATUS_UNSPECIFIED\"] = 0] = \"MERCHANT_SERVICES_REPORT_RUN_STATUS_UNSPECIFIED\";\n MerchantServicesReportRunStatus[MerchantServicesReportRunStatus[\"MERCHANT_SERVICES_REPORT_RUN_STATUS_PENDING\"] = 1] = \"MERCHANT_SERVICES_REPORT_RUN_STATUS_PENDING\";\n MerchantServicesReportRunStatus[MerchantServicesReportRunStatus[\"MERCHANT_SERVICES_REPORT_RUN_STATUS_SUCCEEDED\"] = 2] = \"MERCHANT_SERVICES_REPORT_RUN_STATUS_SUCCEEDED\";\n MerchantServicesReportRunStatus[MerchantServicesReportRunStatus[\"MERCHANT_SERVICES_REPORT_RUN_STATUS_FAILED\"] = 3] = \"MERCHANT_SERVICES_REPORT_RUN_STATUS_FAILED\";\n return MerchantServicesReportRunStatus;\n}(MerchantServicesReportRunStatus || {});\nvar MerchantServicesReportRunType = /*#__PURE__*/function (MerchantServicesReportRunType) {\n MerchantServicesReportRunType[MerchantServicesReportRunType[\"MERCHANT_SERVICES_REPORT_RUN_TYPE_UNSPECIFIED\"] = 0] = \"MERCHANT_SERVICES_REPORT_RUN_TYPE_UNSPECIFIED\";\n MerchantServicesReportRunType[MerchantServicesReportRunType[\"MERCHANT_SERVICES_REPORT_RUN_TYPE_BALANCE_ITEMIZED\"] = 1] = \"MERCHANT_SERVICES_REPORT_RUN_TYPE_BALANCE_ITEMIZED\";\n return MerchantServicesReportRunType;\n}(MerchantServicesReportRunType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar EntityType = /*#__PURE__*/function (EntityType) {\n EntityType[EntityType[\"ENTITY_TYPE_INVALID\"] = 0] = \"ENTITY_TYPE_INVALID\";\n EntityType[EntityType[\"ENTITY_TYPE_SUBSCRIPTION\"] = 1] = \"ENTITY_TYPE_SUBSCRIPTION\";\n return EntityType;\n}(EntityType || {});\nvar RelationshipType = /*#__PURE__*/function (RelationshipType) {\n RelationshipType[RelationshipType[\"RELATIONSHIP_TYPE_INVALID\"] = 0] = \"RELATIONSHIP_TYPE_INVALID\";\n RelationshipType[RelationshipType[\"RELATIONSHIP_TYPE_ASSOCIATED_WITH\"] = 1] = \"RELATIONSHIP_TYPE_ASSOCIATED_WITH\";\n return RelationshipType;\n}(RelationshipType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums Index.\n// *********************************\n\nfunction enumStringToValue$H(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ExportResponse {\n static fromProto(proto) {\n let m = new ExportResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n return toReturn;\n }\n}\nclass PagedRequestOptions {\n static fromProto(proto) {\n let m = new PagedRequestOptions();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n return toReturn;\n }\n}\nclass PagedResponseMetadata {\n static fromProto(proto) {\n let m = new PagedResponseMetadata();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$G(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass FieldMask {\n static fromProto(proto) {\n let m = new FieldMask();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.paths !== 'undefined') {\n toReturn['paths'] = this.paths;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$F(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Commitment {\n static fromProto(proto) {\n let m = new Commitment();\n m = Object.assign(m, proto);\n if (proto.initial) {\n m.initial = parseInt(proto.initial, 10);\n }\n if (proto.recurring) {\n m.recurring = parseInt(proto.recurring, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.initial !== 'undefined') {\n toReturn['initial'] = this.initial;\n }\n if (typeof this.recurring !== 'undefined') {\n toReturn['recurring'] = this.recurring;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$E(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass AppliedFee {\n static fromProto(proto) {\n let m = new AppliedFee();\n m = Object.assign(m, proto);\n if (proto.appliedAmount) {\n m.appliedAmount = parseInt(proto.appliedAmount, 10);\n }\n if (proto.fee) {\n m.fee = Fee.fromProto(proto.fee);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.appliedAmount !== 'undefined') {\n toReturn['appliedAmount'] = this.appliedAmount;\n }\n if (typeof this.fee !== 'undefined' && this.fee !== null) {\n toReturn['fee'] = 'toApiJson' in this.fee ? this.fee.toApiJson() : this.fee;\n }\n return toReturn;\n }\n}\nclass Fee {\n static fromProto(proto) {\n let m = new Fee();\n m = Object.assign(m, proto);\n if (proto.amountType) {\n m.amountType = enumStringToValue$E(FeeAmountType, proto.amountType);\n }\n if (proto.feeType) {\n m.feeType = enumStringToValue$E(FeeType, proto.feeType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.amountType !== 'undefined') {\n toReturn['amountType'] = this.amountType;\n }\n if (typeof this.feeType !== 'undefined') {\n toReturn['feeType'] = this.feeType;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$D(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ComponentPricing {\n static fromProto(proto) {\n let m = new ComponentPricing();\n m = Object.assign(m, proto);\n if (proto.unitPrice) {\n m.unitPrice = parseInt(proto.unitPrice, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.componentId !== 'undefined') {\n toReturn['componentId'] = this.componentId;\n }\n if (typeof this.unitPrice !== 'undefined') {\n toReturn['unitPrice'] = this.unitPrice;\n }\n return toReturn;\n }\n}\nclass CreatePricingPlanRequest {\n static fromProto(proto) {\n let m = new CreatePricingPlanRequest();\n m = Object.assign(m, proto);\n if (proto.defaultBillingStrategy) {\n m.defaultBillingStrategy = enumStringToValue$D(BillingStrategy, proto.defaultBillingStrategy);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.defaultBillingStrategy !== 'undefined') {\n toReturn['defaultBillingStrategy'] = this.defaultBillingStrategy;\n }\n return toReturn;\n }\n}\nclass CreatePricingPlanResponse {\n static fromProto(proto) {\n let m = new CreatePricingPlanResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n return toReturn;\n }\n}\nclass GetMultiPricingPlanRequest {\n static fromProto(proto) {\n let m = new GetMultiPricingPlanRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pricingPlanIds !== 'undefined') {\n toReturn['pricingPlanIds'] = this.pricingPlanIds;\n }\n return toReturn;\n }\n}\nclass GetMultiPricingPlanResponse {\n static fromProto(proto) {\n let m = new GetMultiPricingPlanResponse();\n m = Object.assign(m, proto);\n if (proto.plans) {\n m.plans = proto.plans.map(PricingPlan.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.plans !== 'undefined' && this.plans !== null) {\n toReturn['plans'] = 'toApiJson' in this.plans ? this.plans.toApiJson() : this.plans;\n }\n return toReturn;\n }\n}\nclass PricingPlan {\n static fromProto(proto) {\n let m = new PricingPlan();\n m = Object.assign(m, proto);\n if (proto.defaultBillingStrategy) {\n m.defaultBillingStrategy = enumStringToValue$D(BillingStrategy, proto.defaultBillingStrategy);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.defaultBillingStrategy !== 'undefined') {\n toReturn['defaultBillingStrategy'] = this.defaultBillingStrategy;\n }\n return toReturn;\n }\n}\nclass PricingPlanProductPricing {\n static fromProto(proto) {\n let m = new PricingPlanProductPricing();\n m = Object.assign(m, proto);\n if (proto.type) {\n m.type = enumStringToValue$D(ProductPricingType, proto.type);\n }\n if (proto.rules) {\n m.rules = proto.rules.map(ProductPricingRule.fromProto);\n }\n if (proto.setupFee) {\n m.setupFee = parseInt(proto.setupFee, 10);\n }\n if (proto.frequency) {\n m.frequency = enumStringToValue$D(Frequency, proto.frequency);\n }\n if (proto.fees) {\n m.fees = proto.fees.map(Fee.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.rules !== 'undefined' && this.rules !== null) {\n toReturn['rules'] = 'toApiJson' in this.rules ? this.rules.toApiJson() : this.rules;\n }\n if (typeof this.setupFee !== 'undefined') {\n toReturn['setupFee'] = this.setupFee;\n }\n if (typeof this.frequency !== 'undefined') {\n toReturn['frequency'] = this.frequency;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n if (typeof this.fees !== 'undefined' && this.fees !== null) {\n toReturn['fees'] = 'toApiJson' in this.fees ? this.fees.toApiJson() : this.fees;\n }\n return toReturn;\n }\n}\nclass ProductPricingRule {\n static fromProto(proto) {\n let m = new ProductPricingRule();\n m = Object.assign(m, proto);\n if (proto.price) {\n m.price = parseInt(proto.price, 10);\n }\n if (proto.minUnits) {\n m.minUnits = parseInt(proto.minUnits, 10);\n }\n if (proto.maxUnits) {\n m.maxUnits = parseInt(proto.maxUnits, 10);\n }\n if (proto.componentPricing) {\n m.componentPricing = proto.componentPricing.map(ComponentPricing.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.price !== 'undefined') {\n toReturn['price'] = this.price;\n }\n if (typeof this.minUnits !== 'undefined') {\n toReturn['minUnits'] = this.minUnits;\n }\n if (typeof this.maxUnits !== 'undefined') {\n toReturn['maxUnits'] = this.maxUnits;\n }\n if (typeof this.componentPricing !== 'undefined' && this.componentPricing !== null) {\n toReturn['componentPricing'] = 'toApiJson' in this.componentPricing ? this.componentPricing.toApiJson() : this.componentPricing;\n }\n return toReturn;\n }\n}\nclass UpdatePricingPlanRequest {\n static fromProto(proto) {\n let m = new UpdatePricingPlanRequest();\n m = Object.assign(m, proto);\n if (proto.fieldMask) {\n m.fieldMask = FieldMask.fromProto(proto.fieldMask);\n }\n if (proto.defaultBillingStrategy) {\n m.defaultBillingStrategy = enumStringToValue$D(BillingStrategy, proto.defaultBillingStrategy);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {\n toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.defaultBillingStrategy !== 'undefined') {\n toReturn['defaultBillingStrategy'] = this.defaultBillingStrategy;\n }\n return toReturn;\n }\n}\nclass UpdatePricingPlanResponse {\n static fromProto(proto) {\n let m = new UpdatePricingPlanResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n return toReturn;\n }\n}\nfunction enumStringToValue$C(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ProductPrices {\n static fromProto(proto) {\n let m = new ProductPrices();\n m = Object.assign(m, proto);\n if (proto.prices) {\n m.prices = proto.prices.map(ProductPricing.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.prices !== 'undefined' && this.prices !== null) {\n toReturn['prices'] = 'toApiJson' in this.prices ? this.prices.toApiJson() : this.prices;\n }\n return toReturn;\n }\n}\nclass ProductPricing {\n static fromProto(proto) {\n let m = new ProductPricing();\n m = Object.assign(m, proto);\n if (proto.strategy) {\n m.strategy = enumStringToValue$C(BillingStrategy, proto.strategy);\n }\n if (proto.pricingType) {\n m.pricingType = enumStringToValue$C(ProductPricingType, proto.pricingType);\n }\n if (proto.currency) {\n m.currency = enumStringToValue$C(Currency, proto.currency);\n }\n if (proto.frequency) {\n m.frequency = enumStringToValue$C(Frequency, proto.frequency);\n }\n if (proto.pricingRules) {\n m.pricingRules = proto.pricingRules.map(ProductPricingRule.fromProto);\n }\n if (proto.commitment) {\n m.commitment = Commitment.fromProto(proto.commitment);\n }\n if (proto.volumeCommitment) {\n m.volumeCommitment = parseInt(proto.volumeCommitment, 10);\n }\n if (proto.setupFee) {\n m.setupFee = parseInt(proto.setupFee, 10);\n }\n if (proto.fees) {\n m.fees = proto.fees.map(Fee.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.strategy !== 'undefined') {\n toReturn['strategy'] = this.strategy;\n }\n if (typeof this.pricingType !== 'undefined') {\n toReturn['pricingType'] = this.pricingType;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n if (typeof this.frequency !== 'undefined') {\n toReturn['frequency'] = this.frequency;\n }\n if (typeof this.pricingRules !== 'undefined' && this.pricingRules !== null) {\n toReturn['pricingRules'] = 'toApiJson' in this.pricingRules ? this.pricingRules.toApiJson() : this.pricingRules;\n }\n if (typeof this.commitment !== 'undefined' && this.commitment !== null) {\n toReturn['commitment'] = 'toApiJson' in this.commitment ? this.commitment.toApiJson() : this.commitment;\n }\n if (typeof this.isStartingPrice !== 'undefined') {\n toReturn['isStartingPrice'] = this.isStartingPrice;\n }\n if (typeof this.resolvedFrom !== 'undefined') {\n toReturn['resolvedFrom'] = this.resolvedFrom;\n }\n if (typeof this.volumeCommitment !== 'undefined') {\n toReturn['volumeCommitment'] = this.volumeCommitment;\n }\n if (typeof this.setupFee !== 'undefined') {\n toReturn['setupFee'] = this.setupFee;\n }\n if (typeof this.fees !== 'undefined' && this.fees !== null) {\n toReturn['fees'] = 'toApiJson' in this.fees ? this.fees.toApiJson() : this.fees;\n }\n return toReturn;\n }\n}\nclass WholesaleCostItemRequest {\n static fromProto(proto) {\n let m = new WholesaleCostItemRequest();\n m = Object.assign(m, proto);\n if (proto.quantity) {\n m.quantity = parseInt(proto.quantity, 10);\n }\n if (proto.frequency) {\n m.frequency = enumStringToValue$C(Frequency, proto.frequency);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.quantity !== 'undefined') {\n toReturn['quantity'] = this.quantity;\n }\n if (typeof this.frequency !== 'undefined') {\n toReturn['frequency'] = this.frequency;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$B(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass BillItemRequest {\n static fromProto(proto) {\n let m = new BillItemRequest();\n m = Object.assign(m, proto);\n if (proto.billingStart) {\n m.billingStart = new Date(proto.billingStart);\n }\n if (proto.proratedTo) {\n m.proratedTo = new Date(proto.proratedTo);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.billingStart !== 'undefined' && this.billingStart !== null) {\n toReturn['billingStart'] = 'toApiJson' in this.billingStart ? this.billingStart.toApiJson() : this.billingStart;\n }\n if (typeof this.proratedTo !== 'undefined' && this.proratedTo !== null) {\n toReturn['proratedTo'] = 'toApiJson' in this.proratedTo ? this.proratedTo.toApiJson() : this.proratedTo;\n }\n return toReturn;\n }\n}\nclass BillMultipleItemsRequest {\n static fromProto(proto) {\n let m = new BillMultipleItemsRequest();\n m = Object.assign(m, proto);\n if (proto.items) {\n m.items = proto.items.map(Item.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.items !== 'undefined' && this.items !== null) {\n toReturn['items'] = 'toApiJson' in this.items ? this.items.toApiJson() : this.items;\n }\n return toReturn;\n }\n}\nclass BillMultipleItemsResponse {\n static fromProto(proto) {\n let m = new BillMultipleItemsResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n return toReturn;\n }\n}\nclass BillableItem {\n static fromProto(proto) {\n let m = new BillableItem();\n m = Object.assign(m, proto);\n if (proto.expiry) {\n m.expiry = new Date(proto.expiry);\n }\n if (proto.billingStart) {\n m.billingStart = new Date(proto.billingStart);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.frequency) {\n m.frequency = enumStringToValue$B(Frequency, proto.frequency);\n }\n if (proto.nextRenewal) {\n m.nextRenewal = new Date(proto.nextRenewal);\n }\n if (proto.customerAddress) {\n m.customerAddress = BillableItemCustomerAddress.fromProto(proto.customerAddress);\n }\n if (proto.customUnitPrice) {\n m.customUnitPrice = parseInt(proto.customUnitPrice, 10);\n }\n if (proto.retailFrequency) {\n m.retailFrequency = enumStringToValue$B(Frequency, proto.retailFrequency);\n }\n if (proto.nextRetailRenewal) {\n m.nextRetailRenewal = new Date(proto.nextRetailRenewal);\n }\n if (proto.retailUnitPrice) {\n m.retailUnitPrice = parseInt(proto.retailUnitPrice, 10);\n }\n if (proto.status) {\n m.status = enumStringToValue$B(SubscriptionStatus, proto.status);\n }\n if (proto.price) {\n m.price = ProductPricing.fromProto(proto.price);\n }\n if (proto.deleted) {\n m.deleted = new Date(proto.deleted);\n }\n if (proto.source) {\n m.source = enumStringToValue$B(Source, proto.source);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.expiry !== 'undefined' && this.expiry !== null) {\n toReturn['expiry'] = 'toApiJson' in this.expiry ? this.expiry.toApiJson() : this.expiry;\n }\n if (typeof this.billingStart !== 'undefined' && this.billingStart !== null) {\n toReturn['billingStart'] = 'toApiJson' in this.billingStart ? this.billingStart.toApiJson() : this.billingStart;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.frequency !== 'undefined') {\n toReturn['frequency'] = this.frequency;\n }\n if (typeof this.nextRenewal !== 'undefined' && this.nextRenewal !== null) {\n toReturn['nextRenewal'] = 'toApiJson' in this.nextRenewal ? this.nextRenewal.toApiJson() : this.nextRenewal;\n }\n if (typeof this.customerName !== 'undefined') {\n toReturn['customerName'] = this.customerName;\n }\n if (typeof this.productName !== 'undefined') {\n toReturn['productName'] = this.productName;\n }\n if (typeof this.customerAddress !== 'undefined' && this.customerAddress !== null) {\n toReturn['customerAddress'] = 'toApiJson' in this.customerAddress ? this.customerAddress.toApiJson() : this.customerAddress;\n }\n if (typeof this.customUnitPrice !== 'undefined') {\n toReturn['customUnitPrice'] = this.customUnitPrice;\n }\n if (typeof this.retailFrequency !== 'undefined') {\n toReturn['retailFrequency'] = this.retailFrequency;\n }\n if (typeof this.nextRetailRenewal !== 'undefined' && this.nextRetailRenewal !== null) {\n toReturn['nextRetailRenewal'] = 'toApiJson' in this.nextRetailRenewal ? this.nextRetailRenewal.toApiJson() : this.nextRetailRenewal;\n }\n if (typeof this.retailUnitPrice !== 'undefined') {\n toReturn['retailUnitPrice'] = this.retailUnitPrice;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.price !== 'undefined' && this.price !== null) {\n toReturn['price'] = 'toApiJson' in this.price ? this.price.toApiJson() : this.price;\n }\n if (typeof this.subscriptionId !== 'undefined') {\n toReturn['subscriptionId'] = this.subscriptionId;\n }\n if (typeof this.deleted !== 'undefined' && this.deleted !== null) {\n toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;\n }\n if (typeof this.source !== 'undefined') {\n toReturn['source'] = this.source;\n }\n if (typeof this.autoBillable !== 'undefined') {\n toReturn['autoBillable'] = this.autoBillable;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n return toReturn;\n }\n}\nclass CanBillItemRequest {\n static fromProto(proto) {\n let m = new CanBillItemRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n return toReturn;\n }\n}\nclass CreateUsageRequest {\n static fromProto(proto) {\n let m = new CreateUsageRequest();\n m = Object.assign(m, proto);\n if (proto.quantity) {\n m.quantity = parseInt(proto.quantity, 10);\n }\n if (proto.usageDate) {\n m.usageDate = new Date(proto.usageDate);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.quantity !== 'undefined') {\n toReturn['quantity'] = this.quantity;\n }\n if (typeof this.usageDate !== 'undefined' && this.usageDate !== null) {\n toReturn['usageDate'] = 'toApiJson' in this.usageDate ? this.usageDate.toApiJson() : this.usageDate;\n }\n return toReturn;\n }\n}\nclass BillableItemCustomerAddress {\n static fromProto(proto) {\n let m = new BillableItemCustomerAddress();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.address !== 'undefined') {\n toReturn['address'] = this.address;\n }\n if (typeof this.city !== 'undefined') {\n toReturn['city'] = this.city;\n }\n if (typeof this.state !== 'undefined') {\n toReturn['state'] = this.state;\n }\n if (typeof this.zip !== 'undefined') {\n toReturn['zip'] = this.zip;\n }\n if (typeof this.country !== 'undefined') {\n toReturn['country'] = this.country;\n }\n return toReturn;\n }\n}\nclass DeleteBillableItemRequest {\n static fromProto(proto) {\n let m = new DeleteBillableItemRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass ExpireBillableItemRequest {\n static fromProto(proto) {\n let m = new ExpireBillableItemRequest();\n m = Object.assign(m, proto);\n if (proto.expiry) {\n m.expiry = new Date(proto.expiry);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.expiry !== 'undefined' && this.expiry !== null) {\n toReturn['expiry'] = 'toApiJson' in this.expiry ? this.expiry.toApiJson() : this.expiry;\n }\n return toReturn;\n }\n}\nclass ExportSubscriptionsRequest {\n static fromProto(proto) {\n let m = new ExportSubscriptionsRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListSubscriptionsRequestFilters.fromProto(proto.filters);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n return toReturn;\n }\n}\nclass ListSubscriptionsRequestFilters {\n static fromProto(proto) {\n let m = new ListSubscriptionsRequestFilters();\n m = Object.assign(m, proto);\n if (proto.status) {\n m.status = enumStringToValue$B(SubscriptionStatus, proto.status);\n }\n if (proto.expiredDateGte) {\n m.expiredDateGte = new Date(proto.expiredDateGte);\n }\n if (proto.expiredDateLte) {\n m.expiredDateLte = new Date(proto.expiredDateLte);\n }\n if (proto.frequencies) {\n m.frequencies = proto.frequencies.map(v => enumStringToValue$B(Frequency, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.skus !== 'undefined') {\n toReturn['skus'] = this.skus;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.searchTerm !== 'undefined') {\n toReturn['searchTerm'] = this.searchTerm;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.expiredDateGte !== 'undefined' && this.expiredDateGte !== null) {\n toReturn['expiredDateGte'] = 'toApiJson' in this.expiredDateGte ? this.expiredDateGte.toApiJson() : this.expiredDateGte;\n }\n if (typeof this.expiredDateLte !== 'undefined' && this.expiredDateLte !== null) {\n toReturn['expiredDateLte'] = 'toApiJson' in this.expiredDateLte ? this.expiredDateLte.toApiJson() : this.expiredDateLte;\n }\n if (typeof this.frequencies !== 'undefined') {\n toReturn['frequencies'] = this.frequencies;\n }\n return toReturn;\n }\n}\nclass ListBillableItemsRequestFilters {\n static fromProto(proto) {\n let m = new ListBillableItemsRequestFilters();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.skus !== 'undefined') {\n toReturn['skus'] = this.skus;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n return toReturn;\n }\n}\nclass GetBillableItemRequest {\n static fromProto(proto) {\n let m = new GetBillableItemRequest();\n m = Object.assign(m, proto);\n if (proto.projectionFilter) {\n m.projectionFilter = SubscriptionProjectionFilter.fromProto(proto.projectionFilter);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.projectionFilter !== 'undefined' && this.projectionFilter !== null) {\n toReturn['projectionFilter'] = 'toApiJson' in this.projectionFilter ? this.projectionFilter.toApiJson() : this.projectionFilter;\n }\n return toReturn;\n }\n}\nclass GetBillableItemResponse {\n static fromProto(proto) {\n let m = new GetBillableItemResponse();\n m = Object.assign(m, proto);\n if (proto.item) {\n m.item = BillableItem.fromProto(proto.item);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.item !== 'undefined' && this.item !== null) {\n toReturn['item'] = 'toApiJson' in this.item ? this.item.toApiJson() : this.item;\n }\n return toReturn;\n }\n}\nclass GetMultiSubscriptionsRequest {\n static fromProto(proto) {\n let m = new GetMultiSubscriptionsRequest();\n m = Object.assign(m, proto);\n if (proto.subscriptionKeys) {\n m.subscriptionKeys = proto.subscriptionKeys.map(GetMultiSubscriptionsRequestKey.fromProto);\n }\n if (proto.projectionFilter) {\n m.projectionFilter = SubscriptionProjectionFilter.fromProto(proto.projectionFilter);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subscriptionKeys !== 'undefined' && this.subscriptionKeys !== null) {\n toReturn['subscriptionKeys'] = 'toApiJson' in this.subscriptionKeys ? this.subscriptionKeys.toApiJson() : this.subscriptionKeys;\n }\n if (typeof this.projectionFilter !== 'undefined' && this.projectionFilter !== null) {\n toReturn['projectionFilter'] = 'toApiJson' in this.projectionFilter ? this.projectionFilter.toApiJson() : this.projectionFilter;\n }\n return toReturn;\n }\n}\nclass GetMultiSubscriptionsResponse {\n static fromProto(proto) {\n let m = new GetMultiSubscriptionsResponse();\n m = Object.assign(m, proto);\n if (proto.subscriptions) {\n m.subscriptions = proto.subscriptions.map(BillableItem.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subscriptions !== 'undefined' && this.subscriptions !== null) {\n toReturn['subscriptions'] = 'toApiJson' in this.subscriptions ? this.subscriptions.toApiJson() : this.subscriptions;\n }\n return toReturn;\n }\n}\nclass Item {\n static fromProto(proto) {\n let m = new Item();\n m = Object.assign(m, proto);\n if (proto.billingStart) {\n m.billingStart = new Date(proto.billingStart);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.billingStart !== 'undefined' && this.billingStart !== null) {\n toReturn['billingStart'] = 'toApiJson' in this.billingStart ? this.billingStart.toApiJson() : this.billingStart;\n }\n return toReturn;\n }\n}\nclass GetMultiSubscriptionsRequestKey {\n static fromProto(proto) {\n let m = new GetMultiSubscriptionsRequestKey();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass ListBillableItemsRequest {\n static fromProto(proto) {\n let m = new ListBillableItemsRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListBillableItemsRequestFilters.fromProto(proto.filters);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n if (typeof this.searchTerm !== 'undefined') {\n toReturn['searchTerm'] = this.searchTerm;\n }\n return toReturn;\n }\n}\nclass ListBillableItemsResponse {\n static fromProto(proto) {\n let m = new ListBillableItemsResponse();\n m = Object.assign(m, proto);\n if (proto.items) {\n m.items = proto.items.map(BillableItem.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.items !== 'undefined' && this.items !== null) {\n toReturn['items'] = 'toApiJson' in this.items ? this.items.toApiJson() : this.items;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass ListSubscriptionsRequest {\n static fromProto(proto) {\n let m = new ListSubscriptionsRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListSubscriptionsRequestFilters.fromProto(proto.filters);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n if (proto.projectionFilter) {\n m.projectionFilter = SubscriptionProjectionFilter.fromProto(proto.projectionFilter);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n if (typeof this.projectionFilter !== 'undefined' && this.projectionFilter !== null) {\n toReturn['projectionFilter'] = 'toApiJson' in this.projectionFilter ? this.projectionFilter.toApiJson() : this.projectionFilter;\n }\n return toReturn;\n }\n}\nclass ListSubscriptionsResponse {\n static fromProto(proto) {\n let m = new ListSubscriptionsResponse();\n m = Object.assign(m, proto);\n if (proto.subscriptions) {\n m.subscriptions = proto.subscriptions.map(BillableItem.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subscriptions !== 'undefined' && this.subscriptions !== null) {\n toReturn['subscriptions'] = 'toApiJson' in this.subscriptions ? this.subscriptions.toApiJson() : this.subscriptions;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass UpdateSubscriptionRequestSubscription {\n static fromProto(proto) {\n let m = new UpdateSubscriptionRequestSubscription();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subscriptionId !== 'undefined') {\n toReturn['subscriptionId'] = this.subscriptionId;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n return toReturn;\n }\n}\nclass SubscriptionProjectionFilter {\n static fromProto(proto) {\n let m = new SubscriptionProjectionFilter();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.price !== 'undefined') {\n toReturn['price'] = this.price;\n }\n if (typeof this.includeDeleted !== 'undefined') {\n toReturn['includeDeleted'] = this.includeDeleted;\n }\n return toReturn;\n }\n}\nclass UnexpireBillableItemRequest {\n static fromProto(proto) {\n let m = new UnexpireBillableItemRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass UpdateSubscriptionRequest {\n static fromProto(proto) {\n let m = new UpdateSubscriptionRequest();\n m = Object.assign(m, proto);\n if (proto.subscription) {\n m.subscription = UpdateSubscriptionRequestSubscription.fromProto(proto.subscription);\n }\n if (proto.fieldMask) {\n m.fieldMask = FieldMask.fromProto(proto.fieldMask);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subscription !== 'undefined' && this.subscription !== null) {\n toReturn['subscription'] = 'toApiJson' in this.subscription ? this.subscription.toApiJson() : this.subscription;\n }\n if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {\n toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;\n }\n return toReturn;\n }\n}\nclass UpdateSubscriptionResponse {\n static fromProto(proto) {\n let m = new UpdateSubscriptionResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n return toReturn;\n }\n}\nfunction enumStringToValue$A(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass AppliedDiscount {\n static fromProto(proto) {\n let m = new AppliedDiscount();\n m = Object.assign(m, proto);\n if (proto.type) {\n m.type = enumStringToValue$A(DiscountType, proto.type);\n }\n if (proto.value) {\n m.value = parseInt(proto.value, 10);\n }\n if (proto.totalAmount) {\n m.totalAmount = parseInt(proto.totalAmount, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n if (typeof this.totalAmount !== 'undefined') {\n toReturn['totalAmount'] = this.totalAmount;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.referenceId !== 'undefined') {\n toReturn['referenceId'] = this.referenceId;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$z(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Bundle {\n static fromProto(proto) {\n let m = new Bundle();\n m = Object.assign(m, proto);\n if (proto.items) {\n m.items = proto.items.map(BundleItem.fromProto);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.bundleId !== 'undefined') {\n toReturn['bundleId'] = this.bundleId;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.items !== 'undefined' && this.items !== null) {\n toReturn['items'] = 'toApiJson' in this.items ? this.items.toApiJson() : this.items;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.hideBundleDetails !== 'undefined') {\n toReturn['hideBundleDetails'] = this.hideBundleDetails;\n }\n return toReturn;\n }\n}\nclass BundleItem {\n static fromProto(proto) {\n let m = new BundleItem();\n m = Object.assign(m, proto);\n if (proto.discountType) {\n m.discountType = enumStringToValue$z(DiscountType, proto.discountType);\n }\n if (proto.discountAmount) {\n m.discountAmount = parseInt(proto.discountAmount, 10);\n }\n if (proto.quantity) {\n m.quantity = parseInt(proto.quantity, 10);\n }\n if (proto.price) {\n m.price = BundleItemPrice.fromProto(proto.price);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.productId !== 'undefined') {\n toReturn['productId'] = this.productId;\n }\n if (typeof this.discountType !== 'undefined') {\n toReturn['discountType'] = this.discountType;\n }\n if (typeof this.discountAmount !== 'undefined') {\n toReturn['discountAmount'] = this.discountAmount;\n }\n if (typeof this.quantity !== 'undefined') {\n toReturn['quantity'] = this.quantity;\n }\n if (typeof this.defaultSku !== 'undefined') {\n toReturn['defaultSku'] = this.defaultSku;\n }\n if (typeof this.price !== 'undefined' && this.price !== null) {\n toReturn['price'] = 'toApiJson' in this.price ? this.price.toApiJson() : this.price;\n }\n return toReturn;\n }\n}\nclass BundlePricing {\n static fromProto(proto) {\n let m = new BundlePricing();\n m = Object.assign(m, proto);\n if (proto.prices) {\n m.prices = proto.prices.map(BundlePricingPriceAndFrequency.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.bundleId !== 'undefined') {\n toReturn['bundleId'] = this.bundleId;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n if (typeof this.prices !== 'undefined' && this.prices !== null) {\n toReturn['prices'] = 'toApiJson' in this.prices ? this.prices.toApiJson() : this.prices;\n }\n return toReturn;\n }\n}\nclass GetMultiBundleResponseBundlesEntry {\n static fromProto(proto) {\n let m = new GetMultiBundleResponseBundlesEntry();\n m = Object.assign(m, proto);\n if (proto.value) {\n m.value = Bundle.fromProto(proto.value);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined' && this.value !== null) {\n toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;\n }\n return toReturn;\n }\n}\nclass ListBundlesRequestFilters {\n static fromProto(proto) {\n let m = new ListBundlesRequestFilters();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass GetMultiBundleRequest {\n static fromProto(proto) {\n let m = new GetMultiBundleRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.bundleIds !== 'undefined') {\n toReturn['bundleIds'] = this.bundleIds;\n }\n return toReturn;\n }\n}\nclass GetMultiBundleResponse {\n static fromProto(proto) {\n let m = new GetMultiBundleResponse();\n m = Object.assign(m, proto);\n if (proto.bundles) {\n m.bundles = Object.keys(proto.bundles).reduce((obj, k) => {\n obj[k] = Bundle.fromProto(proto.bundles[k]);\n return obj;\n }, {});\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.bundles !== 'undefined' && this.bundles !== null) {\n toReturn['bundles'] = 'toApiJson' in this.bundles ? this.bundles.toApiJson() : this.bundles;\n }\n return toReturn;\n }\n}\nclass ListBundlesRequest {\n static fromProto(proto) {\n let m = new ListBundlesRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListBundlesRequestFilters.fromProto(proto.filters);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.searchTerm !== 'undefined') {\n toReturn['searchTerm'] = this.searchTerm;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass ListBundlesResponse {\n static fromProto(proto) {\n let m = new ListBundlesResponse();\n m = Object.assign(m, proto);\n if (proto.bundles) {\n m.bundles = proto.bundles.map(Bundle.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.bundles !== 'undefined' && this.bundles !== null) {\n toReturn['bundles'] = 'toApiJson' in this.bundles ? this.bundles.toApiJson() : this.bundles;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass BundleItemPrice {\n static fromProto(proto) {\n let m = new BundleItemPrice();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.setupFee) {\n m.setupFee = parseInt(proto.setupFee, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.setupFee !== 'undefined') {\n toReturn['setupFee'] = this.setupFee;\n }\n return toReturn;\n }\n}\nclass BundlePricingPriceAndFrequency {\n static fromProto(proto) {\n let m = new BundlePricingPriceAndFrequency();\n m = Object.assign(m, proto);\n if (proto.frequency) {\n m.frequency = enumStringToValue$z(Frequency, proto.frequency);\n }\n if (proto.effectivePrice) {\n m.effectivePrice = parseInt(proto.effectivePrice, 10);\n }\n if (proto.initialPrice) {\n m.initialPrice = parseInt(proto.initialPrice, 10);\n }\n if (proto.setupFee) {\n m.setupFee = parseInt(proto.setupFee, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.frequency !== 'undefined') {\n toReturn['frequency'] = this.frequency;\n }\n if (typeof this.effectivePrice !== 'undefined') {\n toReturn['effectivePrice'] = this.effectivePrice;\n }\n if (typeof this.initialPrice !== 'undefined') {\n toReturn['initialPrice'] = this.initialPrice;\n }\n if (typeof this.setupFee !== 'undefined') {\n toReturn['setupFee'] = this.setupFee;\n }\n return toReturn;\n }\n}\nclass UpsertBundleRequest {\n static fromProto(proto) {\n let m = new UpsertBundleRequest();\n m = Object.assign(m, proto);\n if (proto.items) {\n m.items = proto.items.map(BundleItem.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.bundleId !== 'undefined') {\n toReturn['bundleId'] = this.bundleId;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.items !== 'undefined' && this.items !== null) {\n toReturn['items'] = 'toApiJson' in this.items ? this.items.toApiJson() : this.items;\n }\n if (typeof this.hideBundleDetails !== 'undefined') {\n toReturn['hideBundleDetails'] = this.hideBundleDetails;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$y(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Contract {\n static fromProto(proto) {\n let m = new Contract();\n m = Object.assign(m, proto);\n if (proto.netD) {\n m.netD = parseInt(proto.netD, 10);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.currency) {\n m.currency = enumStringToValue$y(Currency, proto.currency);\n }\n if (proto.signed) {\n m.signed = new Date(proto.signed);\n }\n if (proto.activated) {\n m.activated = new Date(proto.activated);\n }\n if (proto.modified) {\n m.modified = new Date(proto.modified);\n }\n if (proto.verified) {\n m.verified = new Date(proto.verified);\n }\n if (proto.creditLimit) {\n m.creditLimit = parseInt(proto.creditLimit, 10);\n }\n if (proto.end) {\n m.end = new Date(proto.end);\n }\n if (proto.subscriptionUpdateStatus) {\n m.subscriptionUpdateStatus = enumStringToValue$y(ContractSubscriptionStatus, proto.subscriptionUpdateStatus);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.netD !== 'undefined') {\n toReturn['netD'] = this.netD;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.subscriptionId !== 'undefined') {\n toReturn['subscriptionId'] = this.subscriptionId;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n if (typeof this.signed !== 'undefined' && this.signed !== null) {\n toReturn['signed'] = 'toApiJson' in this.signed ? this.signed.toApiJson() : this.signed;\n }\n if (typeof this.activated !== 'undefined' && this.activated !== null) {\n toReturn['activated'] = 'toApiJson' in this.activated ? this.activated.toApiJson() : this.activated;\n }\n if (typeof this.modified !== 'undefined' && this.modified !== null) {\n toReturn['modified'] = 'toApiJson' in this.modified ? this.modified.toApiJson() : this.modified;\n }\n if (typeof this.verified !== 'undefined' && this.verified !== null) {\n toReturn['verified'] = 'toApiJson' in this.verified ? this.verified.toApiJson() : this.verified;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.creditLimit !== 'undefined') {\n toReturn['creditLimit'] = this.creditLimit;\n }\n if (typeof this.dimension !== 'undefined') {\n toReturn['dimension'] = this.dimension;\n }\n if (typeof this.pricingPlanId !== 'undefined') {\n toReturn['pricingPlanId'] = this.pricingPlanId;\n }\n if (typeof this.end !== 'undefined' && this.end !== null) {\n toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;\n }\n if (typeof this.subscriptionUpdateStatus !== 'undefined') {\n toReturn['subscriptionUpdateStatus'] = this.subscriptionUpdateStatus;\n }\n return toReturn;\n }\n}\nclass GetMultiContractsResponseContractsEntry {\n static fromProto(proto) {\n let m = new GetMultiContractsResponseContractsEntry();\n m = Object.assign(m, proto);\n if (proto.value) {\n m.value = Contract.fromProto(proto.value);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined' && this.value !== null) {\n toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;\n }\n return toReturn;\n }\n}\nclass CreateContractRequest {\n static fromProto(proto) {\n let m = new CreateContractRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n return toReturn;\n }\n}\nclass CreateContractResponse {\n static fromProto(proto) {\n let m = new CreateContractResponse();\n m = Object.assign(m, proto);\n if (proto.contract) {\n m.contract = Contract.fromProto(proto.contract);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.contract !== 'undefined' && this.contract !== null) {\n toReturn['contract'] = 'toApiJson' in this.contract ? this.contract.toApiJson() : this.contract;\n }\n return toReturn;\n }\n}\nclass GetContractRequest {\n static fromProto(proto) {\n let m = new GetContractRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass GetContractResponse {\n static fromProto(proto) {\n let m = new GetContractResponse();\n m = Object.assign(m, proto);\n if (proto.contract) {\n m.contract = Contract.fromProto(proto.contract);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.contract !== 'undefined' && this.contract !== null) {\n toReturn['contract'] = 'toApiJson' in this.contract ? this.contract.toApiJson() : this.contract;\n }\n return toReturn;\n }\n}\nclass GetMerchantWholesaleCurrencyRequest {\n static fromProto(proto) {\n let m = new GetMerchantWholesaleCurrencyRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass GetMerchantWholesaleCurrencyResponse {\n static fromProto(proto) {\n let m = new GetMerchantWholesaleCurrencyResponse();\n m = Object.assign(m, proto);\n if (proto.currency) {\n m.currency = enumStringToValue$y(Currency, proto.currency);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n return toReturn;\n }\n}\nclass GetMultiContractsRequest {\n static fromProto(proto) {\n let m = new GetMultiContractsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantIds !== 'undefined') {\n toReturn['merchantIds'] = this.merchantIds;\n }\n return toReturn;\n }\n}\nclass GetMultiContractsResponse {\n static fromProto(proto) {\n let m = new GetMultiContractsResponse();\n m = Object.assign(m, proto);\n if (proto.contracts) {\n m.contracts = Object.keys(proto.contracts).reduce((obj, k) => {\n obj[k] = Contract.fromProto(proto.contracts[k]);\n return obj;\n }, {});\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.contracts !== 'undefined' && this.contracts !== null) {\n toReturn['contracts'] = 'toApiJson' in this.contracts ? this.contracts.toApiJson() : this.contracts;\n }\n return toReturn;\n }\n}\nclass ListContractsRequest {\n static fromProto(proto) {\n let m = new ListContractsRequest();\n m = Object.assign(m, proto);\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass ListContractsResponse {\n static fromProto(proto) {\n let m = new ListContractsResponse();\n m = Object.assign(m, proto);\n if (proto.contracts) {\n m.contracts = proto.contracts.map(Contract.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.contracts !== 'undefined' && this.contracts !== null) {\n toReturn['contracts'] = 'toApiJson' in this.contracts ? this.contracts.toApiJson() : this.contracts;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass UpdateContractRequestMutation {\n static fromProto(proto) {\n let m = new UpdateContractRequestMutation();\n m = Object.assign(m, proto);\n if (proto.netD) {\n m.netD = parseInt(proto.netD, 10);\n }\n if (proto.signed) {\n m.signed = new Date(proto.signed);\n }\n if (proto.activated) {\n m.activated = new Date(proto.activated);\n }\n if (proto.end) {\n m.end = new Date(proto.end);\n }\n if (proto.modified) {\n m.modified = new Date(proto.modified);\n }\n if (proto.creditLimit) {\n m.creditLimit = parseInt(proto.creditLimit, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.netD !== 'undefined') {\n toReturn['netD'] = this.netD;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.dimension !== 'undefined') {\n toReturn['dimension'] = this.dimension;\n }\n if (typeof this.signed !== 'undefined' && this.signed !== null) {\n toReturn['signed'] = 'toApiJson' in this.signed ? this.signed.toApiJson() : this.signed;\n }\n if (typeof this.activated !== 'undefined' && this.activated !== null) {\n toReturn['activated'] = 'toApiJson' in this.activated ? this.activated.toApiJson() : this.activated;\n }\n if (typeof this.end !== 'undefined' && this.end !== null) {\n toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;\n }\n if (typeof this.modified !== 'undefined' && this.modified !== null) {\n toReturn['modified'] = 'toApiJson' in this.modified ? this.modified.toApiJson() : this.modified;\n }\n if (typeof this.creditLimit !== 'undefined') {\n toReturn['creditLimit'] = this.creditLimit;\n }\n if (typeof this.subscriptionId !== 'undefined') {\n toReturn['subscriptionId'] = this.subscriptionId;\n }\n return toReturn;\n }\n}\nclass ResetContractPricingRequest {\n static fromProto(proto) {\n let m = new ResetContractPricingRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass UpdateContractRequest {\n static fromProto(proto) {\n let m = new UpdateContractRequest();\n m = Object.assign(m, proto);\n if (proto.mutations) {\n m.mutations = proto.mutations.map(UpdateContractRequestMutation.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.mutations !== 'undefined' && this.mutations !== null) {\n toReturn['mutations'] = 'toApiJson' in this.mutations ? this.mutations.toApiJson() : this.mutations;\n }\n if (typeof this.performedBy !== 'undefined') {\n toReturn['performedBy'] = this.performedBy;\n }\n return toReturn;\n }\n}\nclass UpdateContractResponse {\n static fromProto(proto) {\n let m = new UpdateContractResponse();\n m = Object.assign(m, proto);\n if (proto.contract) {\n m.contract = Contract.fromProto(proto.contract);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.contract !== 'undefined' && this.contract !== null) {\n toReturn['contract'] = 'toApiJson' in this.contract ? this.contract.toApiJson() : this.contract;\n }\n return toReturn;\n }\n}\nclass UpdateContractSubscriptionRequest {\n static fromProto(proto) {\n let m = new UpdateContractSubscriptionRequest();\n m = Object.assign(m, proto);\n if (proto.frequency) {\n m.frequency = enumStringToValue$y(Frequency, proto.frequency);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.subscriptionId !== 'undefined') {\n toReturn['subscriptionId'] = this.subscriptionId;\n }\n if (typeof this.frequency !== 'undefined') {\n toReturn['frequency'] = this.frequency;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$x(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass CustomerSummary {\n static fromProto(proto) {\n let m = new CustomerSummary();\n m = Object.assign(m, proto);\n if (proto.purchaseItemQuantity) {\n m.purchaseItemQuantity = parseInt(proto.purchaseItemQuantity, 10);\n }\n if (proto.purchaseItemTotal) {\n m.purchaseItemTotal = parseInt(proto.purchaseItemTotal, 10);\n }\n if (proto.currency) {\n m.currency = enumStringToValue$x(Currency, proto.currency);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.purchaseItemQuantity !== 'undefined') {\n toReturn['purchaseItemQuantity'] = this.purchaseItemQuantity;\n }\n if (typeof this.purchaseItemTotal !== 'undefined') {\n toReturn['purchaseItemTotal'] = this.purchaseItemTotal;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n return toReturn;\n }\n}\nclass GetMultiCustomerSummariesRequest {\n static fromProto(proto) {\n let m = new GetMultiCustomerSummariesRequest();\n m = Object.assign(m, proto);\n if (proto.periodStart) {\n m.periodStart = new Date(proto.periodStart);\n }\n if (proto.periodEnd) {\n m.periodEnd = new Date(proto.periodEnd);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.customerIds !== 'undefined') {\n toReturn['customerIds'] = this.customerIds;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.periodStart !== 'undefined' && this.periodStart !== null) {\n toReturn['periodStart'] = 'toApiJson' in this.periodStart ? this.periodStart.toApiJson() : this.periodStart;\n }\n if (typeof this.periodEnd !== 'undefined' && this.periodEnd !== null) {\n toReturn['periodEnd'] = 'toApiJson' in this.periodEnd ? this.periodEnd.toApiJson() : this.periodEnd;\n }\n return toReturn;\n }\n}\nclass GetMultiCustomerSummariesResponse {\n static fromProto(proto) {\n let m = new GetMultiCustomerSummariesResponse();\n m = Object.assign(m, proto);\n if (proto.customerSummaries) {\n m.customerSummaries = proto.customerSummaries.map(CustomerSummary.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.customerSummaries !== 'undefined' && this.customerSummaries !== null) {\n toReturn['customerSummaries'] = 'toApiJson' in this.customerSummaries ? this.customerSummaries.toApiJson() : this.customerSummaries;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$w(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass BankAccount {\n static fromProto(proto) {\n let m = new BankAccount();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.accountHolderName !== 'undefined') {\n toReturn['accountHolderName'] = this.accountHolderName;\n }\n if (typeof this.bankName !== 'undefined') {\n toReturn['bankName'] = this.bankName;\n }\n if (typeof this.country !== 'undefined') {\n toReturn['country'] = this.country;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n if (typeof this.routingNumber !== 'undefined') {\n toReturn['routingNumber'] = this.routingNumber;\n }\n if (typeof this.last4 !== 'undefined') {\n toReturn['last4'] = this.last4;\n }\n if (typeof this.defaultForCurrency !== 'undefined') {\n toReturn['defaultForCurrency'] = this.defaultForCurrency;\n }\n return toReturn;\n }\n}\nclass CreateStripeExternalAccountRequest {\n static fromProto(proto) {\n let m = new CreateStripeExternalAccountRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.stripeToken !== 'undefined') {\n toReturn['stripeToken'] = this.stripeToken;\n }\n return toReturn;\n }\n}\nclass DeleteBankAccountRequest {\n static fromProto(proto) {\n let m = new DeleteBankAccountRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.bankAccountId !== 'undefined') {\n toReturn['bankAccountId'] = this.bankAccountId;\n }\n return toReturn;\n }\n}\nclass ListBankAccountsRequest {\n static fromProto(proto) {\n let m = new ListBankAccountsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass ListBankAccountsResponse {\n static fromProto(proto) {\n let m = new ListBankAccountsResponse();\n m = Object.assign(m, proto);\n if (proto.bankAccount) {\n m.bankAccount = proto.bankAccount.map(BankAccount.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.bankAccount !== 'undefined' && this.bankAccount !== null) {\n toReturn['bankAccount'] = 'toApiJson' in this.bankAccount ? this.bankAccount.toApiJson() : this.bankAccount;\n }\n return toReturn;\n }\n}\nclass SetDefaultBankAccountRequest {\n static fromProto(proto) {\n let m = new SetDefaultBankAccountRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.bankAccountId !== 'undefined') {\n toReturn['bankAccountId'] = this.bankAccountId;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$v(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ProductSummaryDiscount {\n static fromProto(proto) {\n let m = new ProductSummaryDiscount();\n m = Object.assign(m, proto);\n if (proto.type) {\n m.type = enumStringToValue$v(ProductSummaryDiscountDiscountType, proto.type);\n }\n if (proto.value) {\n m.value = parseInt(proto.value, 10);\n }\n if (proto.totalAmount) {\n m.totalAmount = parseInt(proto.totalAmount, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n if (typeof this.totalAmount !== 'undefined') {\n toReturn['totalAmount'] = this.totalAmount;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.resetEachPeriod !== 'undefined') {\n toReturn['resetEachPeriod'] = this.resetEachPeriod;\n }\n return toReturn;\n }\n}\nclass ListSubscriptionRetentionRequestFilters {\n static fromProto(proto) {\n let m = new ListSubscriptionRetentionRequestFilters();\n m = Object.assign(m, proto);\n if (proto.start) {\n m.start = new Date(proto.start);\n }\n if (proto.end) {\n m.end = new Date(proto.end);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.start !== 'undefined' && this.start !== null) {\n toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;\n }\n if (typeof this.end !== 'undefined' && this.end !== null) {\n toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;\n }\n return toReturn;\n }\n}\nclass GetProductSummariesTotalRequest {\n static fromProto(proto) {\n let m = new GetProductSummariesTotalRequest();\n m = Object.assign(m, proto);\n if (proto.startDate) {\n m.startDate = new Date(proto.startDate);\n }\n if (proto.endDate) {\n m.endDate = new Date(proto.endDate);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.startDate !== 'undefined' && this.startDate !== null) {\n toReturn['startDate'] = 'toApiJson' in this.startDate ? this.startDate.toApiJson() : this.startDate;\n }\n if (typeof this.endDate !== 'undefined' && this.endDate !== null) {\n toReturn['endDate'] = 'toApiJson' in this.endDate ? this.endDate.toApiJson() : this.endDate;\n }\n return toReturn;\n }\n}\nclass GetProductSummariesTotalResponse {\n static fromProto(proto) {\n let m = new GetProductSummariesTotalResponse();\n m = Object.assign(m, proto);\n if (proto.totalAmount) {\n m.totalAmount = parseInt(proto.totalAmount, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.totalAmount !== 'undefined') {\n toReturn['totalAmount'] = this.totalAmount;\n }\n return toReturn;\n }\n}\nclass ListProductSummariesRequest {\n static fromProto(proto) {\n let m = new ListProductSummariesRequest();\n m = Object.assign(m, proto);\n if (proto.startDate) {\n m.startDate = new Date(proto.startDate);\n }\n if (proto.endDate) {\n m.endDate = new Date(proto.endDate);\n }\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.startDate !== 'undefined' && this.startDate !== null) {\n toReturn['startDate'] = 'toApiJson' in this.startDate ? this.startDate.toApiJson() : this.startDate;\n }\n if (typeof this.endDate !== 'undefined' && this.endDate !== null) {\n toReturn['endDate'] = 'toApiJson' in this.endDate ? this.endDate.toApiJson() : this.endDate;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.skus !== 'undefined') {\n toReturn['skus'] = this.skus;\n }\n return toReturn;\n }\n}\nclass ListProductSummariesResponse {\n static fromProto(proto) {\n let m = new ListProductSummariesResponse();\n m = Object.assign(m, proto);\n if (proto.results) {\n m.results = proto.results.map(ProductSummary.fromProto);\n }\n if (proto.totalResults) {\n m.totalResults = parseInt(proto.totalResults, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.results !== 'undefined' && this.results !== null) {\n toReturn['results'] = 'toApiJson' in this.results ? this.results.toApiJson() : this.results;\n }\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n if (typeof this.totalResults !== 'undefined') {\n toReturn['totalResults'] = this.totalResults;\n }\n return toReturn;\n }\n}\nclass ListSubscriptionRetentionByGroupResponse {\n static fromProto(proto) {\n let m = new ListSubscriptionRetentionByGroupResponse();\n m = Object.assign(m, proto);\n if (proto.metricsByGroup) {\n m.metricsByGroup = proto.metricsByGroup.map(ListSubscriptionRetentionByGroupResponseSubscriptionRetentionByGroup.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.metricsByGroup !== 'undefined' && this.metricsByGroup !== null) {\n toReturn['metricsByGroup'] = 'toApiJson' in this.metricsByGroup ? this.metricsByGroup.toApiJson() : this.metricsByGroup;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass ListSubscriptionRetentionBySKUResponse {\n static fromProto(proto) {\n let m = new ListSubscriptionRetentionBySKUResponse();\n m = Object.assign(m, proto);\n if (proto.subscriptionMetrics) {\n m.subscriptionMetrics = proto.subscriptionMetrics.map(RetentionMetrics.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subscriptionMetrics !== 'undefined' && this.subscriptionMetrics !== null) {\n toReturn['subscriptionMetrics'] = 'toApiJson' in this.subscriptionMetrics ? this.subscriptionMetrics.toApiJson() : this.subscriptionMetrics;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass ListSubscriptionRetentionRequest {\n static fromProto(proto) {\n let m = new ListSubscriptionRetentionRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListSubscriptionRetentionRequestFilters.fromProto(proto.filters);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass Pricing {\n static fromProto(proto) {\n let m = new Pricing();\n m = Object.assign(m, proto);\n if (proto.type) {\n m.type = enumStringToValue$v(PricingRuleType, proto.type);\n }\n if (proto.rules) {\n m.rules = proto.rules.map(PricingRule.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.rules !== 'undefined' && this.rules !== null) {\n toReturn['rules'] = 'toApiJson' in this.rules ? this.rules.toApiJson() : this.rules;\n }\n return toReturn;\n }\n}\nclass ProductSummary {\n static fromProto(proto) {\n let m = new ProductSummary();\n m = Object.assign(m, proto);\n if (proto.totalQuantity) {\n m.totalQuantity = parseInt(proto.totalQuantity, 10);\n }\n if (proto.totalAmount) {\n m.totalAmount = parseInt(proto.totalAmount, 10);\n }\n if (proto.totalDiscount) {\n m.totalDiscount = parseInt(proto.totalDiscount, 10);\n }\n if (proto.pricing) {\n m.pricing = Pricing.fromProto(proto.pricing);\n }\n if (proto.discounts) {\n m.discounts = proto.discounts.map(ProductSummaryDiscount.fromProto);\n }\n if (proto.billingStrategy) {\n m.billingStrategy = enumStringToValue$v(ProductSummaryBillingStrategy, proto.billingStrategy);\n }\n if (proto.productType) {\n m.productType = enumStringToValue$v(ProductSummaryProductType, proto.productType);\n }\n if (proto.frequency) {\n m.frequency = enumStringToValue$v(Frequency, proto.frequency);\n }\n if (proto.volumeCommitment) {\n m.volumeCommitment = parseInt(proto.volumeCommitment, 10);\n }\n if (proto.setupFee) {\n m.setupFee = parseInt(proto.setupFee, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.productName !== 'undefined') {\n toReturn['productName'] = this.productName;\n }\n if (typeof this.totalQuantity !== 'undefined') {\n toReturn['totalQuantity'] = this.totalQuantity;\n }\n if (typeof this.totalAmount !== 'undefined') {\n toReturn['totalAmount'] = this.totalAmount;\n }\n if (typeof this.totalDiscount !== 'undefined') {\n toReturn['totalDiscount'] = this.totalDiscount;\n }\n if (typeof this.pricing !== 'undefined' && this.pricing !== null) {\n toReturn['pricing'] = 'toApiJson' in this.pricing ? this.pricing.toApiJson() : this.pricing;\n }\n if (typeof this.discounts !== 'undefined' && this.discounts !== null) {\n toReturn['discounts'] = 'toApiJson' in this.discounts ? this.discounts.toApiJson() : this.discounts;\n }\n if (typeof this.billingStrategy !== 'undefined') {\n toReturn['billingStrategy'] = this.billingStrategy;\n }\n if (typeof this.productType !== 'undefined') {\n toReturn['productType'] = this.productType;\n }\n if (typeof this.frequency !== 'undefined') {\n toReturn['frequency'] = this.frequency;\n }\n if (typeof this.proratedPercent !== 'undefined') {\n toReturn['proratedPercent'] = this.proratedPercent;\n }\n if (typeof this.volumeCommitment !== 'undefined') {\n toReturn['volumeCommitment'] = this.volumeCommitment;\n }\n if (typeof this.setupFee !== 'undefined') {\n toReturn['setupFee'] = this.setupFee;\n }\n return toReturn;\n }\n}\nclass RetentionMetrics {\n static fromProto(proto) {\n let m = new RetentionMetrics();\n m = Object.assign(m, proto);\n if (proto.startingCount) {\n m.startingCount = parseInt(proto.startingCount, 10);\n }\n if (proto.activations) {\n m.activations = parseInt(proto.activations, 10);\n }\n if (proto.deactivations) {\n m.deactivations = parseInt(proto.deactivations, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.productName !== 'undefined') {\n toReturn['productName'] = this.productName;\n }\n if (typeof this.startingCount !== 'undefined') {\n toReturn['startingCount'] = this.startingCount;\n }\n if (typeof this.activations !== 'undefined') {\n toReturn['activations'] = this.activations;\n }\n if (typeof this.deactivations !== 'undefined') {\n toReturn['deactivations'] = this.deactivations;\n }\n if (typeof this.churn !== 'undefined') {\n toReturn['churn'] = this.churn;\n }\n if (typeof this.retention !== 'undefined') {\n toReturn['retention'] = this.retention;\n }\n return toReturn;\n }\n}\nclass PricingRule {\n static fromProto(proto) {\n let m = new PricingRule();\n m = Object.assign(m, proto);\n if (proto.min) {\n m.min = parseInt(proto.min, 10);\n }\n if (proto.max) {\n m.max = parseInt(proto.max, 10);\n }\n if (proto.units) {\n m.units = parseInt(proto.units, 10);\n }\n if (proto.unitPrice) {\n m.unitPrice = parseInt(proto.unitPrice, 10);\n }\n if (proto.totalAmount) {\n m.totalAmount = parseInt(proto.totalAmount, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.min !== 'undefined') {\n toReturn['min'] = this.min;\n }\n if (typeof this.max !== 'undefined') {\n toReturn['max'] = this.max;\n }\n if (typeof this.units !== 'undefined') {\n toReturn['units'] = this.units;\n }\n if (typeof this.unitPrice !== 'undefined') {\n toReturn['unitPrice'] = this.unitPrice;\n }\n if (typeof this.totalAmount !== 'undefined') {\n toReturn['totalAmount'] = this.totalAmount;\n }\n return toReturn;\n }\n}\nclass ListSubscriptionRetentionByGroupResponseSubscriptionRetentionByGroup {\n static fromProto(proto) {\n let m = new ListSubscriptionRetentionByGroupResponseSubscriptionRetentionByGroup();\n m = Object.assign(m, proto);\n if (proto.subscriptionMetrics) {\n m.subscriptionMetrics = proto.subscriptionMetrics.map(RetentionMetrics.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.groupId !== 'undefined') {\n toReturn['groupId'] = this.groupId;\n }\n if (typeof this.subscriptionMetrics !== 'undefined' && this.subscriptionMetrics !== null) {\n toReturn['subscriptionMetrics'] = 'toApiJson' in this.subscriptionMetrics ? this.subscriptionMetrics.toApiJson() : this.subscriptionMetrics;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$u(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass SubscribeValidation {\n static fromProto(proto) {\n let m = new SubscribeValidation();\n m = Object.assign(m, proto);\n if (proto.status) {\n m.status = enumStringToValue$u(SubscribeValidationStatus, proto.status);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$t(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass AlignmentSubscription {\n static fromProto(proto) {\n let m = new AlignmentSubscription();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass CanCreateSubscriptionsRequest {\n static fromProto(proto) {\n let m = new CanCreateSubscriptionsRequest();\n m = Object.assign(m, proto);\n if (proto.skus) {\n m.skus = Object.keys(proto.skus).reduce((obj, k) => {\n obj[k] = parseInt(proto.skus[k], 10);\n return obj;\n }, {});\n }\n if (proto.items) {\n m.items = proto.items.map(CanCreateSubscriptionsRequestSubscriptionItem.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.skus !== 'undefined' && this.skus !== null) {\n toReturn['skus'] = 'toApiJson' in this.skus ? this.skus.toApiJson() : this.skus;\n }\n if (typeof this.items !== 'undefined' && this.items !== null) {\n toReturn['items'] = 'toApiJson' in this.items ? this.items.toApiJson() : this.items;\n }\n return toReturn;\n }\n}\nclass CanCreateSubscriptionsResponse {\n static fromProto(proto) {\n let m = new CanCreateSubscriptionsResponse();\n m = Object.assign(m, proto);\n if (proto.validationResponse) {\n m.validationResponse = proto.validationResponse.map(ValidateResponse.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.validationResponse !== 'undefined' && this.validationResponse !== null) {\n toReturn['validationResponse'] = 'toApiJson' in this.validationResponse ? this.validationResponse.toApiJson() : this.validationResponse;\n }\n return toReturn;\n }\n}\nclass ChangeCustomUnitPriceRequest {\n static fromProto(proto) {\n let m = new ChangeCustomUnitPriceRequest();\n m = Object.assign(m, proto);\n if (proto.customUnitPrice) {\n m.customUnitPrice = parseInt(proto.customUnitPrice, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.customUnitPrice !== 'undefined') {\n toReturn['customUnitPrice'] = this.customUnitPrice;\n }\n return toReturn;\n }\n}\nclass ChangeFrequencyRequest {\n static fromProto(proto) {\n let m = new ChangeFrequencyRequest();\n m = Object.assign(m, proto);\n if (proto.frequency) {\n m.frequency = enumStringToValue$t(Frequency, proto.frequency);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.frequency !== 'undefined') {\n toReturn['frequency'] = this.frequency;\n }\n return toReturn;\n }\n}\nclass ChangeRenewalDateRequest {\n static fromProto(proto) {\n let m = new ChangeRenewalDateRequest();\n m = Object.assign(m, proto);\n if (proto.nextRenewalDate) {\n m.nextRenewalDate = new Date(proto.nextRenewalDate);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.nextRenewalDate !== 'undefined' && this.nextRenewalDate !== null) {\n toReturn['nextRenewalDate'] = 'toApiJson' in this.nextRenewalDate ? this.nextRenewalDate.toApiJson() : this.nextRenewalDate;\n }\n return toReturn;\n }\n}\nclass CreateSubscriptionRequest {\n static fromProto(proto) {\n let m = new CreateSubscriptionRequest();\n m = Object.assign(m, proto);\n if (proto.billingStart) {\n m.billingStart = new Date(proto.billingStart);\n }\n if (proto.proratedTo) {\n m.proratedTo = new Date(proto.proratedTo);\n }\n if (proto.renewalState) {\n m.renewalState = enumStringToValue$t(RenewalState, proto.renewalState);\n }\n if (proto.customUnitPrice) {\n m.customUnitPrice = parseInt(proto.customUnitPrice, 10);\n }\n if (proto.alignWith) {\n m.alignWith = AlignmentSubscription.fromProto(proto.alignWith);\n }\n if (proto.frequency) {\n m.frequency = enumStringToValue$t(Frequency, proto.frequency);\n }\n if (proto.retailAmount) {\n m.retailAmount = parseInt(proto.retailAmount, 10);\n }\n if (proto.retailFrequency) {\n m.retailFrequency = enumStringToValue$t(Frequency, proto.retailFrequency);\n }\n if (proto.consumer) {\n m.consumer = enumStringToValue$t(Consumer, proto.consumer);\n }\n if (proto.renewalStart) {\n m.renewalStart = new Date(proto.renewalStart);\n }\n if (proto.expiry) {\n m.expiry = new Date(proto.expiry);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.billingStart !== 'undefined' && this.billingStart !== null) {\n toReturn['billingStart'] = 'toApiJson' in this.billingStart ? this.billingStart.toApiJson() : this.billingStart;\n }\n if (typeof this.proratedTo !== 'undefined' && this.proratedTo !== null) {\n toReturn['proratedTo'] = 'toApiJson' in this.proratedTo ? this.proratedTo.toApiJson() : this.proratedTo;\n }\n if (typeof this.renewalState !== 'undefined') {\n toReturn['renewalState'] = this.renewalState;\n }\n if (typeof this.retailBundleId !== 'undefined') {\n toReturn['retailBundleId'] = this.retailBundleId;\n }\n if (typeof this.forResale !== 'undefined') {\n toReturn['forResale'] = this.forResale;\n }\n if (typeof this.customUnitPrice !== 'undefined') {\n toReturn['customUnitPrice'] = this.customUnitPrice;\n }\n if (typeof this.alignWith !== 'undefined' && this.alignWith !== null) {\n toReturn['alignWith'] = 'toApiJson' in this.alignWith ? this.alignWith.toApiJson() : this.alignWith;\n }\n if (typeof this.frequency !== 'undefined') {\n toReturn['frequency'] = this.frequency;\n }\n if (typeof this.retailAmount !== 'undefined') {\n toReturn['retailAmount'] = this.retailAmount;\n }\n if (typeof this.retailFrequency !== 'undefined') {\n toReturn['retailFrequency'] = this.retailFrequency;\n }\n if (typeof this.consumer !== 'undefined') {\n toReturn['consumer'] = this.consumer;\n }\n if (typeof this.renewalStart !== 'undefined' && this.renewalStart !== null) {\n toReturn['renewalStart'] = 'toApiJson' in this.renewalStart ? this.renewalStart.toApiJson() : this.renewalStart;\n }\n if (typeof this.expiry !== 'undefined' && this.expiry !== null) {\n toReturn['expiry'] = 'toApiJson' in this.expiry ? this.expiry.toApiJson() : this.expiry;\n }\n if (typeof this.autoBillable !== 'undefined') {\n toReturn['autoBillable'] = this.autoBillable;\n }\n if (typeof this.subscriptionId !== 'undefined') {\n toReturn['subscriptionId'] = this.subscriptionId;\n }\n return toReturn;\n }\n}\nclass CreateSubscriptionResponse {\n static fromProto(proto) {\n let m = new CreateSubscriptionResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subscriptionId !== 'undefined') {\n toReturn['subscriptionId'] = this.subscriptionId;\n }\n return toReturn;\n }\n}\nclass CreateSubscriptionsRequest {\n static fromProto(proto) {\n let m = new CreateSubscriptionsRequest();\n m = Object.assign(m, proto);\n if (proto.subscriptions) {\n m.subscriptions = proto.subscriptions.map(Subscription.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.subscriptions !== 'undefined' && this.subscriptions !== null) {\n toReturn['subscriptions'] = 'toApiJson' in this.subscriptions ? this.subscriptions.toApiJson() : this.subscriptions;\n }\n return toReturn;\n }\n}\nclass CreateSubscriptionsResponse {\n static fromProto(proto) {\n let m = new CreateSubscriptionsResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n return toReturn;\n }\n}\nclass ReverseSubscriptionRequest {\n static fromProto(proto) {\n let m = new ReverseSubscriptionRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass SetAutoBillableRequest {\n static fromProto(proto) {\n let m = new SetAutoBillableRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subscriptionId !== 'undefined') {\n toReturn['subscriptionId'] = this.subscriptionId;\n }\n if (typeof this.autoBillable !== 'undefined') {\n toReturn['autoBillable'] = this.autoBillable;\n }\n return toReturn;\n }\n}\nclass SetRenewalStartRequest {\n static fromProto(proto) {\n let m = new SetRenewalStartRequest();\n m = Object.assign(m, proto);\n if (proto.renewalStart) {\n m.renewalStart = new Date(proto.renewalStart);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.renewalStart !== 'undefined' && this.renewalStart !== null) {\n toReturn['renewalStart'] = 'toApiJson' in this.renewalStart ? this.renewalStart.toApiJson() : this.renewalStart;\n }\n return toReturn;\n }\n}\nclass CanCreateSubscriptionsRequestSkusEntry {\n static fromProto(proto) {\n let m = new CanCreateSubscriptionsRequestSkusEntry();\n m = Object.assign(m, proto);\n if (proto.value) {\n m.value = parseInt(proto.value, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n return toReturn;\n }\n}\nclass Subscription {\n static fromProto(proto) {\n let m = new Subscription();\n m = Object.assign(m, proto);\n if (proto.billingStart) {\n m.billingStart = new Date(proto.billingStart);\n }\n if (proto.renewalState) {\n m.renewalState = enumStringToValue$t(RenewalState, proto.renewalState);\n }\n if (proto.proratedTo) {\n m.proratedTo = new Date(proto.proratedTo);\n }\n if (proto.customUnitPrice) {\n m.customUnitPrice = parseInt(proto.customUnitPrice, 10);\n }\n if (proto.alignWith) {\n m.alignWith = AlignmentSubscription.fromProto(proto.alignWith);\n }\n if (proto.frequency) {\n m.frequency = enumStringToValue$t(Frequency, proto.frequency);\n }\n if (proto.retailAmount) {\n m.retailAmount = parseInt(proto.retailAmount, 10);\n }\n if (proto.retailFrequency) {\n m.retailFrequency = enumStringToValue$t(Frequency, proto.retailFrequency);\n }\n if (proto.consumer) {\n m.consumer = enumStringToValue$t(Consumer, proto.consumer);\n }\n if (proto.renewalStart) {\n m.renewalStart = new Date(proto.renewalStart);\n }\n if (proto.expiry) {\n m.expiry = new Date(proto.expiry);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.billingStart !== 'undefined' && this.billingStart !== null) {\n toReturn['billingStart'] = 'toApiJson' in this.billingStart ? this.billingStart.toApiJson() : this.billingStart;\n }\n if (typeof this.renewalState !== 'undefined') {\n toReturn['renewalState'] = this.renewalState;\n }\n if (typeof this.proratedTo !== 'undefined' && this.proratedTo !== null) {\n toReturn['proratedTo'] = 'toApiJson' in this.proratedTo ? this.proratedTo.toApiJson() : this.proratedTo;\n }\n if (typeof this.retailBundleId !== 'undefined') {\n toReturn['retailBundleId'] = this.retailBundleId;\n }\n if (typeof this.forResale !== 'undefined') {\n toReturn['forResale'] = this.forResale;\n }\n if (typeof this.customUnitPrice !== 'undefined') {\n toReturn['customUnitPrice'] = this.customUnitPrice;\n }\n if (typeof this.alignWith !== 'undefined' && this.alignWith !== null) {\n toReturn['alignWith'] = 'toApiJson' in this.alignWith ? this.alignWith.toApiJson() : this.alignWith;\n }\n if (typeof this.bundleInstanceId !== 'undefined') {\n toReturn['bundleInstanceId'] = this.bundleInstanceId;\n }\n if (typeof this.frequency !== 'undefined') {\n toReturn['frequency'] = this.frequency;\n }\n if (typeof this.retailAmount !== 'undefined') {\n toReturn['retailAmount'] = this.retailAmount;\n }\n if (typeof this.retailFrequency !== 'undefined') {\n toReturn['retailFrequency'] = this.retailFrequency;\n }\n if (typeof this.consumer !== 'undefined') {\n toReturn['consumer'] = this.consumer;\n }\n if (typeof this.renewalStart !== 'undefined' && this.renewalStart !== null) {\n toReturn['renewalStart'] = 'toApiJson' in this.renewalStart ? this.renewalStart.toApiJson() : this.renewalStart;\n }\n if (typeof this.expiry !== 'undefined' && this.expiry !== null) {\n toReturn['expiry'] = 'toApiJson' in this.expiry ? this.expiry.toApiJson() : this.expiry;\n }\n if (typeof this.autoBillable !== 'undefined') {\n toReturn['autoBillable'] = this.autoBillable;\n }\n if (typeof this.subscriptionId !== 'undefined') {\n toReturn['subscriptionId'] = this.subscriptionId;\n }\n return toReturn;\n }\n}\nclass CanCreateSubscriptionsRequestSubscriptionItem {\n static fromProto(proto) {\n let m = new CanCreateSubscriptionsRequestSubscriptionItem();\n m = Object.assign(m, proto);\n if (proto.frequency) {\n m.frequency = enumStringToValue$t(Frequency, proto.frequency);\n }\n if (proto.quantity) {\n m.quantity = parseInt(proto.quantity, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.frequency !== 'undefined') {\n toReturn['frequency'] = this.frequency;\n }\n if (typeof this.quantity !== 'undefined') {\n toReturn['quantity'] = this.quantity;\n }\n return toReturn;\n }\n}\nclass ValidateResponse {\n static fromProto(proto) {\n let m = new ValidateResponse();\n m = Object.assign(m, proto);\n if (proto.code) {\n m.code = SubscribeValidation.fromProto(proto.code);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.code !== 'undefined' && this.code !== null) {\n toReturn['code'] = 'toApiJson' in this.code ? this.code.toApiJson() : this.code;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$s(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass CreateDiscountRequest {\n static fromProto(proto) {\n let m = new CreateDiscountRequest();\n m = Object.assign(m, proto);\n if (proto.discountType) {\n m.discountType = enumStringToValue$s(DiscountType, proto.discountType);\n }\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.start) {\n m.start = new Date(proto.start);\n }\n if (proto.end) {\n m.end = new Date(proto.end);\n }\n if (proto.consumer) {\n m.consumer = enumStringToValue$s(Consumer, proto.consumer);\n }\n if (proto.numberOfBillingPeriods) {\n m.numberOfBillingPeriods = parseInt(proto.numberOfBillingPeriods, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.discountType !== 'undefined') {\n toReturn['discountType'] = this.discountType;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.start !== 'undefined' && this.start !== null) {\n toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;\n }\n if (typeof this.end !== 'undefined' && this.end !== null) {\n toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;\n }\n if (typeof this.resetEachPeriod !== 'undefined') {\n toReturn['resetEachPeriod'] = this.resetEachPeriod;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.consumer !== 'undefined') {\n toReturn['consumer'] = this.consumer;\n }\n if (typeof this.subscriptionId !== 'undefined') {\n toReturn['subscriptionId'] = this.subscriptionId;\n }\n if (typeof this.numberOfBillingPeriods !== 'undefined') {\n toReturn['numberOfBillingPeriods'] = this.numberOfBillingPeriods;\n }\n return toReturn;\n }\n}\nclass CreateDiscountResponse {\n static fromProto(proto) {\n let m = new CreateDiscountResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n return toReturn;\n }\n}\nclass Discount {\n static fromProto(proto) {\n let m = new Discount();\n m = Object.assign(m, proto);\n if (proto.discountId) {\n m.discountId = parseInt(proto.discountId, 10);\n }\n if (proto.discountType) {\n m.discountType = enumStringToValue$s(DiscountType, proto.discountType);\n }\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.start) {\n m.start = new Date(proto.start);\n }\n if (proto.end) {\n m.end = new Date(proto.end);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.consumer) {\n m.consumer = enumStringToValue$s(Consumer, proto.consumer);\n }\n if (proto.numberOfBillingPeriods) {\n m.numberOfBillingPeriods = parseInt(proto.numberOfBillingPeriods, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.discountId !== 'undefined') {\n toReturn['discountId'] = this.discountId;\n }\n if (typeof this.discountType !== 'undefined') {\n toReturn['discountType'] = this.discountType;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.start !== 'undefined' && this.start !== null) {\n toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;\n }\n if (typeof this.end !== 'undefined' && this.end !== null) {\n toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;\n }\n if (typeof this.resetEachPeriod !== 'undefined') {\n toReturn['resetEachPeriod'] = this.resetEachPeriod;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.consumer !== 'undefined') {\n toReturn['consumer'] = this.consumer;\n }\n if (typeof this.subscriptionId !== 'undefined') {\n toReturn['subscriptionId'] = this.subscriptionId;\n }\n if (typeof this.numberOfBillingPeriods !== 'undefined') {\n toReturn['numberOfBillingPeriods'] = this.numberOfBillingPeriods;\n }\n return toReturn;\n }\n}\nclass ExpireDiscountRequest {\n static fromProto(proto) {\n let m = new ExpireDiscountRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n return toReturn;\n }\n}\nclass ListDiscountsRequestFilters {\n static fromProto(proto) {\n let m = new ListDiscountsRequestFilters();\n m = Object.assign(m, proto);\n if (proto.expiry) {\n m.expiry = new Date(proto.expiry);\n }\n if (proto.consumers) {\n m.consumers = proto.consumers.map(v => enumStringToValue$s(Consumer, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.expiry !== 'undefined' && this.expiry !== null) {\n toReturn['expiry'] = 'toApiJson' in this.expiry ? this.expiry.toApiJson() : this.expiry;\n }\n if (typeof this.skus !== 'undefined') {\n toReturn['skus'] = this.skus;\n }\n if (typeof this.customerIds !== 'undefined') {\n toReturn['customerIds'] = this.customerIds;\n }\n if (typeof this.includeCustomerDiscounts !== 'undefined') {\n toReturn['includeCustomerDiscounts'] = this.includeCustomerDiscounts;\n }\n if (typeof this.consumers !== 'undefined') {\n toReturn['consumers'] = this.consumers;\n }\n if (typeof this.subscriptionIds !== 'undefined') {\n toReturn['subscriptionIds'] = this.subscriptionIds;\n }\n return toReturn;\n }\n}\nclass ListDiscountsRequest {\n static fromProto(proto) {\n let m = new ListDiscountsRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListDiscountsRequestFilters.fromProto(proto.filters);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass ListDiscountsResponse {\n static fromProto(proto) {\n let m = new ListDiscountsResponse();\n m = Object.assign(m, proto);\n if (proto.discounts) {\n m.discounts = proto.discounts.map(Discount.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.discounts !== 'undefined' && this.discounts !== null) {\n toReturn['discounts'] = 'toApiJson' in this.discounts ? this.discounts.toApiJson() : this.discounts;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass UpdateDiscountRequest {\n static fromProto(proto) {\n let m = new UpdateDiscountRequest();\n m = Object.assign(m, proto);\n if (proto.discountType) {\n m.discountType = enumStringToValue$s(DiscountType, proto.discountType);\n }\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.start) {\n m.start = new Date(proto.start);\n }\n if (proto.end) {\n m.end = new Date(proto.end);\n }\n if (proto.numberOfBillingPeriods) {\n m.numberOfBillingPeriods = parseInt(proto.numberOfBillingPeriods, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.discountType !== 'undefined') {\n toReturn['discountType'] = this.discountType;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.start !== 'undefined' && this.start !== null) {\n toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;\n }\n if (typeof this.end !== 'undefined' && this.end !== null) {\n toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;\n }\n if (typeof this.resetEachPeriod !== 'undefined') {\n toReturn['resetEachPeriod'] = this.resetEachPeriod;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.subscriptionId !== 'undefined') {\n toReturn['subscriptionId'] = this.subscriptionId;\n }\n if (typeof this.numberOfBillingPeriods !== 'undefined') {\n toReturn['numberOfBillingPeriods'] = this.numberOfBillingPeriods;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$r(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass AppliedTaxRate {\n static fromProto(proto) {\n let m = new AppliedTaxRate();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.taxRateId !== 'undefined') {\n toReturn['taxRateId'] = this.taxRateId;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.percentage !== 'undefined') {\n toReturn['percentage'] = this.percentage;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$q(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ArchiveTaxRequest {\n static fromProto(proto) {\n let m = new ArchiveTaxRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n return toReturn;\n }\n}\nclass CalculateLineItemTaxesRequest {\n static fromProto(proto) {\n let m = new CalculateLineItemTaxesRequest();\n m = Object.assign(m, proto);\n if (proto.lineItems) {\n m.lineItems = proto.lineItems.map(CalculateLineItemTaxesRequestLineItem.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.lineItems !== 'undefined' && this.lineItems !== null) {\n toReturn['lineItems'] = 'toApiJson' in this.lineItems ? this.lineItems.toApiJson() : this.lineItems;\n }\n return toReturn;\n }\n}\nclass CalculateLineItemTaxesResponse {\n static fromProto(proto) {\n let m = new CalculateLineItemTaxesResponse();\n m = Object.assign(m, proto);\n if (proto.lineItemTaxes) {\n m.lineItemTaxes = proto.lineItemTaxes.map(CalculateLineItemTaxesResponseLineItemTaxes.fromProto);\n }\n if (proto.totalTaxableAmount) {\n m.totalTaxableAmount = parseInt(proto.totalTaxableAmount, 10);\n }\n if (proto.taxRates) {\n m.taxRates = proto.taxRates.map(TaxRate.fromProto);\n }\n if (proto.appliedTaxes) {\n m.appliedTaxes = proto.appliedTaxes.map(AppliedTaxRate.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.lineItemTaxes !== 'undefined' && this.lineItemTaxes !== null) {\n toReturn['lineItemTaxes'] = 'toApiJson' in this.lineItemTaxes ? this.lineItemTaxes.toApiJson() : this.lineItemTaxes;\n }\n if (typeof this.totalTaxableAmount !== 'undefined') {\n toReturn['totalTaxableAmount'] = this.totalTaxableAmount;\n }\n if (typeof this.taxRates !== 'undefined' && this.taxRates !== null) {\n toReturn['taxRates'] = 'toApiJson' in this.taxRates ? this.taxRates.toApiJson() : this.taxRates;\n }\n if (typeof this.appliedTaxes !== 'undefined' && this.appliedTaxes !== null) {\n toReturn['appliedTaxes'] = 'toApiJson' in this.appliedTaxes ? this.appliedTaxes.toApiJson() : this.appliedTaxes;\n }\n return toReturn;\n }\n}\nclass CalculateTaxRequest {\n static fromProto(proto) {\n let m = new CalculateTaxRequest();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n return toReturn;\n }\n}\nclass CalculateTaxResponse {\n static fromProto(proto) {\n let m = new CalculateTaxResponse();\n m = Object.assign(m, proto);\n if (proto.taxableAmount) {\n m.taxableAmount = parseInt(proto.taxableAmount, 10);\n }\n if (proto.taxRates) {\n m.taxRates = proto.taxRates.map(TaxRate.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.taxableAmount !== 'undefined') {\n toReturn['taxableAmount'] = this.taxableAmount;\n }\n if (typeof this.taxRates !== 'undefined' && this.taxRates !== null) {\n toReturn['taxRates'] = 'toApiJson' in this.taxRates ? this.taxRates.toApiJson() : this.taxRates;\n }\n return toReturn;\n }\n}\nclass CreateTaxRequest {\n static fromProto(proto) {\n let m = new CreateTaxRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.countryCode !== 'undefined') {\n toReturn['countryCode'] = this.countryCode;\n }\n if (typeof this.stateCode !== 'undefined') {\n toReturn['stateCode'] = this.stateCode;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.percentage !== 'undefined') {\n toReturn['percentage'] = this.percentage;\n }\n if (typeof this.accountingSystemId !== 'undefined') {\n toReturn['accountingSystemId'] = this.accountingSystemId;\n }\n return toReturn;\n }\n}\nclass ListTaxRequestFilters {\n static fromProto(proto) {\n let m = new ListTaxRequestFilters();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.includeArchived !== 'undefined') {\n toReturn['includeArchived'] = this.includeArchived;\n }\n return toReturn;\n }\n}\nclass GetMultiTaxRequest {\n static fromProto(proto) {\n let m = new GetMultiTaxRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.ids !== 'undefined') {\n toReturn['ids'] = this.ids;\n }\n return toReturn;\n }\n}\nclass GetMultiTaxResponse {\n static fromProto(proto) {\n let m = new GetMultiTaxResponse();\n m = Object.assign(m, proto);\n if (proto.taxRates) {\n m.taxRates = proto.taxRates.map(TaxRate.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.taxRates !== 'undefined' && this.taxRates !== null) {\n toReturn['taxRates'] = 'toApiJson' in this.taxRates ? this.taxRates.toApiJson() : this.taxRates;\n }\n return toReturn;\n }\n}\nclass CalculateLineItemTaxesRequestLineItem {\n static fromProto(proto) {\n let m = new CalculateLineItemTaxesRequestLineItem();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n return toReturn;\n }\n}\nclass CalculateLineItemTaxesResponseLineItemTaxes {\n static fromProto(proto) {\n let m = new CalculateLineItemTaxesResponseLineItemTaxes();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.taxableAmount !== 'undefined') {\n toReturn['taxableAmount'] = this.taxableAmount;\n }\n return toReturn;\n }\n}\nclass ListTaxRequest {\n static fromProto(proto) {\n let m = new ListTaxRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListTaxRequestFilters.fromProto(proto.filters);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass ListTaxResponse {\n static fromProto(proto) {\n let m = new ListTaxResponse();\n m = Object.assign(m, proto);\n if (proto.taxRates) {\n m.taxRates = proto.taxRates.map(TaxRate.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.taxRates !== 'undefined' && this.taxRates !== null) {\n toReturn['taxRates'] = 'toApiJson' in this.taxRates ? this.taxRates.toApiJson() : this.taxRates;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass TaxRate {\n static fromProto(proto) {\n let m = new TaxRate();\n m = Object.assign(m, proto);\n if (proto.archived) {\n m.archived = new Date(proto.archived);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.countryCode !== 'undefined') {\n toReturn['countryCode'] = this.countryCode;\n }\n if (typeof this.stateCode !== 'undefined') {\n toReturn['stateCode'] = this.stateCode;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.percentage !== 'undefined') {\n toReturn['percentage'] = this.percentage;\n }\n if (typeof this.accountingSystemId !== 'undefined') {\n toReturn['accountingSystemId'] = this.accountingSystemId;\n }\n if (typeof this.archived !== 'undefined' && this.archived !== null) {\n toReturn['archived'] = 'toApiJson' in this.archived ? this.archived.toApiJson() : this.archived;\n }\n return toReturn;\n }\n}\nclass UpdateTaxRequest {\n static fromProto(proto) {\n let m = new UpdateTaxRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.countryCode !== 'undefined') {\n toReturn['countryCode'] = this.countryCode;\n }\n if (typeof this.stateCode !== 'undefined') {\n toReturn['stateCode'] = this.stateCode;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.percentage !== 'undefined') {\n toReturn['percentage'] = this.percentage;\n }\n if (typeof this.accountingSystemId !== 'undefined') {\n toReturn['accountingSystemId'] = this.accountingSystemId;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$p(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass AppliedBundle {\n static fromProto(proto) {\n let m = new AppliedBundle();\n m = Object.assign(m, proto);\n if (proto.bundleItems) {\n m.bundleItems = proto.bundleItems.map(AppliedBundleItem.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.bundleId !== 'undefined') {\n toReturn['bundleId'] = this.bundleId;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.bundleItems !== 'undefined' && this.bundleItems !== null) {\n toReturn['bundleItems'] = 'toApiJson' in this.bundleItems ? this.bundleItems.toApiJson() : this.bundleItems;\n }\n if (typeof this.hideBundleItems !== 'undefined') {\n toReturn['hideBundleItems'] = this.hideBundleItems;\n }\n if (typeof this.bundleInstanceId !== 'undefined') {\n toReturn['bundleInstanceId'] = this.bundleInstanceId;\n }\n return toReturn;\n }\n}\nclass AppliedBundleItem {\n static fromProto(proto) {\n let m = new AppliedBundleItem();\n m = Object.assign(m, proto);\n if (proto.discountAmount) {\n m.discountAmount = parseInt(proto.discountAmount, 10);\n }\n if (proto.quantity) {\n m.quantity = parseInt(proto.quantity, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.productId !== 'undefined') {\n toReturn['productId'] = this.productId;\n }\n if (typeof this.discountType !== 'undefined') {\n toReturn['discountType'] = this.discountType;\n }\n if (typeof this.discountAmount !== 'undefined') {\n toReturn['discountAmount'] = this.discountAmount;\n }\n if (typeof this.quantity !== 'undefined') {\n toReturn['quantity'] = this.quantity;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$o(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass CreatePaymentCardRequest {\n static fromProto(proto) {\n let m = new CreatePaymentCardRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.stripeToken !== 'undefined') {\n toReturn['stripeToken'] = this.stripeToken;\n }\n return toReturn;\n }\n}\nclass DeletePaymentCardRequest {\n static fromProto(proto) {\n let m = new DeletePaymentCardRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.cardId !== 'undefined') {\n toReturn['cardId'] = this.cardId;\n }\n return toReturn;\n }\n}\nclass ListPaymentCardsRequest {\n static fromProto(proto) {\n let m = new ListPaymentCardsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n return toReturn;\n }\n}\nclass ListPaymentCardsResponse {\n static fromProto(proto) {\n let m = new ListPaymentCardsResponse();\n m = Object.assign(m, proto);\n if (proto.paymentCard) {\n m.paymentCard = proto.paymentCard.map(PaymentCard.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.paymentCard !== 'undefined' && this.paymentCard !== null) {\n toReturn['paymentCard'] = 'toApiJson' in this.paymentCard ? this.paymentCard.toApiJson() : this.paymentCard;\n }\n return toReturn;\n }\n}\nclass PaymentCard {\n static fromProto(proto) {\n let m = new PaymentCard();\n m = Object.assign(m, proto);\n if (proto.cardType) {\n m.cardType = enumStringToValue$o(PaymentCardCARD_TYPE, proto.cardType);\n }\n if (proto.fundingType) {\n m.fundingType = enumStringToValue$o(PaymentCardFUNDING_TYPE, proto.fundingType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.lastFourDigits !== 'undefined') {\n toReturn['lastFourDigits'] = this.lastFourDigits;\n }\n if (typeof this.cardType !== 'undefined') {\n toReturn['cardType'] = this.cardType;\n }\n if (typeof this.address !== 'undefined') {\n toReturn['address'] = this.address;\n }\n if (typeof this.city !== 'undefined') {\n toReturn['city'] = this.city;\n }\n if (typeof this.state !== 'undefined') {\n toReturn['state'] = this.state;\n }\n if (typeof this.country !== 'undefined') {\n toReturn['country'] = this.country;\n }\n if (typeof this.zipCode !== 'undefined') {\n toReturn['zipCode'] = this.zipCode;\n }\n if (typeof this.cardId !== 'undefined') {\n toReturn['cardId'] = this.cardId;\n }\n if (typeof this.cardholderName !== 'undefined') {\n toReturn['cardholderName'] = this.cardholderName;\n }\n if (typeof this.expiryMonth !== 'undefined') {\n toReturn['expiryMonth'] = this.expiryMonth;\n }\n if (typeof this.expiryYear !== 'undefined') {\n toReturn['expiryYear'] = this.expiryYear;\n }\n if (typeof this.fundingType !== 'undefined') {\n toReturn['fundingType'] = this.fundingType;\n }\n if (typeof this.default !== 'undefined') {\n toReturn['default'] = this.default;\n }\n return toReturn;\n }\n}\nclass SetDefaultPaymentMethodRequest {\n static fromProto(proto) {\n let m = new SetDefaultPaymentMethodRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.paymentMethodId !== 'undefined') {\n toReturn['paymentMethodId'] = this.paymentMethodId;\n }\n return toReturn;\n }\n}\nclass UpdatePaymentCardRequest {\n static fromProto(proto) {\n let m = new UpdatePaymentCardRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.stripeToken !== 'undefined') {\n toReturn['stripeToken'] = this.stripeToken;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$n(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ListPaymentMethodsRequest {\n static fromProto(proto) {\n let m = new ListPaymentMethodsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n return toReturn;\n }\n}\nclass ListPaymentMethodsResponse {\n static fromProto(proto) {\n let m = new ListPaymentMethodsResponse();\n m = Object.assign(m, proto);\n if (proto.paymentMethods) {\n m.paymentMethods = proto.paymentMethods.map(PaymentMethod.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.paymentMethods !== 'undefined' && this.paymentMethods !== null) {\n toReturn['paymentMethods'] = 'toApiJson' in this.paymentMethods ? this.paymentMethods.toApiJson() : this.paymentMethods;\n }\n return toReturn;\n }\n}\nclass PaymentACHDebit {\n static fromProto(proto) {\n let m = new PaymentACHDebit();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.lastFourDigits !== 'undefined') {\n toReturn['lastFourDigits'] = this.lastFourDigits;\n }\n return toReturn;\n }\n}\nclass PaymentACSSDebit {\n static fromProto(proto) {\n let m = new PaymentACSSDebit();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.lastFourDigits !== 'undefined') {\n toReturn['lastFourDigits'] = this.lastFourDigits;\n }\n return toReturn;\n }\n}\nclass PaymentMethod {\n static fromProto(proto) {\n let m = new PaymentMethod();\n m = Object.assign(m, proto);\n if (proto.type) {\n m.type = enumStringToValue$n(PaymentMethodType, proto.type);\n }\n if (proto.card) {\n m.card = PaymentCard.fromProto(proto.card);\n }\n if (proto.achDebit) {\n m.achDebit = PaymentACHDebit.fromProto(proto.achDebit);\n }\n if (proto.acssDebit) {\n m.acssDebit = PaymentACSSDebit.fromProto(proto.acssDebit);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.card !== 'undefined' && this.card !== null) {\n toReturn['card'] = 'toApiJson' in this.card ? this.card.toApiJson() : this.card;\n }\n if (typeof this.achDebit !== 'undefined' && this.achDebit !== null) {\n toReturn['achDebit'] = 'toApiJson' in this.achDebit ? this.achDebit.toApiJson() : this.achDebit;\n }\n if (typeof this.acssDebit !== 'undefined' && this.acssDebit !== null) {\n toReturn['acssDebit'] = 'toApiJson' in this.acssDebit ? this.acssDebit.toApiJson() : this.acssDebit;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$m(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass AddBundleRequest {\n static fromProto(proto) {\n let m = new AddBundleRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.bundleId !== 'undefined') {\n toReturn['bundleId'] = this.bundleId;\n }\n return toReturn;\n }\n}\nclass AddBundleResponse {\n static fromProto(proto) {\n let m = new AddBundleResponse();\n m = Object.assign(m, proto);\n if (proto.invoice) {\n m.invoice = Invoice.fromProto(proto.invoice);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoice !== 'undefined' && this.invoice !== null) {\n toReturn['invoice'] = 'toApiJson' in this.invoice ? this.invoice.toApiJson() : this.invoice;\n }\n return toReturn;\n }\n}\nclass AddLineItemRequest {\n static fromProto(proto) {\n let m = new AddLineItemRequest();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.discounts) {\n m.discounts = proto.discounts.map(AppliedDiscount.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.quantity !== 'undefined') {\n toReturn['quantity'] = this.quantity;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.taxRates !== 'undefined') {\n toReturn['taxRates'] = this.taxRates;\n }\n if (typeof this.discounts !== 'undefined' && this.discounts !== null) {\n toReturn['discounts'] = 'toApiJson' in this.discounts ? this.discounts.toApiJson() : this.discounts;\n }\n return toReturn;\n }\n}\nclass AddLineItemResponse {\n static fromProto(proto) {\n let m = new AddLineItemResponse();\n m = Object.assign(m, proto);\n if (proto.invoice) {\n m.invoice = Invoice.fromProto(proto.invoice);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoice !== 'undefined' && this.invoice !== null) {\n toReturn['invoice'] = 'toApiJson' in this.invoice ? this.invoice.toApiJson() : this.invoice;\n }\n return toReturn;\n }\n}\nclass ChargeInvoiceRequest {\n static fromProto(proto) {\n let m = new ChargeInvoiceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n if (typeof this.paymentMethodId !== 'undefined') {\n toReturn['paymentMethodId'] = this.paymentMethodId;\n }\n return toReturn;\n }\n}\nclass CreateInvoiceRequest {\n static fromProto(proto) {\n let m = new CreateInvoiceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n return toReturn;\n }\n}\nclass CreateInvoiceResponse {\n static fromProto(proto) {\n let m = new CreateInvoiceResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n return toReturn;\n }\n}\nclass CreatePaymentLinkRequest {\n static fromProto(proto) {\n let m = new CreatePaymentLinkRequest();\n m = Object.assign(m, proto);\n if (proto.lineItems) {\n m.lineItems = proto.lineItems.map(PaymentLinkItem.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n if (typeof this.lineItems !== 'undefined' && this.lineItems !== null) {\n toReturn['lineItems'] = 'toApiJson' in this.lineItems ? this.lineItems.toApiJson() : this.lineItems;\n }\n return toReturn;\n }\n}\nclass CreatePaymentLinkResponse {\n static fromProto(proto) {\n let m = new CreatePaymentLinkResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n return toReturn;\n }\n}\nclass InvoiceCustomerAddress {\n static fromProto(proto) {\n let m = new InvoiceCustomerAddress();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.address !== 'undefined') {\n toReturn['address'] = this.address;\n }\n if (typeof this.city !== 'undefined') {\n toReturn['city'] = this.city;\n }\n if (typeof this.state !== 'undefined') {\n toReturn['state'] = this.state;\n }\n if (typeof this.zip !== 'undefined') {\n toReturn['zip'] = this.zip;\n }\n if (typeof this.country !== 'undefined') {\n toReturn['country'] = this.country;\n }\n if (typeof this.address2 !== 'undefined') {\n toReturn['address2'] = this.address2;\n }\n return toReturn;\n }\n}\nclass ListInvoicesRequestFiltersDateFilter {\n static fromProto(proto) {\n let m = new ListInvoicesRequestFiltersDateFilter();\n m = Object.assign(m, proto);\n if (proto.dateField) {\n m.dateField = enumStringToValue$m(ListInvoicesRequestFiltersDateFilterDateField, proto.dateField);\n }\n if (proto.dateLte) {\n m.dateLte = new Date(proto.dateLte);\n }\n if (proto.dateGte) {\n m.dateGte = new Date(proto.dateGte);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.dateField !== 'undefined') {\n toReturn['dateField'] = this.dateField;\n }\n if (typeof this.dateLte !== 'undefined' && this.dateLte !== null) {\n toReturn['dateLte'] = 'toApiJson' in this.dateLte ? this.dateLte.toApiJson() : this.dateLte;\n }\n if (typeof this.dateGte !== 'undefined' && this.dateGte !== null) {\n toReturn['dateGte'] = 'toApiJson' in this.dateGte ? this.dateGte.toApiJson() : this.dateGte;\n }\n return toReturn;\n }\n}\nclass DeleteInvoiceRequest {\n static fromProto(proto) {\n let m = new DeleteInvoiceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n return toReturn;\n }\n}\nclass DeleteLineItemRequest {\n static fromProto(proto) {\n let m = new DeleteLineItemRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n return toReturn;\n }\n}\nclass DeleteLineItemResponse {\n static fromProto(proto) {\n let m = new DeleteLineItemResponse();\n m = Object.assign(m, proto);\n if (proto.invoice) {\n m.invoice = Invoice.fromProto(proto.invoice);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoice !== 'undefined' && this.invoice !== null) {\n toReturn['invoice'] = 'toApiJson' in this.invoice ? this.invoice.toApiJson() : this.invoice;\n }\n return toReturn;\n }\n}\nclass DuplicateInvoiceRequest {\n static fromProto(proto) {\n let m = new DuplicateInvoiceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n return toReturn;\n }\n}\nclass DuplicateInvoiceResponse {\n static fromProto(proto) {\n let m = new DuplicateInvoiceResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n return toReturn;\n }\n}\nclass ListInvoicesRequestFilters {\n static fromProto(proto) {\n let m = new ListInvoicesRequestFilters();\n m = Object.assign(m, proto);\n if (proto.statuses) {\n m.statuses = proto.statuses.map(v => enumStringToValue$m(InvoiceStatus, v));\n }\n if (proto.dateFilter) {\n m.dateFilter = ListInvoicesRequestFiltersDateFilter.fromProto(proto.dateFilter);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.statuses !== 'undefined') {\n toReturn['statuses'] = this.statuses;\n }\n if (typeof this.pastDue !== 'undefined') {\n toReturn['pastDue'] = this.pastDue;\n }\n if (typeof this.number !== 'undefined') {\n toReturn['number'] = this.number;\n }\n if (typeof this.dateFilter !== 'undefined' && this.dateFilter !== null) {\n toReturn['dateFilter'] = 'toApiJson' in this.dateFilter ? this.dateFilter.toApiJson() : this.dateFilter;\n }\n if (typeof this.origins !== 'undefined') {\n toReturn['origins'] = this.origins;\n }\n if (typeof this.collectionMethods !== 'undefined') {\n toReturn['collectionMethods'] = this.collectionMethods;\n }\n return toReturn;\n }\n}\nclass GetInvoiceRequest {\n static fromProto(proto) {\n let m = new GetInvoiceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n return toReturn;\n }\n}\nclass GetInvoiceResponse {\n static fromProto(proto) {\n let m = new GetInvoiceResponse();\n m = Object.assign(m, proto);\n if (proto.invoice) {\n m.invoice = Invoice.fromProto(proto.invoice);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoice !== 'undefined' && this.invoice !== null) {\n toReturn['invoice'] = 'toApiJson' in this.invoice ? this.invoice.toApiJson() : this.invoice;\n }\n return toReturn;\n }\n}\nclass GetUpcomingInvoicePreviewRequest {\n static fromProto(proto) {\n let m = new GetUpcomingInvoicePreviewRequest();\n m = Object.assign(m, proto);\n if (proto.invoiceDate) {\n m.invoiceDate = new Date(proto.invoiceDate);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.invoiceDate !== 'undefined' && this.invoiceDate !== null) {\n toReturn['invoiceDate'] = 'toApiJson' in this.invoiceDate ? this.invoiceDate.toApiJson() : this.invoiceDate;\n }\n return toReturn;\n }\n}\nclass GetUpcomingInvoicePreviewResponse {\n static fromProto(proto) {\n let m = new GetUpcomingInvoicePreviewResponse();\n m = Object.assign(m, proto);\n if (proto.invoice) {\n m.invoice = Invoice.fromProto(proto.invoice);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoice !== 'undefined' && this.invoice !== null) {\n toReturn['invoice'] = 'toApiJson' in this.invoice ? this.invoice.toApiJson() : this.invoice;\n }\n return toReturn;\n }\n}\nclass Invoice {\n static fromProto(proto) {\n let m = new Invoice();\n m = Object.assign(m, proto);\n if (proto.status) {\n m.status = enumStringToValue$m(InvoiceStatus, proto.status);\n }\n if (proto.subtotal) {\n m.subtotal = parseInt(proto.subtotal, 10);\n }\n if (proto.total) {\n m.total = parseInt(proto.total, 10);\n }\n if (proto.amountPaid) {\n m.amountPaid = parseInt(proto.amountPaid, 10);\n }\n if (proto.issued) {\n m.issued = new Date(proto.issued);\n }\n if (proto.due) {\n m.due = new Date(proto.due);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.items) {\n m.items = proto.items.map(InvoiceItem.fromProto);\n }\n if (proto.currency) {\n m.currency = enumStringToValue$m(Currency, proto.currency);\n }\n if (proto.paid) {\n m.paid = new Date(proto.paid);\n }\n if (proto.amountTax) {\n m.amountTax = parseInt(proto.amountTax, 10);\n }\n if (proto.appliedTaxes) {\n m.appliedTaxes = proto.appliedTaxes.map(AppliedTaxRate.fromProto);\n }\n if (proto.defaultTaxRates) {\n m.defaultTaxRates = proto.defaultTaxRates.map(TaxRate.fromProto);\n }\n if (proto.appliedBundles) {\n m.appliedBundles = proto.appliedBundles.map(AppliedBundle.fromProto);\n }\n if (proto.amountDiscount) {\n m.amountDiscount = parseInt(proto.amountDiscount, 10);\n }\n if (proto.voided) {\n m.voided = new Date(proto.voided);\n }\n if (proto.customerAddress) {\n m.customerAddress = InvoiceCustomerAddress.fromProto(proto.customerAddress);\n }\n if (proto.notes) {\n m.notes = proto.notes.map(Note.fromProto);\n }\n if (proto.autoAdvance) {\n m.autoAdvance = new Date(proto.autoAdvance);\n }\n if (proto.paymentMethodTypes) {\n m.paymentMethodTypes = proto.paymentMethodTypes.map(v => enumStringToValue$m(PaymentMethodType, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.number !== 'undefined') {\n toReturn['number'] = this.number;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.subtotal !== 'undefined') {\n toReturn['subtotal'] = this.subtotal;\n }\n if (typeof this.total !== 'undefined') {\n toReturn['total'] = this.total;\n }\n if (typeof this.amountPaid !== 'undefined') {\n toReturn['amountPaid'] = this.amountPaid;\n }\n if (typeof this.issued !== 'undefined' && this.issued !== null) {\n toReturn['issued'] = 'toApiJson' in this.issued ? this.issued.toApiJson() : this.issued;\n }\n if (typeof this.due !== 'undefined' && this.due !== null) {\n toReturn['due'] = 'toApiJson' in this.due ? this.due.toApiJson() : this.due;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.items !== 'undefined' && this.items !== null) {\n toReturn['items'] = 'toApiJson' in this.items ? this.items.toApiJson() : this.items;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n if (typeof this.paid !== 'undefined' && this.paid !== null) {\n toReturn['paid'] = 'toApiJson' in this.paid ? this.paid.toApiJson() : this.paid;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.amountTax !== 'undefined') {\n toReturn['amountTax'] = this.amountTax;\n }\n if (typeof this.appliedTaxes !== 'undefined' && this.appliedTaxes !== null) {\n toReturn['appliedTaxes'] = 'toApiJson' in this.appliedTaxes ? this.appliedTaxes.toApiJson() : this.appliedTaxes;\n }\n if (typeof this.defaultTaxRates !== 'undefined' && this.defaultTaxRates !== null) {\n toReturn['defaultTaxRates'] = 'toApiJson' in this.defaultTaxRates ? this.defaultTaxRates.toApiJson() : this.defaultTaxRates;\n }\n if (typeof this.appliedBundles !== 'undefined' && this.appliedBundles !== null) {\n toReturn['appliedBundles'] = 'toApiJson' in this.appliedBundles ? this.appliedBundles.toApiJson() : this.appliedBundles;\n }\n if (typeof this.amountDiscount !== 'undefined') {\n toReturn['amountDiscount'] = this.amountDiscount;\n }\n if (typeof this.customerName !== 'undefined') {\n toReturn['customerName'] = this.customerName;\n }\n if (typeof this.origin !== 'undefined') {\n toReturn['origin'] = this.origin;\n }\n if (typeof this.collectionMethod !== 'undefined') {\n toReturn['collectionMethod'] = this.collectionMethod;\n }\n if (typeof this.contactId !== 'undefined') {\n toReturn['contactId'] = this.contactId;\n }\n if (typeof this.memo !== 'undefined') {\n toReturn['memo'] = this.memo;\n }\n if (typeof this.voided !== 'undefined' && this.voided !== null) {\n toReturn['voided'] = 'toApiJson' in this.voided ? this.voided.toApiJson() : this.voided;\n }\n if (typeof this.defaultPaymentMethod !== 'undefined') {\n toReturn['defaultPaymentMethod'] = this.defaultPaymentMethod;\n }\n if (typeof this.customerAddress !== 'undefined' && this.customerAddress !== null) {\n toReturn['customerAddress'] = 'toApiJson' in this.customerAddress ? this.customerAddress.toApiJson() : this.customerAddress;\n }\n if (typeof this.externalCustomerIdentifier !== 'undefined') {\n toReturn['externalCustomerIdentifier'] = this.externalCustomerIdentifier;\n }\n if (typeof this.notes !== 'undefined' && this.notes !== null) {\n toReturn['notes'] = 'toApiJson' in this.notes ? this.notes.toApiJson() : this.notes;\n }\n if (typeof this.additionalContactIds !== 'undefined') {\n toReturn['additionalContactIds'] = this.additionalContactIds;\n }\n if (typeof this.autoAdvance !== 'undefined' && this.autoAdvance !== null) {\n toReturn['autoAdvance'] = 'toApiJson' in this.autoAdvance ? this.autoAdvance.toApiJson() : this.autoAdvance;\n }\n if (typeof this.paymentMethodTypes !== 'undefined') {\n toReturn['paymentMethodTypes'] = this.paymentMethodTypes;\n }\n return toReturn;\n }\n}\nclass InvoiceItem {\n static fromProto(proto) {\n let m = new InvoiceItem();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.total) {\n m.total = parseInt(proto.total, 10);\n }\n if (proto.appliedTaxes) {\n m.appliedTaxes = proto.appliedTaxes.map(AppliedTaxRate.fromProto);\n }\n if (proto.taxRates) {\n m.taxRates = proto.taxRates.map(TaxRate.fromProto);\n }\n if (proto.discounts) {\n m.discounts = proto.discounts.map(AppliedDiscount.fromProto);\n }\n if (proto.subtotal) {\n m.subtotal = parseInt(proto.subtotal, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.quantity !== 'undefined') {\n toReturn['quantity'] = this.quantity;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.total !== 'undefined') {\n toReturn['total'] = this.total;\n }\n if (typeof this.appliedTaxes !== 'undefined' && this.appliedTaxes !== null) {\n toReturn['appliedTaxes'] = 'toApiJson' in this.appliedTaxes ? this.appliedTaxes.toApiJson() : this.appliedTaxes;\n }\n if (typeof this.taxRates !== 'undefined' && this.taxRates !== null) {\n toReturn['taxRates'] = 'toApiJson' in this.taxRates ? this.taxRates.toApiJson() : this.taxRates;\n }\n if (typeof this.bundleId !== 'undefined') {\n toReturn['bundleId'] = this.bundleId;\n }\n if (typeof this.discounts !== 'undefined' && this.discounts !== null) {\n toReturn['discounts'] = 'toApiJson' in this.discounts ? this.discounts.toApiJson() : this.discounts;\n }\n if (typeof this.subtotal !== 'undefined') {\n toReturn['subtotal'] = this.subtotal;\n }\n if (typeof this.bundleInstanceId !== 'undefined') {\n toReturn['bundleInstanceId'] = this.bundleInstanceId;\n }\n return toReturn;\n }\n}\nclass ListInvoicesRequest {\n static fromProto(proto) {\n let m = new ListInvoicesRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListInvoicesRequestFilters.fromProto(proto.filters);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass ListInvoicesResponse {\n static fromProto(proto) {\n let m = new ListInvoicesResponse();\n m = Object.assign(m, proto);\n if (proto.invoices) {\n m.invoices = proto.invoices.map(Invoice.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoices !== 'undefined' && this.invoices !== null) {\n toReturn['invoices'] = 'toApiJson' in this.invoices ? this.invoices.toApiJson() : this.invoices;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass Note {\n static fromProto(proto) {\n let m = new Note();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.message !== 'undefined') {\n toReturn['message'] = this.message;\n }\n return toReturn;\n }\n}\nclass PayInvoiceRequest {\n static fromProto(proto) {\n let m = new PayInvoiceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n if (typeof this.reason !== 'undefined') {\n toReturn['reason'] = this.reason;\n }\n return toReturn;\n }\n}\nclass PaymentLinkItem {\n static fromProto(proto) {\n let m = new PaymentLinkItem();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.quantity !== 'undefined') {\n toReturn['quantity'] = this.quantity;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n return toReturn;\n }\n}\nclass RemoveBundleRequest {\n static fromProto(proto) {\n let m = new RemoveBundleRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.bundleId !== 'undefined') {\n toReturn['bundleId'] = this.bundleId;\n }\n if (typeof this.bundleInstanceId !== 'undefined') {\n toReturn['bundleInstanceId'] = this.bundleInstanceId;\n }\n return toReturn;\n }\n}\nclass RemoveBundleResponse {\n static fromProto(proto) {\n let m = new RemoveBundleResponse();\n m = Object.assign(m, proto);\n if (proto.invoice) {\n m.invoice = Invoice.fromProto(proto.invoice);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoice !== 'undefined' && this.invoice !== null) {\n toReturn['invoice'] = 'toApiJson' in this.invoice ? this.invoice.toApiJson() : this.invoice;\n }\n return toReturn;\n }\n}\nclass SendInvoiceRequest {\n static fromProto(proto) {\n let m = new SendInvoiceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n if (typeof this.emailAddresses !== 'undefined') {\n toReturn['emailAddresses'] = this.emailAddresses;\n }\n if (typeof this.languageCode !== 'undefined') {\n toReturn['languageCode'] = this.languageCode;\n }\n return toReturn;\n }\n}\nclass UpdateBundleRequest {\n static fromProto(proto) {\n let m = new UpdateBundleRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n if (typeof this.bundleId !== 'undefined') {\n toReturn['bundleId'] = this.bundleId;\n }\n if (typeof this.hideBundleItems !== 'undefined') {\n toReturn['hideBundleItems'] = this.hideBundleItems;\n }\n if (typeof this.bundleInstanceId !== 'undefined') {\n toReturn['bundleInstanceId'] = this.bundleInstanceId;\n }\n return toReturn;\n }\n}\nclass UpdateBundleResponse {\n static fromProto(proto) {\n let m = new UpdateBundleResponse();\n m = Object.assign(m, proto);\n if (proto.invoice) {\n m.invoice = Invoice.fromProto(proto.invoice);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoice !== 'undefined' && this.invoice !== null) {\n toReturn['invoice'] = 'toApiJson' in this.invoice ? this.invoice.toApiJson() : this.invoice;\n }\n return toReturn;\n }\n}\nclass UpdateDefaultTaxRatesRequest {\n static fromProto(proto) {\n let m = new UpdateDefaultTaxRatesRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.taxRateIds !== 'undefined') {\n toReturn['taxRateIds'] = this.taxRateIds;\n }\n return toReturn;\n }\n}\nclass UpdateDefaultTaxRatesResponse {\n static fromProto(proto) {\n let m = new UpdateDefaultTaxRatesResponse();\n m = Object.assign(m, proto);\n if (proto.invoice) {\n m.invoice = Invoice.fromProto(proto.invoice);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoice !== 'undefined' && this.invoice !== null) {\n toReturn['invoice'] = 'toApiJson' in this.invoice ? this.invoice.toApiJson() : this.invoice;\n }\n return toReturn;\n }\n}\nclass UpdateInvoiceRequest {\n static fromProto(proto) {\n let m = new UpdateInvoiceRequest();\n m = Object.assign(m, proto);\n if (proto.invoice) {\n m.invoice = Invoice.fromProto(proto.invoice);\n }\n if (proto.fieldMask) {\n m.fieldMask = FieldMask.fromProto(proto.fieldMask);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoice !== 'undefined' && this.invoice !== null) {\n toReturn['invoice'] = 'toApiJson' in this.invoice ? this.invoice.toApiJson() : this.invoice;\n }\n if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {\n toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;\n }\n return toReturn;\n }\n}\nclass UpdateInvoiceResponse {\n static fromProto(proto) {\n let m = new UpdateInvoiceResponse();\n m = Object.assign(m, proto);\n if (proto.invoice) {\n m.invoice = Invoice.fromProto(proto.invoice);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoice !== 'undefined' && this.invoice !== null) {\n toReturn['invoice'] = 'toApiJson' in this.invoice ? this.invoice.toApiJson() : this.invoice;\n }\n return toReturn;\n }\n}\nclass UpdateLineItemRequest {\n static fromProto(proto) {\n let m = new UpdateLineItemRequest();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.discounts) {\n m.discounts = proto.discounts.map(AppliedDiscount.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.quantity !== 'undefined') {\n toReturn['quantity'] = this.quantity;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.taxRates !== 'undefined') {\n toReturn['taxRates'] = this.taxRates;\n }\n if (typeof this.discounts !== 'undefined' && this.discounts !== null) {\n toReturn['discounts'] = 'toApiJson' in this.discounts ? this.discounts.toApiJson() : this.discounts;\n }\n return toReturn;\n }\n}\nclass UpdateLineItemResponse {\n static fromProto(proto) {\n let m = new UpdateLineItemResponse();\n m = Object.assign(m, proto);\n if (proto.invoice) {\n m.invoice = Invoice.fromProto(proto.invoice);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoice !== 'undefined' && this.invoice !== null) {\n toReturn['invoice'] = 'toApiJson' in this.invoice ? this.invoice.toApiJson() : this.invoice;\n }\n return toReturn;\n }\n}\nclass VoidInvoiceRequest {\n static fromProto(proto) {\n let m = new VoidInvoiceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n if (typeof this.reason !== 'undefined') {\n toReturn['reason'] = this.reason;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$l(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass AccountBalance {\n static fromProto(proto) {\n let m = new AccountBalance();\n m = Object.assign(m, proto);\n if (proto.available) {\n m.available = proto.available.map(BalanceAmount.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.available !== 'undefined' && this.available !== null) {\n toReturn['available'] = 'toApiJson' in this.available ? this.available.toApiJson() : this.available;\n }\n return toReturn;\n }\n}\nclass Balance {\n static fromProto(proto) {\n let m = new Balance();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.futurePayouts) {\n m.futurePayouts = parseInt(proto.futurePayouts, 10);\n }\n if (proto.inTransit) {\n m.inTransit = parseInt(proto.inTransit, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.futurePayouts !== 'undefined') {\n toReturn['futurePayouts'] = this.futurePayouts;\n }\n if (typeof this.inTransit !== 'undefined') {\n toReturn['inTransit'] = this.inTransit;\n }\n return toReturn;\n }\n}\nclass BalanceAmount {\n static fromProto(proto) {\n let m = new BalanceAmount();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$k(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass DateRange {\n static fromProto(proto) {\n let m = new DateRange();\n m = Object.assign(m, proto);\n if (proto.start) {\n m.start = new Date(proto.start);\n }\n if (proto.end) {\n m.end = new Date(proto.end);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.start !== 'undefined' && this.start !== null) {\n toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;\n }\n if (typeof this.end !== 'undefined' && this.end !== null) {\n toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$j(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ListPayoutsRequestFilters {\n static fromProto(proto) {\n let m = new ListPayoutsRequestFilters();\n m = Object.assign(m, proto);\n if (proto.arrivalDateRange) {\n m.arrivalDateRange = DateRange.fromProto(proto.arrivalDateRange);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.arrivalDateRange !== 'undefined' && this.arrivalDateRange !== null) {\n toReturn['arrivalDateRange'] = 'toApiJson' in this.arrivalDateRange ? this.arrivalDateRange.toApiJson() : this.arrivalDateRange;\n }\n return toReturn;\n }\n}\nclass ListPayoutsRequest {\n static fromProto(proto) {\n let m = new ListPayoutsRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListPayoutsRequestFilters.fromProto(proto.filters);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n if (typeof this.subsidiary !== 'undefined') {\n toReturn['subsidiary'] = this.subsidiary;\n }\n return toReturn;\n }\n}\nclass ListPayoutsResponse {\n static fromProto(proto) {\n let m = new ListPayoutsResponse();\n m = Object.assign(m, proto);\n if (proto.payouts) {\n m.payouts = proto.payouts.map(Payout.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.payouts !== 'undefined' && this.payouts !== null) {\n toReturn['payouts'] = 'toApiJson' in this.payouts ? this.payouts.toApiJson() : this.payouts;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass Payout {\n static fromProto(proto) {\n let m = new Payout();\n m = Object.assign(m, proto);\n if (proto.arrivalDate) {\n m.arrivalDate = new Date(proto.arrivalDate);\n }\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.currency) {\n m.currency = enumStringToValue$j(Currency, proto.currency);\n }\n if (proto.status) {\n m.status = enumStringToValue$j(PayoutStatus, proto.status);\n }\n if (proto.type) {\n m.type = enumStringToValue$j(PayoutType, proto.type);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.arrivalDate !== 'undefined' && this.arrivalDate !== null) {\n toReturn['arrivalDate'] = 'toApiJson' in this.arrivalDate ? this.arrivalDate.toApiJson() : this.arrivalDate;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.lastFourDigits !== 'undefined') {\n toReturn['lastFourDigits'] = this.lastFourDigits;\n }\n if (typeof this.bankName !== 'undefined') {\n toReturn['bankName'] = this.bankName;\n }\n if (typeof this.bankId !== 'undefined') {\n toReturn['bankId'] = this.bankId;\n }\n return toReturn;\n }\n}\nclass ReconcilePayoutRequest {\n static fromProto(proto) {\n let m = new ReconcilePayoutRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.bankReconciliationId !== 'undefined') {\n toReturn['bankReconciliationId'] = this.bankReconciliationId;\n }\n if (typeof this.payoutId !== 'undefined') {\n toReturn['payoutId'] = this.payoutId;\n }\n if (typeof this.allowRetries !== 'undefined') {\n toReturn['allowRetries'] = this.allowRetries;\n }\n if (typeof this.subsidiary !== 'undefined') {\n toReturn['subsidiary'] = this.subsidiary;\n }\n return toReturn;\n }\n}\nclass ReconcilePayoutResponse {\n static fromProto(proto) {\n let m = new ReconcilePayoutResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pipelineId !== 'undefined') {\n toReturn['pipelineId'] = this.pipelineId;\n }\n return toReturn;\n }\n}\nclass RetailPayout {\n static fromProto(proto) {\n let m = new RetailPayout();\n m = Object.assign(m, proto);\n if (proto.arrivalDate) {\n m.arrivalDate = new Date(proto.arrivalDate);\n }\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.status) {\n m.status = enumStringToValue$j(PayoutStatus, proto.status);\n }\n if (proto.type) {\n m.type = enumStringToValue$j(PayoutType, proto.type);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.arrivalDate !== 'undefined' && this.arrivalDate !== null) {\n toReturn['arrivalDate'] = 'toApiJson' in this.arrivalDate ? this.arrivalDate.toApiJson() : this.arrivalDate;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.lastFourDigits !== 'undefined') {\n toReturn['lastFourDigits'] = this.lastFourDigits;\n }\n if (typeof this.bankName !== 'undefined') {\n toReturn['bankName'] = this.bankName;\n }\n if (typeof this.bankId !== 'undefined') {\n toReturn['bankId'] = this.bankId;\n }\n if (typeof this.failureCode !== 'undefined') {\n toReturn['failureCode'] = this.failureCode;\n }\n if (typeof this.failureMessage !== 'undefined') {\n toReturn['failureMessage'] = this.failureMessage;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$i(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass CancelRetailBillingRequest {\n static fromProto(proto) {\n let m = new CancelRetailBillingRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass ChargeSalesInvoiceRequest {\n static fromProto(proto) {\n let m = new ChargeSalesInvoiceRequest();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n return toReturn;\n }\n}\nclass ConnectStripeAccountRequest {\n static fromProto(proto) {\n let m = new ConnectStripeAccountRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.countryCode !== 'undefined') {\n toReturn['countryCode'] = this.countryCode;\n }\n if (typeof this.failureUrl !== 'undefined') {\n toReturn['failureUrl'] = this.failureUrl;\n }\n if (typeof this.successUrl !== 'undefined') {\n toReturn['successUrl'] = this.successUrl;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass ConnectStripeAccountResponse {\n static fromProto(proto) {\n let m = new ConnectStripeAccountResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.stripeUrl !== 'undefined') {\n toReturn['stripeUrl'] = this.stripeUrl;\n }\n if (typeof this.error !== 'undefined') {\n toReturn['error'] = this.error;\n }\n return toReturn;\n }\n}\nclass CreateMerchantRequest {\n static fromProto(proto) {\n let m = new CreateMerchantRequest();\n m = Object.assign(m, proto);\n if (proto.includeInFinancialRecords) {\n m.includeInFinancialRecords = CreateMerchantRequestIncludeInFinancialRecords.fromProto(proto.includeInFinancialRecords);\n }\n if (proto.merchantType) {\n m.merchantType = enumStringToValue$i(MerchantType, proto.merchantType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.address !== 'undefined') {\n toReturn['address'] = this.address;\n }\n if (typeof this.city !== 'undefined') {\n toReturn['city'] = this.city;\n }\n if (typeof this.state !== 'undefined') {\n toReturn['state'] = this.state;\n }\n if (typeof this.country !== 'undefined') {\n toReturn['country'] = this.country;\n }\n if (typeof this.zipCode !== 'undefined') {\n toReturn['zipCode'] = this.zipCode;\n }\n if (typeof this.emailAddress !== 'undefined') {\n toReturn['emailAddress'] = this.emailAddress;\n }\n if (typeof this.phoneNumber !== 'undefined') {\n toReturn['phoneNumber'] = this.phoneNumber;\n }\n if (typeof this.contactName !== 'undefined') {\n toReturn['contactName'] = this.contactName;\n }\n if (typeof this.companyName !== 'undefined') {\n toReturn['companyName'] = this.companyName;\n }\n if (typeof this.additionalEmailAddresses !== 'undefined') {\n toReturn['additionalEmailAddresses'] = this.additionalEmailAddresses;\n }\n if (typeof this.includeInFinancialRecords !== 'undefined' && this.includeInFinancialRecords !== null) {\n toReturn['includeInFinancialRecords'] = 'toApiJson' in this.includeInFinancialRecords ? this.includeInFinancialRecords.toApiJson() : this.includeInFinancialRecords;\n }\n if (typeof this.hasAlternativePaymentMethod !== 'undefined') {\n toReturn['hasAlternativePaymentMethod'] = this.hasAlternativePaymentMethod;\n }\n if (typeof this.merchantType !== 'undefined') {\n toReturn['merchantType'] = this.merchantType;\n }\n return toReturn;\n }\n}\nclass DefaultCustomerConfiguration {\n static fromProto(proto) {\n let m = new DefaultCustomerConfiguration();\n m = Object.assign(m, proto);\n if (proto.invoiceDay) {\n m.invoiceDay = parseInt(proto.invoiceDay, 10);\n }\n if (proto.netD) {\n m.netD = parseInt(proto.netD, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.generateMethod !== 'undefined') {\n toReturn['generateMethod'] = this.generateMethod;\n }\n if (typeof this.collectionMethod !== 'undefined') {\n toReturn['collectionMethod'] = this.collectionMethod;\n }\n if (typeof this.invoiceDay !== 'undefined') {\n toReturn['invoiceDay'] = this.invoiceDay;\n }\n if (typeof this.memo !== 'undefined') {\n toReturn['memo'] = this.memo;\n }\n if (typeof this.netD !== 'undefined') {\n toReturn['netD'] = this.netD;\n }\n if (typeof this.autoGenerateRetailSubscriptions !== 'undefined') {\n toReturn['autoGenerateRetailSubscriptions'] = this.autoGenerateRetailSubscriptions;\n }\n return toReturn;\n }\n}\nclass GetMerchantRequest {\n static fromProto(proto) {\n let m = new GetMerchantRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass GetMerchantResponse {\n static fromProto(proto) {\n let m = new GetMerchantResponse();\n m = Object.assign(m, proto);\n if (proto.merchant) {\n m.merchant = Merchant.fromProto(proto.merchant);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchant !== 'undefined' && this.merchant !== null) {\n toReturn['merchant'] = 'toApiJson' in this.merchant ? this.merchant.toApiJson() : this.merchant;\n }\n return toReturn;\n }\n}\nclass GetMultiRetailConfigurationsRequest {\n static fromProto(proto) {\n let m = new GetMultiRetailConfigurationsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.retailGroupIds !== 'undefined') {\n toReturn['retailGroupIds'] = this.retailGroupIds;\n }\n return toReturn;\n }\n}\nclass GetMultiRetailConfigurationsResponse {\n static fromProto(proto) {\n let m = new GetMultiRetailConfigurationsResponse();\n m = Object.assign(m, proto);\n if (proto.retailConfigurations) {\n m.retailConfigurations = Object.keys(proto.retailConfigurations).reduce((obj, k) => {\n obj[k] = RetailConfiguration.fromProto(proto.retailConfigurations[k]);\n return obj;\n }, {});\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.retailConfigurations !== 'undefined' && this.retailConfigurations !== null) {\n toReturn['retailConfigurations'] = 'toApiJson' in this.retailConfigurations ? this.retailConfigurations.toApiJson() : this.retailConfigurations;\n }\n return toReturn;\n }\n}\nclass GetOutstandingBalanceRequest {\n static fromProto(proto) {\n let m = new GetOutstandingBalanceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass GetOutstandingBalanceResponse {\n static fromProto(proto) {\n let m = new GetOutstandingBalanceResponse();\n m = Object.assign(m, proto);\n if (proto.outstandingBalance) {\n m.outstandingBalance = parseInt(proto.outstandingBalance, 10);\n }\n if (proto.currency) {\n m.currency = enumStringToValue$i(Currency, proto.currency);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.outstandingBalance !== 'undefined') {\n toReturn['outstandingBalance'] = this.outstandingBalance;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n return toReturn;\n }\n}\nclass GetPayoutSummaryRequest {\n static fromProto(proto) {\n let m = new GetPayoutSummaryRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass GetPayoutSummaryResponse {\n static fromProto(proto) {\n let m = new GetPayoutSummaryResponse();\n m = Object.assign(m, proto);\n if (proto.balances) {\n m.balances = proto.balances.map(Balance.fromProto);\n }\n if (proto.nextInTransitPayoutExpectedDate) {\n m.nextInTransitPayoutExpectedDate = new Date(proto.nextInTransitPayoutExpectedDate);\n }\n if (proto.payoutDelayDays) {\n m.payoutDelayDays = parseInt(proto.payoutDelayDays, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.balances !== 'undefined' && this.balances !== null) {\n toReturn['balances'] = 'toApiJson' in this.balances ? this.balances.toApiJson() : this.balances;\n }\n if (typeof this.nextInTransitPayoutExpectedDate !== 'undefined' && this.nextInTransitPayoutExpectedDate !== null) {\n toReturn['nextInTransitPayoutExpectedDate'] = 'toApiJson' in this.nextInTransitPayoutExpectedDate ? this.nextInTransitPayoutExpectedDate.toApiJson() : this.nextInTransitPayoutExpectedDate;\n }\n if (typeof this.payoutInterval !== 'undefined') {\n toReturn['payoutInterval'] = this.payoutInterval;\n }\n if (typeof this.payoutDelayDays !== 'undefined') {\n toReturn['payoutDelayDays'] = this.payoutDelayDays;\n }\n return toReturn;\n }\n}\nclass GetRetailAccountBalanceRequest {\n static fromProto(proto) {\n let m = new GetRetailAccountBalanceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass GetRetailAccountBalanceResponse {\n static fromProto(proto) {\n let m = new GetRetailAccountBalanceResponse();\n m = Object.assign(m, proto);\n if (proto.balance) {\n m.balance = AccountBalance.fromProto(proto.balance);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.balance !== 'undefined' && this.balance !== null) {\n toReturn['balance'] = 'toApiJson' in this.balance ? this.balance.toApiJson() : this.balance;\n }\n return toReturn;\n }\n}\nclass GetRetailBalanceRequest {\n static fromProto(proto) {\n let m = new GetRetailBalanceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass GetRetailBalanceResponse {\n static fromProto(proto) {\n let m = new GetRetailBalanceResponse();\n m = Object.assign(m, proto);\n if (proto.balances) {\n m.balances = proto.balances.map(Balance.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.balances !== 'undefined' && this.balances !== null) {\n toReturn['balances'] = 'toApiJson' in this.balances ? this.balances.toApiJson() : this.balances;\n }\n return toReturn;\n }\n}\nclass GetRetailPayoutRequest {\n static fromProto(proto) {\n let m = new GetRetailPayoutRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.payoutId !== 'undefined') {\n toReturn['payoutId'] = this.payoutId;\n }\n return toReturn;\n }\n}\nclass GetRetailPayoutResponse {\n static fromProto(proto) {\n let m = new GetRetailPayoutResponse();\n m = Object.assign(m, proto);\n if (proto.payout) {\n m.payout = RetailPayout.fromProto(proto.payout);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.payout !== 'undefined' && this.payout !== null) {\n toReturn['payout'] = 'toApiJson' in this.payout ? this.payout.toApiJson() : this.payout;\n }\n return toReturn;\n }\n}\nclass CreateMerchantRequestIncludeInFinancialRecords {\n static fromProto(proto) {\n let m = new CreateMerchantRequestIncludeInFinancialRecords();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.includeInFinancialRecords !== 'undefined') {\n toReturn['includeInFinancialRecords'] = this.includeInFinancialRecords;\n }\n return toReturn;\n }\n}\nclass UpdateMerchantRequestIncludeInFinancialRecords {\n static fromProto(proto) {\n let m = new UpdateMerchantRequestIncludeInFinancialRecords();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.includeInFinancialRecords !== 'undefined') {\n toReturn['includeInFinancialRecords'] = this.includeInFinancialRecords;\n }\n return toReturn;\n }\n}\nclass ListRetailPayoutsRequest {\n static fromProto(proto) {\n let m = new ListRetailPayoutsRequest();\n m = Object.assign(m, proto);\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass ListRetailPayoutsResponse {\n static fromProto(proto) {\n let m = new ListRetailPayoutsResponse();\n m = Object.assign(m, proto);\n if (proto.payouts) {\n m.payouts = proto.payouts.map(RetailPayout.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.payouts !== 'undefined' && this.payouts !== null) {\n toReturn['payouts'] = 'toApiJson' in this.payouts ? this.payouts.toApiJson() : this.payouts;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass Merchant {\n static fromProto(proto) {\n let m = new Merchant();\n m = Object.assign(m, proto);\n if (proto.merchantType) {\n m.merchantType = enumStringToValue$i(MerchantType, proto.merchantType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.address !== 'undefined') {\n toReturn['address'] = this.address;\n }\n if (typeof this.city !== 'undefined') {\n toReturn['city'] = this.city;\n }\n if (typeof this.state !== 'undefined') {\n toReturn['state'] = this.state;\n }\n if (typeof this.country !== 'undefined') {\n toReturn['country'] = this.country;\n }\n if (typeof this.zipCode !== 'undefined') {\n toReturn['zipCode'] = this.zipCode;\n }\n if (typeof this.emailAddress !== 'undefined') {\n toReturn['emailAddress'] = this.emailAddress;\n }\n if (typeof this.phoneNumber !== 'undefined') {\n toReturn['phoneNumber'] = this.phoneNumber;\n }\n if (typeof this.contactName !== 'undefined') {\n toReturn['contactName'] = this.contactName;\n }\n if (typeof this.companyName !== 'undefined') {\n toReturn['companyName'] = this.companyName;\n }\n if (typeof this.autoPostInvoices !== 'undefined') {\n toReturn['autoPostInvoices'] = this.autoPostInvoices;\n }\n if (typeof this.autoChargeInvoices !== 'undefined') {\n toReturn['autoChargeInvoices'] = this.autoChargeInvoices;\n }\n if (typeof this.includeInFinancialRecords !== 'undefined') {\n toReturn['includeInFinancialRecords'] = this.includeInFinancialRecords;\n }\n if (typeof this.additionalEmailAddresses !== 'undefined') {\n toReturn['additionalEmailAddresses'] = this.additionalEmailAddresses;\n }\n if (typeof this.hasAlternativePaymentMethod !== 'undefined') {\n toReturn['hasAlternativePaymentMethod'] = this.hasAlternativePaymentMethod;\n }\n if (typeof this.stripeAccountId !== 'undefined') {\n toReturn['stripeAccountId'] = this.stripeAccountId;\n }\n if (typeof this.merchantType !== 'undefined') {\n toReturn['merchantType'] = this.merchantType;\n }\n return toReturn;\n }\n}\nclass RetailConfiguration {\n static fromProto(proto) {\n let m = new RetailConfiguration();\n m = Object.assign(m, proto);\n if (proto.defaultCustomerConfiguration) {\n m.defaultCustomerConfiguration = DefaultCustomerConfiguration.fromProto(proto.defaultCustomerConfiguration);\n }\n if (proto.currencyConversionRate) {\n m.currencyConversionRate = parseInt(proto.currencyConversionRate, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.retailGroupId !== 'undefined') {\n toReturn['retailGroupId'] = this.retailGroupId;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n if (typeof this.defaultCustomerConfiguration !== 'undefined' && this.defaultCustomerConfiguration !== null) {\n toReturn['defaultCustomerConfiguration'] = 'toApiJson' in this.defaultCustomerConfiguration ? this.defaultCustomerConfiguration.toApiJson() : this.defaultCustomerConfiguration;\n }\n if (typeof this.currencyConversionRate !== 'undefined') {\n toReturn['currencyConversionRate'] = this.currencyConversionRate;\n }\n return toReturn;\n }\n}\nclass GetMultiRetailConfigurationsResponseRetailConfigurationsEntry {\n static fromProto(proto) {\n let m = new GetMultiRetailConfigurationsResponseRetailConfigurationsEntry();\n m = Object.assign(m, proto);\n if (proto.value) {\n m.value = RetailConfiguration.fromProto(proto.value);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined' && this.value !== null) {\n toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;\n }\n return toReturn;\n }\n}\nclass SearchMerchantsRequest {\n static fromProto(proto) {\n let m = new SearchMerchantsRequest();\n m = Object.assign(m, proto);\n if (proto.sortBy) {\n m.sortBy = enumStringToValue$i(SearchMerchantsRequestSortBy, proto.sortBy);\n }\n if (proto.sortDirection) {\n m.sortDirection = enumStringToValue$i(SortDirection, proto.sortDirection);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.searchTerm !== 'undefined') {\n toReturn['searchTerm'] = this.searchTerm;\n }\n if (typeof this.sortBy !== 'undefined') {\n toReturn['sortBy'] = this.sortBy;\n }\n if (typeof this.sortDirection !== 'undefined') {\n toReturn['sortDirection'] = this.sortDirection;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass SearchMerchantsResponse {\n static fromProto(proto) {\n let m = new SearchMerchantsResponse();\n m = Object.assign(m, proto);\n if (proto.merchants) {\n m.merchants = proto.merchants.map(Merchant.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchants !== 'undefined' && this.merchants !== null) {\n toReturn['merchants'] = 'toApiJson' in this.merchants ? this.merchants.toApiJson() : this.merchants;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass SetAutoChargeInvoicesRequest {\n static fromProto(proto) {\n let m = new SetAutoChargeInvoicesRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.autoChargeInvoices !== 'undefined') {\n toReturn['autoChargeInvoices'] = this.autoChargeInvoices;\n }\n return toReturn;\n }\n}\nclass SetAutoPostInvoicesRequest {\n static fromProto(proto) {\n let m = new SetAutoPostInvoicesRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.shouldAutoPostInvoices !== 'undefined') {\n toReturn['shouldAutoPostInvoices'] = this.shouldAutoPostInvoices;\n }\n return toReturn;\n }\n}\nclass SetDefaultPaymentCardRequest {\n static fromProto(proto) {\n let m = new SetDefaultPaymentCardRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.cardId !== 'undefined') {\n toReturn['cardId'] = this.cardId;\n }\n return toReturn;\n }\n}\nclass SetHasAlternativePaymentMethodRequest {\n static fromProto(proto) {\n let m = new SetHasAlternativePaymentMethodRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.hasAlternativePaymentMethod !== 'undefined') {\n toReturn['hasAlternativePaymentMethod'] = this.hasAlternativePaymentMethod;\n }\n return toReturn;\n }\n}\nclass SetIncludeInFinancialRecordsRequest {\n static fromProto(proto) {\n let m = new SetIncludeInFinancialRecordsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.includeInFinancialRecords !== 'undefined') {\n toReturn['includeInFinancialRecords'] = this.includeInFinancialRecords;\n }\n return toReturn;\n }\n}\nclass UpdateMerchantRequest {\n static fromProto(proto) {\n let m = new UpdateMerchantRequest();\n m = Object.assign(m, proto);\n if (proto.includeInFinancialRecords) {\n m.includeInFinancialRecords = UpdateMerchantRequestIncludeInFinancialRecords.fromProto(proto.includeInFinancialRecords);\n }\n if (proto.merchantType) {\n m.merchantType = enumStringToValue$i(MerchantType, proto.merchantType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.address !== 'undefined') {\n toReturn['address'] = this.address;\n }\n if (typeof this.city !== 'undefined') {\n toReturn['city'] = this.city;\n }\n if (typeof this.state !== 'undefined') {\n toReturn['state'] = this.state;\n }\n if (typeof this.country !== 'undefined') {\n toReturn['country'] = this.country;\n }\n if (typeof this.zipCode !== 'undefined') {\n toReturn['zipCode'] = this.zipCode;\n }\n if (typeof this.emailAddress !== 'undefined') {\n toReturn['emailAddress'] = this.emailAddress;\n }\n if (typeof this.phoneNumber !== 'undefined') {\n toReturn['phoneNumber'] = this.phoneNumber;\n }\n if (typeof this.contactName !== 'undefined') {\n toReturn['contactName'] = this.contactName;\n }\n if (typeof this.companyName !== 'undefined') {\n toReturn['companyName'] = this.companyName;\n }\n if (typeof this.additionalEmailAddresses !== 'undefined') {\n toReturn['additionalEmailAddresses'] = this.additionalEmailAddresses;\n }\n if (typeof this.includeInFinancialRecords !== 'undefined' && this.includeInFinancialRecords !== null) {\n toReturn['includeInFinancialRecords'] = 'toApiJson' in this.includeInFinancialRecords ? this.includeInFinancialRecords.toApiJson() : this.includeInFinancialRecords;\n }\n if (typeof this.hasAlternativePaymentMethod !== 'undefined') {\n toReturn['hasAlternativePaymentMethod'] = this.hasAlternativePaymentMethod;\n }\n if (typeof this.merchantType !== 'undefined') {\n toReturn['merchantType'] = this.merchantType;\n }\n return toReturn;\n }\n}\nclass UpsertDefaultRetailCustomerConfigurationRequest {\n static fromProto(proto) {\n let m = new UpsertDefaultRetailCustomerConfigurationRequest();\n m = Object.assign(m, proto);\n if (proto.defaultCustomerConfiguration) {\n m.defaultCustomerConfiguration = DefaultCustomerConfiguration.fromProto(proto.defaultCustomerConfiguration);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.retailGroupId !== 'undefined') {\n toReturn['retailGroupId'] = this.retailGroupId;\n }\n if (typeof this.defaultCustomerConfiguration !== 'undefined' && this.defaultCustomerConfiguration !== null) {\n toReturn['defaultCustomerConfiguration'] = 'toApiJson' in this.defaultCustomerConfiguration ? this.defaultCustomerConfiguration.toApiJson() : this.defaultCustomerConfiguration;\n }\n return toReturn;\n }\n}\nclass UpsertRetailConfigurationRequest {\n static fromProto(proto) {\n let m = new UpsertRetailConfigurationRequest();\n m = Object.assign(m, proto);\n if (proto.currencyConversionRate) {\n m.currencyConversionRate = parseInt(proto.currencyConversionRate, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.retailGroupId !== 'undefined') {\n toReturn['retailGroupId'] = this.retailGroupId;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n if (typeof this.currencyConversionRate !== 'undefined') {\n toReturn['currencyConversionRate'] = this.currencyConversionRate;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$h(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ListMerchantBillingReportsRequest {\n static fromProto(proto) {\n let m = new ListMerchantBillingReportsRequest();\n m = Object.assign(m, proto);\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass ListMerchantBillingReportsResponse {\n static fromProto(proto) {\n let m = new ListMerchantBillingReportsResponse();\n m = Object.assign(m, proto);\n if (proto.reports) {\n m.reports = proto.reports.map(MerchantReport.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.reports !== 'undefined' && this.reports !== null) {\n toReturn['reports'] = 'toApiJson' in this.reports ? this.reports.toApiJson() : this.reports;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass MerchantReport {\n static fromProto(proto) {\n let m = new MerchantReport();\n m = Object.assign(m, proto);\n if (proto.year) {\n m.year = parseInt(proto.year, 10);\n }\n if (proto.month) {\n m.month = enumStringToValue$h(Month, proto.month);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.status) {\n m.status = enumStringToValue$h(MerchantReportStatus, proto.status);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.year !== 'undefined') {\n toReturn['year'] = this.year;\n }\n if (typeof this.month !== 'undefined') {\n toReturn['month'] = this.month;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$g(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass CreateMeteredComponentRequest {\n static fromProto(proto) {\n let m = new CreateMeteredComponentRequest();\n m = Object.assign(m, proto);\n if (proto.component) {\n m.component = MeteredComponent.fromProto(proto.component);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.component !== 'undefined' && this.component !== null) {\n toReturn['component'] = 'toApiJson' in this.component ? this.component.toApiJson() : this.component;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n return toReturn;\n }\n}\nclass MeteredComponent {\n static fromProto(proto) {\n let m = new MeteredComponent();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.componentId !== 'undefined') {\n toReturn['componentId'] = this.componentId;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n return toReturn;\n }\n}\nclass TickComponentUsageRequest {\n static fromProto(proto) {\n let m = new TickComponentUsageRequest();\n m = Object.assign(m, proto);\n if (proto.quantity) {\n m.quantity = parseInt(proto.quantity, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.componentId !== 'undefined') {\n toReturn['componentId'] = this.componentId;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.quantity !== 'undefined') {\n toReturn['quantity'] = this.quantity;\n }\n if (typeof this.idempotencyKey !== 'undefined') {\n toReturn['idempotencyKey'] = this.idempotencyKey;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$f(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass RetailPaymentACHDetails {\n static fromProto(proto) {\n let m = new RetailPaymentACHDetails();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.lastFourDigits !== 'undefined') {\n toReturn['lastFourDigits'] = this.lastFourDigits;\n }\n return toReturn;\n }\n}\nclass RetailPaymentACSSDetails {\n static fromProto(proto) {\n let m = new RetailPaymentACSSDetails();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.lastFourDigits !== 'undefined') {\n toReturn['lastFourDigits'] = this.lastFourDigits;\n }\n return toReturn;\n }\n}\nclass Adjustment {\n static fromProto(proto) {\n let m = new Adjustment();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.fee) {\n m.fee = parseInt(proto.fee, 10);\n }\n if (proto.net) {\n m.net = parseInt(proto.net, 10);\n }\n if (proto.refund) {\n m.refund = RetailRefund.fromProto(proto.refund);\n }\n if (proto.dispute) {\n m.dispute = Dispute.fromProto(proto.dispute);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.fee !== 'undefined') {\n toReturn['fee'] = this.fee;\n }\n if (typeof this.net !== 'undefined') {\n toReturn['net'] = this.net;\n }\n if (typeof this.refund !== 'undefined' && this.refund !== null) {\n toReturn['refund'] = 'toApiJson' in this.refund ? this.refund.toApiJson() : this.refund;\n }\n if (typeof this.dispute !== 'undefined' && this.dispute !== null) {\n toReturn['dispute'] = 'toApiJson' in this.dispute ? this.dispute.toApiJson() : this.dispute;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n return toReturn;\n }\n}\nclass RetailPaymentCardDetails {\n static fromProto(proto) {\n let m = new RetailPaymentCardDetails();\n m = Object.assign(m, proto);\n if (proto.cardType) {\n m.cardType = enumStringToValue$f(CardType, proto.cardType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.cardType !== 'undefined') {\n toReturn['cardType'] = this.cardType;\n }\n if (typeof this.lastFourDigits !== 'undefined') {\n toReturn['lastFourDigits'] = this.lastFourDigits;\n }\n return toReturn;\n }\n}\nclass CloseRetailDisputeRequest {\n static fromProto(proto) {\n let m = new CloseRetailDisputeRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.disputeId !== 'undefined') {\n toReturn['disputeId'] = this.disputeId;\n }\n return toReturn;\n }\n}\nclass ConfigureRetailPaymentProviderRequest {\n static fromProto(proto) {\n let m = new ConfigureRetailPaymentProviderRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.failureUrl !== 'undefined') {\n toReturn['failureUrl'] = this.failureUrl;\n }\n if (typeof this.successUrl !== 'undefined') {\n toReturn['successUrl'] = this.successUrl;\n }\n return toReturn;\n }\n}\nclass ConfigureRetailPaymentProviderResponse {\n static fromProto(proto) {\n let m = new ConfigureRetailPaymentProviderResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.stripeUrl !== 'undefined') {\n toReturn['stripeUrl'] = this.stripeUrl;\n }\n if (typeof this.error !== 'undefined') {\n toReturn['error'] = this.error;\n }\n return toReturn;\n }\n}\nclass ConfirmRetailPaymentRequest {\n static fromProto(proto) {\n let m = new ConfirmRetailPaymentRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n return toReturn;\n }\n}\nclass Dispute {\n static fromProto(proto) {\n let m = new Dispute();\n m = Object.assign(m, proto);\n if (proto.status) {\n m.status = enumStringToValue$f(DisputeStatus, proto.status);\n }\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.evidence) {\n m.evidence = DisputeEvidence.fromProto(proto.evidence);\n }\n if (proto.evidenceDetails) {\n m.evidenceDetails = DisputeEvidenceDetails.fromProto(proto.evidenceDetails);\n }\n if (proto.fee) {\n m.fee = parseInt(proto.fee, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.paymentId !== 'undefined') {\n toReturn['paymentId'] = this.paymentId;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n if (typeof this.evidence !== 'undefined' && this.evidence !== null) {\n toReturn['evidence'] = 'toApiJson' in this.evidence ? this.evidence.toApiJson() : this.evidence;\n }\n if (typeof this.evidenceDetails !== 'undefined' && this.evidenceDetails !== null) {\n toReturn['evidenceDetails'] = 'toApiJson' in this.evidenceDetails ? this.evidenceDetails.toApiJson() : this.evidenceDetails;\n }\n if (typeof this.isChargeRefundable !== 'undefined') {\n toReturn['isChargeRefundable'] = this.isChargeRefundable;\n }\n if (typeof this.reason !== 'undefined') {\n toReturn['reason'] = this.reason;\n }\n if (typeof this.fee !== 'undefined') {\n toReturn['fee'] = this.fee;\n }\n if (typeof this.feeCurrencyCode !== 'undefined') {\n toReturn['feeCurrencyCode'] = this.feeCurrencyCode;\n }\n return toReturn;\n }\n}\nclass SubmitEvidenceRequestDisputeEvidence {\n static fromProto(proto) {\n let m = new SubmitEvidenceRequestDisputeEvidence();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.billingAddress !== 'undefined') {\n toReturn['billingAddress'] = this.billingAddress;\n }\n if (typeof this.customerEmailAddress !== 'undefined') {\n toReturn['customerEmailAddress'] = this.customerEmailAddress;\n }\n if (typeof this.customerName !== 'undefined') {\n toReturn['customerName'] = this.customerName;\n }\n if (typeof this.productDescription !== 'undefined') {\n toReturn['productDescription'] = this.productDescription;\n }\n if (typeof this.customerSignatureFileId !== 'undefined') {\n toReturn['customerSignatureFileId'] = this.customerSignatureFileId;\n }\n if (typeof this.customerCommunicationFileId !== 'undefined') {\n toReturn['customerCommunicationFileId'] = this.customerCommunicationFileId;\n }\n if (typeof this.receiptFileId !== 'undefined') {\n toReturn['receiptFileId'] = this.receiptFileId;\n }\n if (typeof this.shippingDocumentationFileId !== 'undefined') {\n toReturn['shippingDocumentationFileId'] = this.shippingDocumentationFileId;\n }\n if (typeof this.uncategorizedFileId !== 'undefined') {\n toReturn['uncategorizedFileId'] = this.uncategorizedFileId;\n }\n return toReturn;\n }\n}\nclass DisputeEvidence {\n static fromProto(proto) {\n let m = new DisputeEvidence();\n m = Object.assign(m, proto);\n if (proto.customerCommunication) {\n m.customerCommunication = File.fromProto(proto.customerCommunication);\n }\n if (proto.customerSignature) {\n m.customerSignature = File.fromProto(proto.customerSignature);\n }\n if (proto.shippingDocumentation) {\n m.shippingDocumentation = File.fromProto(proto.shippingDocumentation);\n }\n if (proto.receipt) {\n m.receipt = File.fromProto(proto.receipt);\n }\n if (proto.uncategorizedFile) {\n m.uncategorizedFile = File.fromProto(proto.uncategorizedFile);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.customerCommunication !== 'undefined' && this.customerCommunication !== null) {\n toReturn['customerCommunication'] = 'toApiJson' in this.customerCommunication ? this.customerCommunication.toApiJson() : this.customerCommunication;\n }\n if (typeof this.customerSignature !== 'undefined' && this.customerSignature !== null) {\n toReturn['customerSignature'] = 'toApiJson' in this.customerSignature ? this.customerSignature.toApiJson() : this.customerSignature;\n }\n if (typeof this.shippingDocumentation !== 'undefined' && this.shippingDocumentation !== null) {\n toReturn['shippingDocumentation'] = 'toApiJson' in this.shippingDocumentation ? this.shippingDocumentation.toApiJson() : this.shippingDocumentation;\n }\n if (typeof this.receipt !== 'undefined' && this.receipt !== null) {\n toReturn['receipt'] = 'toApiJson' in this.receipt ? this.receipt.toApiJson() : this.receipt;\n }\n if (typeof this.uncategorizedFile !== 'undefined' && this.uncategorizedFile !== null) {\n toReturn['uncategorizedFile'] = 'toApiJson' in this.uncategorizedFile ? this.uncategorizedFile.toApiJson() : this.uncategorizedFile;\n }\n if (typeof this.billingAddress !== 'undefined') {\n toReturn['billingAddress'] = this.billingAddress;\n }\n if (typeof this.customerEmailAddress !== 'undefined') {\n toReturn['customerEmailAddress'] = this.customerEmailAddress;\n }\n if (typeof this.customerName !== 'undefined') {\n toReturn['customerName'] = this.customerName;\n }\n if (typeof this.productDescription !== 'undefined') {\n toReturn['productDescription'] = this.productDescription;\n }\n return toReturn;\n }\n}\nclass DisputeEvidenceDetails {\n static fromProto(proto) {\n let m = new DisputeEvidenceDetails();\n m = Object.assign(m, proto);\n if (proto.dueBy) {\n m.dueBy = new Date(proto.dueBy);\n }\n if (proto.submissionCount) {\n m.submissionCount = parseInt(proto.submissionCount, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.dueBy !== 'undefined' && this.dueBy !== null) {\n toReturn['dueBy'] = 'toApiJson' in this.dueBy ? this.dueBy.toApiJson() : this.dueBy;\n }\n if (typeof this.hasEvidence !== 'undefined') {\n toReturn['hasEvidence'] = this.hasEvidence;\n }\n if (typeof this.pastDue !== 'undefined') {\n toReturn['pastDue'] = this.pastDue;\n }\n if (typeof this.submissionCount !== 'undefined') {\n toReturn['submissionCount'] = this.submissionCount;\n }\n return toReturn;\n }\n}\nclass File {\n static fromProto(proto) {\n let m = new File();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.filename !== 'undefined') {\n toReturn['filename'] = this.filename;\n }\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n return toReturn;\n }\n}\nclass GetRetailDisputeRequest {\n static fromProto(proto) {\n let m = new GetRetailDisputeRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.disputeId !== 'undefined') {\n toReturn['disputeId'] = this.disputeId;\n }\n return toReturn;\n }\n}\nclass GetRetailDisputeResponse {\n static fromProto(proto) {\n let m = new GetRetailDisputeResponse();\n m = Object.assign(m, proto);\n if (proto.dispute) {\n m.dispute = Dispute.fromProto(proto.dispute);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.dispute !== 'undefined' && this.dispute !== null) {\n toReturn['dispute'] = 'toApiJson' in this.dispute ? this.dispute.toApiJson() : this.dispute;\n }\n return toReturn;\n }\n}\nclass GetRetailPaymentProviderRequest {\n static fromProto(proto) {\n let m = new GetRetailPaymentProviderRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass GetRetailPaymentProviderResponse {\n static fromProto(proto) {\n let m = new GetRetailPaymentProviderResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.statementDescriptor !== 'undefined') {\n toReturn['statementDescriptor'] = this.statementDescriptor;\n }\n if (typeof this.stripeConnectId !== 'undefined') {\n toReturn['stripeConnectId'] = this.stripeConnectId;\n }\n return toReturn;\n }\n}\nclass GetRetailPaymentRequest {\n static fromProto(proto) {\n let m = new GetRetailPaymentRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.paymentId !== 'undefined') {\n toReturn['paymentId'] = this.paymentId;\n }\n return toReturn;\n }\n}\nclass GetRetailPaymentResponse {\n static fromProto(proto) {\n let m = new GetRetailPaymentResponse();\n m = Object.assign(m, proto);\n if (proto.payment) {\n m.payment = RetailPayment.fromProto(proto.payment);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.payment !== 'undefined' && this.payment !== null) {\n toReturn['payment'] = 'toApiJson' in this.payment ? this.payment.toApiJson() : this.payment;\n }\n return toReturn;\n }\n}\nclass GetWholesaleProviderPublicKeyRequest {\n static fromProto(proto) {\n let m = new GetWholesaleProviderPublicKeyRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.countryCode !== 'undefined') {\n toReturn['countryCode'] = this.countryCode;\n }\n return toReturn;\n }\n}\nclass GetWholesaleProviderPublicKeyResponse {\n static fromProto(proto) {\n let m = new GetWholesaleProviderPublicKeyResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.publcApiKey !== 'undefined') {\n toReturn['publcApiKey'] = this.publcApiKey;\n }\n return toReturn;\n }\n}\nclass ListPaymentRequestListPaymentFilters {\n static fromProto(proto) {\n let m = new ListPaymentRequestListPaymentFilters();\n m = Object.assign(m, proto);\n if (proto.start) {\n m.start = new Date(proto.start);\n }\n if (proto.end) {\n m.end = new Date(proto.end);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.allocationIds !== 'undefined') {\n toReturn['allocationIds'] = this.allocationIds;\n }\n if (typeof this.start !== 'undefined' && this.start !== null) {\n toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;\n }\n if (typeof this.end !== 'undefined' && this.end !== null) {\n toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;\n }\n return toReturn;\n }\n}\nclass ListPaymentRequest {\n static fromProto(proto) {\n let m = new ListPaymentRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListPaymentRequestListPaymentFilters.fromProto(proto.filters);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass ListPaymentResponse {\n static fromProto(proto) {\n let m = new ListPaymentResponse();\n m = Object.assign(m, proto);\n if (proto.payments) {\n m.payments = proto.payments.map(Payment.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.payments !== 'undefined' && this.payments !== null) {\n toReturn['payments'] = 'toApiJson' in this.payments ? this.payments.toApiJson() : this.payments;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass ListRetailDisputesRequest {\n static fromProto(proto) {\n let m = new ListRetailDisputesRequest();\n m = Object.assign(m, proto);\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass ListRetailDisputesResponse {\n static fromProto(proto) {\n let m = new ListRetailDisputesResponse();\n m = Object.assign(m, proto);\n if (proto.disputes) {\n m.disputes = proto.disputes.map(Dispute.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.disputes !== 'undefined' && this.disputes !== null) {\n toReturn['disputes'] = 'toApiJson' in this.disputes ? this.disputes.toApiJson() : this.disputes;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass ListRetailPaymentsRequestListRetailPaymentsFilters {\n static fromProto(proto) {\n let m = new ListRetailPaymentsRequestListRetailPaymentsFilters();\n m = Object.assign(m, proto);\n if (proto.createdDateGte) {\n m.createdDateGte = new Date(proto.createdDateGte);\n }\n if (proto.createdDateLte) {\n m.createdDateLte = new Date(proto.createdDateLte);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.payoutId !== 'undefined') {\n toReturn['payoutId'] = this.payoutId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.createdDateGte !== 'undefined' && this.createdDateGte !== null) {\n toReturn['createdDateGte'] = 'toApiJson' in this.createdDateGte ? this.createdDateGte.toApiJson() : this.createdDateGte;\n }\n if (typeof this.createdDateLte !== 'undefined' && this.createdDateLte !== null) {\n toReturn['createdDateLte'] = 'toApiJson' in this.createdDateLte ? this.createdDateLte.toApiJson() : this.createdDateLte;\n }\n return toReturn;\n }\n}\nclass ListRetailPaymentsRequest {\n static fromProto(proto) {\n let m = new ListRetailPaymentsRequest();\n m = Object.assign(m, proto);\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n if (proto.filters) {\n m.filters = ListRetailPaymentsRequestListRetailPaymentsFilters.fromProto(proto.filters);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n return toReturn;\n }\n}\nclass ListRetailPaymentsResponse {\n static fromProto(proto) {\n let m = new ListRetailPaymentsResponse();\n m = Object.assign(m, proto);\n if (proto.payments) {\n m.payments = proto.payments.map(RetailPayment.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.payments !== 'undefined' && this.payments !== null) {\n toReturn['payments'] = 'toApiJson' in this.payments ? this.payments.toApiJson() : this.payments;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass ListRetailTransactionsRequestListRetailTransactionsFilters {\n static fromProto(proto) {\n let m = new ListRetailTransactionsRequestListRetailTransactionsFilters();\n m = Object.assign(m, proto);\n if (proto.createdDateGte) {\n m.createdDateGte = new Date(proto.createdDateGte);\n }\n if (proto.createdDateLte) {\n m.createdDateLte = new Date(proto.createdDateLte);\n }\n if (proto.type) {\n m.type = enumStringToValue$f(RetailTransactionType, proto.type);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.payoutId !== 'undefined') {\n toReturn['payoutId'] = this.payoutId;\n }\n if (typeof this.createdDateGte !== 'undefined' && this.createdDateGte !== null) {\n toReturn['createdDateGte'] = 'toApiJson' in this.createdDateGte ? this.createdDateGte.toApiJson() : this.createdDateGte;\n }\n if (typeof this.createdDateLte !== 'undefined' && this.createdDateLte !== null) {\n toReturn['createdDateLte'] = 'toApiJson' in this.createdDateLte ? this.createdDateLte.toApiJson() : this.createdDateLte;\n }\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n return toReturn;\n }\n}\nclass ListRetailTransactionsRequest {\n static fromProto(proto) {\n let m = new ListRetailTransactionsRequest();\n m = Object.assign(m, proto);\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n if (proto.filters) {\n m.filters = ListRetailTransactionsRequestListRetailTransactionsFilters.fromProto(proto.filters);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n return toReturn;\n }\n}\nclass ListRetailTransactionsResponse {\n static fromProto(proto) {\n let m = new ListRetailTransactionsResponse();\n m = Object.assign(m, proto);\n if (proto.transactions) {\n m.transactions = proto.transactions.map(RetailTransaction.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.transactions !== 'undefined' && this.transactions !== null) {\n toReturn['transactions'] = 'toApiJson' in this.transactions ? this.transactions.toApiJson() : this.transactions;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass PrepareRetailPaymentRequestOrder {\n static fromProto(proto) {\n let m = new PrepareRetailPaymentRequestOrder();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n if (typeof this.paymentMethodId !== 'undefined') {\n toReturn['paymentMethodId'] = this.paymentMethodId;\n }\n return toReturn;\n }\n}\nclass Payment {\n static fromProto(proto) {\n let m = new Payment();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.currency) {\n m.currency = enumStringToValue$f(Currency, proto.currency);\n }\n if (proto.paymentSource) {\n m.paymentSource = enumStringToValue$f(PaymentSource, proto.paymentSource);\n }\n if (proto.allocations) {\n m.allocations = proto.allocations.map(PaymentPaymentAllocation.fromProto);\n }\n if (proto.total) {\n m.total = parseInt(proto.total, 10);\n }\n if (proto.status) {\n m.status = enumStringToValue$f(PaymentStatus, proto.status);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n if (typeof this.paymentSource !== 'undefined') {\n toReturn['paymentSource'] = this.paymentSource;\n }\n if (typeof this.allocations !== 'undefined' && this.allocations !== null) {\n toReturn['allocations'] = 'toApiJson' in this.allocations ? this.allocations.toApiJson() : this.allocations;\n }\n if (typeof this.total !== 'undefined') {\n toReturn['total'] = this.total;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.externalReferenceId !== 'undefined') {\n toReturn['externalReferenceId'] = this.externalReferenceId;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n return toReturn;\n }\n}\nclass PaymentPaymentAllocation {\n static fromProto(proto) {\n let m = new PaymentPaymentAllocation();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.type) {\n m.type = enumStringToValue$f(PaymentAllocationType, proto.type);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.referenceId !== 'undefined') {\n toReturn['referenceId'] = this.referenceId;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n return toReturn;\n }\n}\nclass PrepareRetailPaymentRequest {\n static fromProto(proto) {\n let m = new PrepareRetailPaymentRequest();\n m = Object.assign(m, proto);\n if (proto.order) {\n m.order = PrepareRetailPaymentRequestOrder.fromProto(proto.order);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n if (typeof this.order !== 'undefined' && this.order !== null) {\n toReturn['order'] = 'toApiJson' in this.order ? this.order.toApiJson() : this.order;\n }\n return toReturn;\n }\n}\nclass PrepareRetailPaymentResponse {\n static fromProto(proto) {\n let m = new PrepareRetailPaymentResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.stripeClientSecret !== 'undefined') {\n toReturn['stripeClientSecret'] = this.stripeClientSecret;\n }\n if (typeof this.intentId !== 'undefined') {\n toReturn['intentId'] = this.intentId;\n }\n return toReturn;\n }\n}\nclass RefundRetailPaymentRequest {\n static fromProto(proto) {\n let m = new RefundRetailPaymentRequest();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.reason) {\n m.reason = enumStringToValue$f(RetailRefundReason, proto.reason);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.paymentId !== 'undefined') {\n toReturn['paymentId'] = this.paymentId;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.reason !== 'undefined') {\n toReturn['reason'] = this.reason;\n }\n return toReturn;\n }\n}\nclass RefundRetailPaymentResponse {\n static fromProto(proto) {\n let m = new RefundRetailPaymentResponse();\n m = Object.assign(m, proto);\n if (proto.payment) {\n m.payment = RetailPayment.fromProto(proto.payment);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.payment !== 'undefined' && this.payment !== null) {\n toReturn['payment'] = 'toApiJson' in this.payment ? this.payment.toApiJson() : this.payment;\n }\n return toReturn;\n }\n}\nclass RetailPayment {\n static fromProto(proto) {\n let m = new RetailPayment();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.referenceType) {\n m.referenceType = enumStringToValue$f(RetailPaymentReferenceType, proto.referenceType);\n }\n if (proto.status) {\n m.status = enumStringToValue$f(PaymentStatus, proto.status);\n }\n if (proto.applicationFee) {\n m.applicationFee = parseInt(proto.applicationFee, 10);\n }\n if (proto.dispute) {\n m.dispute = Dispute.fromProto(proto.dispute);\n }\n if (proto.cardDetails) {\n m.cardDetails = RetailPaymentCardDetails.fromProto(proto.cardDetails);\n }\n if (proto.refunds) {\n m.refunds = proto.refunds.map(RetailRefund.fromProto);\n }\n if (proto.paymentMethodDetailsType) {\n m.paymentMethodDetailsType = enumStringToValue$f(RetailPaymentPaymentMethodDetailsType, proto.paymentMethodDetailsType);\n }\n if (proto.achDebitDetails) {\n m.achDebitDetails = RetailPaymentACHDetails.fromProto(proto.achDebitDetails);\n }\n if (proto.acssDebitDetails) {\n m.acssDebitDetails = RetailPaymentACSSDetails.fromProto(proto.acssDebitDetails);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.referenceId !== 'undefined') {\n toReturn['referenceId'] = this.referenceId;\n }\n if (typeof this.referenceType !== 'undefined') {\n toReturn['referenceType'] = this.referenceType;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.failureCode !== 'undefined') {\n toReturn['failureCode'] = this.failureCode;\n }\n if (typeof this.failureMessage !== 'undefined') {\n toReturn['failureMessage'] = this.failureMessage;\n }\n if (typeof this.applicationFee !== 'undefined') {\n toReturn['applicationFee'] = this.applicationFee;\n }\n if (typeof this.disputed !== 'undefined') {\n toReturn['disputed'] = this.disputed;\n }\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.dispute !== 'undefined' && this.dispute !== null) {\n toReturn['dispute'] = 'toApiJson' in this.dispute ? this.dispute.toApiJson() : this.dispute;\n }\n if (typeof this.cardDetails !== 'undefined' && this.cardDetails !== null) {\n toReturn['cardDetails'] = 'toApiJson' in this.cardDetails ? this.cardDetails.toApiJson() : this.cardDetails;\n }\n if (typeof this.refunds !== 'undefined' && this.refunds !== null) {\n toReturn['refunds'] = 'toApiJson' in this.refunds ? this.refunds.toApiJson() : this.refunds;\n }\n if (typeof this.paymentMethodDetailsType !== 'undefined') {\n toReturn['paymentMethodDetailsType'] = this.paymentMethodDetailsType;\n }\n if (typeof this.achDebitDetails !== 'undefined' && this.achDebitDetails !== null) {\n toReturn['achDebitDetails'] = 'toApiJson' in this.achDebitDetails ? this.achDebitDetails.toApiJson() : this.achDebitDetails;\n }\n if (typeof this.acssDebitDetails !== 'undefined' && this.acssDebitDetails !== null) {\n toReturn['acssDebitDetails'] = 'toApiJson' in this.acssDebitDetails ? this.acssDebitDetails.toApiJson() : this.acssDebitDetails;\n }\n return toReturn;\n }\n}\nclass RetailPaymentsEnabledRequest {\n static fromProto(proto) {\n let m = new RetailPaymentsEnabledRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass RetailPaymentsEnabledResponse {\n static fromProto(proto) {\n let m = new RetailPaymentsEnabledResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.enabled !== 'undefined') {\n toReturn['enabled'] = this.enabled;\n }\n return toReturn;\n }\n}\nclass RetailRefund {\n static fromProto(proto) {\n let m = new RetailRefund();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.refundReason) {\n m.refundReason = enumStringToValue$f(RetailRefundReason, proto.refundReason);\n }\n if (proto.status) {\n m.status = enumStringToValue$f(RetailRefundStatus, proto.status);\n }\n if (proto.failureReason) {\n m.failureReason = enumStringToValue$f(RetailRefundFailureReason, proto.failureReason);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.payment) {\n m.payment = RetailPayment.fromProto(proto.payment);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n if (typeof this.refundReason !== 'undefined') {\n toReturn['refundReason'] = this.refundReason;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.failureReason !== 'undefined') {\n toReturn['failureReason'] = this.failureReason;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.payment !== 'undefined' && this.payment !== null) {\n toReturn['payment'] = 'toApiJson' in this.payment ? this.payment.toApiJson() : this.payment;\n }\n return toReturn;\n }\n}\nclass RetailStatusRequest {\n static fromProto(proto) {\n let m = new RetailStatusRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass RetailStatusResponse {\n static fromProto(proto) {\n let m = new RetailStatusResponse();\n m = Object.assign(m, proto);\n if (proto.requirements) {\n m.requirements = RetailStatusResponseVerificationRequirements.fromProto(proto.requirements);\n }\n if (proto.futureRequirements) {\n m.futureRequirements = RetailStatusResponseVerificationRequirements.fromProto(proto.futureRequirements);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.supportedRegion !== 'undefined') {\n toReturn['supportedRegion'] = this.supportedRegion;\n }\n if (typeof this.canAcceptPayment !== 'undefined') {\n toReturn['canAcceptPayment'] = this.canAcceptPayment;\n }\n if (typeof this.requirements !== 'undefined' && this.requirements !== null) {\n toReturn['requirements'] = 'toApiJson' in this.requirements ? this.requirements.toApiJson() : this.requirements;\n }\n if (typeof this.disabledReason !== 'undefined') {\n toReturn['disabledReason'] = this.disabledReason;\n }\n if (typeof this.futureRequirements !== 'undefined' && this.futureRequirements !== null) {\n toReturn['futureRequirements'] = 'toApiJson' in this.futureRequirements ? this.futureRequirements.toApiJson() : this.futureRequirements;\n }\n return toReturn;\n }\n}\nclass RetailTransaction {\n static fromProto(proto) {\n let m = new RetailTransaction();\n m = Object.assign(m, proto);\n if (proto.payment) {\n m.payment = RetailPayment.fromProto(proto.payment);\n }\n if (proto.refund) {\n m.refund = RetailRefund.fromProto(proto.refund);\n }\n if (proto.payoutFailure) {\n m.payoutFailure = RetailPayout.fromProto(proto.payoutFailure);\n }\n if (proto.adjustment) {\n m.adjustment = Adjustment.fromProto(proto.adjustment);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.payment !== 'undefined' && this.payment !== null) {\n toReturn['payment'] = 'toApiJson' in this.payment ? this.payment.toApiJson() : this.payment;\n }\n if (typeof this.refund !== 'undefined' && this.refund !== null) {\n toReturn['refund'] = 'toApiJson' in this.refund ? this.refund.toApiJson() : this.refund;\n }\n if (typeof this.payoutFailure !== 'undefined' && this.payoutFailure !== null) {\n toReturn['payoutFailure'] = 'toApiJson' in this.payoutFailure ? this.payoutFailure.toApiJson() : this.payoutFailure;\n }\n if (typeof this.adjustment !== 'undefined' && this.adjustment !== null) {\n toReturn['adjustment'] = 'toApiJson' in this.adjustment ? this.adjustment.toApiJson() : this.adjustment;\n }\n return toReturn;\n }\n}\nclass SubmitEvidenceRequest {\n static fromProto(proto) {\n let m = new SubmitEvidenceRequest();\n m = Object.assign(m, proto);\n if (proto.evidence) {\n m.evidence = SubmitEvidenceRequestDisputeEvidence.fromProto(proto.evidence);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.disputeId !== 'undefined') {\n toReturn['disputeId'] = this.disputeId;\n }\n if (typeof this.paymentId !== 'undefined') {\n toReturn['paymentId'] = this.paymentId;\n }\n if (typeof this.evidence !== 'undefined' && this.evidence !== null) {\n toReturn['evidence'] = 'toApiJson' in this.evidence ? this.evidence.toApiJson() : this.evidence;\n }\n if (typeof this.submit !== 'undefined') {\n toReturn['submit'] = this.submit;\n }\n return toReturn;\n }\n}\nclass UpdateRetailPaymentProviderRequest {\n static fromProto(proto) {\n let m = new UpdateRetailPaymentProviderRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.statementDescriptor !== 'undefined') {\n toReturn['statementDescriptor'] = this.statementDescriptor;\n }\n return toReturn;\n }\n}\nclass RetailStatusResponseVerificationError {\n static fromProto(proto) {\n let m = new RetailStatusResponseVerificationError();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.requirement !== 'undefined') {\n toReturn['requirement'] = this.requirement;\n }\n if (typeof this.code !== 'undefined') {\n toReturn['code'] = this.code;\n }\n if (typeof this.reason !== 'undefined') {\n toReturn['reason'] = this.reason;\n }\n return toReturn;\n }\n}\nclass RetailStatusResponseVerificationRequirements {\n static fromProto(proto) {\n let m = new RetailStatusResponseVerificationRequirements();\n m = Object.assign(m, proto);\n if (proto.error) {\n m.error = proto.error.map(RetailStatusResponseVerificationError.fromProto);\n }\n if (proto.currentDeadline) {\n m.currentDeadline = new Date(proto.currentDeadline);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.due !== 'undefined') {\n toReturn['due'] = this.due;\n }\n if (typeof this.error !== 'undefined' && this.error !== null) {\n toReturn['error'] = 'toApiJson' in this.error ? this.error.toApiJson() : this.error;\n }\n if (typeof this.currentDeadline !== 'undefined' && this.currentDeadline !== null) {\n toReturn['currentDeadline'] = 'toApiJson' in this.currentDeadline ? this.currentDeadline.toApiJson() : this.currentDeadline;\n }\n if (typeof this.eventuallyDue !== 'undefined') {\n toReturn['eventuallyDue'] = this.eventuallyDue;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$e(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass CreatePricingPlanProductRequest {\n static fromProto(proto) {\n let m = new CreatePricingPlanProductRequest();\n m = Object.assign(m, proto);\n if (proto.frequency) {\n m.frequency = enumStringToValue$e(Frequency, proto.frequency);\n }\n if (proto.pricing) {\n m.pricing = Object.keys(proto.pricing).reduce((obj, k) => {\n obj[k] = PricingPlanProductPricing.fromProto(proto.pricing[k]);\n return obj;\n }, {});\n }\n if (proto.commitment) {\n m.commitment = Commitment.fromProto(proto.commitment);\n }\n if (proto.strategy) {\n m.strategy = enumStringToValue$e(BillingStrategy, proto.strategy);\n }\n if (proto.volumeCommitment) {\n m.volumeCommitment = parseInt(proto.volumeCommitment, 10);\n }\n if (proto.volumeCommitmentStartsAt) {\n m.volumeCommitmentStartsAt = new Date(proto.volumeCommitmentStartsAt);\n }\n if (proto.volumeCommitmentEndsAt) {\n m.volumeCommitmentEndsAt = new Date(proto.volumeCommitmentEndsAt);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pricingPlanId !== 'undefined') {\n toReturn['pricingPlanId'] = this.pricingPlanId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.frequency !== 'undefined') {\n toReturn['frequency'] = this.frequency;\n }\n if (typeof this.pricing !== 'undefined' && this.pricing !== null) {\n toReturn['pricing'] = 'toApiJson' in this.pricing ? this.pricing.toApiJson() : this.pricing;\n }\n if (typeof this.commitment !== 'undefined' && this.commitment !== null) {\n toReturn['commitment'] = 'toApiJson' in this.commitment ? this.commitment.toApiJson() : this.commitment;\n }\n if (typeof this.strategy !== 'undefined') {\n toReturn['strategy'] = this.strategy;\n }\n if (typeof this.volumeCommitment !== 'undefined') {\n toReturn['volumeCommitment'] = this.volumeCommitment;\n }\n if (typeof this.volumeCommitmentStartsAt !== 'undefined' && this.volumeCommitmentStartsAt !== null) {\n toReturn['volumeCommitmentStartsAt'] = 'toApiJson' in this.volumeCommitmentStartsAt ? this.volumeCommitmentStartsAt.toApiJson() : this.volumeCommitmentStartsAt;\n }\n if (typeof this.volumeCommitmentEndsAt !== 'undefined' && this.volumeCommitmentEndsAt !== null) {\n toReturn['volumeCommitmentEndsAt'] = 'toApiJson' in this.volumeCommitmentEndsAt ? this.volumeCommitmentEndsAt.toApiJson() : this.volumeCommitmentEndsAt;\n }\n return toReturn;\n }\n}\nclass CreatePricingPlanProductResponse {\n static fromProto(proto) {\n let m = new CreatePricingPlanProductResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pricingPlanId !== 'undefined') {\n toReturn['pricingPlanId'] = this.pricingPlanId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n return toReturn;\n }\n}\nclass DeletePricingPlanProductRequest {\n static fromProto(proto) {\n let m = new DeletePricingPlanProductRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pricingPlanId !== 'undefined') {\n toReturn['pricingPlanId'] = this.pricingPlanId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n return toReturn;\n }\n}\nclass GetMultiPricingPlanProductRequest {\n static fromProto(proto) {\n let m = new GetMultiPricingPlanProductRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pricingPlanId !== 'undefined') {\n toReturn['pricingPlanId'] = this.pricingPlanId;\n }\n if (typeof this.skus !== 'undefined') {\n toReturn['skus'] = this.skus;\n }\n return toReturn;\n }\n}\nclass GetMultiPricingPlanProductResponse {\n static fromProto(proto) {\n let m = new GetMultiPricingPlanProductResponse();\n m = Object.assign(m, proto);\n if (proto.pricingPlanProducts) {\n m.pricingPlanProducts = proto.pricingPlanProducts.map(PricingPlanProduct.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pricingPlanProducts !== 'undefined' && this.pricingPlanProducts !== null) {\n toReturn['pricingPlanProducts'] = 'toApiJson' in this.pricingPlanProducts ? this.pricingPlanProducts.toApiJson() : this.pricingPlanProducts;\n }\n return toReturn;\n }\n}\nclass GetPricingPlanProductRequest {\n static fromProto(proto) {\n let m = new GetPricingPlanProductRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pricingPlanId !== 'undefined') {\n toReturn['pricingPlanId'] = this.pricingPlanId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n return toReturn;\n }\n}\nclass GetPricingPlanProductResponse {\n static fromProto(proto) {\n let m = new GetPricingPlanProductResponse();\n m = Object.assign(m, proto);\n if (proto.pricingPlanProduct) {\n m.pricingPlanProduct = PricingPlanProduct.fromProto(proto.pricingPlanProduct);\n }\n if (proto.pricingPlanDefaultStrategy) {\n m.pricingPlanDefaultStrategy = enumStringToValue$e(BillingStrategy, proto.pricingPlanDefaultStrategy);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pricingPlanProduct !== 'undefined' && this.pricingPlanProduct !== null) {\n toReturn['pricingPlanProduct'] = 'toApiJson' in this.pricingPlanProduct ? this.pricingPlanProduct.toApiJson() : this.pricingPlanProduct;\n }\n if (typeof this.pricingPlanDefaultStrategy !== 'undefined') {\n toReturn['pricingPlanDefaultStrategy'] = this.pricingPlanDefaultStrategy;\n }\n return toReturn;\n }\n}\nclass ListPricingPlanProductsRequestListPricingPlanProductsFilters {\n static fromProto(proto) {\n let m = new ListPricingPlanProductsRequestListPricingPlanProductsFilters();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.pricingPlanIds !== 'undefined') {\n toReturn['pricingPlanIds'] = this.pricingPlanIds;\n }\n return toReturn;\n }\n}\nclass ListPricingPlanProductsRequest {\n static fromProto(proto) {\n let m = new ListPricingPlanProductsRequest();\n m = Object.assign(m, proto);\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n if (proto.filters) {\n m.filters = ListPricingPlanProductsRequestListPricingPlanProductsFilters.fromProto(proto.filters);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n return toReturn;\n }\n}\nclass ListPricingPlanProductsResponse {\n static fromProto(proto) {\n let m = new ListPricingPlanProductsResponse();\n m = Object.assign(m, proto);\n if (proto.products) {\n m.products = proto.products.map(PricingPlanProduct.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.products !== 'undefined' && this.products !== null) {\n toReturn['products'] = 'toApiJson' in this.products ? this.products.toApiJson() : this.products;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass PricingPlanProductPricingEntry {\n static fromProto(proto) {\n let m = new PricingPlanProductPricingEntry();\n m = Object.assign(m, proto);\n if (proto.value) {\n m.value = PricingPlanProductPricing.fromProto(proto.value);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined' && this.value !== null) {\n toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;\n }\n return toReturn;\n }\n}\nclass CreatePricingPlanProductRequestPricingEntry {\n static fromProto(proto) {\n let m = new CreatePricingPlanProductRequestPricingEntry();\n m = Object.assign(m, proto);\n if (proto.value) {\n m.value = PricingPlanProductPricing.fromProto(proto.value);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined' && this.value !== null) {\n toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;\n }\n return toReturn;\n }\n}\nclass UpdatePricingPlanProductRequestPricingEntry {\n static fromProto(proto) {\n let m = new UpdatePricingPlanProductRequestPricingEntry();\n m = Object.assign(m, proto);\n if (proto.value) {\n m.value = PricingPlanProductPricing.fromProto(proto.value);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined' && this.value !== null) {\n toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;\n }\n return toReturn;\n }\n}\nclass PricingPlanProduct {\n static fromProto(proto) {\n let m = new PricingPlanProduct();\n m = Object.assign(m, proto);\n if (proto.frequency) {\n m.frequency = enumStringToValue$e(Frequency, proto.frequency);\n }\n if (proto.pricing) {\n m.pricing = Object.keys(proto.pricing).reduce((obj, k) => {\n obj[k] = PricingPlanProductPricing.fromProto(proto.pricing[k]);\n return obj;\n }, {});\n }\n if (proto.commitment) {\n m.commitment = Commitment.fromProto(proto.commitment);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.modified) {\n m.modified = new Date(proto.modified);\n }\n if (proto.strategy) {\n m.strategy = enumStringToValue$e(BillingStrategy, proto.strategy);\n }\n if (proto.volumeCommitment) {\n m.volumeCommitment = parseInt(proto.volumeCommitment, 10);\n }\n if (proto.volumeCommitmentStartsAt) {\n m.volumeCommitmentStartsAt = new Date(proto.volumeCommitmentStartsAt);\n }\n if (proto.volumeCommitmentEndsAt) {\n m.volumeCommitmentEndsAt = new Date(proto.volumeCommitmentEndsAt);\n }\n if (proto.pricingType) {\n m.pricingType = enumStringToValue$e(ProductPricingType, proto.pricingType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pricingPlanId !== 'undefined') {\n toReturn['pricingPlanId'] = this.pricingPlanId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.frequency !== 'undefined') {\n toReturn['frequency'] = this.frequency;\n }\n if (typeof this.pricing !== 'undefined' && this.pricing !== null) {\n toReturn['pricing'] = 'toApiJson' in this.pricing ? this.pricing.toApiJson() : this.pricing;\n }\n if (typeof this.commitment !== 'undefined' && this.commitment !== null) {\n toReturn['commitment'] = 'toApiJson' in this.commitment ? this.commitment.toApiJson() : this.commitment;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.modified !== 'undefined' && this.modified !== null) {\n toReturn['modified'] = 'toApiJson' in this.modified ? this.modified.toApiJson() : this.modified;\n }\n if (typeof this.strategy !== 'undefined') {\n toReturn['strategy'] = this.strategy;\n }\n if (typeof this.volumeCommitment !== 'undefined') {\n toReturn['volumeCommitment'] = this.volumeCommitment;\n }\n if (typeof this.volumeCommitmentStartsAt !== 'undefined' && this.volumeCommitmentStartsAt !== null) {\n toReturn['volumeCommitmentStartsAt'] = 'toApiJson' in this.volumeCommitmentStartsAt ? this.volumeCommitmentStartsAt.toApiJson() : this.volumeCommitmentStartsAt;\n }\n if (typeof this.volumeCommitmentEndsAt !== 'undefined' && this.volumeCommitmentEndsAt !== null) {\n toReturn['volumeCommitmentEndsAt'] = 'toApiJson' in this.volumeCommitmentEndsAt ? this.volumeCommitmentEndsAt.toApiJson() : this.volumeCommitmentEndsAt;\n }\n if (typeof this.pricingType !== 'undefined') {\n toReturn['pricingType'] = this.pricingType;\n }\n return toReturn;\n }\n}\nclass UpdatePricingPlanProductRequest {\n static fromProto(proto) {\n let m = new UpdatePricingPlanProductRequest();\n m = Object.assign(m, proto);\n if (proto.frequency) {\n m.frequency = enumStringToValue$e(Frequency, proto.frequency);\n }\n if (proto.pricing) {\n m.pricing = Object.keys(proto.pricing).reduce((obj, k) => {\n obj[k] = PricingPlanProductPricing.fromProto(proto.pricing[k]);\n return obj;\n }, {});\n }\n if (proto.commitment) {\n m.commitment = Commitment.fromProto(proto.commitment);\n }\n if (proto.fieldMask) {\n m.fieldMask = FieldMask.fromProto(proto.fieldMask);\n }\n if (proto.strategy) {\n m.strategy = enumStringToValue$e(BillingStrategy, proto.strategy);\n }\n if (proto.volumeCommitment) {\n m.volumeCommitment = parseInt(proto.volumeCommitment, 10);\n }\n if (proto.volumeCommitmentStartsAt) {\n m.volumeCommitmentStartsAt = new Date(proto.volumeCommitmentStartsAt);\n }\n if (proto.volumeCommitmentEndsAt) {\n m.volumeCommitmentEndsAt = new Date(proto.volumeCommitmentEndsAt);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pricingPlanId !== 'undefined') {\n toReturn['pricingPlanId'] = this.pricingPlanId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.frequency !== 'undefined') {\n toReturn['frequency'] = this.frequency;\n }\n if (typeof this.pricing !== 'undefined' && this.pricing !== null) {\n toReturn['pricing'] = 'toApiJson' in this.pricing ? this.pricing.toApiJson() : this.pricing;\n }\n if (typeof this.commitment !== 'undefined' && this.commitment !== null) {\n toReturn['commitment'] = 'toApiJson' in this.commitment ? this.commitment.toApiJson() : this.commitment;\n }\n if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {\n toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;\n }\n if (typeof this.strategy !== 'undefined') {\n toReturn['strategy'] = this.strategy;\n }\n if (typeof this.volumeCommitment !== 'undefined') {\n toReturn['volumeCommitment'] = this.volumeCommitment;\n }\n if (typeof this.volumeCommitmentStartsAt !== 'undefined' && this.volumeCommitmentStartsAt !== null) {\n toReturn['volumeCommitmentStartsAt'] = 'toApiJson' in this.volumeCommitmentStartsAt ? this.volumeCommitmentStartsAt.toApiJson() : this.volumeCommitmentStartsAt;\n }\n if (typeof this.volumeCommitmentEndsAt !== 'undefined' && this.volumeCommitmentEndsAt !== null) {\n toReturn['volumeCommitmentEndsAt'] = 'toApiJson' in this.volumeCommitmentEndsAt ? this.volumeCommitmentEndsAt.toApiJson() : this.volumeCommitmentEndsAt;\n }\n return toReturn;\n }\n}\nclass UpdatePricingPlanProductResponse {\n static fromProto(proto) {\n let m = new UpdatePricingPlanProductResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n return toReturn;\n }\n}\nclass UpsertWholesalePricingRequest {\n static fromProto(proto) {\n let m = new UpsertWholesalePricingRequest();\n m = Object.assign(m, proto);\n if (proto.pricing) {\n m.pricing = proto.pricing.map(PricingPlanProductPricing.fromProto);\n }\n if (proto.termCommitment) {\n m.termCommitment = Commitment.fromProto(proto.termCommitment);\n }\n if (proto.strategy) {\n m.strategy = enumStringToValue$e(BillingStrategy, proto.strategy);\n }\n if (proto.volumeCommitment) {\n m.volumeCommitment = parseInt(proto.volumeCommitment, 10);\n }\n if (proto.volumeCommitmentStartsAt) {\n m.volumeCommitmentStartsAt = new Date(proto.volumeCommitmentStartsAt);\n }\n if (proto.volumeCommitmentEndsAt) {\n m.volumeCommitmentEndsAt = new Date(proto.volumeCommitmentEndsAt);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pricingPlanId !== 'undefined') {\n toReturn['pricingPlanId'] = this.pricingPlanId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.pricing !== 'undefined' && this.pricing !== null) {\n toReturn['pricing'] = 'toApiJson' in this.pricing ? this.pricing.toApiJson() : this.pricing;\n }\n if (typeof this.termCommitment !== 'undefined' && this.termCommitment !== null) {\n toReturn['termCommitment'] = 'toApiJson' in this.termCommitment ? this.termCommitment.toApiJson() : this.termCommitment;\n }\n if (typeof this.strategy !== 'undefined') {\n toReturn['strategy'] = this.strategy;\n }\n if (typeof this.volumeCommitment !== 'undefined') {\n toReturn['volumeCommitment'] = this.volumeCommitment;\n }\n if (typeof this.volumeCommitmentStartsAt !== 'undefined' && this.volumeCommitmentStartsAt !== null) {\n toReturn['volumeCommitmentStartsAt'] = 'toApiJson' in this.volumeCommitmentStartsAt ? this.volumeCommitmentStartsAt.toApiJson() : this.volumeCommitmentStartsAt;\n }\n if (typeof this.volumeCommitmentEndsAt !== 'undefined' && this.volumeCommitmentEndsAt !== null) {\n toReturn['volumeCommitmentEndsAt'] = 'toApiJson' in this.volumeCommitmentEndsAt ? this.volumeCommitmentEndsAt.toApiJson() : this.volumeCommitmentEndsAt;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$d(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass CreateProductRequest {\n static fromProto(proto) {\n let m = new CreateProductRequest();\n m = Object.assign(m, proto);\n if (proto.productType) {\n m.productType = enumStringToValue$d(ProductType, proto.productType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.productId !== 'undefined') {\n toReturn['productId'] = this.productId;\n }\n if (typeof this.editionId !== 'undefined') {\n toReturn['editionId'] = this.editionId;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.reportingCode !== 'undefined') {\n toReturn['reportingCode'] = this.reportingCode;\n }\n if (typeof this.productType !== 'undefined') {\n toReturn['productType'] = this.productType;\n }\n if (typeof this.metered !== 'undefined') {\n toReturn['metered'] = this.metered;\n }\n return toReturn;\n }\n}\nclass DeleteProductRequest {\n static fromProto(proto) {\n let m = new DeleteProductRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n return toReturn;\n }\n}\nclass GetMultiProductRequest {\n static fromProto(proto) {\n let m = new GetMultiProductRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.skus !== 'undefined') {\n toReturn['skus'] = this.skus;\n }\n return toReturn;\n }\n}\nclass GetMultiProductResponse {\n static fromProto(proto) {\n let m = new GetMultiProductResponse();\n m = Object.assign(m, proto);\n if (proto.products) {\n m.products = Object.keys(proto.products).reduce((obj, k) => {\n obj[k] = Product.fromProto(proto.products[k]);\n return obj;\n }, {});\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.products !== 'undefined' && this.products !== null) {\n toReturn['products'] = 'toApiJson' in this.products ? this.products.toApiJson() : this.products;\n }\n return toReturn;\n }\n}\nclass ListProductsRequestListProductsFilters {\n static fromProto(proto) {\n let m = new ListProductsRequestListProductsFilters();\n m = Object.assign(m, proto);\n if (proto.productType) {\n m.productType = proto.productType.map(v => enumStringToValue$d(ProductType, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.hasDiscount !== 'undefined') {\n toReturn['hasDiscount'] = this.hasDiscount;\n }\n if (typeof this.hasPricingOverride !== 'undefined') {\n toReturn['hasPricingOverride'] = this.hasPricingOverride;\n }\n if (typeof this.productType !== 'undefined') {\n toReturn['productType'] = this.productType;\n }\n if (typeof this.skus !== 'undefined') {\n toReturn['skus'] = this.skus;\n }\n return toReturn;\n }\n}\nclass ListProductsRequest {\n static fromProto(proto) {\n let m = new ListProductsRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListProductsRequestListProductsFilters.fromProto(proto.filters);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.searchTerm !== 'undefined') {\n toReturn['searchTerm'] = this.searchTerm;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass ListProductsResponse {\n static fromProto(proto) {\n let m = new ListProductsResponse();\n m = Object.assign(m, proto);\n if (proto.products) {\n m.products = proto.products.map(Product.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.products !== 'undefined' && this.products !== null) {\n toReturn['products'] = 'toApiJson' in this.products ? this.products.toApiJson() : this.products;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass Product {\n static fromProto(proto) {\n let m = new Product();\n m = Object.assign(m, proto);\n if (proto.productType) {\n m.productType = enumStringToValue$d(ProductType, proto.productType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.iconUrl !== 'undefined') {\n toReturn['iconUrl'] = this.iconUrl;\n }\n if (typeof this.hasPricingOverride !== 'undefined') {\n toReturn['hasPricingOverride'] = this.hasPricingOverride;\n }\n if (typeof this.hasDiscount !== 'undefined') {\n toReturn['hasDiscount'] = this.hasDiscount;\n }\n if (typeof this.productType !== 'undefined') {\n toReturn['productType'] = this.productType;\n }\n if (typeof this.metered !== 'undefined') {\n toReturn['metered'] = this.metered;\n }\n return toReturn;\n }\n}\nclass GetMultiProductResponseProductsEntry {\n static fromProto(proto) {\n let m = new GetMultiProductResponseProductsEntry();\n m = Object.assign(m, proto);\n if (proto.value) {\n m.value = Product.fromProto(proto.value);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined' && this.value !== null) {\n toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;\n }\n return toReturn;\n }\n}\nclass UpdateProductRequest {\n static fromProto(proto) {\n let m = new UpdateProductRequest();\n m = Object.assign(m, proto);\n if (proto.productType) {\n m.productType = enumStringToValue$d(ProductType, proto.productType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.reportingCode !== 'undefined') {\n toReturn['reportingCode'] = this.reportingCode;\n }\n if (typeof this.productType !== 'undefined') {\n toReturn['productType'] = this.productType;\n }\n if (typeof this.metered !== 'undefined') {\n toReturn['metered'] = this.metered;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$c(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass AppliedCredit {\n static fromProto(proto) {\n let m = new AppliedCredit();\n m = Object.assign(m, proto);\n if (proto.appliedAmount) {\n m.appliedAmount = parseInt(proto.appliedAmount, 10);\n }\n if (proto.referenceType) {\n m.referenceType = enumStringToValue$c(CreditType, proto.referenceType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.appliedAmount !== 'undefined') {\n toReturn['appliedAmount'] = this.appliedAmount;\n }\n if (typeof this.referenceId !== 'undefined') {\n toReturn['referenceId'] = this.referenceId;\n }\n if (typeof this.referenceType !== 'undefined') {\n toReturn['referenceType'] = this.referenceType;\n }\n return toReturn;\n }\n}\nclass ListPurchaseRequestListPurchaseBillingStrategyFilter {\n static fromProto(proto) {\n let m = new ListPurchaseRequestListPurchaseBillingStrategyFilter();\n m = Object.assign(m, proto);\n if (proto.billingStrategy) {\n m.billingStrategy = proto.billingStrategy.map(v => enumStringToValue$c(BillingStrategy, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.billingStrategy !== 'undefined') {\n toReturn['billingStrategy'] = this.billingStrategy;\n }\n return toReturn;\n }\n}\nclass ListPurchaseRequestListPurchaseFilters {\n static fromProto(proto) {\n let m = new ListPurchaseRequestListPurchaseFilters();\n m = Object.assign(m, proto);\n if (proto.start) {\n m.start = new Date(proto.start);\n }\n if (proto.end) {\n m.end = new Date(proto.end);\n }\n if (proto.billingStrategyFilter) {\n m.billingStrategyFilter = ListPurchaseRequestListPurchaseBillingStrategyFilter.fromProto(proto.billingStrategyFilter);\n }\n if (proto.state) {\n m.state = enumStringToValue$c(ListPurchaseRequestState, proto.state);\n }\n if (proto.minPrice) {\n m.minPrice = parseInt(proto.minPrice, 10);\n }\n if (proto.status) {\n m.status = enumStringToValue$c(PurchaseStatus, proto.status);\n }\n if (proto.dunningPauseStart) {\n m.dunningPauseStart = new Date(proto.dunningPauseStart);\n }\n if (proto.dunningPauseEnd) {\n m.dunningPauseEnd = new Date(proto.dunningPauseEnd);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.purchaseId !== 'undefined') {\n toReturn['purchaseId'] = this.purchaseId;\n }\n if (typeof this.start !== 'undefined' && this.start !== null) {\n toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;\n }\n if (typeof this.end !== 'undefined' && this.end !== null) {\n toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;\n }\n if (typeof this.billingStrategyFilter !== 'undefined' && this.billingStrategyFilter !== null) {\n toReturn['billingStrategyFilter'] = 'toApiJson' in this.billingStrategyFilter ? this.billingStrategyFilter.toApiJson() : this.billingStrategyFilter;\n }\n if (typeof this.state !== 'undefined') {\n toReturn['state'] = this.state;\n }\n if (typeof this.minPrice !== 'undefined') {\n toReturn['minPrice'] = this.minPrice;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.includeVoided !== 'undefined') {\n toReturn['includeVoided'] = this.includeVoided;\n }\n if (typeof this.dunningPauseStart !== 'undefined' && this.dunningPauseStart !== null) {\n toReturn['dunningPauseStart'] = 'toApiJson' in this.dunningPauseStart ? this.dunningPauseStart.toApiJson() : this.dunningPauseStart;\n }\n if (typeof this.dunningPauseEnd !== 'undefined' && this.dunningPauseEnd !== null) {\n toReturn['dunningPauseEnd'] = 'toApiJson' in this.dunningPauseEnd ? this.dunningPauseEnd.toApiJson() : this.dunningPauseEnd;\n }\n return toReturn;\n }\n}\nclass ListPurchaseItemsRequestListPurchaseItemsFilters {\n static fromProto(proto) {\n let m = new ListPurchaseItemsRequestListPurchaseItemsFilters();\n m = Object.assign(m, proto);\n if (proto.start) {\n m.start = new Date(proto.start);\n }\n if (proto.end) {\n m.end = new Date(proto.end);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.start !== 'undefined' && this.start !== null) {\n toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;\n }\n if (typeof this.end !== 'undefined' && this.end !== null) {\n toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;\n }\n return toReturn;\n }\n}\nclass ListPurchaseItemsRequest {\n static fromProto(proto) {\n let m = new ListPurchaseItemsRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListPurchaseItemsRequestListPurchaseItemsFilters.fromProto(proto.filters);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass ListPurchaseItemsResponse {\n static fromProto(proto) {\n let m = new ListPurchaseItemsResponse();\n m = Object.assign(m, proto);\n if (proto.purchaseItems) {\n m.purchaseItems = proto.purchaseItems.map(PurchaseItem.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n if (proto.currency) {\n m.currency = enumStringToValue$c(Currency, proto.currency);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.purchaseItems !== 'undefined' && this.purchaseItems !== null) {\n toReturn['purchaseItems'] = 'toApiJson' in this.purchaseItems ? this.purchaseItems.toApiJson() : this.purchaseItems;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n return toReturn;\n }\n}\nclass ListPurchaseRequest {\n static fromProto(proto) {\n let m = new ListPurchaseRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListPurchaseRequestListPurchaseFilters.fromProto(proto.filters);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass ListPurchaseResponse {\n static fromProto(proto) {\n let m = new ListPurchaseResponse();\n m = Object.assign(m, proto);\n if (proto.purchases) {\n m.purchases = proto.purchases.map(Purchase.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.purchases !== 'undefined' && this.purchases !== null) {\n toReturn['purchases'] = 'toApiJson' in this.purchases ? this.purchases.toApiJson() : this.purchases;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass PauseDunningRequest {\n static fromProto(proto) {\n let m = new PauseDunningRequest();\n m = Object.assign(m, proto);\n if (proto.pauseDunningUntil) {\n m.pauseDunningUntil = new Date(proto.pauseDunningUntil);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.purchaseId !== 'undefined') {\n toReturn['purchaseId'] = this.purchaseId;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.day !== 'undefined') {\n toReturn['day'] = this.day;\n }\n if (typeof this.pauseDunningUntil !== 'undefined' && this.pauseDunningUntil !== null) {\n toReturn['pauseDunningUntil'] = 'toApiJson' in this.pauseDunningUntil ? this.pauseDunningUntil.toApiJson() : this.pauseDunningUntil;\n }\n return toReturn;\n }\n}\nclass Purchase {\n static fromProto(proto) {\n let m = new Purchase();\n m = Object.assign(m, proto);\n if (proto.timestamp) {\n m.timestamp = new Date(proto.timestamp);\n }\n if (proto.total) {\n m.total = parseInt(proto.total, 10);\n }\n if (proto.currency) {\n m.currency = enumStringToValue$c(Currency, proto.currency);\n }\n if (proto.items) {\n m.items = proto.items.map(PurchaseItem.fromProto);\n }\n if (proto.billingStrategy) {\n m.billingStrategy = enumStringToValue$c(BillingStrategy, proto.billingStrategy);\n }\n if (proto.dunningAttempt) {\n m.dunningAttempt = parseInt(proto.dunningAttempt, 10);\n }\n if (proto.voided) {\n m.voided = new Date(proto.voided);\n }\n if (proto.status) {\n m.status = enumStringToValue$c(PurchaseStatus, proto.status);\n }\n if (proto.creditAmount) {\n m.creditAmount = parseInt(proto.creditAmount, 10);\n }\n if (proto.appliedCredits) {\n m.appliedCredits = proto.appliedCredits.map(AppliedCredit.fromProto);\n }\n if (proto.taxAmount) {\n m.taxAmount = parseInt(proto.taxAmount, 10);\n }\n if (proto.appliedTaxRates) {\n m.appliedTaxRates = proto.appliedTaxRates.map(AppliedTaxRate.fromProto);\n }\n if (proto.pauseDunningUntil) {\n m.pauseDunningUntil = new Date(proto.pauseDunningUntil);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.timestamp !== 'undefined' && this.timestamp !== null) {\n toReturn['timestamp'] = 'toApiJson' in this.timestamp ? this.timestamp.toApiJson() : this.timestamp;\n }\n if (typeof this.purchaseId !== 'undefined') {\n toReturn['purchaseId'] = this.purchaseId;\n }\n if (typeof this.total !== 'undefined') {\n toReturn['total'] = this.total;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n if (typeof this.renewal !== 'undefined') {\n toReturn['renewal'] = this.renewal;\n }\n if (typeof this.items !== 'undefined' && this.items !== null) {\n toReturn['items'] = 'toApiJson' in this.items ? this.items.toApiJson() : this.items;\n }\n if (typeof this.billingStrategy !== 'undefined') {\n toReturn['billingStrategy'] = this.billingStrategy;\n }\n if (typeof this.isDunning !== 'undefined') {\n toReturn['isDunning'] = this.isDunning;\n }\n if (typeof this.dunningAttempt !== 'undefined') {\n toReturn['dunningAttempt'] = this.dunningAttempt;\n }\n if (typeof this.voided !== 'undefined' && this.voided !== null) {\n toReturn['voided'] = 'toApiJson' in this.voided ? this.voided.toApiJson() : this.voided;\n }\n if (typeof this.paid !== 'undefined') {\n toReturn['paid'] = this.paid;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.creditAmount !== 'undefined') {\n toReturn['creditAmount'] = this.creditAmount;\n }\n if (typeof this.appliedCredits !== 'undefined' && this.appliedCredits !== null) {\n toReturn['appliedCredits'] = 'toApiJson' in this.appliedCredits ? this.appliedCredits.toApiJson() : this.appliedCredits;\n }\n if (typeof this.taxAmount !== 'undefined') {\n toReturn['taxAmount'] = this.taxAmount;\n }\n if (typeof this.appliedTaxRates !== 'undefined' && this.appliedTaxRates !== null) {\n toReturn['appliedTaxRates'] = 'toApiJson' in this.appliedTaxRates ? this.appliedTaxRates.toApiJson() : this.appliedTaxRates;\n }\n if (typeof this.pauseDunningUntil !== 'undefined' && this.pauseDunningUntil !== null) {\n toReturn['pauseDunningUntil'] = 'toApiJson' in this.pauseDunningUntil ? this.pauseDunningUntil.toApiJson() : this.pauseDunningUntil;\n }\n return toReturn;\n }\n}\nclass PurchaseItem {\n static fromProto(proto) {\n let m = new PurchaseItem();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.discountAmount) {\n m.discountAmount = parseInt(proto.discountAmount, 10);\n }\n if (proto.total) {\n m.total = parseInt(proto.total, 10);\n }\n if (proto.appliedDiscounts) {\n m.appliedDiscounts = proto.appliedDiscounts.map(AppliedDiscount.fromProto);\n }\n if (proto.taxAmount) {\n m.taxAmount = parseInt(proto.taxAmount, 10);\n }\n if (proto.appliedTaxRates) {\n m.appliedTaxRates = proto.appliedTaxRates.map(AppliedTaxRate.fromProto);\n }\n if (proto.setupFee) {\n m.setupFee = parseInt(proto.setupFee, 10);\n }\n if (proto.feeAmount) {\n m.feeAmount = parseInt(proto.feeAmount, 10);\n }\n if (proto.appliedFees) {\n m.appliedFees = proto.appliedFees.map(AppliedFee.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.orderId !== 'undefined') {\n toReturn['orderId'] = this.orderId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.discountAmount !== 'undefined') {\n toReturn['discountAmount'] = this.discountAmount;\n }\n if (typeof this.total !== 'undefined') {\n toReturn['total'] = this.total;\n }\n if (typeof this.appliedDiscounts !== 'undefined' && this.appliedDiscounts !== null) {\n toReturn['appliedDiscounts'] = 'toApiJson' in this.appliedDiscounts ? this.appliedDiscounts.toApiJson() : this.appliedDiscounts;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.day !== 'undefined') {\n toReturn['day'] = this.day;\n }\n if (typeof this.purchaseId !== 'undefined') {\n toReturn['purchaseId'] = this.purchaseId;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.taxAmount !== 'undefined') {\n toReturn['taxAmount'] = this.taxAmount;\n }\n if (typeof this.appliedTaxRates !== 'undefined' && this.appliedTaxRates !== null) {\n toReturn['appliedTaxRates'] = 'toApiJson' in this.appliedTaxRates ? this.appliedTaxRates.toApiJson() : this.appliedTaxRates;\n }\n if (typeof this.setupFee !== 'undefined') {\n toReturn['setupFee'] = this.setupFee;\n }\n if (typeof this.feeAmount !== 'undefined') {\n toReturn['feeAmount'] = this.feeAmount;\n }\n if (typeof this.appliedFees !== 'undefined' && this.appliedFees !== null) {\n toReturn['appliedFees'] = 'toApiJson' in this.appliedFees ? this.appliedFees.toApiJson() : this.appliedFees;\n }\n return toReturn;\n }\n}\nclass ResumeDunningRequest {\n static fromProto(proto) {\n let m = new ResumeDunningRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.purchaseId !== 'undefined') {\n toReturn['purchaseId'] = this.purchaseId;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.day !== 'undefined') {\n toReturn['day'] = this.day;\n }\n return toReturn;\n }\n}\nclass RetryPurchaseRequest {\n static fromProto(proto) {\n let m = new RetryPurchaseRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.purchaseId !== 'undefined') {\n toReturn['purchaseId'] = this.purchaseId;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.day !== 'undefined') {\n toReturn['day'] = this.day;\n }\n if (typeof this.shouldEnterDunning !== 'undefined') {\n toReturn['shouldEnterDunning'] = this.shouldEnterDunning;\n }\n return toReturn;\n }\n}\nclass StopDunningRequest {\n static fromProto(proto) {\n let m = new StopDunningRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.purchaseId !== 'undefined') {\n toReturn['purchaseId'] = this.purchaseId;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.day !== 'undefined') {\n toReturn['day'] = this.day;\n }\n return toReturn;\n }\n}\nclass VoidPurchaseRequest {\n static fromProto(proto) {\n let m = new VoidPurchaseRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.purchaseId !== 'undefined') {\n toReturn['purchaseId'] = this.purchaseId;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.day !== 'undefined') {\n toReturn['day'] = this.day;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$b(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass CreateRefundRequest {\n static fromProto(proto) {\n let m = new CreateRefundRequest();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.reason) {\n m.reason = enumStringToValue$b(RefundReason, proto.reason);\n }\n if (proto.referenceType) {\n m.referenceType = enumStringToValue$b(ReferenceType, proto.referenceType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.paymentId !== 'undefined') {\n toReturn['paymentId'] = this.paymentId;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.reason !== 'undefined') {\n toReturn['reason'] = this.reason;\n }\n if (typeof this.referenceType !== 'undefined') {\n toReturn['referenceType'] = this.referenceType;\n }\n if (typeof this.referenceId !== 'undefined') {\n toReturn['referenceId'] = this.referenceId;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n return toReturn;\n }\n}\nclass ListRefundsRequest {\n static fromProto(proto) {\n let m = new ListRefundsRequest();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.paymentIds !== 'undefined') {\n toReturn['paymentIds'] = this.paymentIds;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass ListRefundsResponse {\n static fromProto(proto) {\n let m = new ListRefundsResponse();\n m = Object.assign(m, proto);\n if (proto.refunds) {\n m.refunds = proto.refunds.map(Refund.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.refunds !== 'undefined' && this.refunds !== null) {\n toReturn['refunds'] = 'toApiJson' in this.refunds ? this.refunds.toApiJson() : this.refunds;\n }\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nclass Refund {\n static fromProto(proto) {\n let m = new Refund();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n if (proto.reason) {\n m.reason = enumStringToValue$b(RefundReason, proto.reason);\n }\n if (proto.status) {\n m.status = enumStringToValue$b(RefundStatus, proto.status);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.referenceType) {\n m.referenceType = enumStringToValue$b(ReferenceType, proto.referenceType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.chargeId !== 'undefined') {\n toReturn['chargeId'] = this.chargeId;\n }\n if (typeof this.refundId !== 'undefined') {\n toReturn['refundId'] = this.refundId;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.email !== 'undefined') {\n toReturn['email'] = this.email;\n }\n if (typeof this.reason !== 'undefined') {\n toReturn['reason'] = this.reason;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.referenceType !== 'undefined') {\n toReturn['referenceType'] = this.referenceType;\n }\n if (typeof this.referenceId !== 'undefined') {\n toReturn['referenceId'] = this.referenceId;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$a(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass CreateSalesCreditNoteRequest {\n static fromProto(proto) {\n let m = new CreateSalesCreditNoteRequest();\n m = Object.assign(m, proto);\n if (proto.creditNoteDate) {\n m.creditNoteDate = new Date(proto.creditNoteDate);\n }\n if (proto.dueDate) {\n m.dueDate = new Date(proto.dueDate);\n }\n if (proto.total) {\n m.total = parseInt(proto.total, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.creditNoteReason !== 'undefined') {\n toReturn['creditNoteReason'] = this.creditNoteReason;\n }\n if (typeof this.creditNoteDate !== 'undefined' && this.creditNoteDate !== null) {\n toReturn['creditNoteDate'] = 'toApiJson' in this.creditNoteDate ? this.creditNoteDate.toApiJson() : this.creditNoteDate;\n }\n if (typeof this.dueDate !== 'undefined' && this.dueDate !== null) {\n toReturn['dueDate'] = 'toApiJson' in this.dueDate ? this.dueDate.toApiJson() : this.dueDate;\n }\n if (typeof this.total !== 'undefined') {\n toReturn['total'] = this.total;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n return toReturn;\n }\n}\nclass ListSalesCreditNoteRequestListSalesCreditNoteFilters {\n static fromProto(proto) {\n let m = new ListSalesCreditNoteRequestListSalesCreditNoteFilters();\n m = Object.assign(m, proto);\n if (proto.statuses) {\n m.statuses = proto.statuses.map(v => enumStringToValue$a(SalesCreditNoteStatus, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.statuses !== 'undefined') {\n toReturn['statuses'] = this.statuses;\n }\n return toReturn;\n }\n}\nclass ListSalesCreditNoteRequest {\n static fromProto(proto) {\n let m = new ListSalesCreditNoteRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListSalesCreditNoteRequestListSalesCreditNoteFilters.fromProto(proto.filters);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass ListSalesCreditNoteResponse {\n static fromProto(proto) {\n let m = new ListSalesCreditNoteResponse();\n m = Object.assign(m, proto);\n if (proto.creditNote) {\n m.creditNote = proto.creditNote.map(SalesCreditNote.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.creditNote !== 'undefined' && this.creditNote !== null) {\n toReturn['creditNote'] = 'toApiJson' in this.creditNote ? this.creditNote.toApiJson() : this.creditNote;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass SalesCreditNote {\n static fromProto(proto) {\n let m = new SalesCreditNote();\n m = Object.assign(m, proto);\n if (proto.creditNoteDate) {\n m.creditNoteDate = new Date(proto.creditNoteDate);\n }\n if (proto.dueDate) {\n m.dueDate = new Date(proto.dueDate);\n }\n if (proto.currency) {\n m.currency = enumStringToValue$a(Currency, proto.currency);\n }\n if (proto.total) {\n m.total = parseInt(proto.total, 10);\n }\n if (proto.outstanding) {\n m.outstanding = parseInt(proto.outstanding, 10);\n }\n if (proto.status) {\n m.status = enumStringToValue$a(SalesCreditNoteStatus, proto.status);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.creditNoteId !== 'undefined') {\n toReturn['creditNoteId'] = this.creditNoteId;\n }\n if (typeof this.creditNoteNumber !== 'undefined') {\n toReturn['creditNoteNumber'] = this.creditNoteNumber;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.creditNoteReason !== 'undefined') {\n toReturn['creditNoteReason'] = this.creditNoteReason;\n }\n if (typeof this.creditNoteDate !== 'undefined' && this.creditNoteDate !== null) {\n toReturn['creditNoteDate'] = 'toApiJson' in this.creditNoteDate ? this.creditNoteDate.toApiJson() : this.creditNoteDate;\n }\n if (typeof this.dueDate !== 'undefined' && this.dueDate !== null) {\n toReturn['dueDate'] = 'toApiJson' in this.dueDate ? this.dueDate.toApiJson() : this.dueDate;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n if (typeof this.total !== 'undefined') {\n toReturn['total'] = this.total;\n }\n if (typeof this.outstanding !== 'undefined') {\n toReturn['outstanding'] = this.outstanding;\n }\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n if (typeof this.invoiceNumber !== 'undefined') {\n toReturn['invoiceNumber'] = this.invoiceNumber;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.paymentStatus !== 'undefined') {\n toReturn['paymentStatus'] = this.paymentStatus;\n }\n if (typeof this.externalId !== 'undefined') {\n toReturn['externalId'] = this.externalId;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$9(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass GetSalesInvoiceRequest {\n static fromProto(proto) {\n let m = new GetSalesInvoiceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass GetSalesInvoiceResponse {\n static fromProto(proto) {\n let m = new GetSalesInvoiceResponse();\n m = Object.assign(m, proto);\n if (proto.invoice) {\n m.invoice = SalesInvoice.fromProto(proto.invoice);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoice !== 'undefined' && this.invoice !== null) {\n toReturn['invoice'] = 'toApiJson' in this.invoice ? this.invoice.toApiJson() : this.invoice;\n }\n return toReturn;\n }\n}\nclass ListSalesInvoiceRequestListSalesInvoiceFilters {\n static fromProto(proto) {\n let m = new ListSalesInvoiceRequestListSalesInvoiceFilters();\n m = Object.assign(m, proto);\n if (proto.statuses) {\n m.statuses = proto.statuses.map(v => enumStringToValue$9(SalesInvoiceStatus, v));\n }\n if (proto.paymentStatuses) {\n m.paymentStatuses = proto.paymentStatuses.map(v => enumStringToValue$9(PaymentStatuses, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.statuses !== 'undefined') {\n toReturn['statuses'] = this.statuses;\n }\n if (typeof this.paymentStatuses !== 'undefined') {\n toReturn['paymentStatuses'] = this.paymentStatuses;\n }\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n return toReturn;\n }\n}\nclass ListSalesInvoiceRequest {\n static fromProto(proto) {\n let m = new ListSalesInvoiceRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListSalesInvoiceRequestListSalesInvoiceFilters.fromProto(proto.filters);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n if (typeof this.searchTerm !== 'undefined') {\n toReturn['searchTerm'] = this.searchTerm;\n }\n return toReturn;\n }\n}\nclass ListSalesInvoiceResponse {\n static fromProto(proto) {\n let m = new ListSalesInvoiceResponse();\n m = Object.assign(m, proto);\n if (proto.invoice) {\n m.invoice = proto.invoice.map(SalesInvoice.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoice !== 'undefined' && this.invoice !== null) {\n toReturn['invoice'] = 'toApiJson' in this.invoice ? this.invoice.toApiJson() : this.invoice;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass PostSalesInvoiceRequest {\n static fromProto(proto) {\n let m = new PostSalesInvoiceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n return toReturn;\n }\n}\nclass SalesInvoice {\n static fromProto(proto) {\n let m = new SalesInvoice();\n m = Object.assign(m, proto);\n if (proto.invoiceDate) {\n m.invoiceDate = new Date(proto.invoiceDate);\n }\n if (proto.startDate) {\n m.startDate = new Date(proto.startDate);\n }\n if (proto.endDate) {\n m.endDate = new Date(proto.endDate);\n }\n if (proto.dueDate) {\n m.dueDate = new Date(proto.dueDate);\n }\n if (proto.total) {\n m.total = parseInt(proto.total, 10);\n }\n if (proto.currency) {\n m.currency = enumStringToValue$9(Currency, proto.currency);\n }\n if (proto.status) {\n m.status = enumStringToValue$9(SalesInvoiceStatus, proto.status);\n }\n if (proto.outstanding) {\n m.outstanding = parseInt(proto.outstanding, 10);\n }\n if (proto.type) {\n m.type = enumStringToValue$9(SalesInvoiceType, proto.type);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n if (typeof this.invoiceNumber !== 'undefined') {\n toReturn['invoiceNumber'] = this.invoiceNumber;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.invoiceDate !== 'undefined' && this.invoiceDate !== null) {\n toReturn['invoiceDate'] = 'toApiJson' in this.invoiceDate ? this.invoiceDate.toApiJson() : this.invoiceDate;\n }\n if (typeof this.startDate !== 'undefined' && this.startDate !== null) {\n toReturn['startDate'] = 'toApiJson' in this.startDate ? this.startDate.toApiJson() : this.startDate;\n }\n if (typeof this.endDate !== 'undefined' && this.endDate !== null) {\n toReturn['endDate'] = 'toApiJson' in this.endDate ? this.endDate.toApiJson() : this.endDate;\n }\n if (typeof this.dueDate !== 'undefined' && this.dueDate !== null) {\n toReturn['dueDate'] = 'toApiJson' in this.dueDate ? this.dueDate.toApiJson() : this.dueDate;\n }\n if (typeof this.total !== 'undefined') {\n toReturn['total'] = this.total;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.paymentStatus !== 'undefined') {\n toReturn['paymentStatus'] = this.paymentStatus;\n }\n if (typeof this.outstanding !== 'undefined') {\n toReturn['outstanding'] = this.outstanding;\n }\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.externalId !== 'undefined') {\n toReturn['externalId'] = this.externalId;\n }\n return toReturn;\n }\n}\nclass SendSalesInvoiceEmailRequest {\n static fromProto(proto) {\n let m = new SendSalesInvoiceEmailRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n return toReturn;\n }\n}\nclass SendSalesInvoiceReceiptEmailRequest {\n static fromProto(proto) {\n let m = new SendSalesInvoiceReceiptEmailRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.invoiceId !== 'undefined') {\n toReturn['invoiceId'] = this.invoiceId;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$8(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ContractDocument {\n static fromProto(proto) {\n let m = new ContractDocument();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.filename !== 'undefined') {\n toReturn['filename'] = this.filename;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n return toReturn;\n }\n}\nclass DeleteContractDocumentRequest {\n static fromProto(proto) {\n let m = new DeleteContractDocumentRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n return toReturn;\n }\n}\nclass ListContractDocumentsRequestFilters {\n static fromProto(proto) {\n let m = new ListContractDocumentsRequestFilters();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass ListContractDocumentsRequest {\n static fromProto(proto) {\n let m = new ListContractDocumentsRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListContractDocumentsRequestFilters.fromProto(proto.filters);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass ListContractDocumentsResponse {\n static fromProto(proto) {\n let m = new ListContractDocumentsResponse();\n m = Object.assign(m, proto);\n if (proto.contractDocuments) {\n m.contractDocuments = proto.contractDocuments.map(ContractDocument.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.contractDocuments !== 'undefined' && this.contractDocuments !== null) {\n toReturn['contractDocuments'] = 'toApiJson' in this.contractDocuments ? this.contractDocuments.toApiJson() : this.contractDocuments;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$7(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass GetRetailCustomerConfigurationRequest {\n static fromProto(proto) {\n let m = new GetRetailCustomerConfigurationRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass GetRetailCustomerConfigurationResponse {\n static fromProto(proto) {\n let m = new GetRetailCustomerConfigurationResponse();\n m = Object.assign(m, proto);\n if (proto.configuration) {\n m.configuration = RetailCustomerConfiguration.fromProto(proto.configuration);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.configuration !== 'undefined' && this.configuration !== null) {\n toReturn['configuration'] = 'toApiJson' in this.configuration ? this.configuration.toApiJson() : this.configuration;\n }\n return toReturn;\n }\n}\nclass RetailCustomerConfiguration {\n static fromProto(proto) {\n let m = new RetailCustomerConfiguration();\n m = Object.assign(m, proto);\n if (proto.invoiceDay) {\n m.invoiceDay = parseInt(proto.invoiceDay, 10);\n }\n if (proto.nextInvoiceDate) {\n m.nextInvoiceDate = new Date(proto.nextInvoiceDate);\n }\n if (proto.netD) {\n m.netD = parseInt(proto.netD, 10);\n }\n if (proto.paymentMethodTypes) {\n m.paymentMethodTypes = proto.paymentMethodTypes.map(v => enumStringToValue$7(PaymentMethodType, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.invoiceDay !== 'undefined') {\n toReturn['invoiceDay'] = this.invoiceDay;\n }\n if (typeof this.nextInvoiceDate !== 'undefined' && this.nextInvoiceDate !== null) {\n toReturn['nextInvoiceDate'] = 'toApiJson' in this.nextInvoiceDate ? this.nextInvoiceDate.toApiJson() : this.nextInvoiceDate;\n }\n if (typeof this.autoPost !== 'undefined') {\n toReturn['autoPost'] = this.autoPost;\n }\n if (typeof this.collectionMethod !== 'undefined') {\n toReturn['collectionMethod'] = this.collectionMethod;\n }\n if (typeof this.netD !== 'undefined') {\n toReturn['netD'] = this.netD;\n }\n if (typeof this.autoGenerate !== 'undefined') {\n toReturn['autoGenerate'] = this.autoGenerate;\n }\n if (typeof this.contactId !== 'undefined') {\n toReturn['contactId'] = this.contactId;\n }\n if (typeof this.useTemplateInvoice !== 'undefined') {\n toReturn['useTemplateInvoice'] = this.useTemplateInvoice;\n }\n if (typeof this.memo !== 'undefined') {\n toReturn['memo'] = this.memo;\n }\n if (typeof this.additionalContactIds !== 'undefined') {\n toReturn['additionalContactIds'] = this.additionalContactIds;\n }\n if (typeof this.autoGenerateRetailSubscriptions !== 'undefined') {\n toReturn['autoGenerateRetailSubscriptions'] = this.autoGenerateRetailSubscriptions;\n }\n if (typeof this.paymentMethodTypes !== 'undefined') {\n toReturn['paymentMethodTypes'] = this.paymentMethodTypes;\n }\n return toReturn;\n }\n}\nclass UpsertRetailCustomerConfigurationRequest {\n static fromProto(proto) {\n let m = new UpsertRetailCustomerConfigurationRequest();\n m = Object.assign(m, proto);\n if (proto.invoiceDay) {\n m.invoiceDay = parseInt(proto.invoiceDay, 10);\n }\n if (proto.netD) {\n m.netD = parseInt(proto.netD, 10);\n }\n if (proto.paymentMethodTypes) {\n m.paymentMethodTypes = proto.paymentMethodTypes.map(v => enumStringToValue$7(PaymentMethodType, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.invoiceDay !== 'undefined') {\n toReturn['invoiceDay'] = this.invoiceDay;\n }\n if (typeof this.autoPost !== 'undefined') {\n toReturn['autoPost'] = this.autoPost;\n }\n if (typeof this.netD !== 'undefined') {\n toReturn['netD'] = this.netD;\n }\n if (typeof this.autoGenerate !== 'undefined') {\n toReturn['autoGenerate'] = this.autoGenerate;\n }\n if (typeof this.contactId !== 'undefined') {\n toReturn['contactId'] = this.contactId;\n }\n if (typeof this.collectionMethod !== 'undefined') {\n toReturn['collectionMethod'] = this.collectionMethod;\n }\n if (typeof this.useTemplateInvoice !== 'undefined') {\n toReturn['useTemplateInvoice'] = this.useTemplateInvoice;\n }\n if (typeof this.memo !== 'undefined') {\n toReturn['memo'] = this.memo;\n }\n if (typeof this.additionalContactIds !== 'undefined') {\n toReturn['additionalContactIds'] = this.additionalContactIds;\n }\n if (typeof this.autoGenerateRetailSubscriptions !== 'undefined') {\n toReturn['autoGenerateRetailSubscriptions'] = this.autoGenerateRetailSubscriptions;\n }\n if (typeof this.paymentMethodTypes !== 'undefined') {\n toReturn['paymentMethodTypes'] = this.paymentMethodTypes;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$6(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass AddCreditRequest {\n static fromProto(proto) {\n let m = new AddCreditRequest();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n if (typeof this.idempotencyKey !== 'undefined') {\n toReturn['idempotencyKey'] = this.idempotencyKey;\n }\n if (typeof this.reason !== 'undefined') {\n toReturn['reason'] = this.reason;\n }\n return toReturn;\n }\n}\nclass CreditBalance {\n static fromProto(proto) {\n let m = new CreditBalance();\n m = Object.assign(m, proto);\n if (proto.amount) {\n m.amount = parseInt(proto.amount, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n if (typeof this.amount !== 'undefined') {\n toReturn['amount'] = this.amount;\n }\n return toReturn;\n }\n}\nclass GetBalanceRequest {\n static fromProto(proto) {\n let m = new GetBalanceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass GetBalanceResponse {\n static fromProto(proto) {\n let m = new GetBalanceResponse();\n m = Object.assign(m, proto);\n if (proto.creditBalance) {\n m.creditBalance = CreditBalance.fromProto(proto.creditBalance);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.creditBalance !== 'undefined' && this.creditBalance !== null) {\n toReturn['creditBalance'] = 'toApiJson' in this.creditBalance ? this.creditBalance.toApiJson() : this.creditBalance;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$5(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass RecurringInvoiceCustomerAddress {\n static fromProto(proto) {\n let m = new RecurringInvoiceCustomerAddress();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.address !== 'undefined') {\n toReturn['address'] = this.address;\n }\n if (typeof this.city !== 'undefined') {\n toReturn['city'] = this.city;\n }\n if (typeof this.state !== 'undefined') {\n toReturn['state'] = this.state;\n }\n if (typeof this.zip !== 'undefined') {\n toReturn['zip'] = this.zip;\n }\n if (typeof this.country !== 'undefined') {\n toReturn['country'] = this.country;\n }\n if (typeof this.address2 !== 'undefined') {\n toReturn['address2'] = this.address2;\n }\n return toReturn;\n }\n}\nclass ListRecurringInvoicesFiltersDateFilter {\n static fromProto(proto) {\n let m = new ListRecurringInvoicesFiltersDateFilter();\n m = Object.assign(m, proto);\n if (proto.dateLte) {\n m.dateLte = new Date(proto.dateLte);\n }\n if (proto.dateGte) {\n m.dateGte = new Date(proto.dateGte);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.dateLte !== 'undefined' && this.dateLte !== null) {\n toReturn['dateLte'] = 'toApiJson' in this.dateLte ? this.dateLte.toApiJson() : this.dateLte;\n }\n if (typeof this.dateGte !== 'undefined' && this.dateGte !== null) {\n toReturn['dateGte'] = 'toApiJson' in this.dateGte ? this.dateGte.toApiJson() : this.dateGte;\n }\n return toReturn;\n }\n}\nclass DeleteRecurringInvoiceRequest {\n static fromProto(proto) {\n let m = new DeleteRecurringInvoiceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n return toReturn;\n }\n}\nclass ListRecurringInvoicesFiltersDetailedInterval {\n static fromProto(proto) {\n let m = new ListRecurringInvoicesFiltersDetailedInterval();\n m = Object.assign(m, proto);\n if (proto.interval) {\n m.interval = enumStringToValue$5(Interval, proto.interval);\n }\n if (proto.intervalCount) {\n m.intervalCount = parseInt(proto.intervalCount, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.interval !== 'undefined') {\n toReturn['interval'] = this.interval;\n }\n if (typeof this.intervalCount !== 'undefined') {\n toReturn['intervalCount'] = this.intervalCount;\n }\n return toReturn;\n }\n}\nclass GetRecurringInvoiceRequest {\n static fromProto(proto) {\n let m = new GetRecurringInvoiceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n return toReturn;\n }\n}\nclass ListRecurringInvoicesFilters {\n static fromProto(proto) {\n let m = new ListRecurringInvoicesFilters();\n m = Object.assign(m, proto);\n if (proto.statuses) {\n m.statuses = proto.statuses.map(v => enumStringToValue$5(RecurringInvoiceStatus, v));\n }\n if (proto.intervals) {\n m.intervals = proto.intervals.map(ListRecurringInvoicesFiltersDetailedInterval.fromProto);\n }\n if (proto.nextIssuedDate) {\n m.nextIssuedDate = ListRecurringInvoicesFiltersDateFilter.fromProto(proto.nextIssuedDate);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.statuses !== 'undefined') {\n toReturn['statuses'] = this.statuses;\n }\n if (typeof this.intervals !== 'undefined' && this.intervals !== null) {\n toReturn['intervals'] = 'toApiJson' in this.intervals ? this.intervals.toApiJson() : this.intervals;\n }\n if (typeof this.nextIssuedDate !== 'undefined' && this.nextIssuedDate !== null) {\n toReturn['nextIssuedDate'] = 'toApiJson' in this.nextIssuedDate ? this.nextIssuedDate.toApiJson() : this.nextIssuedDate;\n }\n return toReturn;\n }\n}\nclass ListRecurringInvoicesRequest {\n static fromProto(proto) {\n let m = new ListRecurringInvoicesRequest();\n m = Object.assign(m, proto);\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n if (proto.filters) {\n m.filters = ListRecurringInvoicesFilters.fromProto(proto.filters);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n return toReturn;\n }\n}\nclass ListRecurringInvoicesResponse {\n static fromProto(proto) {\n let m = new ListRecurringInvoicesResponse();\n m = Object.assign(m, proto);\n if (proto.recurringInvoices) {\n m.recurringInvoices = proto.recurringInvoices.map(RecurringInvoice.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.recurringInvoices !== 'undefined' && this.recurringInvoices !== null) {\n toReturn['recurringInvoices'] = 'toApiJson' in this.recurringInvoices ? this.recurringInvoices.toApiJson() : this.recurringInvoices;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass RecurringInvoice {\n static fromProto(proto) {\n let m = new RecurringInvoice();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.status) {\n m.status = enumStringToValue$5(RecurringInvoiceStatus, proto.status);\n }\n if (proto.nextIssue) {\n m.nextIssue = new Date(proto.nextIssue);\n }\n if (proto.intervalCount) {\n m.intervalCount = parseInt(proto.intervalCount, 10);\n }\n if (proto.interval) {\n m.interval = enumStringToValue$5(Interval, proto.interval);\n }\n if (proto.repeatOnDayOfMonth) {\n m.repeatOnDayOfMonth = parseInt(proto.repeatOnDayOfMonth, 10);\n }\n if (proto.collectionMethod) {\n m.collectionMethod = enumStringToValue$5(CollectionMethod, proto.collectionMethod);\n }\n if (proto.paymentProcessor) {\n m.paymentProcessor = enumStringToValue$5(PaymentProcessor, proto.paymentProcessor);\n }\n if (proto.items) {\n m.items = proto.items.map(RecurringInvoiceItem.fromProto);\n }\n if (proto.totalAmount) {\n m.totalAmount = parseInt(proto.totalAmount, 10);\n }\n if (proto.endsAt) {\n m.endsAt = new Date(proto.endsAt);\n }\n if (proto.customerAddress) {\n m.customerAddress = RecurringInvoiceCustomerAddress.fromProto(proto.customerAddress);\n }\n if (proto.netD) {\n m.netD = parseInt(proto.netD, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.nextIssue !== 'undefined' && this.nextIssue !== null) {\n toReturn['nextIssue'] = 'toApiJson' in this.nextIssue ? this.nextIssue.toApiJson() : this.nextIssue;\n }\n if (typeof this.intervalCount !== 'undefined') {\n toReturn['intervalCount'] = this.intervalCount;\n }\n if (typeof this.interval !== 'undefined') {\n toReturn['interval'] = this.interval;\n }\n if (typeof this.repeatOnDayOfMonth !== 'undefined') {\n toReturn['repeatOnDayOfMonth'] = this.repeatOnDayOfMonth;\n }\n if (typeof this.collectionMethod !== 'undefined') {\n toReturn['collectionMethod'] = this.collectionMethod;\n }\n if (typeof this.recipientUserId !== 'undefined') {\n toReturn['recipientUserId'] = this.recipientUserId;\n }\n if (typeof this.paymentProcessor !== 'undefined') {\n toReturn['paymentProcessor'] = this.paymentProcessor;\n }\n if (typeof this.paymentProcessorId !== 'undefined') {\n toReturn['paymentProcessorId'] = this.paymentProcessorId;\n }\n if (typeof this.items !== 'undefined' && this.items !== null) {\n toReturn['items'] = 'toApiJson' in this.items ? this.items.toApiJson() : this.items;\n }\n if (typeof this.totalAmount !== 'undefined') {\n toReturn['totalAmount'] = this.totalAmount;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n if (typeof this.memo !== 'undefined') {\n toReturn['memo'] = this.memo;\n }\n if (typeof this.endsAt !== 'undefined' && this.endsAt !== null) {\n toReturn['endsAt'] = 'toApiJson' in this.endsAt ? this.endsAt.toApiJson() : this.endsAt;\n }\n if (typeof this.customerName !== 'undefined') {\n toReturn['customerName'] = this.customerName;\n }\n if (typeof this.customerAddress !== 'undefined' && this.customerAddress !== null) {\n toReturn['customerAddress'] = 'toApiJson' in this.customerAddress ? this.customerAddress.toApiJson() : this.customerAddress;\n }\n if (typeof this.netD !== 'undefined') {\n toReturn['netD'] = this.netD;\n }\n if (typeof this.additionalRecipientIds !== 'undefined') {\n toReturn['additionalRecipientIds'] = this.additionalRecipientIds;\n }\n return toReturn;\n }\n}\nclass RecurringInvoiceBundle {\n static fromProto(proto) {\n let m = new RecurringInvoiceBundle();\n m = Object.assign(m, proto);\n if (proto.lineItems) {\n m.lineItems = proto.lineItems.map(RecurringInvoiceLineItem.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.hideLineItems !== 'undefined') {\n toReturn['hideLineItems'] = this.hideLineItems;\n }\n if (typeof this.lineItems !== 'undefined' && this.lineItems !== null) {\n toReturn['lineItems'] = 'toApiJson' in this.lineItems ? this.lineItems.toApiJson() : this.lineItems;\n }\n return toReturn;\n }\n}\nclass RecurringInvoiceItem {\n static fromProto(proto) {\n let m = new RecurringInvoiceItem();\n m = Object.assign(m, proto);\n if (proto.lineItem) {\n m.lineItem = RecurringInvoiceLineItem.fromProto(proto.lineItem);\n }\n if (proto.bundle) {\n m.bundle = RecurringInvoiceBundle.fromProto(proto.bundle);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.lineItem !== 'undefined' && this.lineItem !== null) {\n toReturn['lineItem'] = 'toApiJson' in this.lineItem ? this.lineItem.toApiJson() : this.lineItem;\n }\n if (typeof this.bundle !== 'undefined' && this.bundle !== null) {\n toReturn['bundle'] = 'toApiJson' in this.bundle ? this.bundle.toApiJson() : this.bundle;\n }\n return toReturn;\n }\n}\nclass RecurringInvoiceLineItem {\n static fromProto(proto) {\n let m = new RecurringInvoiceLineItem();\n m = Object.assign(m, proto);\n if (proto.unitPrice) {\n m.unitPrice = parseInt(proto.unitPrice, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.unitPrice !== 'undefined') {\n toReturn['unitPrice'] = this.unitPrice;\n }\n if (typeof this.quantity !== 'undefined') {\n toReturn['quantity'] = this.quantity;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.taxRateIds !== 'undefined') {\n toReturn['taxRateIds'] = this.taxRateIds;\n }\n return toReturn;\n }\n}\nclass UpdateRecurringInvoiceRequest {\n static fromProto(proto) {\n let m = new UpdateRecurringInvoiceRequest();\n m = Object.assign(m, proto);\n if (proto.recurringInvoice) {\n m.recurringInvoice = RecurringInvoice.fromProto(proto.recurringInvoice);\n }\n if (proto.updateMask) {\n m.updateMask = FieldMask.fromProto(proto.updateMask);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.recurringInvoice !== 'undefined' && this.recurringInvoice !== null) {\n toReturn['recurringInvoice'] = 'toApiJson' in this.recurringInvoice ? this.recurringInvoice.toApiJson() : this.recurringInvoice;\n }\n if (typeof this.updateMask !== 'undefined' && this.updateMask !== null) {\n toReturn['updateMask'] = 'toApiJson' in this.updateMask ? this.updateMask.toApiJson() : this.updateMask;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$4(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass CreateMerchantServicesReportRun {\n static fromProto(proto) {\n let m = new CreateMerchantServicesReportRun();\n m = Object.assign(m, proto);\n if (proto.reportType) {\n m.reportType = enumStringToValue$4(MerchantServicesReportRunType, proto.reportType);\n }\n if (proto.intervalStart) {\n m.intervalStart = new Date(proto.intervalStart);\n }\n if (proto.intervalEnd) {\n m.intervalEnd = new Date(proto.intervalEnd);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.reportType !== 'undefined') {\n toReturn['reportType'] = this.reportType;\n }\n if (typeof this.intervalStart !== 'undefined' && this.intervalStart !== null) {\n toReturn['intervalStart'] = 'toApiJson' in this.intervalStart ? this.intervalStart.toApiJson() : this.intervalStart;\n }\n if (typeof this.intervalEnd !== 'undefined' && this.intervalEnd !== null) {\n toReturn['intervalEnd'] = 'toApiJson' in this.intervalEnd ? this.intervalEnd.toApiJson() : this.intervalEnd;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n return toReturn;\n }\n}\nclass GetMerchantServicesReportRun {\n static fromProto(proto) {\n let m = new GetMerchantServicesReportRun();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n return toReturn;\n }\n}\nclass MerchantServicesReportRun {\n static fromProto(proto) {\n let m = new MerchantServicesReportRun();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.reportType) {\n m.reportType = enumStringToValue$4(MerchantServicesReportRunType, proto.reportType);\n }\n if (proto.status) {\n m.status = enumStringToValue$4(MerchantServicesReportRunStatus, proto.status);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.reportType !== 'undefined') {\n toReturn['reportType'] = this.reportType;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.error !== 'undefined') {\n toReturn['error'] = this.error;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$3(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Access {\n static fromProto(proto) {\n let m = new Access();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.scope !== 'undefined') {\n toReturn['scope'] = this.scope;\n }\n if (typeof this.public !== 'undefined') {\n toReturn['public'] = this.public;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$2(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ListSubscriptionRelationshipsRequestFilters {\n static fromProto(proto) {\n let m = new ListSubscriptionRelationshipsRequestFilters();\n m = Object.assign(m, proto);\n if (proto.originType) {\n m.originType = enumStringToValue$2(EntityType, proto.originType);\n }\n if (proto.targetType) {\n m.targetType = enumStringToValue$2(EntityType, proto.targetType);\n }\n if (proto.relationshipType) {\n m.relationshipType = enumStringToValue$2(RelationshipType, proto.relationshipType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.originId !== 'undefined') {\n toReturn['originId'] = this.originId;\n }\n if (typeof this.originType !== 'undefined') {\n toReturn['originType'] = this.originType;\n }\n if (typeof this.targetId !== 'undefined') {\n toReturn['targetId'] = this.targetId;\n }\n if (typeof this.targetType !== 'undefined') {\n toReturn['targetType'] = this.targetType;\n }\n if (typeof this.relationshipType !== 'undefined') {\n toReturn['relationshipType'] = this.relationshipType;\n }\n return toReturn;\n }\n}\nclass GetMultiSubscriptionRelationshipsRequest {\n static fromProto(proto) {\n let m = new GetMultiSubscriptionRelationshipsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subscriptionRelationshipIds !== 'undefined') {\n toReturn['subscriptionRelationshipIds'] = this.subscriptionRelationshipIds;\n }\n return toReturn;\n }\n}\nclass GetMultiSubscriptionRelationshipsResponse {\n static fromProto(proto) {\n let m = new GetMultiSubscriptionRelationshipsResponse();\n m = Object.assign(m, proto);\n if (proto.subscriptionRelationships) {\n m.subscriptionRelationships = proto.subscriptionRelationships.map(SubscriptionRelationship.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subscriptionRelationships !== 'undefined' && this.subscriptionRelationships !== null) {\n toReturn['subscriptionRelationships'] = 'toApiJson' in this.subscriptionRelationships ? this.subscriptionRelationships.toApiJson() : this.subscriptionRelationships;\n }\n return toReturn;\n }\n}\nclass ListSubscriptionRelationshipsRequest {\n static fromProto(proto) {\n let m = new ListSubscriptionRelationshipsRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListSubscriptionRelationshipsRequestFilters.fromProto(proto.filters);\n }\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n return toReturn;\n }\n}\nclass ListSubscriptionRelationshipsResponse {\n static fromProto(proto) {\n let m = new ListSubscriptionRelationshipsResponse();\n m = Object.assign(m, proto);\n if (proto.subscriptionRelationships) {\n m.subscriptionRelationships = proto.subscriptionRelationships.map(SubscriptionRelationship.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subscriptionRelationships !== 'undefined' && this.subscriptionRelationships !== null) {\n toReturn['subscriptionRelationships'] = 'toApiJson' in this.subscriptionRelationships ? this.subscriptionRelationships.toApiJson() : this.subscriptionRelationships;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass ReplaceSubscriptionRelationshipsRequest {\n static fromProto(proto) {\n let m = new ReplaceSubscriptionRelationshipsRequest();\n m = Object.assign(m, proto);\n if (proto.toAdd) {\n m.toAdd = proto.toAdd.map(SubscriptionRelationship.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.toAdd !== 'undefined' && this.toAdd !== null) {\n toReturn['toAdd'] = 'toApiJson' in this.toAdd ? this.toAdd.toApiJson() : this.toAdd;\n }\n if (typeof this.toRemove !== 'undefined') {\n toReturn['toRemove'] = this.toRemove;\n }\n return toReturn;\n }\n}\nclass ReplaceSubscriptionRelationshipsResponse {\n static fromProto(proto) {\n let m = new ReplaceSubscriptionRelationshipsResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.addedSubscriptionRelationshipIds !== 'undefined') {\n toReturn['addedSubscriptionRelationshipIds'] = this.addedSubscriptionRelationshipIds;\n }\n return toReturn;\n }\n}\nclass SubscriptionRelationship {\n static fromProto(proto) {\n let m = new SubscriptionRelationship();\n m = Object.assign(m, proto);\n if (proto.originType) {\n m.originType = enumStringToValue$2(EntityType, proto.originType);\n }\n if (proto.targetType) {\n m.targetType = enumStringToValue$2(EntityType, proto.targetType);\n }\n if (proto.relationshipType) {\n m.relationshipType = enumStringToValue$2(RelationshipType, proto.relationshipType);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.deleted) {\n m.deleted = new Date(proto.deleted);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subscriptionRelationshipId !== 'undefined') {\n toReturn['subscriptionRelationshipId'] = this.subscriptionRelationshipId;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.originId !== 'undefined') {\n toReturn['originId'] = this.originId;\n }\n if (typeof this.originType !== 'undefined') {\n toReturn['originType'] = this.originType;\n }\n if (typeof this.targetId !== 'undefined') {\n toReturn['targetId'] = this.targetId;\n }\n if (typeof this.targetType !== 'undefined') {\n toReturn['targetType'] = this.targetType;\n }\n if (typeof this.relationshipType !== 'undefined') {\n toReturn['relationshipType'] = this.relationshipType;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.deleted !== 'undefined' && this.deleted !== null) {\n toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$1(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ReplaceSubscriptionPresetsRequest {\n static fromProto(proto) {\n let m = new ReplaceSubscriptionPresetsRequest();\n m = Object.assign(m, proto);\n if (proto.presets) {\n m.presets = proto.presets.map(SubscriptionPreset.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.presets !== 'undefined' && this.presets !== null) {\n toReturn['presets'] = 'toApiJson' in this.presets ? this.presets.toApiJson() : this.presets;\n }\n return toReturn;\n }\n}\nclass ReplaceSubscriptionPresetsResponse {\n static fromProto(proto) {\n let m = new ReplaceSubscriptionPresetsResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subscriptionIds !== 'undefined') {\n toReturn['subscriptionIds'] = this.subscriptionIds;\n }\n return toReturn;\n }\n}\nclass SubscriptionPreset {\n static fromProto(proto) {\n let m = new SubscriptionPreset();\n m = Object.assign(m, proto);\n if (proto.billingStart) {\n m.billingStart = new Date(proto.billingStart);\n }\n if (proto.renewalStart) {\n m.renewalStart = new Date(proto.renewalStart);\n }\n if (proto.expiry) {\n m.expiry = new Date(proto.expiry);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.subscriptionId !== 'undefined') {\n toReturn['subscriptionId'] = this.subscriptionId;\n }\n if (typeof this.autoBillable !== 'undefined') {\n toReturn['autoBillable'] = this.autoBillable;\n }\n if (typeof this.salesOrderId !== 'undefined') {\n toReturn['salesOrderId'] = this.salesOrderId;\n }\n if (typeof this.paymentIntentId !== 'undefined') {\n toReturn['paymentIntentId'] = this.paymentIntentId;\n }\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.billingStart !== 'undefined' && this.billingStart !== null) {\n toReturn['billingStart'] = 'toApiJson' in this.billingStart ? this.billingStart.toApiJson() : this.billingStart;\n }\n if (typeof this.renewalStart !== 'undefined' && this.renewalStart !== null) {\n toReturn['renewalStart'] = 'toApiJson' in this.renewalStart ? this.renewalStart.toApiJson() : this.renewalStart;\n }\n if (typeof this.expiry !== 'undefined' && this.expiry !== null) {\n toReturn['expiry'] = 'toApiJson' in this.expiry ? this.expiry.toApiJson() : this.expiry;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass DeleteRetailPricingRequest {\n static fromProto(proto) {\n let m = new DeleteRetailPricingRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.groupId !== 'undefined') {\n toReturn['groupId'] = this.groupId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.subscriptionId !== 'undefined') {\n toReturn['subscriptionId'] = this.subscriptionId;\n }\n return toReturn;\n }\n}\nclass GenerateBillableItemsCSVRequest {\n static fromProto(proto) {\n let m = new GenerateBillableItemsCSVRequest();\n m = Object.assign(m, proto);\n if (proto.periodStart) {\n m.periodStart = new Date(proto.periodStart);\n }\n if (proto.periodEnd) {\n m.periodEnd = new Date(proto.periodEnd);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.periodStart !== 'undefined' && this.periodStart !== null) {\n toReturn['periodStart'] = 'toApiJson' in this.periodStart ? this.periodStart.toApiJson() : this.periodStart;\n }\n if (typeof this.periodEnd !== 'undefined' && this.periodEnd !== null) {\n toReturn['periodEnd'] = 'toApiJson' in this.periodEnd ? this.periodEnd.toApiJson() : this.periodEnd;\n }\n return toReturn;\n }\n}\nclass GenerateBillableItemsCSVResponse {\n static fromProto(proto) {\n let m = new GenerateBillableItemsCSVResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n return toReturn;\n }\n}\nclass GenerateVendorReportRequest {\n static fromProto(proto) {\n let m = new GenerateVendorReportRequest();\n m = Object.assign(m, proto);\n if (proto.periodStart) {\n m.periodStart = new Date(proto.periodStart);\n }\n if (proto.periodEnd) {\n m.periodEnd = new Date(proto.periodEnd);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.skus !== 'undefined') {\n toReturn['skus'] = this.skus;\n }\n if (typeof this.periodStart !== 'undefined' && this.periodStart !== null) {\n toReturn['periodStart'] = 'toApiJson' in this.periodStart ? this.periodStart.toApiJson() : this.periodStart;\n }\n if (typeof this.periodEnd !== 'undefined' && this.periodEnd !== null) {\n toReturn['periodEnd'] = 'toApiJson' in this.periodEnd ? this.periodEnd.toApiJson() : this.periodEnd;\n }\n if (typeof this.vendorName !== 'undefined') {\n toReturn['vendorName'] = this.vendorName;\n }\n if (typeof this.markAsApproved !== 'undefined') {\n toReturn['markAsApproved'] = this.markAsApproved;\n }\n return toReturn;\n }\n}\nclass GenerateVendorReportResponse {\n static fromProto(proto) {\n let m = new GenerateVendorReportResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n if (typeof this.bucket !== 'undefined') {\n toReturn['bucket'] = this.bucket;\n }\n if (typeof this.filename !== 'undefined') {\n toReturn['filename'] = this.filename;\n }\n return toReturn;\n }\n}\nclass GetMultiBundleRetailPricingRequest {\n static fromProto(proto) {\n let m = new GetMultiBundleRetailPricingRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.storeId !== 'undefined') {\n toReturn['storeId'] = this.storeId;\n }\n if (typeof this.bundleIds !== 'undefined') {\n toReturn['bundleIds'] = this.bundleIds;\n }\n return toReturn;\n }\n}\nclass GetMultiBundleRetailPricingResponse {\n static fromProto(proto) {\n let m = new GetMultiBundleRetailPricingResponse();\n m = Object.assign(m, proto);\n if (proto.prices) {\n m.prices = Object.keys(proto.prices).reduce((obj, k) => {\n obj[k] = BundlePricing.fromProto(proto.prices[k]);\n return obj;\n }, {});\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.prices !== 'undefined' && this.prices !== null) {\n toReturn['prices'] = 'toApiJson' in this.prices ? this.prices.toApiJson() : this.prices;\n }\n return toReturn;\n }\n}\nclass GetMultiProductPricingRequest {\n static fromProto(proto) {\n let m = new GetMultiProductPricingRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.skus !== 'undefined') {\n toReturn['skus'] = this.skus;\n }\n if (typeof this.pricingPlanId !== 'undefined') {\n toReturn['pricingPlanId'] = this.pricingPlanId;\n }\n return toReturn;\n }\n}\nclass GetMultiProductPricingResponse {\n static fromProto(proto) {\n let m = new GetMultiProductPricingResponse();\n m = Object.assign(m, proto);\n if (proto.productPrices) {\n m.productPrices = Object.keys(proto.productPrices).reduce((obj, k) => {\n obj[k] = ProductPricing.fromProto(proto.productPrices[k]);\n return obj;\n }, {});\n }\n if (proto.prices) {\n m.prices = proto.prices.map(ProductPrices.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.productPrices !== 'undefined' && this.productPrices !== null) {\n toReturn['productPrices'] = 'toApiJson' in this.productPrices ? this.productPrices.toApiJson() : this.productPrices;\n }\n if (typeof this.prices !== 'undefined' && this.prices !== null) {\n toReturn['prices'] = 'toApiJson' in this.prices ? this.prices.toApiJson() : this.prices;\n }\n return toReturn;\n }\n}\nclass GetMultiRetailPricingRequest {\n static fromProto(proto) {\n let m = new GetMultiRetailPricingRequest();\n m = Object.assign(m, proto);\n if (proto.currency) {\n m.currency = enumStringToValue(Currency, proto.currency);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n if (typeof this.skus !== 'undefined') {\n toReturn['skus'] = this.skus;\n }\n if (typeof this.groupId !== 'undefined') {\n toReturn['groupId'] = this.groupId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n return toReturn;\n }\n}\nclass GetMultiRetailPricingResponse {\n static fromProto(proto) {\n let m = new GetMultiRetailPricingResponse();\n m = Object.assign(m, proto);\n if (proto.productPrices) {\n m.productPrices = Object.keys(proto.productPrices).reduce((obj, k) => {\n obj[k] = ProductPricing.fromProto(proto.productPrices[k]);\n return obj;\n }, {});\n }\n if (proto.prices) {\n m.prices = proto.prices.map(ProductPrices.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.productPrices !== 'undefined' && this.productPrices !== null) {\n toReturn['productPrices'] = 'toApiJson' in this.productPrices ? this.productPrices.toApiJson() : this.productPrices;\n }\n if (typeof this.prices !== 'undefined' && this.prices !== null) {\n toReturn['prices'] = 'toApiJson' in this.prices ? this.prices.toApiJson() : this.prices;\n }\n return toReturn;\n }\n}\nclass GetMultiWholesaleCostRequest {\n static fromProto(proto) {\n let m = new GetMultiWholesaleCostRequest();\n m = Object.assign(m, proto);\n if (proto.items) {\n m.items = proto.items.map(WholesaleCostItemRequest.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.items !== 'undefined' && this.items !== null) {\n toReturn['items'] = 'toApiJson' in this.items ? this.items.toApiJson() : this.items;\n }\n return toReturn;\n }\n}\nclass GetMultiWholesaleCostResponse {\n static fromProto(proto) {\n let m = new GetMultiWholesaleCostResponse();\n m = Object.assign(m, proto);\n if (proto.costs) {\n m.costs = proto.costs.map(GetPurchaseCostResponse.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.costs !== 'undefined' && this.costs !== null) {\n toReturn['costs'] = 'toApiJson' in this.costs ? this.costs.toApiJson() : this.costs;\n }\n return toReturn;\n }\n}\nclass GetPurchaseCostRequest {\n static fromProto(proto) {\n let m = new GetPurchaseCostRequest();\n m = Object.assign(m, proto);\n if (proto.quantity) {\n m.quantity = parseInt(proto.quantity, 10);\n }\n if (proto.frequency) {\n m.frequency = enumStringToValue(Frequency, proto.frequency);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.quantity !== 'undefined') {\n toReturn['quantity'] = this.quantity;\n }\n if (typeof this.frequency !== 'undefined') {\n toReturn['frequency'] = this.frequency;\n }\n return toReturn;\n }\n}\nclass GetPurchaseCostResponse {\n static fromProto(proto) {\n let m = new GetPurchaseCostResponse();\n m = Object.assign(m, proto);\n if (proto.totalCost) {\n m.totalCost = parseInt(proto.totalCost, 10);\n }\n if (proto.currency) {\n m.currency = enumStringToValue(Currency, proto.currency);\n }\n if (proto.strategy) {\n m.strategy = enumStringToValue(BillingStrategy, proto.strategy);\n }\n if (proto.commitment) {\n m.commitment = Commitment.fromProto(proto.commitment);\n }\n if (proto.discountAmount) {\n m.discountAmount = parseInt(proto.discountAmount, 10);\n }\n if (proto.subtotalCost) {\n m.subtotalCost = parseInt(proto.subtotalCost, 10);\n }\n if (proto.setupFee) {\n m.setupFee = parseInt(proto.setupFee, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.billingFrequency !== 'undefined') {\n toReturn['billingFrequency'] = this.billingFrequency;\n }\n if (typeof this.totalCost !== 'undefined') {\n toReturn['totalCost'] = this.totalCost;\n }\n if (typeof this.currency !== 'undefined') {\n toReturn['currency'] = this.currency;\n }\n if (typeof this.strategy !== 'undefined') {\n toReturn['strategy'] = this.strategy;\n }\n if (typeof this.commitment !== 'undefined' && this.commitment !== null) {\n toReturn['commitment'] = 'toApiJson' in this.commitment ? this.commitment.toApiJson() : this.commitment;\n }\n if (typeof this.isStartingPrice !== 'undefined') {\n toReturn['isStartingPrice'] = this.isStartingPrice;\n }\n if (typeof this.discountAmount !== 'undefined') {\n toReturn['discountAmount'] = this.discountAmount;\n }\n if (typeof this.subtotalCost !== 'undefined') {\n toReturn['subtotalCost'] = this.subtotalCost;\n }\n if (typeof this.setupFee !== 'undefined') {\n toReturn['setupFee'] = this.setupFee;\n }\n return toReturn;\n }\n}\nclass GetRevenueStatsRequest {\n static fromProto(proto) {\n let m = new GetRevenueStatsRequest();\n m = Object.assign(m, proto);\n if (proto.periodStart) {\n m.periodStart = new Date(proto.periodStart);\n }\n if (proto.periodEnd) {\n m.periodEnd = new Date(proto.periodEnd);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.skus !== 'undefined') {\n toReturn['skus'] = this.skus;\n }\n if (typeof this.periodStart !== 'undefined' && this.periodStart !== null) {\n toReturn['periodStart'] = 'toApiJson' in this.periodStart ? this.periodStart.toApiJson() : this.periodStart;\n }\n if (typeof this.periodEnd !== 'undefined' && this.periodEnd !== null) {\n toReturn['periodEnd'] = 'toApiJson' in this.periodEnd ? this.periodEnd.toApiJson() : this.periodEnd;\n }\n return toReturn;\n }\n}\nclass GetRevenueStatsResponse {\n static fromProto(proto) {\n let m = new GetRevenueStatsResponse();\n m = Object.assign(m, proto);\n if (proto.totalRevenue) {\n m.totalRevenue = parseInt(proto.totalRevenue, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.totalRevenue !== 'undefined') {\n toReturn['totalRevenue'] = this.totalRevenue;\n }\n return toReturn;\n }\n}\nclass GetStatisticsRequest {\n static fromProto(proto) {\n let m = new GetStatisticsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n return toReturn;\n }\n}\nclass GetStatisticsResponse {\n static fromProto(proto) {\n let m = new GetStatisticsResponse();\n m = Object.assign(m, proto);\n if (proto.totalBillableCustomers) {\n m.totalBillableCustomers = parseInt(proto.totalBillableCustomers, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.totalBillableCustomers !== 'undefined') {\n toReturn['totalBillableCustomers'] = this.totalBillableCustomers;\n }\n if (typeof this.currentBasketSize !== 'undefined') {\n toReturn['currentBasketSize'] = this.currentBasketSize;\n }\n if (typeof this.changeInBasketSize30Days !== 'undefined') {\n toReturn['changeInBasketSize30Days'] = this.changeInBasketSize30Days;\n }\n return toReturn;\n }\n}\nclass GetWholesaleComparisonRequestGetWholesaleComparisonFilters {\n static fromProto(proto) {\n let m = new GetWholesaleComparisonRequestGetWholesaleComparisonFilters();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.currencyCode !== 'undefined') {\n toReturn['currencyCode'] = this.currencyCode;\n }\n return toReturn;\n }\n}\nclass GetWholesaleComparisonRequest {\n static fromProto(proto) {\n let m = new GetWholesaleComparisonRequest();\n m = Object.assign(m, proto);\n if (proto.filter) {\n m.filter = GetWholesaleComparisonRequestGetWholesaleComparisonFilters.fromProto(proto.filter);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pricingPlanId !== 'undefined') {\n toReturn['pricingPlanId'] = this.pricingPlanId;\n }\n if (typeof this.filter !== 'undefined' && this.filter !== null) {\n toReturn['filter'] = 'toApiJson' in this.filter ? this.filter.toApiJson() : this.filter;\n }\n return toReturn;\n }\n}\nclass GetWholesaleComparisonResponse {\n static fromProto(proto) {\n let m = new GetWholesaleComparisonResponse();\n m = Object.assign(m, proto);\n if (proto.results) {\n m.results = proto.results.map(GetWholesaleComparisonResponseGetWholesaleComparisonResult.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.results !== 'undefined' && this.results !== null) {\n toReturn['results'] = 'toApiJson' in this.results ? this.results.toApiJson() : this.results;\n }\n return toReturn;\n }\n}\nclass GetWholesaleComparisonResponseGetWholesaleComparisonResult {\n static fromProto(proto) {\n let m = new GetWholesaleComparisonResponseGetWholesaleComparisonResult();\n m = Object.assign(m, proto);\n if (proto.productPricing) {\n m.productPricing = ProductPricing.fromProto(proto.productPricing);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pricingPlanId !== 'undefined') {\n toReturn['pricingPlanId'] = this.pricingPlanId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.productPricing !== 'undefined' && this.productPricing !== null) {\n toReturn['productPricing'] = 'toApiJson' in this.productPricing ? this.productPricing.toApiJson() : this.productPricing;\n }\n return toReturn;\n }\n}\nclass GetMultiBundleRetailPricingResponsePricesEntry {\n static fromProto(proto) {\n let m = new GetMultiBundleRetailPricingResponsePricesEntry();\n m = Object.assign(m, proto);\n if (proto.value) {\n m.value = BundlePricing.fromProto(proto.value);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined' && this.value !== null) {\n toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;\n }\n return toReturn;\n }\n}\nclass UpsertRetailPricingRequestPricingEntry {\n static fromProto(proto) {\n let m = new UpsertRetailPricingRequestPricingEntry();\n m = Object.assign(m, proto);\n if (proto.value) {\n m.value = PricingPlanProductPricing.fromProto(proto.value);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined' && this.value !== null) {\n toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;\n }\n return toReturn;\n }\n}\nclass GetMultiRetailPricingResponseProductPricesEntry {\n static fromProto(proto) {\n let m = new GetMultiRetailPricingResponseProductPricesEntry();\n m = Object.assign(m, proto);\n if (proto.value) {\n m.value = ProductPricing.fromProto(proto.value);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined' && this.value !== null) {\n toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;\n }\n return toReturn;\n }\n}\nclass GetMultiProductPricingResponseProductPricesEntry {\n static fromProto(proto) {\n let m = new GetMultiProductPricingResponseProductPricesEntry();\n m = Object.assign(m, proto);\n if (proto.value) {\n m.value = ProductPricing.fromProto(proto.value);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined' && this.value !== null) {\n toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;\n }\n return toReturn;\n }\n}\nclass SetWholesaleProductStrategyRequest {\n static fromProto(proto) {\n let m = new SetWholesaleProductStrategyRequest();\n m = Object.assign(m, proto);\n if (proto.strategy) {\n m.strategy = enumStringToValue(BillingStrategy, proto.strategy);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.strategy !== 'undefined') {\n toReturn['strategy'] = this.strategy;\n }\n return toReturn;\n }\n}\nclass SetWholesaleProductVolumeCommitmentRequest {\n static fromProto(proto) {\n let m = new SetWholesaleProductVolumeCommitmentRequest();\n m = Object.assign(m, proto);\n if (proto.volumeCommitment) {\n m.volumeCommitment = parseInt(proto.volumeCommitment, 10);\n }\n if (proto.volumeCommitmentStartsAt) {\n m.volumeCommitmentStartsAt = new Date(proto.volumeCommitmentStartsAt);\n }\n if (proto.volumeCommitmentEndsAt) {\n m.volumeCommitmentEndsAt = new Date(proto.volumeCommitmentEndsAt);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.volumeCommitment !== 'undefined') {\n toReturn['volumeCommitment'] = this.volumeCommitment;\n }\n if (typeof this.volumeCommitmentStartsAt !== 'undefined' && this.volumeCommitmentStartsAt !== null) {\n toReturn['volumeCommitmentStartsAt'] = 'toApiJson' in this.volumeCommitmentStartsAt ? this.volumeCommitmentStartsAt.toApiJson() : this.volumeCommitmentStartsAt;\n }\n if (typeof this.volumeCommitmentEndsAt !== 'undefined' && this.volumeCommitmentEndsAt !== null) {\n toReturn['volumeCommitmentEndsAt'] = 'toApiJson' in this.volumeCommitmentEndsAt ? this.volumeCommitmentEndsAt.toApiJson() : this.volumeCommitmentEndsAt;\n }\n return toReturn;\n }\n}\nclass StartRevRecTemplateBackfillRequest {\n static fromProto(proto) {\n let m = new StartRevRecTemplateBackfillRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n return toReturn;\n }\n}\nclass UpsertRetailPricingRequest {\n static fromProto(proto) {\n let m = new UpsertRetailPricingRequest();\n m = Object.assign(m, proto);\n if (proto.frequency) {\n m.frequency = enumStringToValue(Frequency, proto.frequency);\n }\n if (proto.pricing) {\n m.pricing = Object.keys(proto.pricing).reduce((obj, k) => {\n obj[k] = PricingPlanProductPricing.fromProto(proto.pricing[k]);\n return obj;\n }, {});\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.merchantId !== 'undefined') {\n toReturn['merchantId'] = this.merchantId;\n }\n if (typeof this.sku !== 'undefined') {\n toReturn['sku'] = this.sku;\n }\n if (typeof this.frequency !== 'undefined') {\n toReturn['frequency'] = this.frequency;\n }\n if (typeof this.pricing !== 'undefined' && this.pricing !== null) {\n toReturn['pricing'] = 'toApiJson' in this.pricing ? this.pricing.toApiJson() : this.pricing;\n }\n if (typeof this.groupId !== 'undefined') {\n toReturn['groupId'] = this.groupId;\n }\n if (typeof this.customerId !== 'undefined') {\n toReturn['customerId'] = this.customerId;\n }\n if (typeof this.subscriptionId !== 'undefined') {\n toReturn['subscriptionId'] = this.subscriptionId;\n }\n return toReturn;\n }\n}\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Objects Index.\n// *********************************\n\nconst environment = (window ? window['environment'] : 'prod') ?? 'prod';\nconst hostMap = {\n 'local': 'billing-api.vendasta-local.com',\n 'test': '',\n 'demo': 'billing-demo.apigateway.co',\n 'prod': 'billing-prod.apigateway.co',\n 'production': 'billing-prod.apigateway.co'\n};\nlet HostService = /*#__PURE__*/(() => {\n class HostService {\n get host() {\n return hostMap[environment.toLowerCase()];\n }\n get hostWithScheme() {\n return 'https://' + this.host;\n }\n static {\n this.ɵfac = function HostService_Factory(t) {\n return new (t || HostService)();\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: HostService,\n factory: HostService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return HostService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet BankReconciliationApiService = /*#__PURE__*/(() => {\n class BankReconciliationApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n listPayouts(r) {\n const request = r.toApiJson ? r : new ListPayoutsRequest(r);\n return this.http.post(this._host + \"/billing.v1.BankReconciliationService/ListPayouts\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPayoutsResponse.fromProto(resp)));\n }\n reconcilePayout(r) {\n const request = r.toApiJson ? r : new ReconcilePayoutRequest(r);\n return this.http.post(this._host + \"/billing.v1.BankReconciliationService/ReconcilePayout\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ReconcilePayoutResponse.fromProto(resp)));\n }\n static {\n this.ɵfac = function BankReconciliationApiService_Factory(t) {\n return new (t || BankReconciliationApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: BankReconciliationApiService,\n factory: BankReconciliationApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return BankReconciliationApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet BillingApiService = /*#__PURE__*/(() => {\n class BillingApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n canBillItem(r) {\n const request = r.toApiJson ? r : new CanBillItemRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/CanBillItem\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n canCreateSubscriptions(r) {\n const request = r.toApiJson ? r : new CanCreateSubscriptionsRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/CanCreateSubscriptions\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CanCreateSubscriptionsResponse.fromProto(resp)));\n }\n createSubscription(r) {\n const request = r.toApiJson ? r : new CreateSubscriptionRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/CreateSubscription\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateSubscriptionResponse.fromProto(resp)));\n }\n createSubscriptions(r) {\n const request = r.toApiJson ? r : new CreateSubscriptionsRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/CreateSubscriptions\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateSubscriptionsResponse.fromProto(resp)));\n }\n reverseSubscription(r) {\n const request = r.toApiJson ? r : new ReverseSubscriptionRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/ReverseSubscription\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n setAutoBillable(r) {\n const request = r.toApiJson ? r : new SetAutoBillableRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/SetAutoBillable\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n setRenewalStart(r) {\n const request = r.toApiJson ? r : new SetRenewalStartRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/SetRenewalStart\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n billItem(r) {\n const request = r.toApiJson ? r : new BillItemRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/BillItem\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n billMultipleItems(r) {\n const request = r.toApiJson ? r : new BillMultipleItemsRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/BillMultipleItems\", request.toApiJson(), this.apiOptions()).pipe(map(resp => BillMultipleItemsResponse.fromProto(resp)));\n }\n getBillableItem(r) {\n const request = r.toApiJson ? r : new GetBillableItemRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/GetBillableItem\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetBillableItemResponse.fromProto(resp)));\n }\n getMultiSubscriptions(r) {\n const request = r.toApiJson ? r : new GetMultiSubscriptionsRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/GetMultiSubscriptions\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiSubscriptionsResponse.fromProto(resp)));\n }\n listSubscriptions(r) {\n const request = r.toApiJson ? r : new ListSubscriptionsRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/ListSubscriptions\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListSubscriptionsResponse.fromProto(resp)));\n }\n exportSubscriptions(r) {\n const request = r.toApiJson ? r : new ExportSubscriptionsRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/ExportSubscriptions\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ExportResponse.fromProto(resp)));\n }\n listRetailSubscriptions(r) {\n const request = r.toApiJson ? r : new ListSubscriptionsRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/ListRetailSubscriptions\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListSubscriptionsResponse.fromProto(resp)));\n }\n listBillableItems(r) {\n const request = r.toApiJson ? r : new ListBillableItemsRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/ListBillableItems\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListBillableItemsResponse.fromProto(resp)));\n }\n expireBillableItem(r) {\n const request = r.toApiJson ? r : new ExpireBillableItemRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/ExpireBillableItem\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n unexpireBillableItem(r) {\n const request = r.toApiJson ? r : new UnexpireBillableItemRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/UnexpireBillableItem\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n deleteBillableItem(r) {\n const request = r.toApiJson ? r : new DeleteBillableItemRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/DeleteBillableItem\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listMerchantBillingReports(r) {\n const request = r.toApiJson ? r : new ListMerchantBillingReportsRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/ListMerchantBillingReports\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListMerchantBillingReportsResponse.fromProto(resp)));\n }\n listProductSummaries(r) {\n const request = r.toApiJson ? r : new ListProductSummariesRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/ListProductSummaries\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListProductSummariesResponse.fromProto(resp)));\n }\n getProductSummariesTotal(r) {\n const request = r.toApiJson ? r : new GetProductSummariesTotalRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/GetProductSummariesTotal\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetProductSummariesTotalResponse.fromProto(resp)));\n }\n generateBillableItemsCsv(r) {\n const request = r.toApiJson ? r : new GenerateBillableItemsCSVRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/GenerateBillableItemsCSV\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GenerateBillableItemsCSVResponse.fromProto(resp)));\n }\n createPricingPlan(r) {\n const request = r.toApiJson ? r : new CreatePricingPlanRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/CreatePricingPlan\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreatePricingPlanResponse.fromProto(resp)));\n }\n updatePricingPlan(r) {\n const request = r.toApiJson ? r : new UpdatePricingPlanRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/UpdatePricingPlan\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UpdatePricingPlanResponse.fromProto(resp)));\n }\n getMultiPricingPlan(r) {\n const request = r.toApiJson ? r : new GetMultiPricingPlanRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/GetMultiPricingPlan\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiPricingPlanResponse.fromProto(resp)));\n }\n createPricingPlanProduct(r) {\n const request = r.toApiJson ? r : new CreatePricingPlanProductRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/CreatePricingPlanProduct\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreatePricingPlanProductResponse.fromProto(resp)));\n }\n updatePricingPlanProduct(r) {\n const request = r.toApiJson ? r : new UpdatePricingPlanProductRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/UpdatePricingPlanProduct\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UpdatePricingPlanProductResponse.fromProto(resp)));\n }\n deletePricingPlanProduct(r) {\n const request = r.toApiJson ? r : new DeletePricingPlanProductRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/DeletePricingPlanProduct\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listPricingPlanProducts(r) {\n const request = r.toApiJson ? r : new ListPricingPlanProductsRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/ListPricingPlanProducts\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPricingPlanProductsResponse.fromProto(resp)));\n }\n getPricingPlanProduct(r) {\n const request = r.toApiJson ? r : new GetPricingPlanProductRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/GetPricingPlanProduct\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetPricingPlanProductResponse.fromProto(resp)));\n }\n getMultiPricingPlanProduct(r) {\n const request = r.toApiJson ? r : new GetMultiPricingPlanProductRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/GetMultiPricingPlanProduct\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiPricingPlanProductResponse.fromProto(resp)));\n }\n getMultiProductPricing(r) {\n const request = r.toApiJson ? r : new GetMultiProductPricingRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/GetMultiProductPricing\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiProductPricingResponse.fromProto(resp)));\n }\n tickComponentUsage(r) {\n const request = r.toApiJson ? r : new TickComponentUsageRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/TickComponentUsage\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n createMeteredComponent(r) {\n const request = r.toApiJson ? r : new CreateMeteredComponentRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/CreateMeteredComponent\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n createUsage(r) {\n const request = r.toApiJson ? r : new CreateUsageRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/CreateUsage\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listContracts(r) {\n const request = r.toApiJson ? r : new ListContractsRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/ListContracts\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListContractsResponse.fromProto(resp)));\n }\n getMultiContract(r) {\n const request = r.toApiJson ? r : new GetMultiContractsRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/GetMultiContract\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiContractsResponse.fromProto(resp)));\n }\n getMerchantWholesaleCurrency(r) {\n const request = r.toApiJson ? r : new GetMerchantWholesaleCurrencyRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/GetMerchantWholesaleCurrency\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMerchantWholesaleCurrencyResponse.fromProto(resp)));\n }\n listProducts(r) {\n const request = r.toApiJson ? r : new ListProductsRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/ListProducts\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListProductsResponse.fromProto(resp)));\n }\n getMultiProduct(r) {\n const request = r.toApiJson ? r : new GetMultiProductRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/GetMultiProduct\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiProductResponse.fromProto(resp)));\n }\n resetContractPricing(r) {\n const request = r.toApiJson ? r : new ResetContractPricingRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/ResetContractPricing\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getPurchaseCost(r) {\n const request = r.toApiJson ? r : new GetPurchaseCostRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/GetPurchaseCost\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetPurchaseCostResponse.fromProto(resp)));\n }\n changeFrequency(r) {\n const request = r.toApiJson ? r : new ChangeFrequencyRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/ChangeFrequency\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n changeRenewalDate(r) {\n const request = r.toApiJson ? r : new ChangeRenewalDateRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/ChangeRenewalDate\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n changeCustomUnitPrice(r) {\n const request = r.toApiJson ? r : new ChangeCustomUnitPriceRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/ChangeCustomUnitPrice\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n startRevRecTemplateBackfill(r) {\n const request = r.toApiJson ? r : new StartRevRecTemplateBackfillRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/StartRevRecTemplateBackfill\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n replaceSubscriptionPresets(r) {\n const request = r.toApiJson ? r : new ReplaceSubscriptionPresetsRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/ReplaceSubscriptionPresets\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ReplaceSubscriptionPresetsResponse.fromProto(resp)));\n }\n updateSubscription(r) {\n const request = r.toApiJson ? r : new UpdateSubscriptionRequest(r);\n return this.http.post(this._host + \"/billing.v1.Billing/UpdateSubscription\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UpdateSubscriptionResponse.fromProto(resp)));\n }\n static {\n this.ɵfac = function BillingApiService_Factory(t) {\n return new (t || BillingApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: BillingApiService,\n factory: BillingApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return BillingApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet BundleApiService = /*#__PURE__*/(() => {\n class BundleApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n upsert(r) {\n const request = r.toApiJson ? r : new UpsertBundleRequest(r);\n return this.http.post(this._host + \"/billing.v1.BundleService/Upsert\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getMulti(r) {\n const request = r.toApiJson ? r : new GetMultiBundleRequest(r);\n return this.http.post(this._host + \"/billing.v1.BundleService/GetMulti\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiBundleResponse.fromProto(resp)));\n }\n list(r) {\n const request = r.toApiJson ? r : new ListBundlesRequest(r);\n return this.http.post(this._host + \"/billing.v1.BundleService/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListBundlesResponse.fromProto(resp)));\n }\n static {\n this.ɵfac = function BundleApiService_Factory(t) {\n return new (t || BundleApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: BundleApiService,\n factory: BundleApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return BundleApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet ContractDocumentApiService = /*#__PURE__*/(() => {\n class ContractDocumentApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n list(r) {\n const request = r.toApiJson ? r : new ListContractDocumentsRequest(r);\n return this.http.post(this._host + \"/billing.v1.ContractDocumentService/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListContractDocumentsResponse.fromProto(resp)));\n }\n delete(r) {\n const request = r.toApiJson ? r : new DeleteContractDocumentRequest(r);\n return this.http.post(this._host + \"/billing.v1.ContractDocumentService/Delete\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n static {\n this.ɵfac = function ContractDocumentApiService_Factory(t) {\n return new (t || ContractDocumentApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ContractDocumentApiService,\n factory: ContractDocumentApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return ContractDocumentApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet ContractApiService = /*#__PURE__*/(() => {\n class ContractApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n get(r) {\n const request = r.toApiJson ? r : new GetContractRequest(r);\n return this.http.post(this._host + \"/billing.v1.ContractService/Get\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetContractResponse.fromProto(resp)));\n }\n updateSubscription(r) {\n const request = r.toApiJson ? r : new UpdateContractSubscriptionRequest(r);\n return this.http.post(this._host + \"/billing.v1.ContractService/UpdateSubscription\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n create(r) {\n const request = r.toApiJson ? r : new CreateContractRequest(r);\n return this.http.post(this._host + \"/billing.v1.ContractService/Create\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateContractResponse.fromProto(resp)));\n }\n update(r) {\n const request = r.toApiJson ? r : new UpdateContractRequest(r);\n return this.http.post(this._host + \"/billing.v1.ContractService/Update\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UpdateContractResponse.fromProto(resp)));\n }\n static {\n this.ɵfac = function ContractApiService_Factory(t) {\n return new (t || ContractApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ContractApiService,\n factory: ContractApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return ContractApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet CreditApiService = /*#__PURE__*/(() => {\n class CreditApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n add(r) {\n const request = r.toApiJson ? r : new AddCreditRequest(r);\n return this.http.post(this._host + \"/billing.v1.CreditService/Add\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getBalance(r) {\n const request = r.toApiJson ? r : new GetBalanceRequest(r);\n return this.http.post(this._host + \"/billing.v1.CreditService/GetBalance\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetBalanceResponse.fromProto(resp)));\n }\n static {\n this.ɵfac = function CreditApiService_Factory(t) {\n return new (t || CreditApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: CreditApiService,\n factory: CreditApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return CreditApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet DiscountApiService = /*#__PURE__*/(() => {\n class DiscountApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n list(r) {\n const request = r.toApiJson ? r : new ListDiscountsRequest(r);\n return this.http.post(this._host + \"/billing.v1.DiscountService/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListDiscountsResponse.fromProto(resp)));\n }\n create(r) {\n const request = r.toApiJson ? r : new CreateDiscountRequest(r);\n return this.http.post(this._host + \"/billing.v1.DiscountService/Create\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateDiscountResponse.fromProto(resp)));\n }\n update(r) {\n const request = r.toApiJson ? r : new UpdateDiscountRequest(r);\n return this.http.post(this._host + \"/billing.v1.DiscountService/Update\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n expire(r) {\n const request = r.toApiJson ? r : new ExpireDiscountRequest(r);\n return this.http.post(this._host + \"/billing.v1.DiscountService/Expire\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n static {\n this.ɵfac = function DiscountApiService_Factory(t) {\n return new (t || DiscountApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: DiscountApiService,\n factory: DiscountApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return DiscountApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet InvoiceApiService = /*#__PURE__*/(() => {\n class InvoiceApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n addBundle(r) {\n const request = r.toApiJson ? r : new AddBundleRequest(r);\n return this.http.post(this._host + \"/billing.v1.InvoiceService/AddBundle\", request.toApiJson(), this.apiOptions()).pipe(map(resp => AddBundleResponse.fromProto(resp)));\n }\n addLineItem(r) {\n const request = r.toApiJson ? r : new AddLineItemRequest(r);\n return this.http.post(this._host + \"/billing.v1.InvoiceService/AddLineItem\", request.toApiJson(), this.apiOptions()).pipe(map(resp => AddLineItemResponse.fromProto(resp)));\n }\n charge(r) {\n const request = r.toApiJson ? r : new ChargeInvoiceRequest(r);\n return this.http.post(this._host + \"/billing.v1.InvoiceService/Charge\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n create(r) {\n const request = r.toApiJson ? r : new CreateInvoiceRequest(r);\n return this.http.post(this._host + \"/billing.v1.InvoiceService/Create\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateInvoiceResponse.fromProto(resp)));\n }\n delete(r) {\n const request = r.toApiJson ? r : new DeleteInvoiceRequest(r);\n return this.http.post(this._host + \"/billing.v1.InvoiceService/Delete\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n deleteLineItem(r) {\n const request = r.toApiJson ? r : new DeleteLineItemRequest(r);\n return this.http.post(this._host + \"/billing.v1.InvoiceService/DeleteLineItem\", request.toApiJson(), this.apiOptions()).pipe(map(resp => DeleteLineItemResponse.fromProto(resp)));\n }\n get(r) {\n const request = r.toApiJson ? r : new GetInvoiceRequest(r);\n return this.http.post(this._host + \"/billing.v1.InvoiceService/Get\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetInvoiceResponse.fromProto(resp)));\n }\n removeBundle(r) {\n const request = r.toApiJson ? r : new RemoveBundleRequest(r);\n return this.http.post(this._host + \"/billing.v1.InvoiceService/RemoveBundle\", request.toApiJson(), this.apiOptions()).pipe(map(resp => RemoveBundleResponse.fromProto(resp)));\n }\n send(r) {\n const request = r.toApiJson ? r : new SendInvoiceRequest(r);\n return this.http.post(this._host + \"/billing.v1.InvoiceService/Send\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n list(r) {\n const request = r.toApiJson ? r : new ListInvoicesRequest(r);\n return this.http.post(this._host + \"/billing.v1.InvoiceService/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListInvoicesResponse.fromProto(resp)));\n }\n update(r) {\n const request = r.toApiJson ? r : new UpdateInvoiceRequest(r);\n return this.http.post(this._host + \"/billing.v1.InvoiceService/Update\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UpdateInvoiceResponse.fromProto(resp)));\n }\n pay(r) {\n const request = r.toApiJson ? r : new PayInvoiceRequest(r);\n return this.http.post(this._host + \"/billing.v1.InvoiceService/Pay\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n updateDefaultTaxRates(r) {\n const request = r.toApiJson ? r : new UpdateDefaultTaxRatesRequest(r);\n return this.http.post(this._host + \"/billing.v1.InvoiceService/UpdateDefaultTaxRates\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UpdateDefaultTaxRatesResponse.fromProto(resp)));\n }\n updateLineItem(r) {\n const request = r.toApiJson ? r : new UpdateLineItemRequest(r);\n return this.http.post(this._host + \"/billing.v1.InvoiceService/UpdateLineItem\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UpdateLineItemResponse.fromProto(resp)));\n }\n void(r) {\n const request = r.toApiJson ? r : new VoidInvoiceRequest(r);\n return this.http.post(this._host + \"/billing.v1.InvoiceService/Void\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n duplicate(r) {\n const request = r.toApiJson ? r : new DuplicateInvoiceRequest(r);\n return this.http.post(this._host + \"/billing.v1.InvoiceService/Duplicate\", request.toApiJson(), this.apiOptions()).pipe(map(resp => DuplicateInvoiceResponse.fromProto(resp)));\n }\n updateBundle(r) {\n const request = r.toApiJson ? r : new UpdateBundleRequest(r);\n return this.http.post(this._host + \"/billing.v1.InvoiceService/UpdateBundle\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UpdateBundleResponse.fromProto(resp)));\n }\n createPaymentLink(r) {\n const request = r.toApiJson ? r : new CreatePaymentLinkRequest(r);\n return this.http.post(this._host + \"/billing.v1.InvoiceService/CreatePaymentLink\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreatePaymentLinkResponse.fromProto(resp)));\n }\n getUpcomingInvoicePreview(r) {\n const request = r.toApiJson ? r : new GetUpcomingInvoicePreviewRequest(r);\n return this.http.post(this._host + \"/billing.v1.InvoiceService/GetUpcomingInvoicePreview\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetUpcomingInvoicePreviewResponse.fromProto(resp)));\n }\n static {\n this.ɵfac = function InvoiceApiService_Factory(t) {\n return new (t || InvoiceApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: InvoiceApiService,\n factory: InvoiceApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return InvoiceApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet MerchantApiService = /*#__PURE__*/(() => {\n class MerchantApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n create(r) {\n const request = r.toApiJson ? r : new CreateMerchantRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/Create\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n get(r) {\n const request = r.toApiJson ? r : new GetMerchantRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/Get\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMerchantResponse.fromProto(resp)));\n }\n getOutstandingBalance(r) {\n const request = r.toApiJson ? r : new GetOutstandingBalanceRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/GetOutstandingBalance\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetOutstandingBalanceResponse.fromProto(resp)));\n }\n update(r) {\n const request = r.toApiJson ? r : new UpdateMerchantRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/Update\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n createPaymentCard(r) {\n const request = r.toApiJson ? r : new CreatePaymentCardRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/CreatePaymentCard\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n setDefaultPaymentCard(r) {\n const request = r.toApiJson ? r : new SetDefaultPaymentCardRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/SetDefaultPaymentCard\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listPaymentCards(r) {\n const request = r.toApiJson ? r : new ListPaymentCardsRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/ListPaymentCards\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPaymentCardsResponse.fromProto(resp)));\n }\n updatePaymentCard(r) {\n const request = r.toApiJson ? r : new UpdatePaymentCardRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/UpdatePaymentCard\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getStatistics(r) {\n const request = r.toApiJson ? r : new GetStatisticsRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/GetStatistics\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetStatisticsResponse.fromProto(resp)));\n }\n search(r) {\n const request = r.toApiJson ? r : new SearchMerchantsRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/Search\", request.toApiJson(), this.apiOptions()).pipe(map(resp => SearchMerchantsResponse.fromProto(resp)));\n }\n setAutoPostInvoices(r) {\n const request = r.toApiJson ? r : new SetAutoPostInvoicesRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/SetAutoPostInvoices\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n setAutoChargeInvoices(r) {\n const request = r.toApiJson ? r : new SetAutoChargeInvoicesRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/SetAutoChargeInvoices\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n setIncludeInFinancialRecords(r) {\n const request = r.toApiJson ? r : new SetIncludeInFinancialRecordsRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/SetIncludeInFinancialRecords\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n setHasAlternativePaymentMethod(r) {\n const request = r.toApiJson ? r : new SetHasAlternativePaymentMethodRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/SetHasAlternativePaymentMethod\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n sendSalesInvoiceEmail(r) {\n const request = r.toApiJson ? r : new SendSalesInvoiceEmailRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/SendSalesInvoiceEmail\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n chargeSalesInvoice(r) {\n const request = r.toApiJson ? r : new ChargeSalesInvoiceRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/ChargeSalesInvoice\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n sendSalesInvoiceReceiptEmail(r) {\n const request = r.toApiJson ? r : new SendSalesInvoiceReceiptEmailRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/SendSalesInvoiceReceiptEmail\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n createStripeExternalAccount(r) {\n const request = r.toApiJson ? r : new CreateStripeExternalAccountRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/CreateStripeExternalAccount\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listBankAccounts(r) {\n const request = r.toApiJson ? r : new ListBankAccountsRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/ListBankAccounts\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListBankAccountsResponse.fromProto(resp)));\n }\n setDefaultBankAccount(r) {\n const request = r.toApiJson ? r : new SetDefaultBankAccountRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/SetDefaultBankAccount\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n deleteBankAccount(r) {\n const request = r.toApiJson ? r : new DeleteBankAccountRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/DeleteBankAccount\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getMultiRetailConfigurations(r) {\n const request = r.toApiJson ? r : new GetMultiRetailConfigurationsRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/GetMultiRetailConfigurations\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiRetailConfigurationsResponse.fromProto(resp)));\n }\n upsertRetailConfiguration(r) {\n const request = r.toApiJson ? r : new UpsertRetailConfigurationRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/UpsertRetailConfiguration\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n upsertDefaultRetailCustomerConfiguration(r) {\n const request = r.toApiJson ? r : new UpsertDefaultRetailCustomerConfigurationRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/UpsertDefaultRetailCustomerConfiguration\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getRetailBalance(r) {\n const request = r.toApiJson ? r : new GetRetailBalanceRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/GetRetailBalance\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetRetailBalanceResponse.fromProto(resp)));\n }\n getPayoutSummary(r) {\n const request = r.toApiJson ? r : new GetPayoutSummaryRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/GetPayoutSummary\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetPayoutSummaryResponse.fromProto(resp)));\n }\n listRetailPayouts(r) {\n const request = r.toApiJson ? r : new ListRetailPayoutsRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/ListRetailPayouts\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListRetailPayoutsResponse.fromProto(resp)));\n }\n getRetailPayout(r) {\n const request = r.toApiJson ? r : new GetRetailPayoutRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/GetRetailPayout\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetRetailPayoutResponse.fromProto(resp)));\n }\n createReportRun(r) {\n const request = r.toApiJson ? r : new CreateMerchantServicesReportRun(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/CreateReportRun\", request.toApiJson(), this.apiOptions()).pipe(map(resp => MerchantServicesReportRun.fromProto(resp)));\n }\n getReportRun(r) {\n const request = r.toApiJson ? r : new GetMerchantServicesReportRun(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/GetReportRun\", request.toApiJson(), this.apiOptions()).pipe(map(resp => MerchantServicesReportRun.fromProto(resp)));\n }\n getRetailAccountBalance(r) {\n const request = r.toApiJson ? r : new GetRetailAccountBalanceRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/GetRetailAccountBalance\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetRetailAccountBalanceResponse.fromProto(resp)));\n }\n cancelRetailBilling(r) {\n const request = r.toApiJson ? r : new CancelRetailBillingRequest(r);\n return this.http.post(this._host + \"/billing.v1.MerchantService/CancelRetailBilling\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n static {\n this.ɵfac = function MerchantApiService_Factory(t) {\n return new (t || MerchantApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: MerchantApiService,\n factory: MerchantApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return MerchantApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet PaymentMethodApiService = /*#__PURE__*/(() => {\n class PaymentMethodApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n listPaymentCards(r) {\n const request = r.toApiJson ? r : new ListPaymentCardsRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentMethodService/ListPaymentCards\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPaymentCardsResponse.fromProto(resp)));\n }\n deletePaymentCard(r) {\n const request = r.toApiJson ? r : new DeletePaymentCardRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentMethodService/DeletePaymentCard\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n setDefaultPaymentMethod(r) {\n const request = r.toApiJson ? r : new SetDefaultPaymentMethodRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentMethodService/SetDefaultPaymentMethod\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n list(r) {\n const request = r.toApiJson ? r : new ListPaymentMethodsRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentMethodService/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPaymentMethodsResponse.fromProto(resp)));\n }\n static {\n this.ɵfac = function PaymentMethodApiService_Factory(t) {\n return new (t || PaymentMethodApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PaymentMethodApiService,\n factory: PaymentMethodApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return PaymentMethodApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet PaymentApiService = /*#__PURE__*/(() => {\n class PaymentApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n list(r) {\n const request = r.toApiJson ? r : new ListPaymentRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentService/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPaymentResponse.fromProto(resp)));\n }\n getRetail(r) {\n const request = r.toApiJson ? r : new GetRetailPaymentRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentService/GetRetail\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetRetailPaymentResponse.fromProto(resp)));\n }\n listRetail(r) {\n const request = r.toApiJson ? r : new ListRetailPaymentsRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentService/ListRetail\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListRetailPaymentsResponse.fromProto(resp)));\n }\n listRetailTransactions(r) {\n const request = r.toApiJson ? r : new ListRetailTransactionsRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentService/ListRetailTransactions\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListRetailTransactionsResponse.fromProto(resp)));\n }\n listRetailDisputes(r) {\n const request = r.toApiJson ? r : new ListRetailDisputesRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentService/ListRetailDisputes\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListRetailDisputesResponse.fromProto(resp)));\n }\n getRetailDispute(r) {\n const request = r.toApiJson ? r : new GetRetailDisputeRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentService/GetRetailDispute\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetRetailDisputeResponse.fromProto(resp)));\n }\n closeRetailDispute(r) {\n const request = r.toApiJson ? r : new CloseRetailDisputeRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentService/CloseRetailDispute\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n prepareRetail(r) {\n const request = r.toApiJson ? r : new PrepareRetailPaymentRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentService/PrepareRetail\", request.toApiJson(), this.apiOptions()).pipe(map(resp => PrepareRetailPaymentResponse.fromProto(resp)));\n }\n confirmRetail(r) {\n const request = r.toApiJson ? r : new ConfirmRetailPaymentRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentService/ConfirmRetail\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n retailStatus(r) {\n const request = r.toApiJson ? r : new RetailStatusRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentService/RetailStatus\", request.toApiJson(), this.apiOptions()).pipe(map(resp => RetailStatusResponse.fromProto(resp)));\n }\n retailPaymentsEnabled(r) {\n const request = r.toApiJson ? r : new RetailPaymentsEnabledRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentService/RetailPaymentsEnabled\", request.toApiJson(), this.apiOptions()).pipe(map(resp => RetailPaymentsEnabledResponse.fromProto(resp)));\n }\n configureRetailProvider(r) {\n const request = r.toApiJson ? r : new ConfigureRetailPaymentProviderRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentService/ConfigureRetailProvider\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ConfigureRetailPaymentProviderResponse.fromProto(resp)));\n }\n updateRetailProvider(r) {\n const request = r.toApiJson ? r : new UpdateRetailPaymentProviderRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentService/UpdateRetailProvider\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getRetailProvider(r) {\n const request = r.toApiJson ? r : new GetRetailPaymentProviderRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentService/GetRetailProvider\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetRetailPaymentProviderResponse.fromProto(resp)));\n }\n submitEvidence(r) {\n const request = r.toApiJson ? r : new SubmitEvidenceRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentService/SubmitEvidence\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getWholesaleProviderPublicKey(r) {\n const request = r.toApiJson ? r : new GetWholesaleProviderPublicKeyRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentService/GetWholesaleProviderPublicKey\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetWholesaleProviderPublicKeyResponse.fromProto(resp)));\n }\n refundRetail(r) {\n const request = r.toApiJson ? r : new RefundRetailPaymentRequest(r);\n return this.http.post(this._host + \"/billing.v1.PaymentService/RefundRetail\", request.toApiJson(), this.apiOptions()).pipe(map(resp => RefundRetailPaymentResponse.fromProto(resp)));\n }\n static {\n this.ɵfac = function PaymentApiService_Factory(t) {\n return new (t || PaymentApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PaymentApiService,\n factory: PaymentApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return PaymentApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet PricingApiService = /*#__PURE__*/(() => {\n class PricingApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n getMultiRetail(r) {\n const request = r.toApiJson ? r : new GetMultiRetailPricingRequest(r);\n return this.http.post(this._host + \"/billing.v1.PricingService/GetMultiRetail\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiRetailPricingResponse.fromProto(resp)));\n }\n upsertRetail(r) {\n const request = r.toApiJson ? r : new UpsertRetailPricingRequest(r);\n return this.http.post(this._host + \"/billing.v1.PricingService/UpsertRetail\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n deleteRetail(r) {\n const request = r.toApiJson ? r : new DeleteRetailPricingRequest(r);\n return this.http.post(this._host + \"/billing.v1.PricingService/DeleteRetail\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getMultiBundleRetail(r) {\n const request = r.toApiJson ? r : new GetMultiBundleRetailPricingRequest(r);\n return this.http.post(this._host + \"/billing.v1.PricingService/GetMultiBundleRetail\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiBundleRetailPricingResponse.fromProto(resp)));\n }\n getWholesaleComparison(r) {\n const request = r.toApiJson ? r : new GetWholesaleComparisonRequest(r);\n return this.http.post(this._host + \"/billing.v1.PricingService/GetWholesaleComparison\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetWholesaleComparisonResponse.fromProto(resp)));\n }\n setWholesaleProductStrategy(r) {\n const request = r.toApiJson ? r : new SetWholesaleProductStrategyRequest(r);\n return this.http.post(this._host + \"/billing.v1.PricingService/SetWholesaleProductStrategy\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n setWholesaleProductVolumeCommitment(r) {\n const request = r.toApiJson ? r : new SetWholesaleProductVolumeCommitmentRequest(r);\n return this.http.post(this._host + \"/billing.v1.PricingService/SetWholesaleProductVolumeCommitment\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getPurchaseCost(r) {\n const request = r.toApiJson ? r : new GetPurchaseCostRequest(r);\n return this.http.post(this._host + \"/billing.v1.PricingService/GetPurchaseCost\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetPurchaseCostResponse.fromProto(resp)));\n }\n getMultiWholesaleCost(r) {\n const request = r.toApiJson ? r : new GetMultiWholesaleCostRequest(r);\n return this.http.post(this._host + \"/billing.v1.PricingService/GetMultiWholesaleCost\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiWholesaleCostResponse.fromProto(resp)));\n }\n upsertWholesale(r) {\n const request = r.toApiJson ? r : new UpsertWholesalePricingRequest(r);\n return this.http.post(this._host + \"/billing.v1.PricingService/UpsertWholesale\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n static {\n this.ɵfac = function PricingApiService_Factory(t) {\n return new (t || PricingApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PricingApiService,\n factory: PricingApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return PricingApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet ProductApiService = /*#__PURE__*/(() => {\n class ProductApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n create(r) {\n const request = r.toApiJson ? r : new CreateProductRequest(r);\n return this.http.post(this._host + \"/billing.v1.ProductService/Create\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n update(r) {\n const request = r.toApiJson ? r : new UpdateProductRequest(r);\n return this.http.post(this._host + \"/billing.v1.ProductService/Update\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n delete(r) {\n const request = r.toApiJson ? r : new DeleteProductRequest(r);\n return this.http.post(this._host + \"/billing.v1.ProductService/Delete\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n static {\n this.ɵfac = function ProductApiService_Factory(t) {\n return new (t || ProductApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ProductApiService,\n factory: ProductApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return ProductApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet ProductSummaryApiService = /*#__PURE__*/(() => {\n class ProductSummaryApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n listSubscriptionRetentionByGroup(r) {\n const request = r.toApiJson ? r : new ListSubscriptionRetentionRequest(r);\n return this.http.post(this._host + \"/billing.v1.ProductSummaryService/ListSubscriptionRetentionByGroup\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListSubscriptionRetentionByGroupResponse.fromProto(resp)));\n }\n listSubscriptionRetentionBySku(r) {\n const request = r.toApiJson ? r : new ListSubscriptionRetentionRequest(r);\n return this.http.post(this._host + \"/billing.v1.ProductSummaryService/ListSubscriptionRetentionBySKU\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListSubscriptionRetentionBySKUResponse.fromProto(resp)));\n }\n static {\n this.ɵfac = function ProductSummaryApiService_Factory(t) {\n return new (t || ProductSummaryApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ProductSummaryApiService,\n factory: ProductSummaryApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return ProductSummaryApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet PurchaseApiService = /*#__PURE__*/(() => {\n class PurchaseApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n list(r) {\n const request = r.toApiJson ? r : new ListPurchaseRequest(r);\n return this.http.post(this._host + \"/billing.v1.PurchaseService/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPurchaseResponse.fromProto(resp)));\n }\n getMultiCustomerSummaries(r) {\n const request = r.toApiJson ? r : new GetMultiCustomerSummariesRequest(r);\n return this.http.post(this._host + \"/billing.v1.PurchaseService/GetMultiCustomerSummaries\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiCustomerSummariesResponse.fromProto(resp)));\n }\n listPurchaseItems(r) {\n const request = r.toApiJson ? r : new ListPurchaseItemsRequest(r);\n return this.http.post(this._host + \"/billing.v1.PurchaseService/ListPurchaseItems\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPurchaseItemsResponse.fromProto(resp)));\n }\n retry(r) {\n const request = r.toApiJson ? r : new RetryPurchaseRequest(r);\n return this.http.post(this._host + \"/billing.v1.PurchaseService/Retry\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n void(r) {\n const request = r.toApiJson ? r : new VoidPurchaseRequest(r);\n return this.http.post(this._host + \"/billing.v1.PurchaseService/Void\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n pauseDunning(r) {\n const request = r.toApiJson ? r : new PauseDunningRequest(r);\n return this.http.post(this._host + \"/billing.v1.PurchaseService/PauseDunning\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n resumeDunning(r) {\n const request = r.toApiJson ? r : new ResumeDunningRequest(r);\n return this.http.post(this._host + \"/billing.v1.PurchaseService/ResumeDunning\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n stopDunning(r) {\n const request = r.toApiJson ? r : new StopDunningRequest(r);\n return this.http.post(this._host + \"/billing.v1.PurchaseService/StopDunning\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n static {\n this.ɵfac = function PurchaseApiService_Factory(t) {\n return new (t || PurchaseApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PurchaseApiService,\n factory: PurchaseApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return PurchaseApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet RecurringInvoiceApiService = /*#__PURE__*/(() => {\n class RecurringInvoiceApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n createRecurringInvoice(r) {\n const request = r.toApiJson ? r : new RecurringInvoice(r);\n return this.http.post(this._host + \"/billing.v1.RecurringInvoiceService/CreateRecurringInvoice\", request.toApiJson(), this.apiOptions()).pipe(map(resp => RecurringInvoice.fromProto(resp)));\n }\n updateRecurringInvoice(r) {\n const request = r.toApiJson ? r : new UpdateRecurringInvoiceRequest(r);\n return this.http.post(this._host + \"/billing.v1.RecurringInvoiceService/UpdateRecurringInvoice\", request.toApiJson(), this.apiOptions()).pipe(map(resp => RecurringInvoice.fromProto(resp)));\n }\n getRecurringInvoice(r) {\n const request = r.toApiJson ? r : new GetRecurringInvoiceRequest(r);\n return this.http.post(this._host + \"/billing.v1.RecurringInvoiceService/GetRecurringInvoice\", request.toApiJson(), this.apiOptions()).pipe(map(resp => RecurringInvoice.fromProto(resp)));\n }\n listRecurringInvoices(r) {\n const request = r.toApiJson ? r : new ListRecurringInvoicesRequest(r);\n return this.http.post(this._host + \"/billing.v1.RecurringInvoiceService/ListRecurringInvoices\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListRecurringInvoicesResponse.fromProto(resp)));\n }\n deleteRecurringInvoice(r) {\n const request = r.toApiJson ? r : new DeleteRecurringInvoiceRequest(r);\n return this.http.post(this._host + \"/billing.v1.RecurringInvoiceService/DeleteRecurringInvoice\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n static {\n this.ɵfac = function RecurringInvoiceApiService_Factory(t) {\n return new (t || RecurringInvoiceApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: RecurringInvoiceApiService,\n factory: RecurringInvoiceApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return RecurringInvoiceApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet RefundApiService = /*#__PURE__*/(() => {\n class RefundApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n create(r) {\n const request = r.toApiJson ? r : new CreateRefundRequest(r);\n return this.http.post(this._host + \"/billing.v1.RefundService/Create\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n list(r) {\n const request = r.toApiJson ? r : new ListRefundsRequest(r);\n return this.http.post(this._host + \"/billing.v1.RefundService/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListRefundsResponse.fromProto(resp)));\n }\n static {\n this.ɵfac = function RefundApiService_Factory(t) {\n return new (t || RefundApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: RefundApiService,\n factory: RefundApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return RefundApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet RetailCustomerConfigurationApiService = /*#__PURE__*/(() => {\n class RetailCustomerConfigurationApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n get(r) {\n const request = r.toApiJson ? r : new GetRetailCustomerConfigurationRequest(r);\n return this.http.post(this._host + \"/billing.v1.RetailCustomerConfigurationService/Get\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetRetailCustomerConfigurationResponse.fromProto(resp)));\n }\n upsert(r) {\n const request = r.toApiJson ? r : new UpsertRetailCustomerConfigurationRequest(r);\n return this.http.post(this._host + \"/billing.v1.RetailCustomerConfigurationService/Upsert\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n static {\n this.ɵfac = function RetailCustomerConfigurationApiService_Factory(t) {\n return new (t || RetailCustomerConfigurationApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: RetailCustomerConfigurationApiService,\n factory: RetailCustomerConfigurationApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return RetailCustomerConfigurationApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet SalesCreditNoteApiService = /*#__PURE__*/(() => {\n class SalesCreditNoteApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n create(r) {\n const request = r.toApiJson ? r : new CreateSalesCreditNoteRequest(r);\n return this.http.post(this._host + \"/billing.v1.SalesCreditNoteService/Create\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n list(r) {\n const request = r.toApiJson ? r : new ListSalesCreditNoteRequest(r);\n return this.http.post(this._host + \"/billing.v1.SalesCreditNoteService/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListSalesCreditNoteResponse.fromProto(resp)));\n }\n static {\n this.ɵfac = function SalesCreditNoteApiService_Factory(t) {\n return new (t || SalesCreditNoteApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SalesCreditNoteApiService,\n factory: SalesCreditNoteApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return SalesCreditNoteApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet SalesInvoiceApiService = /*#__PURE__*/(() => {\n class SalesInvoiceApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n list(r) {\n const request = r.toApiJson ? r : new ListSalesInvoiceRequest(r);\n return this.http.post(this._host + \"/billing.v1.SalesInvoiceService/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListSalesInvoiceResponse.fromProto(resp)));\n }\n post(r) {\n const request = r.toApiJson ? r : new PostSalesInvoiceRequest(r);\n return this.http.post(this._host + \"/billing.v1.SalesInvoiceService/Post\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n get(r) {\n const request = r.toApiJson ? r : new GetSalesInvoiceRequest(r);\n return this.http.post(this._host + \"/billing.v1.SalesInvoiceService/Get\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetSalesInvoiceResponse.fromProto(resp)));\n }\n static {\n this.ɵfac = function SalesInvoiceApiService_Factory(t) {\n return new (t || SalesInvoiceApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SalesInvoiceApiService,\n factory: SalesInvoiceApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return SalesInvoiceApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet SubscriptionRelationshipApiService = /*#__PURE__*/(() => {\n class SubscriptionRelationshipApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n replace(r) {\n const request = r.toApiJson ? r : new ReplaceSubscriptionRelationshipsRequest(r);\n return this.http.post(this._host + \"/billing.v1.SubscriptionRelationshipService/Replace\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ReplaceSubscriptionRelationshipsResponse.fromProto(resp)));\n }\n list(r) {\n const request = r.toApiJson ? r : new ListSubscriptionRelationshipsRequest(r);\n return this.http.post(this._host + \"/billing.v1.SubscriptionRelationshipService/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListSubscriptionRelationshipsResponse.fromProto(resp)));\n }\n getMulti(r) {\n const request = r.toApiJson ? r : new GetMultiSubscriptionRelationshipsRequest(r);\n return this.http.post(this._host + \"/billing.v1.SubscriptionRelationshipService/GetMulti\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiSubscriptionRelationshipsResponse.fromProto(resp)));\n }\n static {\n this.ɵfac = function SubscriptionRelationshipApiService_Factory(t) {\n return new (t || SubscriptionRelationshipApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SubscriptionRelationshipApiService,\n factory: SubscriptionRelationshipApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return SubscriptionRelationshipApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet TaxApiService = /*#__PURE__*/(() => {\n class TaxApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n calculate(r) {\n const request = r.toApiJson ? r : new CalculateTaxRequest(r);\n return this.http.post(this._host + \"/billing.v1.TaxService/Calculate\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CalculateTaxResponse.fromProto(resp)));\n }\n calculateLineItems(r) {\n const request = r.toApiJson ? r : new CalculateLineItemTaxesRequest(r);\n return this.http.post(this._host + \"/billing.v1.TaxService/CalculateLineItems\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CalculateLineItemTaxesResponse.fromProto(resp)));\n }\n create(r) {\n const request = r.toApiJson ? r : new CreateTaxRequest(r);\n return this.http.post(this._host + \"/billing.v1.TaxService/Create\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getMulti(r) {\n const request = r.toApiJson ? r : new GetMultiTaxRequest(r);\n return this.http.post(this._host + \"/billing.v1.TaxService/GetMulti\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiTaxResponse.fromProto(resp)));\n }\n update(r) {\n const request = r.toApiJson ? r : new UpdateTaxRequest(r);\n return this.http.post(this._host + \"/billing.v1.TaxService/Update\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n list(r) {\n const request = r.toApiJson ? r : new ListTaxRequest(r);\n return this.http.post(this._host + \"/billing.v1.TaxService/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListTaxResponse.fromProto(resp)));\n }\n archive(r) {\n const request = r.toApiJson ? r : new ArchiveTaxRequest(r);\n return this.http.post(this._host + \"/billing.v1.TaxService/Archive\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n static {\n this.ɵfac = function TaxApiService_Factory(t) {\n return new (t || TaxApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: TaxApiService,\n factory: TaxApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return TaxApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet VendorApiService = /*#__PURE__*/(() => {\n class VendorApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n generateReport(r) {\n const request = r.toApiJson ? r : new GenerateVendorReportRequest(r);\n return this.http.post(this._host + \"/billing.v1.VendorService/GenerateReport\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GenerateVendorReportResponse.fromProto(resp)));\n }\n getRevenueStats(r) {\n const request = r.toApiJson ? r : new GetRevenueStatsRequest(r);\n return this.http.post(this._host + \"/billing.v1.VendorService/GetRevenueStats\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetRevenueStatsResponse.fromProto(resp)));\n }\n static {\n this.ɵfac = function VendorApiService_Factory(t) {\n return new (t || VendorApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: VendorApiService,\n factory: VendorApiService.ɵfac,\n providedIn: 'root'\n });\n }\n }\n return VendorApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Index.\n// *********************************\n\n// Hardcoded conversion rate of 1.4 for our currently supported currencies (CAD and AUD)\nconst usdConversionRate = 1.4;\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Access, AccountBalance, AddBundleRequest, AddBundleResponse, AddCreditRequest, AddLineItemRequest, AddLineItemResponse, Adjustment, AlignmentSubscription, AppliedBundle, AppliedBundleItem, AppliedCredit, AppliedDiscount, AppliedFee, AppliedTaxRate, ArchiveTaxRequest, Balance, BalanceAmount, BankAccount, BankReconciliationApiService, BillItemRequest, BillMultipleItemsRequest, BillMultipleItemsResponse, BillableItem, BillableItemCustomerAddress, BillingApiService, BillingStrategy, Bundle, BundleApiService, BundleItem, BundleItemPrice, BundlePricing, BundlePricingPriceAndFrequency, CalculateLineItemTaxesRequest, CalculateLineItemTaxesRequestLineItem, CalculateLineItemTaxesResponse, CalculateLineItemTaxesResponseLineItemTaxes, CalculateTaxRequest, CalculateTaxResponse, CanBillItemRequest, CanCreateSubscriptionsRequest, CanCreateSubscriptionsRequestSkusEntry, CanCreateSubscriptionsRequestSubscriptionItem, CanCreateSubscriptionsResponse, CancelRetailBillingRequest, CardType, ChangeCustomUnitPriceRequest, ChangeFrequencyRequest, ChangeRenewalDateRequest, ChargeInvoiceRequest, ChargeSalesInvoiceRequest, CloseRetailDisputeRequest, CollectionMethod, Commitment, ComponentPricing, ConfigureRetailPaymentProviderRequest, ConfigureRetailPaymentProviderResponse, ConfirmRetailPaymentRequest, ConnectStripeAccountRequest, ConnectStripeAccountResponse, Consumer, Contract, ContractApiService, ContractDocument, ContractDocumentApiService, ContractSubscriptionStatus, CreateContractRequest, CreateContractResponse, CreateDiscountRequest, CreateDiscountResponse, CreateInvoiceRequest, CreateInvoiceResponse, CreateMerchantRequest, CreateMerchantRequestIncludeInFinancialRecords, CreateMerchantServicesReportRun, CreateMeteredComponentRequest, CreatePaymentCardRequest, CreatePaymentLinkRequest, CreatePaymentLinkResponse, CreatePricingPlanProductRequest, CreatePricingPlanProductRequestPricingEntry, CreatePricingPlanProductResponse, CreatePricingPlanRequest, CreatePricingPlanResponse, CreateProductRequest, CreateRefundRequest, CreateSalesCreditNoteRequest, CreateStripeExternalAccountRequest, CreateSubscriptionRequest, CreateSubscriptionResponse, CreateSubscriptionsRequest, CreateSubscriptionsResponse, CreateTaxRequest, CreateUsageRequest, CreditApiService, CreditBalance, CreditType, Currency, CustomerSummary, DateRange, DefaultCustomerConfiguration, DeleteBankAccountRequest, DeleteBillableItemRequest, DeleteContractDocumentRequest, DeleteInvoiceRequest, DeleteLineItemRequest, DeleteLineItemResponse, DeletePaymentCardRequest, DeletePricingPlanProductRequest, DeleteProductRequest, DeleteRecurringInvoiceRequest, DeleteRetailPricingRequest, Discount, DiscountApiService, DiscountType, Dispute, DisputeEvidence, DisputeEvidenceDetails, DisputeStatus, DuplicateInvoiceRequest, DuplicateInvoiceResponse, EntityType, ExpireBillableItemRequest, ExpireDiscountRequest, ExportResponse, ExportSubscriptionsRequest, Fee, FeeAmountType, FeeType, FieldMask, File, Frequency, GenerateBillableItemsCSVRequest, GenerateBillableItemsCSVResponse, GenerateVendorReportRequest, GenerateVendorReportResponse, GetBalanceRequest, GetBalanceResponse, GetBillableItemRequest, GetBillableItemResponse, GetContractRequest, GetContractResponse, GetInvoiceRequest, GetInvoiceResponse, GetMerchantRequest, GetMerchantResponse, GetMerchantServicesReportRun, GetMerchantWholesaleCurrencyRequest, GetMerchantWholesaleCurrencyResponse, GetMultiBundleRequest, GetMultiBundleResponse, GetMultiBundleResponseBundlesEntry, GetMultiBundleRetailPricingRequest, GetMultiBundleRetailPricingResponse, GetMultiBundleRetailPricingResponsePricesEntry, GetMultiContractsRequest, GetMultiContractsResponse, GetMultiContractsResponseContractsEntry, GetMultiCustomerSummariesRequest, GetMultiCustomerSummariesResponse, GetMultiPricingPlanProductRequest, GetMultiPricingPlanProductResponse, GetMultiPricingPlanRequest, GetMultiPricingPlanResponse, GetMultiProductPricingRequest, GetMultiProductPricingResponse, GetMultiProductPricingResponseProductPricesEntry, GetMultiProductRequest, GetMultiProductResponse, GetMultiProductResponseProductsEntry, GetMultiRetailConfigurationsRequest, GetMultiRetailConfigurationsResponse, GetMultiRetailConfigurationsResponseRetailConfigurationsEntry, GetMultiRetailPricingRequest, GetMultiRetailPricingResponse, GetMultiRetailPricingResponseProductPricesEntry, GetMultiSubscriptionRelationshipsRequest, GetMultiSubscriptionRelationshipsResponse, GetMultiSubscriptionsRequest, GetMultiSubscriptionsRequestKey, GetMultiSubscriptionsResponse, GetMultiTaxRequest, GetMultiTaxResponse, GetMultiWholesaleCostRequest, GetMultiWholesaleCostResponse, GetOutstandingBalanceRequest, GetOutstandingBalanceResponse, GetPayoutSummaryRequest, GetPayoutSummaryResponse, GetPricingPlanProductRequest, GetPricingPlanProductResponse, GetProductSummariesTotalRequest, GetProductSummariesTotalResponse, GetPurchaseCostRequest, GetPurchaseCostResponse, GetRecurringInvoiceRequest, GetRetailAccountBalanceRequest, GetRetailAccountBalanceResponse, GetRetailBalanceRequest, GetRetailBalanceResponse, GetRetailCustomerConfigurationRequest, GetRetailCustomerConfigurationResponse, GetRetailDisputeRequest, GetRetailDisputeResponse, GetRetailPaymentProviderRequest, GetRetailPaymentProviderResponse, GetRetailPaymentRequest, GetRetailPaymentResponse, GetRetailPayoutRequest, GetRetailPayoutResponse, GetRevenueStatsRequest, GetRevenueStatsResponse, GetSalesInvoiceRequest, GetSalesInvoiceResponse, GetStatisticsRequest, GetStatisticsResponse, GetUpcomingInvoicePreviewRequest, GetUpcomingInvoicePreviewResponse, GetWholesaleComparisonRequest, GetWholesaleComparisonRequestGetWholesaleComparisonFilters, GetWholesaleComparisonResponse, GetWholesaleComparisonResponseGetWholesaleComparisonResult, GetWholesaleProviderPublicKeyRequest, GetWholesaleProviderPublicKeyResponse, HostService, Interval, Invoice, InvoiceApiService, InvoiceCustomerAddress, InvoiceItem, InvoiceStatus, Item, ListBankAccountsRequest, ListBankAccountsResponse, ListBillableItemsRequest, ListBillableItemsRequestFilters, ListBillableItemsResponse, ListBundlesRequest, ListBundlesRequestFilters, ListBundlesResponse, ListContractDocumentsRequest, ListContractDocumentsRequestFilters, ListContractDocumentsResponse, ListContractsRequest, ListContractsResponse, ListDiscountsRequest, ListDiscountsRequestFilters, ListDiscountsResponse, ListInvoicesRequest, ListInvoicesRequestFilters, ListInvoicesRequestFiltersDateFilter, ListInvoicesRequestFiltersDateFilterDateField, ListInvoicesResponse, ListMerchantBillingReportsRequest, ListMerchantBillingReportsResponse, ListPaymentCardsRequest, ListPaymentCardsResponse, ListPaymentMethodsRequest, ListPaymentMethodsResponse, ListPaymentRequest, ListPaymentRequestListPaymentFilters, ListPaymentResponse, ListPayoutsRequest, ListPayoutsRequestFilters, ListPayoutsResponse, ListPricingPlanProductsRequest, ListPricingPlanProductsRequestListPricingPlanProductsFilters, ListPricingPlanProductsResponse, ListProductSummariesRequest, ListProductSummariesResponse, ListProductsRequest, ListProductsRequestListProductsFilters, ListProductsResponse, ListPurchaseItemsRequest, ListPurchaseItemsRequestListPurchaseItemsFilters, ListPurchaseItemsResponse, ListPurchaseRequest, ListPurchaseRequestListPurchaseBillingStrategyFilter, ListPurchaseRequestListPurchaseFilters, ListPurchaseRequestState, ListPurchaseResponse, ListRecurringInvoicesFilters, ListRecurringInvoicesFiltersDateFilter, ListRecurringInvoicesFiltersDetailedInterval, ListRecurringInvoicesRequest, ListRecurringInvoicesResponse, ListRefundsRequest, ListRefundsResponse, ListRetailDisputesRequest, ListRetailDisputesResponse, ListRetailPaymentsRequest, ListRetailPaymentsRequestListRetailPaymentsFilters, ListRetailPaymentsResponse, ListRetailPayoutsRequest, ListRetailPayoutsResponse, ListRetailTransactionsRequest, ListRetailTransactionsRequestListRetailTransactionsFilters, ListRetailTransactionsResponse, ListSalesCreditNoteRequest, ListSalesCreditNoteRequestListSalesCreditNoteFilters, ListSalesCreditNoteResponse, ListSalesInvoiceRequest, ListSalesInvoiceRequestListSalesInvoiceFilters, ListSalesInvoiceResponse, ListSubscriptionRelationshipsRequest, ListSubscriptionRelationshipsRequestFilters, ListSubscriptionRelationshipsResponse, ListSubscriptionRetentionByGroupResponse, ListSubscriptionRetentionByGroupResponseSubscriptionRetentionByGroup, ListSubscriptionRetentionBySKUResponse, ListSubscriptionRetentionRequest, ListSubscriptionRetentionRequestFilters, ListSubscriptionsRequest, ListSubscriptionsRequestFilters, ListSubscriptionsResponse, ListTaxRequest, ListTaxRequestFilters, ListTaxResponse, Merchant, MerchantApiService, MerchantReport, MerchantReportStatus, MerchantServicesReportRun, MerchantServicesReportRunStatus, MerchantServicesReportRunType, MerchantType, MeteredComponent, Month, Note, PagedRequestOptions, PagedResponseMetadata, PauseDunningRequest, PayInvoiceRequest, Payment, PaymentACHDebit, PaymentACSSDebit, PaymentAllocationType, PaymentApiService, PaymentCard, PaymentCardCARD_TYPE, PaymentCardFUNDING_TYPE, PaymentLinkItem, PaymentMethod, PaymentMethodApiService, PaymentMethodType, PaymentPaymentAllocation, PaymentProcessor, PaymentSource, PaymentStatus, PaymentStatuses, Payout, PayoutStatus, PayoutType, PostSalesInvoiceRequest, PrepareRetailPaymentRequest, PrepareRetailPaymentRequestOrder, PrepareRetailPaymentResponse, Pricing, PricingApiService, PricingPlan, PricingPlanProduct, PricingPlanProductPricing, PricingPlanProductPricingEntry, PricingRule, PricingRuleType, Product, ProductApiService, ProductPrices, ProductPricing, ProductPricingRule, ProductPricingType, ProductSummary, ProductSummaryApiService, ProductSummaryBillingStrategy, ProductSummaryDiscount, ProductSummaryDiscountDiscountType, ProductSummaryProductType, ProductType, Purchase, PurchaseApiService, PurchaseItem, PurchaseStatus, ReconcilePayoutRequest, ReconcilePayoutResponse, RecurringInvoice, RecurringInvoiceApiService, RecurringInvoiceBundle, RecurringInvoiceCustomerAddress, RecurringInvoiceItem, RecurringInvoiceLineItem, RecurringInvoiceStatus, ReferenceType, Refund, RefundApiService, RefundReason, RefundRetailPaymentRequest, RefundRetailPaymentResponse, RefundStatus, RelationshipType, RemoveBundleRequest, RemoveBundleResponse, RenewalState, ReplaceSubscriptionPresetsRequest, ReplaceSubscriptionPresetsResponse, ReplaceSubscriptionRelationshipsRequest, ReplaceSubscriptionRelationshipsResponse, ResetContractPricingRequest, ResumeDunningRequest, RetailConfiguration, RetailCustomerConfiguration, RetailCustomerConfigurationApiService, RetailPayment, RetailPaymentACHDetails, RetailPaymentACSSDetails, RetailPaymentCardDetails, RetailPaymentPaymentMethodDetailsType, RetailPaymentReferenceType, RetailPaymentsEnabledRequest, RetailPaymentsEnabledResponse, RetailPayout, RetailRefund, RetailRefundFailureReason, RetailRefundReason, RetailRefundStatus, RetailStatusRequest, RetailStatusResponse, RetailStatusResponseVerificationError, RetailStatusResponseVerificationRequirements, RetailTransaction, RetailTransactionType, RetentionMetrics, RetryPurchaseRequest, ReverseSubscriptionRequest, SalesCreditNote, SalesCreditNoteApiService, SalesCreditNoteStatus, SalesInvoice, SalesInvoiceApiService, SalesInvoiceStatus, SalesInvoiceType, SearchMerchantsRequest, SearchMerchantsRequestSortBy, SearchMerchantsResponse, SendInvoiceRequest, SendSalesInvoiceEmailRequest, SendSalesInvoiceReceiptEmailRequest, SetAutoBillableRequest, SetAutoChargeInvoicesRequest, SetAutoPostInvoicesRequest, SetDefaultBankAccountRequest, SetDefaultPaymentCardRequest, SetDefaultPaymentMethodRequest, SetHasAlternativePaymentMethodRequest, SetIncludeInFinancialRecordsRequest, SetRenewalStartRequest, SetWholesaleProductStrategyRequest, SetWholesaleProductVolumeCommitmentRequest, SortDirection, Source, StartRevRecTemplateBackfillRequest, StopDunningRequest, SubmitEvidenceRequest, SubmitEvidenceRequestDisputeEvidence, SubscribeValidation, SubscribeValidationStatus, Subscription, SubscriptionPreset, SubscriptionProjectionFilter, SubscriptionRelationship, SubscriptionRelationshipApiService, SubscriptionStatus, TaxApiService, TaxRate, TickComponentUsageRequest, UnexpireBillableItemRequest, UpdateBundleRequest, UpdateBundleResponse, UpdateContractRequest, UpdateContractRequestMutation, UpdateContractResponse, UpdateContractSubscriptionRequest, UpdateDefaultTaxRatesRequest, UpdateDefaultTaxRatesResponse, UpdateDiscountRequest, UpdateInvoiceRequest, UpdateInvoiceResponse, UpdateLineItemRequest, UpdateLineItemResponse, UpdateMerchantRequest, UpdateMerchantRequestIncludeInFinancialRecords, UpdatePaymentCardRequest, UpdatePricingPlanProductRequest, UpdatePricingPlanProductRequestPricingEntry, UpdatePricingPlanProductResponse, UpdatePricingPlanRequest, UpdatePricingPlanResponse, UpdateProductRequest, UpdateRecurringInvoiceRequest, UpdateRetailPaymentProviderRequest, UpdateSubscriptionRequest, UpdateSubscriptionRequestSubscription, UpdateSubscriptionResponse, UpdateTaxRequest, UpsertBundleRequest, UpsertDefaultRetailCustomerConfigurationRequest, UpsertRetailConfigurationRequest, UpsertRetailCustomerConfigurationRequest, UpsertRetailPricingRequest, UpsertRetailPricingRequestPricingEntry, UpsertWholesalePricingRequest, ValidateResponse, VendorApiService, VoidInvoiceRequest, VoidPurchaseRequest, WholesaleCostItemRequest, usdConversionRate };\n","export enum SortDirection {\n Ascending = 0,\n Descending,\n}\n","export class PagedResponse {\n results: T[];\n nextCursor: string;\n hasMore: boolean;\n\n constructor(results: T[], nextCursor: string, hasMore: boolean) {\n this.results = results;\n this.nextCursor = nextCursor;\n this.hasMore = hasMore;\n }\n}\n"],"mappings":"iJAYA,IAAIA,EAAyB,SAAUA,EAAW,CAChD,OAAAA,EAAUA,EAAU,QAAa,CAAC,EAAI,UACtCA,EAAUA,EAAU,QAAa,CAAC,EAAI,UACtCA,EAAUA,EAAU,OAAY,CAAC,EAAI,SACrCA,EAAUA,EAAU,SAAc,CAAC,EAAI,WAChCA,CACT,EAAEA,GAAa,CAAC,CAAC,EAObC,EAAwB,SAAUA,EAAU,CAC9C,OAAAA,EAASA,EAAS,IAAS,CAAC,EAAI,MAChCA,EAASA,EAAS,IAAS,CAAC,EAAI,MAChCA,EAASA,EAAS,IAAS,CAAC,EAAI,MAChCA,EAASA,EAAS,IAAS,CAAC,EAAI,MAChCA,EAASA,EAAS,IAAS,CAAC,EAAI,MAChCA,EAASA,EAAS,IAAS,CAAC,EAAI,MAChCA,EAASA,EAAS,IAAS,CAAC,EAAI,MAChCA,EAASA,EAAS,IAAS,CAAC,EAAI,MA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AAYA,EAAa,CACvBA,OAAAA,EAAAA,EAAA,UAAA,CAAA,EAAA,YACAA,EAAAA,EAAA,WAAA,CAAA,EAAA,aAFUA,CAGZ,EAHYA,IAAa,CAAA,CAAA,ECAnB,IAAOC,GAAP,KAAoB,CAKxBC,YAAYC,EAAcC,EAAoBC,EAAgB,CAC5D,KAAKF,QAAUA,EACf,KAAKC,WAAaA,EAClB,KAAKC,QAAUA,CACjB","names":["Frequency","Currency","FeeAmountType","FeeType","BillingStrategy","ProductPricingType","Source","SubscriptionStatus","DiscountType","ContractSubscriptionStatus","ProductSummaryBillingStrategy","ProductSummaryDiscountDiscountType","ProductSummaryProductType","PricingRuleType","SubscribeValidationStatus","Consumer","RenewalState","PaymentCardCARD_TYPE","PaymentCardFUNDING_TYPE","PaymentMethodType","ListInvoicesRequestFiltersDateFilterDateField","InvoiceStatus","PayoutStatus","PayoutType","SortDirection","MerchantType","SearchMerchantsRequestSortBy","Month","MerchantReportStatus","CardType","DisputeStatus","PaymentAllocationType","RetailPaymentPaymentMethodDetailsType","PaymentSource","PaymentStatus","RetailPaymentReferenceType","RetailRefundFailureReason","RetailRefundReason","RetailRefundStatus","RetailTransactionType","ProductType","CreditType","PurchaseStatus","ListPurchaseRequestState","SalesCreditNoteStatus","PaymentStatuses","SalesInvoiceStatus","SalesInvoiceType","PaymentProcessor","CollectionMethod","Interval","RecurringInvoiceStatus","MerchantServicesReportRunStatus","MerchantServicesReportRunType","ExportResponse","_ExportResponse","proto","m","kwargs","PagedRequestOptions","_PagedRequestOptions","toReturn","PagedResponseMetadata","_PagedResponseMetadata","FieldMask","_FieldMask","proto","m","kwargs","toReturn","Commitment","_Commitment","proto","m","kwargs","toReturn","enumStringToValue$E","enumRef","value","AppliedFee","_AppliedFee","Fee","_Fee","FeeAmountType","FeeType","enumStringToValue$D","ComponentPricing","_ComponentPricing","CreatePricingPlanRequest","_CreatePricingPlanRequest","BillingStrategy","CreatePricingPlanResponse","_CreatePricingPlanResponse","GetMultiPricingPlanRequest","_GetMultiPricingPlanRequest","GetMultiPricingPlanResponse","_GetMultiPricingPlanResponse","PricingPlan","_PricingPlan","PricingPlanProductPricing","_PricingPlanProductPricing","ProductPricingType","ProductPricingRule","Frequency","_ProductPricingRule","UpdatePricingPlanRequest","_UpdatePricingPlanRequest","FieldMask","UpdatePricingPlanResponse","_UpdatePricingPlanResponse","enumStringToValue$C","ProductPrices","_ProductPrices","ProductPricing","_ProductPricing","Currency","WholesaleCostItemRequest","_WholesaleCostItemRequest","enumStringToValue$B","BillItemRequest","_BillItemRequest","BillMultipleItemsRequest","_BillMultipleItemsRequest","Item","BillMultipleItemsResponse","_BillMultipleItemsResponse","BillableItem","_BillableItem","BillableItemCustomerAddress","SubscriptionStatus","Source","CanBillItemRequest","_CanBillItemRequest","CreateUsageRequest","_CreateUsageRequest","_BillableItemCustomerAddress","DeleteBillableItemRequest","_DeleteBillableItemRequest","ExpireBillableItemRequest","_ExpireBillableItemRequest","ExportSubscriptionsRequest","_ExportSubscriptionsRequest","ListSubscriptionsRequestFilters","_ListSubscriptionsRequestFilters","v","ListBillableItemsRequestFilters","_ListBillableItemsRequestFilters","GetBillableItemRequest","_GetBillableItemRequest","SubscriptionProjectionFilter","GetBillableItemResponse","_GetBillableItemResponse","GetMultiSubscriptionsRequest","_GetMultiSubscriptionsRequest","GetMultiSubscriptionsRequestKey","GetMultiSubscriptionsResponse","_GetMultiSubscriptionsResponse","_Item","_GetMultiSubscriptionsRequestKey","ListBillableItemsRequest","_ListBillableItemsRequest","PagedRequestOptions","ListBillableItemsResponse","_ListBillableItemsResponse","PagedResponseMetadata","ListSubscriptionsRequest","_ListSubscriptionsRequest","ListSubscriptionsResponse","_ListSubscriptionsResponse","UpdateSubscriptionRequestSubscription","_UpdateSubscriptionRequestSubscription","_SubscriptionProjectionFilter","UnexpireBillableItemRequest","_UnexpireBillableItemRequest","UpdateSubscriptionRequest","_UpdateSubscriptionRequest","UpdateSubscriptionResponse","_UpdateSubscriptionResponse","enumStringToValue$A","AppliedDiscount","_AppliedDiscount","DiscountType","enumStringToValue$z","Bundle","_Bundle","BundleItem","_BundleItem","BundleItemPrice","BundlePricing","_BundlePricing","BundlePricingPriceAndFrequency","ListBundlesRequestFilters","_ListBundlesRequestFilters","proto","m","kwargs","toReturn","GetMultiBundleRequest","_GetMultiBundleRequest","GetMultiBundleResponse","_GetMultiBundleResponse","obj","k","Bundle","ListBundlesRequest","_ListBundlesRequest","PagedRequestOptions","ListBundlesResponse","_ListBundlesResponse","PagedResponseMetadata","BundleItemPrice","_BundleItemPrice","BundlePricingPriceAndFrequency","_BundlePricingPriceAndFrequency","enumStringToValue$z","Frequency","UpsertBundleRequest","_UpsertBundleRequest","BundleItem","enumStringToValue$y","enumRef","value","Contract","_Contract","Currency","ContractSubscriptionStatus","CreateContractRequest","_CreateContractRequest","proto","m","kwargs","toReturn","CreateContractResponse","_CreateContractResponse","Contract","GetContractRequest","_GetContractRequest","GetContractResponse","_GetContractResponse","GetMerchantWholesaleCurrencyRequest","_GetMerchantWholesaleCurrencyRequest","GetMerchantWholesaleCurrencyResponse","_GetMerchantWholesaleCurrencyResponse","enumStringToValue$y","Currency","GetMultiContractsRequest","_GetMultiContractsRequest","GetMultiContractsResponse","_GetMultiContractsResponse","obj","k","ListContractsRequest","_ListContractsRequest","PagedRequestOptions","ListContractsResponse","_ListContractsResponse","PagedResponseMetadata","UpdateContractRequestMutation","_UpdateContractRequestMutation","ResetContractPricingRequest","_ResetContractPricingRequest","UpdateContractRequest","_UpdateContractRequest","UpdateContractResponse","_UpdateContractResponse","UpdateContractSubscriptionRequest","_UpdateContractSubscriptionRequest","Frequency","enumStringToValue$x","enumRef","value","CustomerSummary","_CustomerSummary","GetMultiCustomerSummariesRequest","_GetMultiCustomerSummariesRequest","GetMultiCustomerSummariesResponse","_GetMultiCustomerSummariesResponse","BankAccount","_BankAccount","proto","m","kwargs","toReturn","CreateStripeExternalAccountRequest","_CreateStripeExternalAccountRequest","DeleteBankAccountRequest","_DeleteBankAccountRequest","ListBankAccountsRequest","_ListBankAccountsRequest","ListBankAccountsResponse","_ListBankAccountsResponse","SetDefaultBankAccountRequest","_SetDefaultBankAccountRequest","enumStringToValue$v","enumRef","value","ProductSummaryDiscount","_ProductSummaryDiscount","ProductSummaryDiscountDiscountType","ListSubscriptionRetentionRequestFilters","_ListSubscriptionRetentionRequestFilters","GetProductSummariesTotalRequest","_GetProductSummariesTotalRequest","GetProductSummariesTotalResponse","_GetProductSummariesTotalResponse","ListProductSummariesRequest","_ListProductSummariesRequest","ListProductSummariesResponse","_ListProductSummariesResponse","ProductSummary","ListSubscriptionRetentionByGroupResponse","_ListSubscriptionRetentionByGroupResponse","ListSubscriptionRetentionByGroupResponseSubscriptionRetentionByGroup","PagedResponseMetadata","ListSubscriptionRetentionBySKUResponse","_ListSubscriptionRetentionBySKUResponse","RetentionMetrics","ListSubscriptionRetentionRequest","_ListSubscriptionRetentionRequest","PagedRequestOptions","Pricing","_Pricing","PricingRuleType","PricingRule","_ProductSummary","ProductSummaryBillingStrategy","ProductSummaryProductType","Frequency","_RetentionMetrics","_PricingRule","_ListSubscriptionRetentionByGroupResponseSubscriptionRetentionByGroup","enumStringToValue$u","SubscribeValidation","_SubscribeValidation","SubscribeValidationStatus","enumStringToValue$t","AlignmentSubscription","_AlignmentSubscription","CanCreateSubscriptionsRequest","_CanCreateSubscriptionsRequest","obj","k","CanCreateSubscriptionsRequestSubscriptionItem","CanCreateSubscriptionsResponse","_CanCreateSubscriptionsResponse","ValidateResponse","ChangeCustomUnitPriceRequest","_ChangeCustomUnitPriceRequest","ChangeFrequencyRequest","_ChangeFrequencyRequest","ChangeRenewalDateRequest","_ChangeRenewalDateRequest","CreateSubscriptionRequest","_CreateSubscriptionRequest","RenewalState","Consumer","CreateSubscriptionResponse","_CreateSubscriptionResponse","CreateSubscriptionsRequest","_CreateSubscriptionsRequest","Subscription","CreateSubscriptionsResponse","_CreateSubscriptionsResponse","ReverseSubscriptionRequest","_ReverseSubscriptionRequest","SetAutoBillableRequest","_SetAutoBillableRequest","SetRenewalStartRequest","_SetRenewalStartRequest","Subscription","_Subscription","proto","m","enumStringToValue$t","RenewalState","AlignmentSubscription","Frequency","Consumer","kwargs","toReturn","CanCreateSubscriptionsRequestSubscriptionItem","_CanCreateSubscriptionsRequestSubscriptionItem","ValidateResponse","_ValidateResponse","SubscribeValidation","enumStringToValue$s","enumRef","value","CreateDiscountRequest","_CreateDiscountRequest","DiscountType","CreateDiscountResponse","_CreateDiscountResponse","Discount","_Discount","ExpireDiscountRequest","_ExpireDiscountRequest","ListDiscountsRequestFilters","_ListDiscountsRequestFilters","v","ListDiscountsRequest","_ListDiscountsRequest","PagedRequestOptions","ListDiscountsResponse","_ListDiscountsResponse","PagedResponseMetadata","UpdateDiscountRequest","_UpdateDiscountRequest","AppliedTaxRate","_AppliedTaxRate","proto","m","kwargs","toReturn","ArchiveTaxRequest","_ArchiveTaxRequest","proto","m","kwargs","toReturn","CalculateLineItemTaxesRequest","_CalculateLineItemTaxesRequest","CalculateLineItemTaxesRequestLineItem","CalculateLineItemTaxesResponse","_CalculateLineItemTaxesResponse","CalculateLineItemTaxesResponseLineItemTaxes","TaxRate","AppliedTaxRate","CalculateTaxRequest","_CalculateTaxRequest","CalculateTaxResponse","_CalculateTaxResponse","CreateTaxRequest","_CreateTaxRequest","ListTaxRequestFilters","_ListTaxRequestFilters","GetMultiTaxRequest","_GetMultiTaxRequest","GetMultiTaxResponse","_GetMultiTaxResponse","_CalculateLineItemTaxesRequestLineItem","_CalculateLineItemTaxesResponseLineItemTaxes","ListTaxRequest","_ListTaxRequest","PagedRequestOptions","ListTaxResponse","_ListTaxResponse","PagedResponseMetadata","_TaxRate","UpdateTaxRequest","_UpdateTaxRequest","AppliedBundle","_AppliedBundle","proto","m","AppliedBundleItem","kwargs","toReturn","_AppliedBundleItem","enumStringToValue$o","enumRef","value","CreatePaymentCardRequest","_CreatePaymentCardRequest","DeletePaymentCardRequest","_DeletePaymentCardRequest","ListPaymentCardsRequest","_ListPaymentCardsRequest","ListPaymentCardsResponse","_ListPaymentCardsResponse","PaymentCard","_PaymentCard","PaymentCardCARD_TYPE","PaymentCardFUNDING_TYPE","SetDefaultPaymentMethodRequest","_SetDefaultPaymentMethodRequest","UpdatePaymentCardRequest","_UpdatePaymentCardRequest","enumStringToValue$n","ListPaymentMethodsRequest","_ListPaymentMethodsRequest","ListPaymentMethodsResponse","_ListPaymentMethodsResponse","PaymentMethod","PaymentACHDebit","_PaymentACHDebit","PaymentACSSDebit","_PaymentACSSDebit","_PaymentMethod","PaymentMethodType","enumStringToValue$m","AddBundleRequest","_AddBundleRequest","AddBundleResponse","_AddBundleResponse","Invoice","AddLineItemRequest","_AddLineItemRequest","AppliedDiscount","AddLineItemResponse","_AddLineItemResponse","ChargeInvoiceRequest","_ChargeInvoiceRequest","CreateInvoiceRequest","_CreateInvoiceRequest","CreateInvoiceResponse","_CreateInvoiceResponse","CreatePaymentLinkRequest","_CreatePaymentLinkRequest","PaymentLinkItem","CreatePaymentLinkResponse","_CreatePaymentLinkResponse","InvoiceCustomerAddress","_InvoiceCustomerAddress","ListInvoicesRequestFiltersDateFilter","_ListInvoicesRequestFiltersDateFilter","ListInvoicesRequestFiltersDateFilterDateField","DeleteInvoiceRequest","_DeleteInvoiceRequest","DeleteLineItemRequest","_DeleteLineItemRequest","DeleteLineItemResponse","_DeleteLineItemResponse","DuplicateInvoiceRequest","_DuplicateInvoiceRequest","DuplicateInvoiceResponse","_DuplicateInvoiceResponse","ListInvoicesRequestFilters","_ListInvoicesRequestFilters","v","InvoiceStatus","GetInvoiceRequest","_GetInvoiceRequest","GetInvoiceResponse","_GetInvoiceResponse","GetUpcomingInvoicePreviewRequest","_GetUpcomingInvoicePreviewRequest","GetUpcomingInvoicePreviewResponse","_GetUpcomingInvoicePreviewResponse","_Invoice","InvoiceItem","Currency","AppliedTaxRate","TaxRate","Note","_InvoiceItem","ListInvoicesRequest","_ListInvoicesRequest","PagedRequestOptions","ListInvoicesResponse","_ListInvoicesResponse","PagedResponseMetadata","_Note","PayInvoiceRequest","_PayInvoiceRequest","_PaymentLinkItem","RemoveBundleRequest","_RemoveBundleRequest","RemoveBundleResponse","_RemoveBundleResponse","SendInvoiceRequest","_SendInvoiceRequest","UpdateBundleRequest","_UpdateBundleRequest","UpdateBundleResponse","_UpdateBundleResponse","UpdateDefaultTaxRatesRequest","_UpdateDefaultTaxRatesRequest","UpdateDefaultTaxRatesResponse","_UpdateDefaultTaxRatesResponse","UpdateInvoiceRequest","_UpdateInvoiceRequest","FieldMask","UpdateInvoiceResponse","_UpdateInvoiceResponse","UpdateLineItemRequest","_UpdateLineItemRequest","UpdateLineItemResponse","_UpdateLineItemResponse","VoidInvoiceRequest","_VoidInvoiceRequest","AccountBalance","_AccountBalance","proto","m","BalanceAmount","kwargs","toReturn","Balance","_Balance","_BalanceAmount","enumStringToValue$j","enumRef","value","RetailPayout","_RetailPayout","proto","m","enumStringToValue$j","PayoutStatus","PayoutType","kwargs","toReturn","enumStringToValue$i","enumRef","value","CancelRetailBillingRequest","_CancelRetailBillingRequest","ChargeSalesInvoiceRequest","_ChargeSalesInvoiceRequest","CreateMerchantRequest","_CreateMerchantRequest","proto","m","CreateMerchantRequestIncludeInFinancialRecords","enumStringToValue$i","MerchantType","kwargs","toReturn","DefaultCustomerConfiguration","_DefaultCustomerConfiguration","GetMerchantRequest","_GetMerchantRequest","GetMerchantResponse","_GetMerchantResponse","Merchant","GetMultiRetailConfigurationsRequest","_GetMultiRetailConfigurationsRequest","GetMultiRetailConfigurationsResponse","_GetMultiRetailConfigurationsResponse","obj","k","RetailConfiguration","GetOutstandingBalanceRequest","_GetOutstandingBalanceRequest","GetOutstandingBalanceResponse","_GetOutstandingBalanceResponse","Currency","GetPayoutSummaryRequest","_GetPayoutSummaryRequest","GetPayoutSummaryResponse","_GetPayoutSummaryResponse","Balance","GetRetailAccountBalanceRequest","_GetRetailAccountBalanceRequest","GetRetailAccountBalanceResponse","_GetRetailAccountBalanceResponse","AccountBalance","GetRetailBalanceRequest","_GetRetailBalanceRequest","GetRetailBalanceResponse","_GetRetailBalanceResponse","GetRetailPayoutRequest","_GetRetailPayoutRequest","GetRetailPayoutResponse","_GetRetailPayoutResponse","RetailPayout","_CreateMerchantRequestIncludeInFinancialRecords","UpdateMerchantRequestIncludeInFinancialRecords","_UpdateMerchantRequestIncludeInFinancialRecords","ListRetailPayoutsRequest","_ListRetailPayoutsRequest","PagedRequestOptions","ListRetailPayoutsResponse","_ListRetailPayoutsResponse","PagedResponseMetadata","_Merchant","_RetailConfiguration","SearchMerchantsRequest","_SearchMerchantsRequest","proto","m","enumStringToValue$i","SearchMerchantsRequestSortBy","SortDirection","PagedRequestOptions","kwargs","toReturn","SearchMerchantsResponse","_SearchMerchantsResponse","Merchant","PagedResponseMetadata","SetAutoChargeInvoicesRequest","_SetAutoChargeInvoicesRequest","SetAutoPostInvoicesRequest","_SetAutoPostInvoicesRequest","SetDefaultPaymentCardRequest","_SetDefaultPaymentCardRequest","SetHasAlternativePaymentMethodRequest","_SetHasAlternativePaymentMethodRequest","SetIncludeInFinancialRecordsRequest","_SetIncludeInFinancialRecordsRequest","UpdateMerchantRequest","_UpdateMerchantRequest","UpdateMerchantRequestIncludeInFinancialRecords","MerchantType","UpsertDefaultRetailCustomerConfigurationRequest","_UpsertDefaultRetailCustomerConfigurationRequest","DefaultCustomerConfiguration","UpsertRetailConfigurationRequest","_UpsertRetailConfigurationRequest","enumStringToValue$h","enumRef","value","ListMerchantBillingReportsRequest","_ListMerchantBillingReportsRequest","ListMerchantBillingReportsResponse","_ListMerchantBillingReportsResponse","MerchantReport","_MerchantReport","Month","MerchantReportStatus","CreateMeteredComponentRequest","_CreateMeteredComponentRequest","proto","m","MeteredComponent","kwargs","toReturn","_MeteredComponent","TickComponentUsageRequest","_TickComponentUsageRequest","enumStringToValue$f","enumRef","value","RetailPaymentACHDetails","_RetailPaymentACHDetails","RetailPaymentACSSDetails","_RetailPaymentACSSDetails","Adjustment","_Adjustment","RetailRefund","Dispute","RetailPaymentCardDetails","_RetailPaymentCardDetails","CardType","CloseRetailDisputeRequest","_CloseRetailDisputeRequest","ConfigureRetailPaymentProviderRequest","_ConfigureRetailPaymentProviderRequest","ConfigureRetailPaymentProviderResponse","_ConfigureRetailPaymentProviderResponse","ConfirmRetailPaymentRequest","_ConfirmRetailPaymentRequest","_Dispute","DisputeStatus","DisputeEvidence","DisputeEvidenceDetails","SubmitEvidenceRequestDisputeEvidence","_SubmitEvidenceRequestDisputeEvidence","_DisputeEvidence","File","_DisputeEvidenceDetails","_File","GetRetailDisputeRequest","_GetRetailDisputeRequest","GetRetailDisputeResponse","_GetRetailDisputeResponse","GetRetailPaymentProviderRequest","_GetRetailPaymentProviderRequest","GetRetailPaymentProviderResponse","_GetRetailPaymentProviderResponse","GetRetailPaymentRequest","_GetRetailPaymentRequest","GetRetailPaymentResponse","_GetRetailPaymentResponse","RetailPayment","GetWholesaleProviderPublicKeyRequest","_GetWholesaleProviderPublicKeyRequest","GetWholesaleProviderPublicKeyResponse","_GetWholesaleProviderPublicKeyResponse","ListPaymentRequestListPaymentFilters","_ListPaymentRequestListPaymentFilters","ListPaymentRequest","_ListPaymentRequest","PagedRequestOptions","ListPaymentResponse","_ListPaymentResponse","Payment","PagedResponseMetadata","ListRetailDisputesRequest","_ListRetailDisputesRequest","ListRetailDisputesResponse","_ListRetailDisputesResponse","ListRetailPaymentsRequestListRetailPaymentsFilters","_ListRetailPaymentsRequestListRetailPaymentsFilters","ListRetailPaymentsRequest","_ListRetailPaymentsRequest","ListRetailPaymentsResponse","_ListRetailPaymentsResponse","ListRetailTransactionsRequestListRetailTransactionsFilters","_ListRetailTransactionsRequestListRetailTransactionsFilters","RetailTransactionType","ListRetailTransactionsRequest","_ListRetailTransactionsRequest","ListRetailTransactionsResponse","_ListRetailTransactionsResponse","RetailTransaction","PrepareRetailPaymentRequestOrder","_PrepareRetailPaymentRequestOrder","_Payment","Currency","PaymentSource","PaymentPaymentAllocation","PaymentStatus","_PaymentPaymentAllocation","PaymentAllocationType","PrepareRetailPaymentRequest","_PrepareRetailPaymentRequest","PrepareRetailPaymentResponse","_PrepareRetailPaymentResponse","RefundRetailPaymentRequest","_RefundRetailPaymentRequest","RetailRefundReason","RefundRetailPaymentResponse","_RefundRetailPaymentResponse","_RetailPayment","RetailPaymentReferenceType","RetailPaymentPaymentMethodDetailsType","RetailPaymentsEnabledRequest","_RetailPaymentsEnabledRequest","RetailPaymentsEnabledResponse","_RetailPaymentsEnabledResponse","_RetailRefund","RetailRefundStatus","RetailRefundFailureReason","RetailStatusRequest","_RetailStatusRequest","RetailStatusResponse","_RetailStatusResponse","RetailStatusResponseVerificationRequirements","_RetailTransaction","RetailPayout","SubmitEvidenceRequest","_SubmitEvidenceRequest","UpdateRetailPaymentProviderRequest","_UpdateRetailPaymentProviderRequest","RetailStatusResponseVerificationError","_RetailStatusResponseVerificationError","_RetailStatusResponseVerificationRequirements","enumStringToValue$e","CreatePricingPlanProductRequest","_CreatePricingPlanProductRequest","Frequency","obj","k","PricingPlanProductPricing","Commitment","BillingStrategy","CreatePricingPlanProductResponse","_CreatePricingPlanProductResponse","DeletePricingPlanProductRequest","_DeletePricingPlanProductRequest","GetMultiPricingPlanProductRequest","_GetMultiPricingPlanProductRequest","GetMultiPricingPlanProductResponse","_GetMultiPricingPlanProductResponse","PricingPlanProduct","GetPricingPlanProductRequest","_GetPricingPlanProductRequest","GetPricingPlanProductResponse","_GetPricingPlanProductResponse","ListPricingPlanProductsRequestListPricingPlanProductsFilters","_ListPricingPlanProductsRequestListPricingPlanProductsFilters","ListPricingPlanProductsRequest","_ListPricingPlanProductsRequest","ListPricingPlanProductsResponse","_ListPricingPlanProductsResponse","PricingPlanProduct","_PricingPlanProduct","proto","m","enumStringToValue$e","Frequency","obj","k","PricingPlanProductPricing","Commitment","BillingStrategy","ProductPricingType","kwargs","toReturn","UpdatePricingPlanProductRequest","_UpdatePricingPlanProductRequest","FieldMask","UpdatePricingPlanProductResponse","_UpdatePricingPlanProductResponse","UpsertWholesalePricingRequest","_UpsertWholesalePricingRequest","enumStringToValue$d","enumRef","value","GetMultiProductRequest","_GetMultiProductRequest","proto","m","kwargs","toReturn","GetMultiProductResponse","_GetMultiProductResponse","obj","k","Product","ListProductsRequestListProductsFilters","_ListProductsRequestListProductsFilters","v","enumStringToValue$d","ProductType","ListProductsRequest","_ListProductsRequest","PagedRequestOptions","ListProductsResponse","_ListProductsResponse","PagedResponseMetadata","_Product","enumStringToValue$c","enumRef","value","AppliedCredit","_AppliedCredit","proto","m","CreditType","kwargs","toReturn","ListPurchaseRequestListPurchaseBillingStrategyFilter","_ListPurchaseRequestListPurchaseBillingStrategyFilter","v","BillingStrategy","ListPurchaseRequestListPurchaseFilters","_ListPurchaseRequestListPurchaseFilters","ListPurchaseRequestState","PurchaseStatus","ListPurchaseItemsRequestListPurchaseItemsFilters","_ListPurchaseItemsRequestListPurchaseItemsFilters","ListPurchaseItemsRequest","_ListPurchaseItemsRequest","PagedRequestOptions","ListPurchaseItemsResponse","_ListPurchaseItemsResponse","PurchaseItem","PagedResponseMetadata","Currency","ListPurchaseRequest","_ListPurchaseRequest","ListPurchaseResponse","_ListPurchaseResponse","Purchase","PauseDunningRequest","_PauseDunningRequest","_Purchase","AppliedTaxRate","_PurchaseItem","AppliedDiscount","AppliedFee","ResumeDunningRequest","_ResumeDunningRequest","RetryPurchaseRequest","_RetryPurchaseRequest","StopDunningRequest","_StopDunningRequest","VoidPurchaseRequest","_VoidPurchaseRequest","enumStringToValue$a","enumRef","value","CreateSalesCreditNoteRequest","_CreateSalesCreditNoteRequest","proto","m","kwargs","toReturn","ListSalesCreditNoteRequestListSalesCreditNoteFilters","_ListSalesCreditNoteRequestListSalesCreditNoteFilters","v","SalesCreditNoteStatus","ListSalesCreditNoteRequest","_ListSalesCreditNoteRequest","PagedRequestOptions","ListSalesCreditNoteResponse","_ListSalesCreditNoteResponse","SalesCreditNote","PagedResponseMetadata","_SalesCreditNote","Currency","enumStringToValue$9","GetSalesInvoiceRequest","_GetSalesInvoiceRequest","GetSalesInvoiceResponse","_GetSalesInvoiceResponse","SalesInvoice","ListSalesInvoiceRequestListSalesInvoiceFilters","_ListSalesInvoiceRequestListSalesInvoiceFilters","SalesInvoiceStatus","PaymentStatuses","ListSalesInvoiceRequest","_ListSalesInvoiceRequest","ListSalesInvoiceResponse","_ListSalesInvoiceResponse","PostSalesInvoiceRequest","_PostSalesInvoiceRequest","_SalesInvoice","SalesInvoiceType","SendSalesInvoiceEmailRequest","_SendSalesInvoiceEmailRequest","SendSalesInvoiceReceiptEmailRequest","_SendSalesInvoiceReceiptEmailRequest","enumStringToValue$7","enumRef","value","GetRetailCustomerConfigurationRequest","_GetRetailCustomerConfigurationRequest","proto","m","kwargs","toReturn","GetRetailCustomerConfigurationResponse","_GetRetailCustomerConfigurationResponse","RetailCustomerConfiguration","_RetailCustomerConfiguration","v","PaymentMethodType","UpsertRetailCustomerConfigurationRequest","_UpsertRetailCustomerConfigurationRequest","AddCreditRequest","_AddCreditRequest","proto","m","kwargs","toReturn","CreditBalance","_CreditBalance","GetBalanceRequest","_GetBalanceRequest","GetBalanceResponse","_GetBalanceResponse","enumStringToValue$5","enumRef","value","RecurringInvoiceCustomerAddress","_RecurringInvoiceCustomerAddress","ListRecurringInvoicesFiltersDateFilter","_ListRecurringInvoicesFiltersDateFilter","DeleteRecurringInvoiceRequest","_DeleteRecurringInvoiceRequest","ListRecurringInvoicesFiltersDetailedInterval","_ListRecurringInvoicesFiltersDetailedInterval","Interval","GetRecurringInvoiceRequest","_GetRecurringInvoiceRequest","ListRecurringInvoicesFilters","_ListRecurringInvoicesFilters","v","RecurringInvoiceStatus","ListRecurringInvoicesRequest","_ListRecurringInvoicesRequest","PagedRequestOptions","ListRecurringInvoicesResponse","_ListRecurringInvoicesResponse","RecurringInvoice","PagedResponseMetadata","_RecurringInvoice","CollectionMethod","PaymentProcessor","RecurringInvoiceItem","RecurringInvoiceBundle","_RecurringInvoiceBundle","RecurringInvoiceLineItem","_RecurringInvoiceItem","_RecurringInvoiceLineItem","UpdateRecurringInvoiceRequest","_UpdateRecurringInvoiceRequest","FieldMask","enumStringToValue$4","CreateMerchantServicesReportRun","_CreateMerchantServicesReportRun","MerchantServicesReportRunType","GetMerchantServicesReportRun","_GetMerchantServicesReportRun","MerchantServicesReportRun","_MerchantServicesReportRun","MerchantServicesReportRunStatus","ReplaceSubscriptionPresetsRequest","_ReplaceSubscriptionPresetsRequest","proto","m","SubscriptionPreset","kwargs","toReturn","ReplaceSubscriptionPresetsResponse","_ReplaceSubscriptionPresetsResponse","_SubscriptionPreset","enumStringToValue","enumRef","value","DeleteRetailPricingRequest","_DeleteRetailPricingRequest","GenerateBillableItemsCSVRequest","_GenerateBillableItemsCSVRequest","GenerateBillableItemsCSVResponse","_GenerateBillableItemsCSVResponse","GenerateVendorReportRequest","_GenerateVendorReportRequest","GenerateVendorReportResponse","_GenerateVendorReportResponse","GetMultiBundleRetailPricingRequest","_GetMultiBundleRetailPricingRequest","GetMultiBundleRetailPricingResponse","_GetMultiBundleRetailPricingResponse","obj","k","BundlePricing","GetMultiProductPricingRequest","_GetMultiProductPricingRequest","GetMultiProductPricingResponse","_GetMultiProductPricingResponse","ProductPricing","ProductPrices","GetMultiRetailPricingRequest","_GetMultiRetailPricingRequest","Currency","GetMultiRetailPricingResponse","_GetMultiRetailPricingResponse","GetMultiWholesaleCostRequest","_GetMultiWholesaleCostRequest","WholesaleCostItemRequest","GetMultiWholesaleCostResponse","_GetMultiWholesaleCostResponse","GetPurchaseCostResponse","GetPurchaseCostRequest","_GetPurchaseCostRequest","Frequency","_GetPurchaseCostResponse","BillingStrategy","Commitment","GetRevenueStatsRequest","_GetRevenueStatsRequest","GetRevenueStatsResponse","_GetRevenueStatsResponse","GetStatisticsRequest","_GetStatisticsRequest","GetStatisticsResponse","_GetStatisticsResponse","GetWholesaleComparisonRequestGetWholesaleComparisonFilters","_GetWholesaleComparisonRequestGetWholesaleComparisonFilters","GetWholesaleComparisonRequest","_GetWholesaleComparisonRequest","GetWholesaleComparisonResponse","_GetWholesaleComparisonResponse","GetWholesaleComparisonResponseGetWholesaleComparisonResult","_GetWholesaleComparisonResponseGetWholesaleComparisonResult","SetWholesaleProductStrategyRequest","_SetWholesaleProductStrategyRequest","proto","m","enumStringToValue","BillingStrategy","kwargs","toReturn","SetWholesaleProductVolumeCommitmentRequest","_SetWholesaleProductVolumeCommitmentRequest","StartRevRecTemplateBackfillRequest","_StartRevRecTemplateBackfillRequest","UpsertRetailPricingRequest","_UpsertRetailPricingRequest","Frequency","obj","k","PricingPlanProductPricing","environment","hostMap","HostService","_HostService","t","ɵɵdefineInjectable","BillingApiService","_BillingApiService","http","hostService","HttpHeaders","r","request","CanBillItemRequest","__spreadProps","__spreadValues","CanCreateSubscriptionsRequest","map","resp","CanCreateSubscriptionsResponse","CreateSubscriptionRequest","CreateSubscriptionResponse","CreateSubscriptionsRequest","CreateSubscriptionsResponse","ReverseSubscriptionRequest","SetAutoBillableRequest","SetRenewalStartRequest","BillItemRequest","BillMultipleItemsRequest","BillMultipleItemsResponse","GetBillableItemRequest","GetBillableItemResponse","GetMultiSubscriptionsRequest","GetMultiSubscriptionsResponse","ListSubscriptionsRequest","ListSubscriptionsResponse","ExportSubscriptionsRequest","ExportResponse","ListBillableItemsRequest","ListBillableItemsResponse","ExpireBillableItemRequest","UnexpireBillableItemRequest","DeleteBillableItemRequest","ListMerchantBillingReportsRequest","ListMerchantBillingReportsResponse","ListProductSummariesRequest","ListProductSummariesResponse","GetProductSummariesTotalRequest","GetProductSummariesTotalResponse","GenerateBillableItemsCSVRequest","GenerateBillableItemsCSVResponse","CreatePricingPlanRequest","CreatePricingPlanResponse","UpdatePricingPlanRequest","UpdatePricingPlanResponse","GetMultiPricingPlanRequest","GetMultiPricingPlanResponse","CreatePricingPlanProductRequest","CreatePricingPlanProductResponse","UpdatePricingPlanProductRequest","UpdatePricingPlanProductResponse","DeletePricingPlanProductRequest","ListPricingPlanProductsRequest","ListPricingPlanProductsResponse","GetPricingPlanProductRequest","GetPricingPlanProductResponse","GetMultiPricingPlanProductRequest","GetMultiPricingPlanProductResponse","GetMultiProductPricingRequest","GetMultiProductPricingResponse","TickComponentUsageRequest","CreateMeteredComponentRequest","CreateUsageRequest","ListContractsRequest","ListContractsResponse","GetMultiContractsRequest","GetMultiContractsResponse","GetMerchantWholesaleCurrencyRequest","GetMerchantWholesaleCurrencyResponse","ListProductsRequest","ListProductsResponse","GetMultiProductRequest","GetMultiProductResponse","ResetContractPricingRequest","GetPurchaseCostRequest","GetPurchaseCostResponse","ChangeFrequencyRequest","ChangeRenewalDateRequest","ChangeCustomUnitPriceRequest","StartRevRecTemplateBackfillRequest","ReplaceSubscriptionPresetsRequest","ReplaceSubscriptionPresetsResponse","UpdateSubscriptionRequest","UpdateSubscriptionResponse","t","ɵɵinject","HttpClient","HostService","ɵɵdefineInjectable","BundleApiService","_BundleApiService","UpsertBundleRequest","GetMultiBundleRequest","GetMultiBundleResponse","ListBundlesRequest","ListBundlesResponse","ContractApiService","_ContractApiService","http","hostService","HttpHeaders","r","request","GetContractRequest","map","resp","GetContractResponse","UpdateContractSubscriptionRequest","__spreadProps","__spreadValues","CreateContractRequest","CreateContractResponse","UpdateContractRequest","UpdateContractResponse","t","ɵɵinject","HttpClient","HostService","ɵɵdefineInjectable","CreditApiService","_CreditApiService","AddCreditRequest","GetBalanceRequest","GetBalanceResponse","DiscountApiService","_DiscountApiService","ListDiscountsRequest","ListDiscountsResponse","CreateDiscountRequest","CreateDiscountResponse","UpdateDiscountRequest","ExpireDiscountRequest","InvoiceApiService","_InvoiceApiService","AddBundleRequest","AddBundleResponse","AddLineItemRequest","AddLineItemResponse","ChargeInvoiceRequest","CreateInvoiceRequest","CreateInvoiceResponse","DeleteInvoiceRequest","DeleteLineItemRequest","DeleteLineItemResponse","GetInvoiceRequest","GetInvoiceResponse","RemoveBundleRequest","RemoveBundleResponse","SendInvoiceRequest","ListInvoicesRequest","ListInvoicesResponse","UpdateInvoiceRequest","UpdateInvoiceResponse","PayInvoiceRequest","UpdateDefaultTaxRatesRequest","UpdateDefaultTaxRatesResponse","UpdateLineItemRequest","UpdateLineItemResponse","VoidInvoiceRequest","DuplicateInvoiceRequest","DuplicateInvoiceResponse","UpdateBundleRequest","UpdateBundleResponse","CreatePaymentLinkRequest","CreatePaymentLinkResponse","GetUpcomingInvoicePreviewRequest","GetUpcomingInvoicePreviewResponse","MerchantApiService","_MerchantApiService","CreateMerchantRequest","GetMerchantRequest","GetMerchantResponse","GetOutstandingBalanceRequest","GetOutstandingBalanceResponse","UpdateMerchantRequest","CreatePaymentCardRequest","SetDefaultPaymentCardRequest","ListPaymentCardsRequest","ListPaymentCardsResponse","UpdatePaymentCardRequest","GetStatisticsRequest","GetStatisticsResponse","SearchMerchantsRequest","SearchMerchantsResponse","SetAutoPostInvoicesRequest","SetAutoChargeInvoicesRequest","SetIncludeInFinancialRecordsRequest","SetHasAlternativePaymentMethodRequest","SendSalesInvoiceEmailRequest","ChargeSalesInvoiceRequest","SendSalesInvoiceReceiptEmailRequest","CreateStripeExternalAccountRequest","ListBankAccountsRequest","ListBankAccountsResponse","SetDefaultBankAccountRequest","DeleteBankAccountRequest","GetMultiRetailConfigurationsRequest","GetMultiRetailConfigurationsResponse","UpsertRetailConfigurationRequest","UpsertDefaultRetailCustomerConfigurationRequest","GetRetailBalanceRequest","GetRetailBalanceResponse","GetPayoutSummaryRequest","GetPayoutSummaryResponse","ListRetailPayoutsRequest","ListRetailPayoutsResponse","GetRetailPayoutRequest","GetRetailPayoutResponse","CreateMerchantServicesReportRun","MerchantServicesReportRun","GetMerchantServicesReportRun","GetRetailAccountBalanceRequest","GetRetailAccountBalanceResponse","CancelRetailBillingRequest","PaymentMethodApiService","_PaymentMethodApiService","DeletePaymentCardRequest","SetDefaultPaymentMethodRequest","ListPaymentMethodsRequest","ListPaymentMethodsResponse","PaymentApiService","_PaymentApiService","ListPaymentRequest","ListPaymentResponse","GetRetailPaymentRequest","GetRetailPaymentResponse","ListRetailPaymentsRequest","ListRetailPaymentsResponse","ListRetailTransactionsRequest","ListRetailTransactionsResponse","ListRetailDisputesRequest","ListRetailDisputesResponse","GetRetailDisputeRequest","GetRetailDisputeResponse","CloseRetailDisputeRequest","PrepareRetailPaymentRequest","PrepareRetailPaymentResponse","ConfirmRetailPaymentRequest","RetailStatusRequest","RetailStatusResponse","RetailPaymentsEnabledRequest","RetailPaymentsEnabledResponse","ConfigureRetailPaymentProviderRequest","ConfigureRetailPaymentProviderResponse","UpdateRetailPaymentProviderRequest","GetRetailPaymentProviderRequest","GetRetailPaymentProviderResponse","SubmitEvidenceRequest","GetWholesaleProviderPublicKeyRequest","GetWholesaleProviderPublicKeyResponse","RefundRetailPaymentRequest","RefundRetailPaymentResponse","PricingApiService","_PricingApiService","GetMultiRetailPricingRequest","GetMultiRetailPricingResponse","UpsertRetailPricingRequest","DeleteRetailPricingRequest","GetMultiBundleRetailPricingRequest","GetMultiBundleRetailPricingResponse","GetWholesaleComparisonRequest","GetWholesaleComparisonResponse","SetWholesaleProductStrategyRequest","SetWholesaleProductVolumeCommitmentRequest","GetPurchaseCostRequest","GetPurchaseCostResponse","GetMultiWholesaleCostRequest","GetMultiWholesaleCostResponse","UpsertWholesalePricingRequest","ProductSummaryApiService","_ProductSummaryApiService","http","hostService","HttpHeaders","r","request","ListSubscriptionRetentionRequest","map","resp","ListSubscriptionRetentionByGroupResponse","ListSubscriptionRetentionBySKUResponse","t","ɵɵinject","HttpClient","HostService","ɵɵdefineInjectable","PurchaseApiService","_PurchaseApiService","ListPurchaseRequest","ListPurchaseResponse","GetMultiCustomerSummariesRequest","GetMultiCustomerSummariesResponse","ListPurchaseItemsRequest","ListPurchaseItemsResponse","RetryPurchaseRequest","__spreadProps","__spreadValues","VoidPurchaseRequest","PauseDunningRequest","ResumeDunningRequest","StopDunningRequest","RecurringInvoiceApiService","_RecurringInvoiceApiService","RecurringInvoice","UpdateRecurringInvoiceRequest","GetRecurringInvoiceRequest","ListRecurringInvoicesRequest","ListRecurringInvoicesResponse","DeleteRecurringInvoiceRequest","RetailCustomerConfigurationApiService","_RetailCustomerConfigurationApiService","http","hostService","HttpHeaders","r","request","GetRetailCustomerConfigurationRequest","map","resp","GetRetailCustomerConfigurationResponse","UpsertRetailCustomerConfigurationRequest","__spreadProps","__spreadValues","t","ɵɵinject","HttpClient","HostService","ɵɵdefineInjectable","SalesCreditNoteApiService","_SalesCreditNoteApiService","CreateSalesCreditNoteRequest","ListSalesCreditNoteRequest","ListSalesCreditNoteResponse","SalesInvoiceApiService","_SalesInvoiceApiService","ListSalesInvoiceRequest","ListSalesInvoiceResponse","PostSalesInvoiceRequest","GetSalesInvoiceRequest","GetSalesInvoiceResponse","TaxApiService","_TaxApiService","http","hostService","HttpHeaders","r","request","CalculateTaxRequest","map","resp","CalculateTaxResponse","CalculateLineItemTaxesRequest","CalculateLineItemTaxesResponse","CreateTaxRequest","__spreadProps","__spreadValues","GetMultiTaxRequest","GetMultiTaxResponse","UpdateTaxRequest","ListTaxRequest","ListTaxResponse","ArchiveTaxRequest","t","ɵɵinject","HttpClient","HostService","ɵɵdefineInjectable","VendorApiService","_VendorApiService","GenerateVendorReportRequest","GenerateVendorReportResponse","GetRevenueStatsRequest","GetRevenueStatsResponse","SortDirection","PagedResponse","constructor","results","nextCursor","hasMore"],"x_google_ignoreList":[0]}