@vendasta/billing 10.6.0 → 10.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/payment.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/refund.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/objects/payment.mjs +130 -1
- package/esm2020/lib/_internal/objects/refund.mjs +7 -1
- package/esm2020/lib/_internal/payment.api.service.mjs +7 -2
- package/fesm2015/vendasta-billing.mjs +140 -1
- package/fesm2015/vendasta-billing.mjs.map +1 -1
- package/fesm2020/vendasta-billing.mjs +140 -1
- package/fesm2020/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/interfaces/index.d.ts +1 -7
- package/lib/_internal/interfaces/payment.interface.d.ts +20 -0
- package/lib/_internal/interfaces/refund.interface.d.ts +2 -0
- package/lib/_internal/objects/index.d.ts +1 -7
- package/lib/_internal/objects/payment.d.ts +32 -0
- package/lib/_internal/objects/refund.d.ts +2 -0
- package/lib/_internal/payment.api.service.d.ts +3 -2
- package/package.json +1 -1
- package/esm2020/lib/_internal/interfaces/card.interface.mjs +0 -8
- package/esm2020/lib/_internal/interfaces/currency.interface.mjs +0 -8
- package/esm2020/lib/_internal/interfaces/frequency.interface.mjs +0 -8
- package/esm2020/lib/_internal/interfaces/month.interface.mjs +0 -8
- package/esm2020/lib/_internal/interfaces/payment-processor.interface.mjs +0 -8
- package/esm2020/lib/_internal/interfaces/sort-direction.interface.mjs +0 -8
- package/esm2020/lib/_internal/objects/card.mjs +0 -7
- package/esm2020/lib/_internal/objects/currency.mjs +0 -7
- package/esm2020/lib/_internal/objects/frequency.mjs +0 -7
- package/esm2020/lib/_internal/objects/month.mjs +0 -7
- package/esm2020/lib/_internal/objects/payment-processor.mjs +0 -7
- package/esm2020/lib/_internal/objects/sort-direction.mjs +0 -7
- package/lib/_internal/interfaces/card.interface.d.ts +0 -1
- package/lib/_internal/interfaces/currency.interface.d.ts +0 -1
- package/lib/_internal/interfaces/frequency.interface.d.ts +0 -1
- package/lib/_internal/interfaces/month.interface.d.ts +0 -1
- package/lib/_internal/interfaces/payment-processor.interface.d.ts +0 -1
- package/lib/_internal/interfaces/sort-direction.interface.d.ts +0 -1
- package/lib/_internal/objects/card.d.ts +0 -1
- package/lib/_internal/objects/currency.d.ts +0 -1
- package/lib/_internal/objects/frequency.d.ts +0 -1
- package/lib/_internal/objects/month.d.ts +0 -1
- package/lib/_internal/objects/payment-processor.d.ts +0 -1
- package/lib/_internal/objects/sort-direction.d.ts +0 -1
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './common.interface';
|
|
2
|
-
export {} from './frequency.interface';
|
|
3
2
|
export { BillItemRequestInterface, BillMultipleItemsRequestInterface, BillMultipleItemsResponseInterface, BillableItemInterface, CanBillItemRequestInterface, CreateUsageRequestInterface, BillableItemCustomerAddressInterface, DeleteBillableItemRequestInterface, ExpireBillableItemRequestInterface, ListBillableItemsRequestFiltersInterface, GetBillableItemRequestInterface, GetBillableItemResponseInterface, GetMultiSubscriptionsRequestInterface, GetMultiSubscriptionsResponseInterface, ItemInterface, GetMultiSubscriptionsRequestKeyInterface, ListBillableItemsRequestInterface, ListBillableItemsResponseInterface, } from './billable-item.interface';
|
|
4
3
|
export { AppliedDiscountInterface, } from './applied-discount.interface';
|
|
5
4
|
export { BundleInterface, BundleItemInterface, BundlePricingInterface, GetMultiBundleResponseBundlesEntryInterface, ListBundlesRequestFiltersInterface, GetMultiBundleRequestInterface, GetMultiBundleResponseInterface, ListBundlesRequestInterface, ListBundlesResponseInterface, BundleItemPriceInterface, BundlePricingPriceAndFrequencyInterface, UpsertBundleRequestInterface, } from './bundle.interface';
|
|
6
5
|
export { CommitmentInterface, } from './commitment.interface';
|
|
7
|
-
export {} from './currency.interface';
|
|
8
6
|
export { ContractInterface, GetMultiContractsResponseContractsEntryInterface, CreateContractRequestInterface, CreateContractResponseInterface, GetContractRequestInterface, GetContractResponseInterface, GetMultiContractsRequestInterface, GetMultiContractsResponseInterface, ListContractsRequestInterface, ListContractsResponseInterface, UpdateContractRequestMutationInterface, ResetContractPricingRequestInterface, UpdateContractRequestInterface, UpdateContractResponseInterface, UpdateContractSubscriptionRequestInterface, } from './contract.interface';
|
|
9
7
|
export { CustomerSummaryInterface, GetMultiCustomerSummariesRequestInterface, GetMultiCustomerSummariesResponseInterface, } from './customer-summary.interface';
|
|
10
8
|
export { BankAccountInterface, CreateStripeExternalAccountRequestInterface, DeleteBankAccountRequestInterface, ListBankAccountsRequestInterface, ListBankAccountsResponseInterface, SetDefaultBankAccountRequestInterface, } from './external-account.interface';
|
|
@@ -18,13 +16,10 @@ export { AddBundleRequestInterface, AddBundleResponseInterface, AddLineItemReque
|
|
|
18
16
|
export { AccountBalanceInterface, BalanceInterface, BalanceAmountInterface, } from './balance.interface';
|
|
19
17
|
export { DateRangeInterface, } from './date-range.interface';
|
|
20
18
|
export { ListPayoutsRequestFiltersInterface, ListPayoutsRequestInterface, ListPayoutsResponseInterface, PayoutInterface, ReconcilePayoutRequestInterface, ReconcilePayoutResponseInterface, RetailPayoutInterface, } from './payout.interface';
|
|
21
|
-
export {} from './sort-direction.interface';
|
|
22
19
|
export { ChargeSalesInvoiceRequestInterface, ConnectStripeAccountRequestInterface, ConnectStripeAccountResponseInterface, CreateMerchantRequestInterface, DefaultCustomerConfigurationInterface, GetMerchantRequestInterface, GetMerchantResponseInterface, GetMultiRetailConfigurationsRequestInterface, GetMultiRetailConfigurationsResponseInterface, GetOutstandingBalanceRequestInterface, GetOutstandingBalanceResponseInterface, GetPayoutSummaryRequestInterface, GetPayoutSummaryResponseInterface, GetRetailAccountBalanceRequestInterface, GetRetailAccountBalanceResponseInterface, GetRetailBalanceRequestInterface, GetRetailBalanceResponseInterface, GetRetailPayoutRequestInterface, GetRetailPayoutResponseInterface, CreateMerchantRequestIncludeInFinancialRecordsInterface, UpdateMerchantRequestIncludeInFinancialRecordsInterface, ListRetailPayoutsRequestInterface, ListRetailPayoutsResponseInterface, MerchantInterface, RetailConfigurationInterface, GetMultiRetailConfigurationsResponseRetailConfigurationsEntryInterface, SearchMerchantsRequestInterface, SearchMerchantsResponseInterface, SetAutoChargeInvoicesRequestInterface, SetAutoPostInvoicesRequestInterface, SetDefaultPaymentCardRequestInterface, SetHasAlternativePaymentMethodRequestInterface, SetIncludeInFinancialRecordsRequestInterface, UpdateMerchantRequestInterface, UpsertDefaultRetailCustomerConfigurationRequestInterface, UpsertRetailConfigurationRequestInterface, } from './merchant.interface';
|
|
23
|
-
export {} from './month.interface';
|
|
24
20
|
export { ListMerchantBillingReportsRequestInterface, ListMerchantBillingReportsResponseInterface, MerchantReportInterface, } from './merchant-report.interface';
|
|
25
21
|
export { CreateMeteredComponentRequestInterface, MeteredComponentInterface, TickComponentUsageRequestInterface, } from './metered-component.interface';
|
|
26
|
-
export {} from './
|
|
27
|
-
export { RetailPaymentCardDetailsInterface, CloseRetailDisputeRequestInterface, ConfigureRetailPaymentProviderRequestInterface, ConfigureRetailPaymentProviderResponseInterface, ConfirmRetailPaymentRequestInterface, DisputeInterface, DisputeEvidenceInterface, SubmitEvidenceRequestDisputeEvidenceInterface, DisputeEvidenceDetailsInterface, FileInterface, GetRetailDisputeRequestInterface, GetRetailDisputeResponseInterface, GetRetailPaymentProviderRequestInterface, GetRetailPaymentProviderResponseInterface, GetRetailPaymentRequestInterface, GetRetailPaymentResponseInterface, GetWholesaleProviderPublicKeyRequestInterface, GetWholesaleProviderPublicKeyResponseInterface, ListPaymentRequestListPaymentFiltersInterface, ListPaymentRequestInterface, ListPaymentResponseInterface, ListRetailDisputesRequestInterface, ListRetailDisputesResponseInterface, ListRetailPaymentsRequestListRetailPaymentsFiltersInterface, ListRetailPaymentsRequestInterface, ListRetailPaymentsResponseInterface, PrepareRetailPaymentRequestOrderInterface, PaymentInterface, PaymentPaymentAllocationInterface, PrepareRetailPaymentRequestInterface, PrepareRetailPaymentResponseInterface, RefundRetailPaymentRequestInterface, RefundRetailPaymentResponseInterface, RetailPaymentInterface, RetailPaymentsEnabledRequestInterface, RetailPaymentsEnabledResponseInterface, RetailRefundInterface, RetailStatusRequestInterface, RetailStatusResponseInterface, SubmitEvidenceRequestInterface, UpdateRetailPaymentProviderRequestInterface, RetailStatusResponseVerificationErrorInterface, RetailStatusResponseVerificationRequirementsInterface, } from './payment.interface';
|
|
22
|
+
export { RetailPaymentCardDetailsInterface, CloseRetailDisputeRequestInterface, ConfigureRetailPaymentProviderRequestInterface, ConfigureRetailPaymentProviderResponseInterface, ConfirmRetailPaymentRequestInterface, DisputeInterface, DisputeEvidenceInterface, SubmitEvidenceRequestDisputeEvidenceInterface, DisputeEvidenceDetailsInterface, FileInterface, GetRetailDisputeRequestInterface, GetRetailDisputeResponseInterface, GetRetailPaymentProviderRequestInterface, GetRetailPaymentProviderResponseInterface, GetRetailPaymentRequestInterface, GetRetailPaymentResponseInterface, GetWholesaleProviderPublicKeyRequestInterface, GetWholesaleProviderPublicKeyResponseInterface, ListPaymentRequestListPaymentFiltersInterface, ListPaymentRequestInterface, ListPaymentResponseInterface, ListRetailDisputesRequestInterface, ListRetailDisputesResponseInterface, ListRetailPaymentsRequestListRetailPaymentsFiltersInterface, ListRetailPaymentsRequestInterface, ListRetailPaymentsResponseInterface, ListRetailTransactionsRequestListRetailTransactionsFiltersInterface, ListRetailTransactionsRequestInterface, ListRetailTransactionsResponseInterface, PrepareRetailPaymentRequestOrderInterface, PaymentInterface, PaymentPaymentAllocationInterface, PrepareRetailPaymentRequestInterface, PrepareRetailPaymentResponseInterface, RefundRetailPaymentRequestInterface, RefundRetailPaymentResponseInterface, RetailPaymentInterface, RetailPaymentsEnabledRequestInterface, RetailPaymentsEnabledResponseInterface, RetailRefundInterface, RetailStatusRequestInterface, RetailStatusResponseInterface, RetailTransactionInterface, SubmitEvidenceRequestInterface, UpdateRetailPaymentProviderRequestInterface, RetailStatusResponseVerificationErrorInterface, RetailStatusResponseVerificationRequirementsInterface, } from './payment.interface';
|
|
28
23
|
export { CreatePaymentCardRequestInterface, DeletePaymentCardRequestInterface, ListPaymentCardsRequestInterface, ListPaymentCardsResponseInterface, PaymentCardInterface, SetDefaultPaymentMethodRequestInterface, UpdatePaymentCardRequestInterface, } from './payment-card.interface';
|
|
29
24
|
export { AppliedFeeInterface, FeeInterface, } from './fee.interface';
|
|
30
25
|
export { ComponentPricingInterface, CreatePricingPlanRequestInterface, CreatePricingPlanResponseInterface, GetMultiPricingPlanRequestInterface, GetMultiPricingPlanResponseInterface, PricingPlanInterface, PricingPlanProductPricingInterface, ProductPricingRuleInterface, UpdatePricingPlanRequestInterface, UpdatePricingPlanResponseInterface, } from './pricing-plan.interface';
|
|
@@ -41,7 +36,6 @@ export { ContractDocumentInterface, DeleteContractDocumentRequestInterface, List
|
|
|
41
36
|
export { GetRetailCustomerConfigurationRequestInterface, GetRetailCustomerConfigurationResponseInterface, RetailCustomerConfigurationInterface, UpsertRetailCustomerConfigurationRequestInterface, } from './retail-customer-configuration.interface';
|
|
42
37
|
export { AddCreditRequestInterface, CreditBalanceInterface, GetBalanceRequestInterface, GetBalanceResponseInterface, } from './credit.interface';
|
|
43
38
|
export { AddTemplateBundleRequestInterface, AddTemplateBundleResponseInterface, AddTemplateLineItemRequestInterface, AddTemplateLineItemResponseInterface, CreateTemplateRequestInterface, CreateTemplateResponseInterface, DeleteInvoiceTemplateRequestInterface, DeleteTemplateLineItemRequestInterface, DeleteTemplateLineItemResponseInterface, GetInvoiceTemplateRequestInterface, GetInvoiceTemplateResponseInterface, InvoiceTemplateInterface, InvoiceTemplateItemInterface, UpsertInvoiceTemplateRequestInvoiceTemplateItemRequestInterface, UpdateTemplateBundleRequestInterface, UpdateTemplateBundleResponseInterface, UpdateTemplateDefaultTaxRatesRequestInterface, UpdateTemplateDefaultTaxRatesResponseInterface, UpdateTemplateLineItemRequestInterface, UpdateTemplateLineItemResponseInterface, UpsertInvoiceTemplateRequestInterface, UpsertInvoiceTemplateResponseInterface, } from './invoice-template.interface';
|
|
44
|
-
export {} from './payment-processor.interface';
|
|
45
39
|
export { DeleteRecurringInvoiceRequestInterface, GetRecurringInvoiceRequestInterface, ListRecurringInvoicesFiltersInterface, ListRecurringInvoicesRequestInterface, ListRecurringInvoicesResponseInterface, RecurringInvoiceInterface, RecurringInvoiceBundleInterface, RecurringInvoiceItemInterface, RecurringInvoiceLineItemInterface, UpdateRecurringInvoiceRequestInterface, } from './recurring-invoice.interface';
|
|
46
40
|
export { CreateMerchantServicesReportRunInterface, GetMerchantServicesReportRunInterface, MerchantServicesReportRunInterface, } from './report-run.interface';
|
|
47
41
|
export { AccessInterface, } from './annotations.interface';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PagedRequestOptionsInterface, PagedResponseMetadataInterface } from './common.interface';
|
|
2
|
+
import { RetailPayoutInterface } from './payout.interface';
|
|
2
3
|
import * as e from '../enums';
|
|
3
4
|
export interface RetailPaymentCardDetailsInterface {
|
|
4
5
|
cardType?: e.CardType;
|
|
@@ -134,6 +135,20 @@ export interface ListRetailPaymentsResponseInterface {
|
|
|
134
135
|
payments?: RetailPaymentInterface[];
|
|
135
136
|
pagingMetadata?: PagedResponseMetadataInterface;
|
|
136
137
|
}
|
|
138
|
+
export interface ListRetailTransactionsRequestListRetailTransactionsFiltersInterface {
|
|
139
|
+
payoutId?: string;
|
|
140
|
+
createdDateGte?: Date;
|
|
141
|
+
createdDateLte?: Date;
|
|
142
|
+
}
|
|
143
|
+
export interface ListRetailTransactionsRequestInterface {
|
|
144
|
+
merchantId?: string;
|
|
145
|
+
pagingOptions?: PagedRequestOptionsInterface;
|
|
146
|
+
filters?: ListRetailTransactionsRequestListRetailTransactionsFiltersInterface;
|
|
147
|
+
}
|
|
148
|
+
export interface ListRetailTransactionsResponseInterface {
|
|
149
|
+
transactions?: RetailTransactionInterface[];
|
|
150
|
+
pagingMetadata?: PagedResponseMetadataInterface;
|
|
151
|
+
}
|
|
137
152
|
export interface PrepareRetailPaymentRequestOrderInterface {
|
|
138
153
|
orderId?: string;
|
|
139
154
|
amount?: number;
|
|
@@ -218,6 +233,11 @@ export interface RetailStatusResponseInterface {
|
|
|
218
233
|
requirements?: RetailStatusResponseVerificationRequirementsInterface;
|
|
219
234
|
disabledReason?: string;
|
|
220
235
|
}
|
|
236
|
+
export interface RetailTransactionInterface {
|
|
237
|
+
payment?: RetailPaymentInterface;
|
|
238
|
+
refund?: RetailRefundInterface;
|
|
239
|
+
payout?: RetailPayoutInterface;
|
|
240
|
+
}
|
|
221
241
|
export interface SubmitEvidenceRequestInterface {
|
|
222
242
|
merchantId?: string;
|
|
223
243
|
disputeId?: string;
|
|
@@ -6,6 +6,7 @@ export interface CreateRefundRequestInterface {
|
|
|
6
6
|
reason?: e.RefundReason;
|
|
7
7
|
referenceType?: e.ReferenceType;
|
|
8
8
|
referenceId?: string;
|
|
9
|
+
description?: string;
|
|
9
10
|
}
|
|
10
11
|
export interface ListRefundsRequestInterface {
|
|
11
12
|
paymentIds?: string[];
|
|
@@ -30,4 +31,5 @@ export interface RefundInterface {
|
|
|
30
31
|
updated?: Date;
|
|
31
32
|
referenceType?: e.ReferenceType;
|
|
32
33
|
referenceId?: string;
|
|
34
|
+
description?: string;
|
|
33
35
|
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
export { PagedRequestOptions, PagedResponseMetadata, } from './common';
|
|
2
|
-
export {} from './frequency';
|
|
3
2
|
export { BillItemRequest, BillMultipleItemsRequest, BillMultipleItemsResponse, BillableItem, CanBillItemRequest, CreateUsageRequest, BillableItemCustomerAddress, DeleteBillableItemRequest, ExpireBillableItemRequest, ListBillableItemsRequestFilters, GetBillableItemRequest, GetBillableItemResponse, GetMultiSubscriptionsRequest, GetMultiSubscriptionsResponse, Item, GetMultiSubscriptionsRequestKey, ListBillableItemsRequest, ListBillableItemsResponse, } from './billable-item';
|
|
4
3
|
export { AppliedDiscount, } from './applied-discount';
|
|
5
4
|
export { Bundle, BundleItem, BundlePricing, GetMultiBundleResponseBundlesEntry, ListBundlesRequestFilters, GetMultiBundleRequest, GetMultiBundleResponse, ListBundlesRequest, ListBundlesResponse, BundleItemPrice, BundlePricingPriceAndFrequency, UpsertBundleRequest, } from './bundle';
|
|
6
5
|
export { Commitment, } from './commitment';
|
|
7
|
-
export {} from './currency';
|
|
8
6
|
export { Contract, GetMultiContractsResponseContractsEntry, CreateContractRequest, CreateContractResponse, GetContractRequest, GetContractResponse, GetMultiContractsRequest, GetMultiContractsResponse, ListContractsRequest, ListContractsResponse, UpdateContractRequestMutation, ResetContractPricingRequest, UpdateContractRequest, UpdateContractResponse, UpdateContractSubscriptionRequest, } from './contract';
|
|
9
7
|
export { CustomerSummary, GetMultiCustomerSummariesRequest, GetMultiCustomerSummariesResponse, } from './customer-summary';
|
|
10
8
|
export { BankAccount, CreateStripeExternalAccountRequest, DeleteBankAccountRequest, ListBankAccountsRequest, ListBankAccountsResponse, SetDefaultBankAccountRequest, } from './external-account';
|
|
@@ -18,13 +16,10 @@ export { AddBundleRequest, AddBundleResponse, AddLineItemRequest, AddLineItemRes
|
|
|
18
16
|
export { AccountBalance, Balance, BalanceAmount, } from './balance';
|
|
19
17
|
export { DateRange, } from './date-range';
|
|
20
18
|
export { ListPayoutsRequestFilters, ListPayoutsRequest, ListPayoutsResponse, Payout, ReconcilePayoutRequest, ReconcilePayoutResponse, RetailPayout, } from './payout';
|
|
21
|
-
export {} from './sort-direction';
|
|
22
19
|
export { ChargeSalesInvoiceRequest, ConnectStripeAccountRequest, ConnectStripeAccountResponse, CreateMerchantRequest, DefaultCustomerConfiguration, GetMerchantRequest, GetMerchantResponse, GetMultiRetailConfigurationsRequest, GetMultiRetailConfigurationsResponse, GetOutstandingBalanceRequest, GetOutstandingBalanceResponse, GetPayoutSummaryRequest, GetPayoutSummaryResponse, GetRetailAccountBalanceRequest, GetRetailAccountBalanceResponse, GetRetailBalanceRequest, GetRetailBalanceResponse, GetRetailPayoutRequest, GetRetailPayoutResponse, CreateMerchantRequestIncludeInFinancialRecords, UpdateMerchantRequestIncludeInFinancialRecords, ListRetailPayoutsRequest, ListRetailPayoutsResponse, Merchant, RetailConfiguration, GetMultiRetailConfigurationsResponseRetailConfigurationsEntry, SearchMerchantsRequest, SearchMerchantsResponse, SetAutoChargeInvoicesRequest, SetAutoPostInvoicesRequest, SetDefaultPaymentCardRequest, SetHasAlternativePaymentMethodRequest, SetIncludeInFinancialRecordsRequest, UpdateMerchantRequest, UpsertDefaultRetailCustomerConfigurationRequest, UpsertRetailConfigurationRequest, } from './merchant';
|
|
23
|
-
export {} from './month';
|
|
24
20
|
export { ListMerchantBillingReportsRequest, ListMerchantBillingReportsResponse, MerchantReport, } from './merchant-report';
|
|
25
21
|
export { CreateMeteredComponentRequest, MeteredComponent, TickComponentUsageRequest, } from './metered-component';
|
|
26
|
-
export {} from './
|
|
27
|
-
export { RetailPaymentCardDetails, CloseRetailDisputeRequest, ConfigureRetailPaymentProviderRequest, ConfigureRetailPaymentProviderResponse, ConfirmRetailPaymentRequest, Dispute, DisputeEvidence, SubmitEvidenceRequestDisputeEvidence, DisputeEvidenceDetails, File, GetRetailDisputeRequest, GetRetailDisputeResponse, GetRetailPaymentProviderRequest, GetRetailPaymentProviderResponse, GetRetailPaymentRequest, GetRetailPaymentResponse, GetWholesaleProviderPublicKeyRequest, GetWholesaleProviderPublicKeyResponse, ListPaymentRequestListPaymentFilters, ListPaymentRequest, ListPaymentResponse, ListRetailDisputesRequest, ListRetailDisputesResponse, ListRetailPaymentsRequestListRetailPaymentsFilters, ListRetailPaymentsRequest, ListRetailPaymentsResponse, PrepareRetailPaymentRequestOrder, Payment, PaymentPaymentAllocation, PrepareRetailPaymentRequest, PrepareRetailPaymentResponse, RefundRetailPaymentRequest, RefundRetailPaymentResponse, RetailPayment, RetailPaymentsEnabledRequest, RetailPaymentsEnabledResponse, RetailRefund, RetailStatusRequest, RetailStatusResponse, SubmitEvidenceRequest, UpdateRetailPaymentProviderRequest, RetailStatusResponseVerificationError, RetailStatusResponseVerificationRequirements, } from './payment';
|
|
22
|
+
export { RetailPaymentCardDetails, CloseRetailDisputeRequest, ConfigureRetailPaymentProviderRequest, ConfigureRetailPaymentProviderResponse, ConfirmRetailPaymentRequest, Dispute, DisputeEvidence, SubmitEvidenceRequestDisputeEvidence, DisputeEvidenceDetails, File, GetRetailDisputeRequest, GetRetailDisputeResponse, GetRetailPaymentProviderRequest, GetRetailPaymentProviderResponse, GetRetailPaymentRequest, GetRetailPaymentResponse, GetWholesaleProviderPublicKeyRequest, GetWholesaleProviderPublicKeyResponse, ListPaymentRequestListPaymentFilters, ListPaymentRequest, ListPaymentResponse, ListRetailDisputesRequest, ListRetailDisputesResponse, ListRetailPaymentsRequestListRetailPaymentsFilters, ListRetailPaymentsRequest, ListRetailPaymentsResponse, ListRetailTransactionsRequestListRetailTransactionsFilters, ListRetailTransactionsRequest, ListRetailTransactionsResponse, PrepareRetailPaymentRequestOrder, Payment, PaymentPaymentAllocation, PrepareRetailPaymentRequest, PrepareRetailPaymentResponse, RefundRetailPaymentRequest, RefundRetailPaymentResponse, RetailPayment, RetailPaymentsEnabledRequest, RetailPaymentsEnabledResponse, RetailRefund, RetailStatusRequest, RetailStatusResponse, RetailTransaction, SubmitEvidenceRequest, UpdateRetailPaymentProviderRequest, RetailStatusResponseVerificationError, RetailStatusResponseVerificationRequirements, } from './payment';
|
|
28
23
|
export { CreatePaymentCardRequest, DeletePaymentCardRequest, ListPaymentCardsRequest, ListPaymentCardsResponse, PaymentCard, SetDefaultPaymentMethodRequest, UpdatePaymentCardRequest, } from './payment-card';
|
|
29
24
|
export { AppliedFee, Fee, } from './fee';
|
|
30
25
|
export { ComponentPricing, CreatePricingPlanRequest, CreatePricingPlanResponse, GetMultiPricingPlanRequest, GetMultiPricingPlanResponse, PricingPlan, PricingPlanProductPricing, ProductPricingRule, UpdatePricingPlanRequest, UpdatePricingPlanResponse, } from './pricing-plan';
|
|
@@ -41,7 +36,6 @@ export { ContractDocument, DeleteContractDocumentRequest, ListContractDocumentsR
|
|
|
41
36
|
export { GetRetailCustomerConfigurationRequest, GetRetailCustomerConfigurationResponse, RetailCustomerConfiguration, UpsertRetailCustomerConfigurationRequest, } from './retail-customer-configuration';
|
|
42
37
|
export { AddCreditRequest, CreditBalance, GetBalanceRequest, GetBalanceResponse, } from './credit';
|
|
43
38
|
export { AddTemplateBundleRequest, AddTemplateBundleResponse, AddTemplateLineItemRequest, AddTemplateLineItemResponse, CreateTemplateRequest, CreateTemplateResponse, DeleteInvoiceTemplateRequest, DeleteTemplateLineItemRequest, DeleteTemplateLineItemResponse, GetInvoiceTemplateRequest, GetInvoiceTemplateResponse, InvoiceTemplate, InvoiceTemplateItem, UpsertInvoiceTemplateRequestInvoiceTemplateItemRequest, UpdateTemplateBundleRequest, UpdateTemplateBundleResponse, UpdateTemplateDefaultTaxRatesRequest, UpdateTemplateDefaultTaxRatesResponse, UpdateTemplateLineItemRequest, UpdateTemplateLineItemResponse, UpsertInvoiceTemplateRequest, UpsertInvoiceTemplateResponse, } from './invoice-template';
|
|
44
|
-
export {} from './payment-processor';
|
|
45
39
|
export { DeleteRecurringInvoiceRequest, GetRecurringInvoiceRequest, ListRecurringInvoicesFilters, ListRecurringInvoicesRequest, ListRecurringInvoicesResponse, RecurringInvoice, RecurringInvoiceBundle, RecurringInvoiceItem, RecurringInvoiceLineItem, UpdateRecurringInvoiceRequest, } from './recurring-invoice';
|
|
46
40
|
export { CreateMerchantServicesReportRun, GetMerchantServicesReportRun, MerchantServicesReportRun, } from './report-run';
|
|
47
41
|
export { Access, } from './annotations';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as i from '../interfaces';
|
|
2
2
|
import { PagedRequestOptions, PagedResponseMetadata } from './common';
|
|
3
|
+
import { RetailPayout } from './payout';
|
|
3
4
|
import * as e from '../enums';
|
|
4
5
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
5
6
|
export declare class RetailPaymentCardDetails implements i.RetailPaymentCardDetailsInterface {
|
|
@@ -214,6 +215,29 @@ export declare class ListRetailPaymentsResponse implements i.ListRetailPaymentsR
|
|
|
214
215
|
constructor(kwargs?: i.ListRetailPaymentsResponseInterface);
|
|
215
216
|
toApiJson(): object;
|
|
216
217
|
}
|
|
218
|
+
export declare class ListRetailTransactionsRequestListRetailTransactionsFilters implements i.ListRetailTransactionsRequestListRetailTransactionsFiltersInterface {
|
|
219
|
+
payoutId: string;
|
|
220
|
+
createdDateGte: Date;
|
|
221
|
+
createdDateLte: Date;
|
|
222
|
+
static fromProto(proto: any): ListRetailTransactionsRequestListRetailTransactionsFilters;
|
|
223
|
+
constructor(kwargs?: i.ListRetailTransactionsRequestListRetailTransactionsFiltersInterface);
|
|
224
|
+
toApiJson(): object;
|
|
225
|
+
}
|
|
226
|
+
export declare class ListRetailTransactionsRequest implements i.ListRetailTransactionsRequestInterface {
|
|
227
|
+
merchantId: string;
|
|
228
|
+
pagingOptions: PagedRequestOptions;
|
|
229
|
+
filters: ListRetailTransactionsRequestListRetailTransactionsFilters;
|
|
230
|
+
static fromProto(proto: any): ListRetailTransactionsRequest;
|
|
231
|
+
constructor(kwargs?: i.ListRetailTransactionsRequestInterface);
|
|
232
|
+
toApiJson(): object;
|
|
233
|
+
}
|
|
234
|
+
export declare class ListRetailTransactionsResponse implements i.ListRetailTransactionsResponseInterface {
|
|
235
|
+
transactions: RetailTransaction[];
|
|
236
|
+
pagingMetadata: PagedResponseMetadata;
|
|
237
|
+
static fromProto(proto: any): ListRetailTransactionsResponse;
|
|
238
|
+
constructor(kwargs?: i.ListRetailTransactionsResponseInterface);
|
|
239
|
+
toApiJson(): object;
|
|
240
|
+
}
|
|
217
241
|
export declare class PrepareRetailPaymentRequestOrder implements i.PrepareRetailPaymentRequestOrderInterface {
|
|
218
242
|
orderId: string;
|
|
219
243
|
amount: number;
|
|
@@ -337,6 +361,14 @@ export declare class RetailStatusResponse implements i.RetailStatusResponseInter
|
|
|
337
361
|
constructor(kwargs?: i.RetailStatusResponseInterface);
|
|
338
362
|
toApiJson(): object;
|
|
339
363
|
}
|
|
364
|
+
export declare class RetailTransaction implements i.RetailTransactionInterface {
|
|
365
|
+
payment: RetailPayment;
|
|
366
|
+
refund: RetailRefund;
|
|
367
|
+
payout: RetailPayout;
|
|
368
|
+
static fromProto(proto: any): RetailTransaction;
|
|
369
|
+
constructor(kwargs?: i.RetailTransactionInterface);
|
|
370
|
+
toApiJson(): object;
|
|
371
|
+
}
|
|
340
372
|
export declare class SubmitEvidenceRequest implements i.SubmitEvidenceRequestInterface {
|
|
341
373
|
merchantId: string;
|
|
342
374
|
disputeId: string;
|
|
@@ -8,6 +8,7 @@ export declare class CreateRefundRequest implements i.CreateRefundRequestInterfa
|
|
|
8
8
|
reason: e.RefundReason;
|
|
9
9
|
referenceType: e.ReferenceType;
|
|
10
10
|
referenceId: string;
|
|
11
|
+
description: string;
|
|
11
12
|
static fromProto(proto: any): CreateRefundRequest;
|
|
12
13
|
constructor(kwargs?: i.CreateRefundRequestInterface);
|
|
13
14
|
toApiJson(): object;
|
|
@@ -41,6 +42,7 @@ export declare class Refund implements i.RefundInterface {
|
|
|
41
42
|
updated: Date;
|
|
42
43
|
referenceType: e.ReferenceType;
|
|
43
44
|
referenceId: string;
|
|
45
|
+
description: string;
|
|
44
46
|
static fromProto(proto: any): Refund;
|
|
45
47
|
constructor(kwargs?: i.RefundInterface);
|
|
46
48
|
toApiJson(): object;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CloseRetailDisputeRequest, ConfigureRetailPaymentProviderRequest, ConfigureRetailPaymentProviderResponse, ConfirmRetailPaymentRequest, GetRetailDisputeRequest, GetRetailDisputeResponse, GetRetailPaymentProviderRequest, GetRetailPaymentProviderResponse, GetRetailPaymentRequest, GetRetailPaymentResponse, GetWholesaleProviderPublicKeyRequest, GetWholesaleProviderPublicKeyResponse, ListPaymentRequest, ListPaymentResponse, ListRetailDisputesRequest, ListRetailDisputesResponse, ListRetailPaymentsRequest, ListRetailPaymentsResponse, PrepareRetailPaymentRequest, PrepareRetailPaymentResponse, RefundRetailPaymentRequest, RefundRetailPaymentResponse, RetailPaymentsEnabledRequest, RetailPaymentsEnabledResponse, RetailStatusRequest, RetailStatusResponse, SubmitEvidenceRequest, UpdateRetailPaymentProviderRequest } from './objects/';
|
|
2
|
-
import { CloseRetailDisputeRequestInterface, ConfigureRetailPaymentProviderRequestInterface, ConfirmRetailPaymentRequestInterface, GetRetailDisputeRequestInterface, GetRetailPaymentProviderRequestInterface, GetRetailPaymentRequestInterface, GetWholesaleProviderPublicKeyRequestInterface, ListPaymentRequestInterface, ListRetailDisputesRequestInterface, ListRetailPaymentsRequestInterface, PrepareRetailPaymentRequestInterface, RefundRetailPaymentRequestInterface, RetailPaymentsEnabledRequestInterface, RetailStatusRequestInterface, SubmitEvidenceRequestInterface, UpdateRetailPaymentProviderRequestInterface } from './interfaces/';
|
|
1
|
+
import { CloseRetailDisputeRequest, ConfigureRetailPaymentProviderRequest, ConfigureRetailPaymentProviderResponse, ConfirmRetailPaymentRequest, GetRetailDisputeRequest, GetRetailDisputeResponse, GetRetailPaymentProviderRequest, GetRetailPaymentProviderResponse, GetRetailPaymentRequest, GetRetailPaymentResponse, GetWholesaleProviderPublicKeyRequest, GetWholesaleProviderPublicKeyResponse, ListPaymentRequest, ListPaymentResponse, ListRetailDisputesRequest, ListRetailDisputesResponse, ListRetailPaymentsRequest, ListRetailPaymentsResponse, ListRetailTransactionsRequest, ListRetailTransactionsResponse, PrepareRetailPaymentRequest, PrepareRetailPaymentResponse, RefundRetailPaymentRequest, RefundRetailPaymentResponse, RetailPaymentsEnabledRequest, RetailPaymentsEnabledResponse, RetailStatusRequest, RetailStatusResponse, SubmitEvidenceRequest, UpdateRetailPaymentProviderRequest } from './objects/';
|
|
2
|
+
import { CloseRetailDisputeRequestInterface, ConfigureRetailPaymentProviderRequestInterface, ConfirmRetailPaymentRequestInterface, GetRetailDisputeRequestInterface, GetRetailPaymentProviderRequestInterface, GetRetailPaymentRequestInterface, GetWholesaleProviderPublicKeyRequestInterface, ListPaymentRequestInterface, ListRetailDisputesRequestInterface, ListRetailPaymentsRequestInterface, ListRetailTransactionsRequestInterface, PrepareRetailPaymentRequestInterface, RefundRetailPaymentRequestInterface, RetailPaymentsEnabledRequestInterface, RetailStatusRequestInterface, SubmitEvidenceRequestInterface, UpdateRetailPaymentProviderRequestInterface } from './interfaces/';
|
|
3
3
|
import { HttpClient, HttpResponse } from '@angular/common/http';
|
|
4
4
|
import { HostService } from '../_generated/host.service';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
@@ -13,6 +13,7 @@ export declare class PaymentApiService {
|
|
|
13
13
|
list(r: ListPaymentRequest | ListPaymentRequestInterface): Observable<ListPaymentResponse>;
|
|
14
14
|
getRetail(r: GetRetailPaymentRequest | GetRetailPaymentRequestInterface): Observable<GetRetailPaymentResponse>;
|
|
15
15
|
listRetail(r: ListRetailPaymentsRequest | ListRetailPaymentsRequestInterface): Observable<ListRetailPaymentsResponse>;
|
|
16
|
+
listRetailTransactions(r: ListRetailTransactionsRequest | ListRetailTransactionsRequestInterface): Observable<ListRetailTransactionsResponse>;
|
|
16
17
|
listRetailDisputes(r: ListRetailDisputesRequest | ListRetailDisputesRequestInterface): Observable<ListRetailDisputesResponse>;
|
|
17
18
|
getRetailDispute(r: GetRetailDisputeRequest | GetRetailDisputeRequestInterface): Observable<GetRetailDisputeResponse>;
|
|
18
19
|
closeRetailDispute(r: CloseRetailDisputeRequest | CloseRetailDisputeRequestInterface): Observable<HttpResponse<null>>;
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// *********************************
|
|
2
|
-
// Code generated by sdkgen
|
|
3
|
-
// DO NOT EDIT!.
|
|
4
|
-
//
|
|
5
|
-
// Interfaces.
|
|
6
|
-
// *********************************
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC5pbnRlcmZhY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9iaWxsaW5nX3Nkay9zcmMvbGliL19pbnRlcm5hbC9pbnRlcmZhY2VzL2NhcmQuaW50ZXJmYWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLG9DQUFvQztBQUNwQywyQkFBMkI7QUFDM0IsZ0JBQWdCO0FBQ2hCLEVBQUU7QUFDRixjQUFjO0FBQ2Qsb0NBQW9DIiwic291cmNlc0NvbnRlbnQiOlsiLy8gKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4vLyBDb2RlIGdlbmVyYXRlZCBieSBzZGtnZW5cbi8vIERPIE5PVCBFRElUIS5cbi8vXG4vLyBJbnRlcmZhY2VzLlxuLy8gKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG5cbmltcG9ydCAqIGFzIGUgZnJvbSAnLi4vZW51bXMnO1xuXG4iXX0=
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// *********************************
|
|
2
|
-
// Code generated by sdkgen
|
|
3
|
-
// DO NOT EDIT!.
|
|
4
|
-
//
|
|
5
|
-
// Interfaces.
|
|
6
|
-
// *********************************
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VycmVuY3kuaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vYmlsbGluZ19zZGsvc3JjL2xpYi9faW50ZXJuYWwvaW50ZXJmYWNlcy9jdXJyZW5jeS5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsb0NBQW9DO0FBQ3BDLDJCQUEyQjtBQUMzQixnQkFBZ0I7QUFDaEIsRUFBRTtBQUNGLGNBQWM7QUFDZCxvQ0FBb0MiLCJzb3VyY2VzQ29udGVudCI6WyIvLyAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbi8vIENvZGUgZ2VuZXJhdGVkIGJ5IHNka2dlblxuLy8gRE8gTk9UIEVESVQhLlxuLy9cbi8vIEludGVyZmFjZXMuXG4vLyAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcblxuaW1wb3J0ICogYXMgZSBmcm9tICcuLi9lbnVtcyc7XG5cbiJdfQ==
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// *********************************
|
|
2
|
-
// Code generated by sdkgen
|
|
3
|
-
// DO NOT EDIT!.
|
|
4
|
-
//
|
|
5
|
-
// Interfaces.
|
|
6
|
-
// *********************************
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnJlcXVlbmN5LmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2JpbGxpbmdfc2RrL3NyYy9saWIvX2ludGVybmFsL2ludGVyZmFjZXMvZnJlcXVlbmN5LmludGVyZmFjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxvQ0FBb0M7QUFDcEMsMkJBQTJCO0FBQzNCLGdCQUFnQjtBQUNoQixFQUFFO0FBQ0YsY0FBYztBQUNkLG9DQUFvQyIsInNvdXJjZXNDb250ZW50IjpbIi8vICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuLy8gQ29kZSBnZW5lcmF0ZWQgYnkgc2RrZ2VuXG4vLyBETyBOT1QgRURJVCEuXG4vL1xuLy8gSW50ZXJmYWNlcy5cbi8vICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuXG5pbXBvcnQgKiBhcyBlIGZyb20gJy4uL2VudW1zJztcblxuIl19
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// *********************************
|
|
2
|
-
// Code generated by sdkgen
|
|
3
|
-
// DO NOT EDIT!.
|
|
4
|
-
//
|
|
5
|
-
// Interfaces.
|
|
6
|
-
// *********************************
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9udGguaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vYmlsbGluZ19zZGsvc3JjL2xpYi9faW50ZXJuYWwvaW50ZXJmYWNlcy9tb250aC5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsb0NBQW9DO0FBQ3BDLDJCQUEyQjtBQUMzQixnQkFBZ0I7QUFDaEIsRUFBRTtBQUNGLGNBQWM7QUFDZCxvQ0FBb0MiLCJzb3VyY2VzQ29udGVudCI6WyIvLyAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbi8vIENvZGUgZ2VuZXJhdGVkIGJ5IHNka2dlblxuLy8gRE8gTk9UIEVESVQhLlxuLy9cbi8vIEludGVyZmFjZXMuXG4vLyAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcblxuaW1wb3J0ICogYXMgZSBmcm9tICcuLi9lbnVtcyc7XG5cbiJdfQ==
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// *********************************
|
|
2
|
-
// Code generated by sdkgen
|
|
3
|
-
// DO NOT EDIT!.
|
|
4
|
-
//
|
|
5
|
-
// Interfaces.
|
|
6
|
-
// *********************************
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1wcm9jZXNzb3IuaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vYmlsbGluZ19zZGsvc3JjL2xpYi9faW50ZXJuYWwvaW50ZXJmYWNlcy9wYXltZW50LXByb2Nlc3Nvci5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsb0NBQW9DO0FBQ3BDLDJCQUEyQjtBQUMzQixnQkFBZ0I7QUFDaEIsRUFBRTtBQUNGLGNBQWM7QUFDZCxvQ0FBb0MiLCJzb3VyY2VzQ29udGVudCI6WyIvLyAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbi8vIENvZGUgZ2VuZXJhdGVkIGJ5IHNka2dlblxuLy8gRE8gTk9UIEVESVQhLlxuLy9cbi8vIEludGVyZmFjZXMuXG4vLyAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcblxuaW1wb3J0ICogYXMgZSBmcm9tICcuLi9lbnVtcyc7XG5cbiJdfQ==
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// *********************************
|
|
2
|
-
// Code generated by sdkgen
|
|
3
|
-
// DO NOT EDIT!.
|
|
4
|
-
//
|
|
5
|
-
// Interfaces.
|
|
6
|
-
// *********************************
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29ydC1kaXJlY3Rpb24uaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vYmlsbGluZ19zZGsvc3JjL2xpYi9faW50ZXJuYWwvaW50ZXJmYWNlcy9zb3J0LWRpcmVjdGlvbi5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsb0NBQW9DO0FBQ3BDLDJCQUEyQjtBQUMzQixnQkFBZ0I7QUFDaEIsRUFBRTtBQUNGLGNBQWM7QUFDZCxvQ0FBb0MiLCJzb3VyY2VzQ29udGVudCI6WyIvLyAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbi8vIENvZGUgZ2VuZXJhdGVkIGJ5IHNka2dlblxuLy8gRE8gTk9UIEVESVQhLlxuLy9cbi8vIEludGVyZmFjZXMuXG4vLyAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcblxuaW1wb3J0ICogYXMgZSBmcm9tICcuLi9lbnVtcyc7XG5cbiJdfQ==
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export function enumStringToValue(enumRef, value) {
|
|
2
|
-
if (typeof value === 'number') {
|
|
3
|
-
return value;
|
|
4
|
-
}
|
|
5
|
-
return enumRef[value];
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2JpbGxpbmdfc2RrL3NyYy9saWIvX2ludGVybmFsL29iamVjdHMvY2FyZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFVQSxNQUFNLFVBQVUsaUJBQWlCLENBQUksT0FBWSxFQUFFLEtBQWE7SUFDOUQsSUFBSSxPQUFPLEtBQUssS0FBSyxRQUFRLEVBQUU7UUFDN0IsT0FBTyxLQUFLLENBQUM7S0FDZDtJQUNELE9BQU8sT0FBTyxDQUFDLEtBQUssQ0FBQyxDQUFDO0FBQ3hCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbi8vIENvZGUgZ2VuZXJhdGVkIGJ5IHNka2dlblxuLy8gRE8gTk9UIEVESVQhLlxuLy9cbi8vIE9iamVjdHMuXG4vLyAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbmltcG9ydCAqIGFzIGkgZnJvbSAnLi4vaW50ZXJmYWNlcyc7XG5cbmltcG9ydCAqIGFzIGUgZnJvbSAnLi4vZW51bXMnO1xuXG5leHBvcnQgZnVuY3Rpb24gZW51bVN0cmluZ1RvVmFsdWU8RT4oZW51bVJlZjogYW55LCB2YWx1ZTogc3RyaW5nKTogRSB7XG4gIGlmICh0eXBlb2YgdmFsdWUgPT09ICdudW1iZXInKSB7XG4gICAgcmV0dXJuIHZhbHVlO1xuICB9XG4gIHJldHVybiBlbnVtUmVmW3ZhbHVlXTtcbn1cblxuIl19
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export function enumStringToValue(enumRef, value) {
|
|
2
|
-
if (typeof value === 'number') {
|
|
3
|
-
return value;
|
|
4
|
-
}
|
|
5
|
-
return enumRef[value];
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VycmVuY3kuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9iaWxsaW5nX3Nkay9zcmMvbGliL19pbnRlcm5hbC9vYmplY3RzL2N1cnJlbmN5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVVBLE1BQU0sVUFBVSxpQkFBaUIsQ0FBSSxPQUFZLEVBQUUsS0FBYTtJQUM5RCxJQUFJLE9BQU8sS0FBSyxLQUFLLFFBQVEsRUFBRTtRQUM3QixPQUFPLEtBQUssQ0FBQztLQUNkO0lBQ0QsT0FBTyxPQUFPLENBQUMsS0FBSyxDQUFDLENBQUM7QUFDeEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8vICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuLy8gQ29kZSBnZW5lcmF0ZWQgYnkgc2RrZ2VuXG4vLyBETyBOT1QgRURJVCEuXG4vL1xuLy8gT2JqZWN0cy5cbi8vICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuaW1wb3J0ICogYXMgaSBmcm9tICcuLi9pbnRlcmZhY2VzJztcblxuaW1wb3J0ICogYXMgZSBmcm9tICcuLi9lbnVtcyc7XG5cbmV4cG9ydCBmdW5jdGlvbiBlbnVtU3RyaW5nVG9WYWx1ZTxFPihlbnVtUmVmOiBhbnksIHZhbHVlOiBzdHJpbmcpOiBFIHtcbiAgaWYgKHR5cGVvZiB2YWx1ZSA9PT0gJ251bWJlcicpIHtcbiAgICByZXR1cm4gdmFsdWU7XG4gIH1cbiAgcmV0dXJuIGVudW1SZWZbdmFsdWVdO1xufVxuXG4iXX0=
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export function enumStringToValue(enumRef, value) {
|
|
2
|
-
if (typeof value === 'number') {
|
|
3
|
-
return value;
|
|
4
|
-
}
|
|
5
|
-
return enumRef[value];
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnJlcXVlbmN5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vYmlsbGluZ19zZGsvc3JjL2xpYi9faW50ZXJuYWwvb2JqZWN0cy9mcmVxdWVuY3kudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBVUEsTUFBTSxVQUFVLGlCQUFpQixDQUFJLE9BQVksRUFBRSxLQUFhO0lBQzlELElBQUksT0FBTyxLQUFLLEtBQUssUUFBUSxFQUFFO1FBQzdCLE9BQU8sS0FBSyxDQUFDO0tBQ2Q7SUFDRCxPQUFPLE9BQU8sQ0FBQyxLQUFLLENBQUMsQ0FBQztBQUN4QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLy8gKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4vLyBDb2RlIGdlbmVyYXRlZCBieSBzZGtnZW5cbi8vIERPIE5PVCBFRElUIS5cbi8vXG4vLyBPYmplY3RzLlxuLy8gKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG5pbXBvcnQgKiBhcyBpIGZyb20gJy4uL2ludGVyZmFjZXMnO1xuXG5pbXBvcnQgKiBhcyBlIGZyb20gJy4uL2VudW1zJztcblxuZXhwb3J0IGZ1bmN0aW9uIGVudW1TdHJpbmdUb1ZhbHVlPEU+KGVudW1SZWY6IGFueSwgdmFsdWU6IHN0cmluZyk6IEUge1xuICBpZiAodHlwZW9mIHZhbHVlID09PSAnbnVtYmVyJykge1xuICAgIHJldHVybiB2YWx1ZTtcbiAgfVxuICByZXR1cm4gZW51bVJlZlt2YWx1ZV07XG59XG5cbiJdfQ==
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export function enumStringToValue(enumRef, value) {
|
|
2
|
-
if (typeof value === 'number') {
|
|
3
|
-
return value;
|
|
4
|
-
}
|
|
5
|
-
return enumRef[value];
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9udGguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9iaWxsaW5nX3Nkay9zcmMvbGliL19pbnRlcm5hbC9vYmplY3RzL21vbnRoLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVVBLE1BQU0sVUFBVSxpQkFBaUIsQ0FBSSxPQUFZLEVBQUUsS0FBYTtJQUM5RCxJQUFJLE9BQU8sS0FBSyxLQUFLLFFBQVEsRUFBRTtRQUM3QixPQUFPLEtBQUssQ0FBQztLQUNkO0lBQ0QsT0FBTyxPQUFPLENBQUMsS0FBSyxDQUFDLENBQUM7QUFDeEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8vICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuLy8gQ29kZSBnZW5lcmF0ZWQgYnkgc2RrZ2VuXG4vLyBETyBOT1QgRURJVCEuXG4vL1xuLy8gT2JqZWN0cy5cbi8vICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuaW1wb3J0ICogYXMgaSBmcm9tICcuLi9pbnRlcmZhY2VzJztcblxuaW1wb3J0ICogYXMgZSBmcm9tICcuLi9lbnVtcyc7XG5cbmV4cG9ydCBmdW5jdGlvbiBlbnVtU3RyaW5nVG9WYWx1ZTxFPihlbnVtUmVmOiBhbnksIHZhbHVlOiBzdHJpbmcpOiBFIHtcbiAgaWYgKHR5cGVvZiB2YWx1ZSA9PT0gJ251bWJlcicpIHtcbiAgICByZXR1cm4gdmFsdWU7XG4gIH1cbiAgcmV0dXJuIGVudW1SZWZbdmFsdWVdO1xufVxuXG4iXX0=
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export function enumStringToValue(enumRef, value) {
|
|
2
|
-
if (typeof value === 'number') {
|
|
3
|
-
return value;
|
|
4
|
-
}
|
|
5
|
-
return enumRef[value];
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1wcm9jZXNzb3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9iaWxsaW5nX3Nkay9zcmMvbGliL19pbnRlcm5hbC9vYmplY3RzL3BheW1lbnQtcHJvY2Vzc29yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVVBLE1BQU0sVUFBVSxpQkFBaUIsQ0FBSSxPQUFZLEVBQUUsS0FBYTtJQUM5RCxJQUFJLE9BQU8sS0FBSyxLQUFLLFFBQVEsRUFBRTtRQUM3QixPQUFPLEtBQUssQ0FBQztLQUNkO0lBQ0QsT0FBTyxPQUFPLENBQUMsS0FBSyxDQUFDLENBQUM7QUFDeEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8vICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuLy8gQ29kZSBnZW5lcmF0ZWQgYnkgc2RrZ2VuXG4vLyBETyBOT1QgRURJVCEuXG4vL1xuLy8gT2JqZWN0cy5cbi8vICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuaW1wb3J0ICogYXMgaSBmcm9tICcuLi9pbnRlcmZhY2VzJztcblxuaW1wb3J0ICogYXMgZSBmcm9tICcuLi9lbnVtcyc7XG5cbmV4cG9ydCBmdW5jdGlvbiBlbnVtU3RyaW5nVG9WYWx1ZTxFPihlbnVtUmVmOiBhbnksIHZhbHVlOiBzdHJpbmcpOiBFIHtcbiAgaWYgKHR5cGVvZiB2YWx1ZSA9PT0gJ251bWJlcicpIHtcbiAgICByZXR1cm4gdmFsdWU7XG4gIH1cbiAgcmV0dXJuIGVudW1SZWZbdmFsdWVdO1xufVxuXG4iXX0=
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export function enumStringToValue(enumRef, value) {
|
|
2
|
-
if (typeof value === 'number') {
|
|
3
|
-
return value;
|
|
4
|
-
}
|
|
5
|
-
return enumRef[value];
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29ydC1kaXJlY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9iaWxsaW5nX3Nkay9zcmMvbGliL19pbnRlcm5hbC9vYmplY3RzL3NvcnQtZGlyZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVVBLE1BQU0sVUFBVSxpQkFBaUIsQ0FBSSxPQUFZLEVBQUUsS0FBYTtJQUM5RCxJQUFJLE9BQU8sS0FBSyxLQUFLLFFBQVEsRUFBRTtRQUM3QixPQUFPLEtBQUssQ0FBQztLQUNkO0lBQ0QsT0FBTyxPQUFPLENBQUMsS0FBSyxDQUFDLENBQUM7QUFDeEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8vICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuLy8gQ29kZSBnZW5lcmF0ZWQgYnkgc2RrZ2VuXG4vLyBETyBOT1QgRURJVCEuXG4vL1xuLy8gT2JqZWN0cy5cbi8vICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuaW1wb3J0ICogYXMgaSBmcm9tICcuLi9pbnRlcmZhY2VzJztcblxuaW1wb3J0ICogYXMgZSBmcm9tICcuLi9lbnVtcyc7XG5cbmV4cG9ydCBmdW5jdGlvbiBlbnVtU3RyaW5nVG9WYWx1ZTxFPihlbnVtUmVmOiBhbnksIHZhbHVlOiBzdHJpbmcpOiBFIHtcbiAgaWYgKHR5cGVvZiB2YWx1ZSA9PT0gJ251bWJlcicpIHtcbiAgICByZXR1cm4gdmFsdWU7XG4gIH1cbiAgcmV0dXJuIGVudW1SZWZbdmFsdWVdO1xufVxuXG4iXX0=
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|