@delopay/sdk 0.73.0 → 0.75.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/dist/{chunk-RGA6KEKL.js → chunk-5J763YMV.js} +210 -6
- package/dist/chunk-5J763YMV.js.map +1 -0
- package/dist/index.cjs +223 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +83 -4
- package/dist/index.d.ts +83 -4
- package/dist/index.js +27 -3
- package/dist/internal.cjs +223 -7
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +27 -3
- package/dist/internal.js.map +1 -1
- package/package.json +3 -2
- package/dist/chunk-RGA6KEKL.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -2945,6 +2945,22 @@ interface AvailabilityOverrideCreateRequest {
|
|
|
2945
2945
|
country?: string;
|
|
2946
2946
|
/** Target a built-in group code (e.g. `"EU"`) or a custom region id. Mutually exclusive with `country`. */
|
|
2947
2947
|
region_code?: string;
|
|
2948
|
+
/**
|
|
2949
|
+
* Inclusive lower bound on the order value, in minor units. `null`/omitted is
|
|
2950
|
+
* unbounded. Requires `currency`.
|
|
2951
|
+
*/
|
|
2952
|
+
min_amount?: number;
|
|
2953
|
+
/**
|
|
2954
|
+
* Inclusive upper bound on the order value, in minor units. `null`/omitted is
|
|
2955
|
+
* unbounded. Requires `currency`.
|
|
2956
|
+
*/
|
|
2957
|
+
max_amount?: number;
|
|
2958
|
+
/**
|
|
2959
|
+
* Currency the amount bounds are expressed in. Required when either bound is
|
|
2960
|
+
* set. There is no FX conversion — the rule applies only to payments in this
|
|
2961
|
+
* currency.
|
|
2962
|
+
*/
|
|
2963
|
+
currency?: Currency;
|
|
2948
2964
|
action: OverrideAction;
|
|
2949
2965
|
}
|
|
2950
2966
|
interface AvailabilityOverrideResponse {
|
|
@@ -2956,6 +2972,9 @@ interface AvailabilityOverrideResponse {
|
|
|
2956
2972
|
payment_method_type?: PaymentMethodType | null;
|
|
2957
2973
|
country?: string | null;
|
|
2958
2974
|
region_code?: string | null;
|
|
2975
|
+
min_amount?: number | null;
|
|
2976
|
+
max_amount?: number | null;
|
|
2977
|
+
currency?: Currency | null;
|
|
2959
2978
|
action: OverrideAction;
|
|
2960
2979
|
}
|
|
2961
2980
|
/** Query for {@link AvailabilityOverrides.preview}. */
|
|
@@ -2965,6 +2984,10 @@ interface AvailabilityPreviewParams {
|
|
|
2965
2984
|
profile_id: string;
|
|
2966
2985
|
/** ISO 3166-1 alpha-2 country to preview for; omit for no country signal. */
|
|
2967
2986
|
country?: string;
|
|
2987
|
+
/** Order value to preview for, in minor units. Requires `currency`. */
|
|
2988
|
+
amount?: number;
|
|
2989
|
+
/** Currency of `amount`. */
|
|
2990
|
+
currency?: Currency;
|
|
2968
2991
|
}
|
|
2969
2992
|
/** One payment method available in the previewed country, with its types. */
|
|
2970
2993
|
interface AvailabilityPreviewMethod {
|
|
@@ -2973,12 +2996,17 @@ interface AvailabilityPreviewMethod {
|
|
|
2973
2996
|
}
|
|
2974
2997
|
/**
|
|
2975
2998
|
* The methods a customer in the previewed country would be shown — the connector
|
|
2976
|
-
* ceiling narrowed by the curated smart defaults and the merchant overrides
|
|
2977
|
-
*
|
|
2999
|
+
* ceiling narrowed by the curated smart defaults and the merchant overrides,
|
|
3000
|
+
* including their order-value rules when `amount` + `currency` are supplied. The
|
|
3001
|
+
* connector's own amount limits are not applied, so this stays an upper bound.
|
|
2978
3002
|
*/
|
|
2979
3003
|
interface AvailabilityPreviewResponse {
|
|
2980
3004
|
/** The country the preview resolved for (echoes the request). */
|
|
2981
3005
|
country?: string | null;
|
|
3006
|
+
/** The order value the preview resolved for (echoes the request). */
|
|
3007
|
+
amount?: number | null;
|
|
3008
|
+
/** The currency the preview resolved for (echoes the request). */
|
|
3009
|
+
currency?: Currency | null;
|
|
2982
3010
|
payment_methods: AvailabilityPreviewMethod[];
|
|
2983
3011
|
}
|
|
2984
3012
|
/**
|
|
@@ -5104,7 +5132,8 @@ declare class AvailabilityOverrides {
|
|
|
5104
5132
|
/**
|
|
5105
5133
|
* Preview the methods a customer in `country` would be shown for a shop —
|
|
5106
5134
|
* the connector ceiling narrowed by the smart country defaults and the
|
|
5107
|
-
* merchant overrides, without an active payment.
|
|
5135
|
+
* merchant overrides, without an active payment. Pass `amount` + `currency`
|
|
5136
|
+
* to also evaluate order-value rules.
|
|
5108
5137
|
* `GET /availability-overrides/preview`
|
|
5109
5138
|
*/
|
|
5110
5139
|
preview(params: AvailabilityPreviewParams): Promise<AvailabilityPreviewResponse>;
|
|
@@ -5695,6 +5724,20 @@ interface CustomFieldOption {
|
|
|
5695
5724
|
label: string;
|
|
5696
5725
|
labelTranslations: CustomFieldTranslations;
|
|
5697
5726
|
}
|
|
5727
|
+
type CustomFieldConditionSource = 'metadata' | 'currency' | 'amount';
|
|
5728
|
+
type CustomFieldOperator = 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'starts_with' | 'ends_with' | 'in' | 'not_in' | 'exists' | 'not_exists' | 'gt' | 'gte' | 'lt' | 'lte';
|
|
5729
|
+
interface CustomFieldCondition {
|
|
5730
|
+
id: string;
|
|
5731
|
+
source: CustomFieldConditionSource;
|
|
5732
|
+
key: string;
|
|
5733
|
+
operator: CustomFieldOperator;
|
|
5734
|
+
value: string;
|
|
5735
|
+
}
|
|
5736
|
+
interface CustomFieldVisibility {
|
|
5737
|
+
mode: 'always' | 'match';
|
|
5738
|
+
match: 'all' | 'any';
|
|
5739
|
+
conditions: CustomFieldCondition[];
|
|
5740
|
+
}
|
|
5698
5741
|
interface CheckoutCustomField {
|
|
5699
5742
|
id: string;
|
|
5700
5743
|
key: string;
|
|
@@ -5711,6 +5754,7 @@ interface CheckoutCustomField {
|
|
|
5711
5754
|
maxLength: number | null;
|
|
5712
5755
|
defaultValue: string;
|
|
5713
5756
|
options: CustomFieldOption[];
|
|
5757
|
+
visibility: CustomFieldVisibility;
|
|
5714
5758
|
}
|
|
5715
5759
|
interface CheckoutBranding {
|
|
5716
5760
|
displayName: string;
|
|
@@ -5805,9 +5849,44 @@ declare function encodeBadges(badges: TrustBadge[]): string;
|
|
|
5805
5849
|
declare const CUSTOM_FIELDS_MAX = 20;
|
|
5806
5850
|
declare const CUSTOM_FIELD_KEY_PATTERN: RegExp;
|
|
5807
5851
|
declare const ALL_CUSTOM_FIELD_TYPES: readonly CustomFieldType[];
|
|
5852
|
+
declare const CUSTOM_FIELD_CONDITIONS_MAX = 10;
|
|
5853
|
+
declare const ALL_CUSTOM_FIELD_CONDITION_SOURCES: readonly CustomFieldConditionSource[];
|
|
5854
|
+
declare const ALL_CUSTOM_FIELD_OPERATORS: readonly CustomFieldOperator[];
|
|
5855
|
+
declare const CUSTOM_FIELD_OPERATORS_BY_SOURCE: Record<CustomFieldConditionSource, readonly CustomFieldOperator[]>;
|
|
5856
|
+
declare const CUSTOM_FIELD_VALUELESS_OPERATORS: readonly CustomFieldOperator[];
|
|
5857
|
+
declare function customFieldOperatorTakesValue(operator: CustomFieldOperator): boolean;
|
|
5858
|
+
declare function defaultOperatorForSource(source: CustomFieldConditionSource): CustomFieldOperator;
|
|
5859
|
+
declare function defaultCustomFieldVisibility(): CustomFieldVisibility;
|
|
5808
5860
|
declare function parseCustomFieldsLoose(raw: unknown): CheckoutCustomField[] | null;
|
|
5809
5861
|
declare function decodeCustomFields(raw: string | undefined): CheckoutCustomField[] | null;
|
|
5810
5862
|
declare function encodeCustomFields(fields: CheckoutCustomField[]): string;
|
|
5863
|
+
/** Facts a rule can read. `amount` is in the currency's minor unit (what
|
|
5864
|
+
* the payment intent stores); `metadata` values are already flattened to
|
|
5865
|
+
* strings by `customFieldContextFromMetadata`. */
|
|
5866
|
+
interface CustomFieldContext {
|
|
5867
|
+
amount: number;
|
|
5868
|
+
currency: string;
|
|
5869
|
+
metadata: Record<string, string>;
|
|
5870
|
+
}
|
|
5871
|
+
/** Flatten a payment's raw `metadata` object into the string map a rule
|
|
5872
|
+
* compares against. Arrays join on `,` so a list-shaped value stays usable
|
|
5873
|
+
* with `contains` / `in`; objects fall back to JSON. Mirrors the Rust
|
|
5874
|
+
* side's `flatten_metadata`. */
|
|
5875
|
+
declare function customFieldContextFromMetadata(raw: unknown): Record<string, string>;
|
|
5876
|
+
declare function evaluateCustomFieldCondition(condition: CustomFieldCondition, ctx: CustomFieldContext): boolean;
|
|
5877
|
+
/**
|
|
5878
|
+
* Whether a field's rule matches the payment.
|
|
5879
|
+
*
|
|
5880
|
+
* Fail-open in two spots, deliberately: `mode: 'always'` and a `match` rule
|
|
5881
|
+
* with no conditions both resolve to visible. A half-authored rule should
|
|
5882
|
+
* never silently swallow a field the merchant needs collected — the
|
|
5883
|
+
* control-center flags the empty rule as a validation issue instead.
|
|
5884
|
+
*/
|
|
5885
|
+
declare function evaluateCustomFieldVisibility(field: CheckoutCustomField, ctx: CustomFieldContext): boolean;
|
|
5886
|
+
/** Filter a field list to what the buyer should see for this payment.
|
|
5887
|
+
* Disabled fields are dropped here too — the two reasons a field doesn't
|
|
5888
|
+
* render are the same to every consumer. */
|
|
5889
|
+
declare function visibleCustomFields(fields: CheckoutCustomField[], ctx: CustomFieldContext): CheckoutCustomField[];
|
|
5811
5890
|
declare function customFieldText(field: CheckoutCustomField, part: 'label' | 'placeholder' | 'helpText', locale?: string): string;
|
|
5812
5891
|
declare function customFieldOptionLabel(option: CustomFieldOption, locale?: string): string;
|
|
5813
5892
|
declare function decodeBranding(source: BrandingSource | null | undefined): CheckoutBranding;
|
|
@@ -5840,4 +5919,4 @@ declare function parseImportedBranding(raw: unknown): CheckoutBranding;
|
|
|
5840
5919
|
declare function applyBrandingVariables(el: HTMLElement, b: CheckoutBranding): void;
|
|
5841
5920
|
declare function shadowFor(style: SurfaceStyle): string;
|
|
5842
5921
|
|
|
5843
|
-
export { ALL_CUSTOM_FIELD_TYPES, type AddUserRequest, type AddUserResponse, type Address, type AddressDetails, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, Analytics, type AnalyticsChild, type AnalyticsConnectorDay, type AnalyticsConnectorSeries, AnalyticsDashboard, type AnalyticsDayBucket, type AnalyticsMethodSlice, type AnalyticsScopeRequest, type AnalyticsScopeResponse, type ApiKeyCreateRequest, type ApiKeyCreateResponse, type ApiKeyExpiration, type ApiKeyListConstraints, type ApiKeyResponse, type ApiKeyRevokeResponse, type ApiKeyUpdateRequest, type ApplePayVerificationRequest, type ApplePayVerificationResponse, type ApplePayVerifiedDomainsResponse, type AttemptStatus, type AuthResponse, type AuthenticationCreateRequest, type AuthenticationResponse, type AuthenticationStatus, type AuthenticationType, type AutoRechargeConfig, type AutoRechargeUpdateRequest, type AvailabilityOverrideCreateRequest, type AvailabilityOverrideResponse, AvailabilityOverrides, type AvailabilityPreviewMethod, type AvailabilityPreviewParams, type AvailabilityPreviewResponse, BRANDING_EXPORT_FORMAT, BRANDING_EXPORT_VERSION, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingSetupRequest, type BillingSetupResponse, type BlockedAttempt, type BlockedAttemptListParams, type BlockedAttemptListResponse, type BlocklistAddRequest, type BlocklistDataKind, type BlocklistResponse, type BrandingExport, type BrandingSource, type BuiltInRegionGroupResponse, type BusinessPaymentLinkConfig, CUSTOM_CSS_MAX_LENGTH, CUSTOM_FIELDS_MAX, CUSTOM_FIELD_KEY_PATTERN, type CancelSubscriptionRequest, type CancelSubscriptionResponse, type CaptureMethod, type CardDetail, type CardDetailFromLocker, Cards, type ChangePasswordRequest, type CheckoutBranding, type CheckoutCustomField, type ConditionNode, type ConfirmSubscriptionPaymentDetails, type ConfirmSubscriptionRequest, type ConfirmSubscriptionResponse, type Connector, type ConnectorCloneRequest, type ConnectorCreateRequest, type ConnectorListResponse, type ConnectorResponse, type ConnectorSelection, type ConnectorType, type ConnectorUpdateRequest, type ConnectorVolumeSplit, type ConnectorWebhookEntry, type ConnectorWebhookEventType, type ConnectorWebhookListResponse, type ConnectorWebhookRegisterRequest, type ConnectorWebhookRegisterResponse, type CornerRadius, type CreateAndConfirmSubscriptionRequest, type CreateSubscriptionPaymentDetails, type CreateSubscriptionRequest, type Currency, type CurrencyRevenue, type CustomFieldOption, type CustomFieldTranslations, type CustomFieldType, type CustomerCreateRequest, type CustomerListParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerUpdateRequest, DEFAULT_BADGES, DEFAULT_BADGES_DARK, DEFAULT_BRANDING, DEFAULT_BRANDING_DARK, type DeleteAccountRequest, type DeleteUserRoleRequest, Delopay, DelopayAuthenticationError, DelopayError, type DelopayLogger, type DelopayOptions, type DisputeEvidenceBlock, type DisputeEvidenceRequest, type DisputeEvidenceType, type DisputeListParams, type DisputeResponse, type DisputeStage, type DisputeStatus, type EncodedBranding, type EphemeralKeyCreateRequest, type EphemeralKeyCreateResponse, type EuclidComparison, type EuclidComparisonType, type EuclidIfStatement, type EuclidValue, type EventClass, type EventDeliveryAttemptResponse, type EventDetailResponse, type EventListParams, type EventListResponse, type EventResponse, type EventType, Export, FeatureMatrix, type FeeOwner, FeeProgramBuilder, type FeeRuleConditions, type FeeRuleInput, type FeeRulePreviewRequest, type FeeRulePreviewResponse, type FeeScheduleCreateRequest, type FeeScheduleResponse, type FeeScheduleUpdateRequest, type FeeSpecInput, type FeeType, Files, type FontFamily, type FontWeight, Forex, type ForgotPasswordRequest, type FromEmailRequest, type FutureUsage, type GatewayConnectRequest, type GatewayResponse, type GetSubscriptionItemsParams, type GetSubscriptionItemsResponse, type GlobalSearchRequest, type GroupNode, type ImpersonateEmployeeRequest, type IntentStatus, type InviteUsersRequest, type InviteUsersResponse, type InvoiceStatus, type LabelStyle, type LayoutStyle, type LeafNode, type LedgerEntry, type LedgerListParams, type LedgerResponse, type LinkedRoutingConfigRetrieveResponse, type ListInvitableRolesParams, type ListUsersInLineageParams, type LoginHistoryEntry, type LoginHistoryParams, type LoginHistoryResponse, type LogoShape, type LogoSize, type MandateListParams, type MandateResponse, type MandateRevokedResponse, type MandateStatus, type MandateType, type MerchantAccountCreateRequest, type MerchantAccountResponse, type MerchantAccountType, type MerchantAccountUpdateRequest, type MerchantOverviewResponse, type MerchantOverviewStat, type MerchantRoutingAlgorithm, type MethodSurcharge, type MinimalRoleInfo, type NonPillRadius, type OverrideAction, type OverrideScope, type ParentGroup, type ParentGroupInfo, type PauseSubscriptionRequest, type PauseSubscriptionResponse, type PaymentAttemptResponse, type PaymentAttemptsListResponse, type PaymentCancelRequest, type PaymentCaptureRequest, type PaymentConfirmRequest, type PaymentCreateRequest, type PaymentErrorDetails, type PaymentExperience, type PaymentIdFormatConfig, type PaymentIdStyle, type PaymentIntentStateMetadata, type PaymentLayout, type PaymentLinkBackgroundImageConfig, type PaymentLinkConfigRequest, type PaymentLinkListParams, type PaymentLinkListResponse, type PaymentLinkResponse, type PaymentLinkTransactionDetails, type PaymentListParams, type PaymentListResponse, type PaymentMethod, type PaymentMethodCreateRequest, type PaymentMethodDeleteResponse, type PaymentMethodListParams, type PaymentMethodResponse, type PaymentMethodType, type PaymentMethodUpdateRequest, type PaymentResponse, type PaymentRetrieveOptions, type PaymentStatusHistoryEntityType, type PaymentStatusHistoryEvent, type PaymentStatusHistoryResponse, type PaymentUpdateRequest, type PayoutCreateRequest, type PayoutListParams, type PayoutListResponse, type PayoutResponse, type PayoutStatus, type PayoutType, type PayoutUpdateRequest, type PerMethodSurchargeItem, type PermissionScope, type PhoneDetails, type PhoneOtpRequest, type PhoneOtpResponse, type PhoneOtpVerifyRequest, type PhoneOtpVerifyResponse, type PlatformFeeKind, type PlatformFeeOutput, type PlatformFeeProgram, type PlatformFeeRule, type PlatformFeeRuleInput, type PlatformFeeRuleOutput, type PlatformFeeRuleRecord, type PlatformFeeRuleRequest, type PollStatus, type PollStatusResponse, type ProfileAcquirerCreateRequest, type ProfileAcquirerResponse, type ProfileAcquirerUpdateRequest, type ProfileCreateRequest, type ProfileDefaultRoutingConfig, type ProfileDeniedConnectorsResponse, type ProfileLogoUploadResponse, type ProfileResponse, type ProfileUpdateRequest, type ProgramConnectorSelection, type ProjectCreateRequest, type ProjectResponse, type ProjectStats, type ProjectStatsResponse, type ProjectUpdateRequest, type RecoveryCodesResponse, type RefundAggregateResponse, type RefundCreateRequest, type RefundListParams, type RefundListResponse, type RefundResponse, type RefundStatus, type RefundType, type RefundUpdateRequest, type RegionCountriesResponse, type RegionCreateRequest, type RegionResponse, type RegionSetCountriesRequest, type RegionUpdateRequest, Regions, type RelayRequest, type RelayResponse, type RelayStatus, type RelayType, type RequestExtras, type RequestFn, type RequestOptions, type ResetPasswordRequest, type ResumeSubscriptionRequest, type ResumeSubscriptionResponse, type RoutableConnectorChoice, type RoutingActivatePayload, type RoutingConfigCreateRequest, type RoutingConfigResponse, type RoutingDeactivateRequest, type RoutingDictionary, type RoutingDictionaryRecord, type RuleConnectorSelection, Search, type SearchGroupResponse, type SearchIndex, type SearchStatus, type ShopCreateRequest, type ShopResponse, type ShopStats, type ShopStatsResponse, type ShopUpdateRequest, type SignInRequest, type SignUpRequest, type SignUpWithMerchantIdRequest, type SignUpWithMerchantRequest, type SizeScale, type SpacingScale, type StaticRoutingAlgorithm, type StatsPeriod, type StripeConnectAccountRequest, type StripeConnectAccountResponse, type StripeConnectLinkRequest, type StripeConnectLinkResponse, type SubscriptionEstimateParams, type SubscriptionEstimateResponse, type SubscriptionInvoice, type SubscriptionItem, type SubscriptionItemPrice, type SubscriptionItemType, type SubscriptionLineItem, type SubscriptionListParams, type SubscriptionPaymentData, type SubscriptionPaymentDetails, type SubscriptionPeriodUnit, type SubscriptionResponse, type SubscriptionStatus, Subscriptions, type SummaryPosition, type SurchargeRuleRequest, type SurchargeRuleResponse, type SurfaceStyle, type SwitchMerchantRequest, type SwitchProfileRequest, type Terminate2faQueryParams, type ThreeDSDecision, type ThreeDsRuleExecuteRequest, type ThreeDsRuleResponse, type TierSummary, type TokenPurpose, type TokenResponse, type TopupRequest, type TopupResponse, type TotpResponse, type TransactionType, type TrustBadge, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UserInLineage, type UserResponse, type UserSessionEntry, type UserSessionListResponse, type UserSessionRevokeResponse, type VerifyTotpRequest, type WebhookDeliveryAttempt, type WebhookEvent, type WebhookRegistrationEnvironment, Webhooks, allOf, anyOf, applyBrandingVariables, buildBrandingExport, buttonPadValue, cloneBranding, cloneCustomField, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, defaultBranding, encodeBadges, encodeBranding, encodeCustomFields, feeProgram, fontStack, fontWeightValue, inputPadValue, isDarkSurface, isHexColor, leaf, logoDimensions, parseCustomFieldsLoose, parseImportedBranding, programToTree, radiusValue, ruleMatchToTree, sanitizeCustomCss, shadowFor, surfacePadValue, verticalGapValue };
|
|
5922
|
+
export { ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, type AddUserRequest, type AddUserResponse, type Address, type AddressDetails, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, Analytics, type AnalyticsChild, type AnalyticsConnectorDay, type AnalyticsConnectorSeries, AnalyticsDashboard, type AnalyticsDayBucket, type AnalyticsMethodSlice, type AnalyticsScopeRequest, type AnalyticsScopeResponse, type ApiKeyCreateRequest, type ApiKeyCreateResponse, type ApiKeyExpiration, type ApiKeyListConstraints, type ApiKeyResponse, type ApiKeyRevokeResponse, type ApiKeyUpdateRequest, type ApplePayVerificationRequest, type ApplePayVerificationResponse, type ApplePayVerifiedDomainsResponse, type AttemptStatus, type AuthResponse, type AuthenticationCreateRequest, type AuthenticationResponse, type AuthenticationStatus, type AuthenticationType, type AutoRechargeConfig, type AutoRechargeUpdateRequest, type AvailabilityOverrideCreateRequest, type AvailabilityOverrideResponse, AvailabilityOverrides, type AvailabilityPreviewMethod, type AvailabilityPreviewParams, type AvailabilityPreviewResponse, BRANDING_EXPORT_FORMAT, BRANDING_EXPORT_VERSION, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingSetupRequest, type BillingSetupResponse, type BlockedAttempt, type BlockedAttemptListParams, type BlockedAttemptListResponse, type BlocklistAddRequest, type BlocklistDataKind, type BlocklistResponse, type BrandingExport, type BrandingSource, type BuiltInRegionGroupResponse, type BusinessPaymentLinkConfig, CUSTOM_CSS_MAX_LENGTH, CUSTOM_FIELDS_MAX, CUSTOM_FIELD_CONDITIONS_MAX, CUSTOM_FIELD_KEY_PATTERN, CUSTOM_FIELD_OPERATORS_BY_SOURCE, CUSTOM_FIELD_VALUELESS_OPERATORS, type CancelSubscriptionRequest, type CancelSubscriptionResponse, type CaptureMethod, type CardDetail, type CardDetailFromLocker, Cards, type ChangePasswordRequest, type CheckoutBranding, type CheckoutCustomField, type ConditionNode, type ConfirmSubscriptionPaymentDetails, type ConfirmSubscriptionRequest, type ConfirmSubscriptionResponse, type Connector, type ConnectorCloneRequest, type ConnectorCreateRequest, type ConnectorListResponse, type ConnectorResponse, type ConnectorSelection, type ConnectorType, type ConnectorUpdateRequest, type ConnectorVolumeSplit, type ConnectorWebhookEntry, type ConnectorWebhookEventType, type ConnectorWebhookListResponse, type ConnectorWebhookRegisterRequest, type ConnectorWebhookRegisterResponse, type CornerRadius, type CreateAndConfirmSubscriptionRequest, type CreateSubscriptionPaymentDetails, type CreateSubscriptionRequest, type Currency, type CurrencyRevenue, type CustomFieldCondition, type CustomFieldConditionSource, type CustomFieldContext, type CustomFieldOperator, type CustomFieldOption, type CustomFieldTranslations, type CustomFieldType, type CustomFieldVisibility, type CustomerCreateRequest, type CustomerListParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerUpdateRequest, DEFAULT_BADGES, DEFAULT_BADGES_DARK, DEFAULT_BRANDING, DEFAULT_BRANDING_DARK, type DeleteAccountRequest, type DeleteUserRoleRequest, Delopay, DelopayAuthenticationError, DelopayError, type DelopayLogger, type DelopayOptions, type DisputeEvidenceBlock, type DisputeEvidenceRequest, type DisputeEvidenceType, type DisputeListParams, type DisputeResponse, type DisputeStage, type DisputeStatus, type EncodedBranding, type EphemeralKeyCreateRequest, type EphemeralKeyCreateResponse, type EuclidComparison, type EuclidComparisonType, type EuclidIfStatement, type EuclidValue, type EventClass, type EventDeliveryAttemptResponse, type EventDetailResponse, type EventListParams, type EventListResponse, type EventResponse, type EventType, Export, FeatureMatrix, type FeeOwner, FeeProgramBuilder, type FeeRuleConditions, type FeeRuleInput, type FeeRulePreviewRequest, type FeeRulePreviewResponse, type FeeScheduleCreateRequest, type FeeScheduleResponse, type FeeScheduleUpdateRequest, type FeeSpecInput, type FeeType, Files, type FontFamily, type FontWeight, Forex, type ForgotPasswordRequest, type FromEmailRequest, type FutureUsage, type GatewayConnectRequest, type GatewayResponse, type GetSubscriptionItemsParams, type GetSubscriptionItemsResponse, type GlobalSearchRequest, type GroupNode, type ImpersonateEmployeeRequest, type IntentStatus, type InviteUsersRequest, type InviteUsersResponse, type InvoiceStatus, type LabelStyle, type LayoutStyle, type LeafNode, type LedgerEntry, type LedgerListParams, type LedgerResponse, type LinkedRoutingConfigRetrieveResponse, type ListInvitableRolesParams, type ListUsersInLineageParams, type LoginHistoryEntry, type LoginHistoryParams, type LoginHistoryResponse, type LogoShape, type LogoSize, type MandateListParams, type MandateResponse, type MandateRevokedResponse, type MandateStatus, type MandateType, type MerchantAccountCreateRequest, type MerchantAccountResponse, type MerchantAccountType, type MerchantAccountUpdateRequest, type MerchantOverviewResponse, type MerchantOverviewStat, type MerchantRoutingAlgorithm, type MethodSurcharge, type MinimalRoleInfo, type NonPillRadius, type OverrideAction, type OverrideScope, type ParentGroup, type ParentGroupInfo, type PauseSubscriptionRequest, type PauseSubscriptionResponse, type PaymentAttemptResponse, type PaymentAttemptsListResponse, type PaymentCancelRequest, type PaymentCaptureRequest, type PaymentConfirmRequest, type PaymentCreateRequest, type PaymentErrorDetails, type PaymentExperience, type PaymentIdFormatConfig, type PaymentIdStyle, type PaymentIntentStateMetadata, type PaymentLayout, type PaymentLinkBackgroundImageConfig, type PaymentLinkConfigRequest, type PaymentLinkListParams, type PaymentLinkListResponse, type PaymentLinkResponse, type PaymentLinkTransactionDetails, type PaymentListParams, type PaymentListResponse, type PaymentMethod, type PaymentMethodCreateRequest, type PaymentMethodDeleteResponse, type PaymentMethodListParams, type PaymentMethodResponse, type PaymentMethodType, type PaymentMethodUpdateRequest, type PaymentResponse, type PaymentRetrieveOptions, type PaymentStatusHistoryEntityType, type PaymentStatusHistoryEvent, type PaymentStatusHistoryResponse, type PaymentUpdateRequest, type PayoutCreateRequest, type PayoutListParams, type PayoutListResponse, type PayoutResponse, type PayoutStatus, type PayoutType, type PayoutUpdateRequest, type PerMethodSurchargeItem, type PermissionScope, type PhoneDetails, type PhoneOtpRequest, type PhoneOtpResponse, type PhoneOtpVerifyRequest, type PhoneOtpVerifyResponse, type PlatformFeeKind, type PlatformFeeOutput, type PlatformFeeProgram, type PlatformFeeRule, type PlatformFeeRuleInput, type PlatformFeeRuleOutput, type PlatformFeeRuleRecord, type PlatformFeeRuleRequest, type PollStatus, type PollStatusResponse, type ProfileAcquirerCreateRequest, type ProfileAcquirerResponse, type ProfileAcquirerUpdateRequest, type ProfileCreateRequest, type ProfileDefaultRoutingConfig, type ProfileDeniedConnectorsResponse, type ProfileLogoUploadResponse, type ProfileResponse, type ProfileUpdateRequest, type ProgramConnectorSelection, type ProjectCreateRequest, type ProjectResponse, type ProjectStats, type ProjectStatsResponse, type ProjectUpdateRequest, type RecoveryCodesResponse, type RefundAggregateResponse, type RefundCreateRequest, type RefundListParams, type RefundListResponse, type RefundResponse, type RefundStatus, type RefundType, type RefundUpdateRequest, type RegionCountriesResponse, type RegionCreateRequest, type RegionResponse, type RegionSetCountriesRequest, type RegionUpdateRequest, Regions, type RelayRequest, type RelayResponse, type RelayStatus, type RelayType, type RequestExtras, type RequestFn, type RequestOptions, type ResetPasswordRequest, type ResumeSubscriptionRequest, type ResumeSubscriptionResponse, type RoutableConnectorChoice, type RoutingActivatePayload, type RoutingConfigCreateRequest, type RoutingConfigResponse, type RoutingDeactivateRequest, type RoutingDictionary, type RoutingDictionaryRecord, type RuleConnectorSelection, Search, type SearchGroupResponse, type SearchIndex, type SearchStatus, type ShopCreateRequest, type ShopResponse, type ShopStats, type ShopStatsResponse, type ShopUpdateRequest, type SignInRequest, type SignUpRequest, type SignUpWithMerchantIdRequest, type SignUpWithMerchantRequest, type SizeScale, type SpacingScale, type StaticRoutingAlgorithm, type StatsPeriod, type StripeConnectAccountRequest, type StripeConnectAccountResponse, type StripeConnectLinkRequest, type StripeConnectLinkResponse, type SubscriptionEstimateParams, type SubscriptionEstimateResponse, type SubscriptionInvoice, type SubscriptionItem, type SubscriptionItemPrice, type SubscriptionItemType, type SubscriptionLineItem, type SubscriptionListParams, type SubscriptionPaymentData, type SubscriptionPaymentDetails, type SubscriptionPeriodUnit, type SubscriptionResponse, type SubscriptionStatus, Subscriptions, type SummaryPosition, type SurchargeRuleRequest, type SurchargeRuleResponse, type SurfaceStyle, type SwitchMerchantRequest, type SwitchProfileRequest, type Terminate2faQueryParams, type ThreeDSDecision, type ThreeDsRuleExecuteRequest, type ThreeDsRuleResponse, type TierSummary, type TokenPurpose, type TokenResponse, type TopupRequest, type TopupResponse, type TotpResponse, type TransactionType, type TrustBadge, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UserInLineage, type UserResponse, type UserSessionEntry, type UserSessionListResponse, type UserSessionRevokeResponse, type VerifyTotpRequest, type WebhookDeliveryAttempt, type WebhookEvent, type WebhookRegistrationEnvironment, Webhooks, allOf, anyOf, applyBrandingVariables, buildBrandingExport, buttonPadValue, cloneBranding, cloneCustomField, customFieldContextFromMetadata, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, defaultBranding, defaultCustomFieldVisibility, defaultOperatorForSource, encodeBadges, encodeBranding, encodeCustomFields, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, fontStack, fontWeightValue, inputPadValue, isDarkSurface, isHexColor, leaf, logoDimensions, parseCustomFieldsLoose, parseImportedBranding, programToTree, radiusValue, ruleMatchToTree, sanitizeCustomCss, shadowFor, surfacePadValue, verticalGapValue, visibleCustomFields };
|
package/dist/index.d.ts
CHANGED
|
@@ -2945,6 +2945,22 @@ interface AvailabilityOverrideCreateRequest {
|
|
|
2945
2945
|
country?: string;
|
|
2946
2946
|
/** Target a built-in group code (e.g. `"EU"`) or a custom region id. Mutually exclusive with `country`. */
|
|
2947
2947
|
region_code?: string;
|
|
2948
|
+
/**
|
|
2949
|
+
* Inclusive lower bound on the order value, in minor units. `null`/omitted is
|
|
2950
|
+
* unbounded. Requires `currency`.
|
|
2951
|
+
*/
|
|
2952
|
+
min_amount?: number;
|
|
2953
|
+
/**
|
|
2954
|
+
* Inclusive upper bound on the order value, in minor units. `null`/omitted is
|
|
2955
|
+
* unbounded. Requires `currency`.
|
|
2956
|
+
*/
|
|
2957
|
+
max_amount?: number;
|
|
2958
|
+
/**
|
|
2959
|
+
* Currency the amount bounds are expressed in. Required when either bound is
|
|
2960
|
+
* set. There is no FX conversion — the rule applies only to payments in this
|
|
2961
|
+
* currency.
|
|
2962
|
+
*/
|
|
2963
|
+
currency?: Currency;
|
|
2948
2964
|
action: OverrideAction;
|
|
2949
2965
|
}
|
|
2950
2966
|
interface AvailabilityOverrideResponse {
|
|
@@ -2956,6 +2972,9 @@ interface AvailabilityOverrideResponse {
|
|
|
2956
2972
|
payment_method_type?: PaymentMethodType | null;
|
|
2957
2973
|
country?: string | null;
|
|
2958
2974
|
region_code?: string | null;
|
|
2975
|
+
min_amount?: number | null;
|
|
2976
|
+
max_amount?: number | null;
|
|
2977
|
+
currency?: Currency | null;
|
|
2959
2978
|
action: OverrideAction;
|
|
2960
2979
|
}
|
|
2961
2980
|
/** Query for {@link AvailabilityOverrides.preview}. */
|
|
@@ -2965,6 +2984,10 @@ interface AvailabilityPreviewParams {
|
|
|
2965
2984
|
profile_id: string;
|
|
2966
2985
|
/** ISO 3166-1 alpha-2 country to preview for; omit for no country signal. */
|
|
2967
2986
|
country?: string;
|
|
2987
|
+
/** Order value to preview for, in minor units. Requires `currency`. */
|
|
2988
|
+
amount?: number;
|
|
2989
|
+
/** Currency of `amount`. */
|
|
2990
|
+
currency?: Currency;
|
|
2968
2991
|
}
|
|
2969
2992
|
/** One payment method available in the previewed country, with its types. */
|
|
2970
2993
|
interface AvailabilityPreviewMethod {
|
|
@@ -2973,12 +2996,17 @@ interface AvailabilityPreviewMethod {
|
|
|
2973
2996
|
}
|
|
2974
2997
|
/**
|
|
2975
2998
|
* The methods a customer in the previewed country would be shown — the connector
|
|
2976
|
-
* ceiling narrowed by the curated smart defaults and the merchant overrides
|
|
2977
|
-
*
|
|
2999
|
+
* ceiling narrowed by the curated smart defaults and the merchant overrides,
|
|
3000
|
+
* including their order-value rules when `amount` + `currency` are supplied. The
|
|
3001
|
+
* connector's own amount limits are not applied, so this stays an upper bound.
|
|
2978
3002
|
*/
|
|
2979
3003
|
interface AvailabilityPreviewResponse {
|
|
2980
3004
|
/** The country the preview resolved for (echoes the request). */
|
|
2981
3005
|
country?: string | null;
|
|
3006
|
+
/** The order value the preview resolved for (echoes the request). */
|
|
3007
|
+
amount?: number | null;
|
|
3008
|
+
/** The currency the preview resolved for (echoes the request). */
|
|
3009
|
+
currency?: Currency | null;
|
|
2982
3010
|
payment_methods: AvailabilityPreviewMethod[];
|
|
2983
3011
|
}
|
|
2984
3012
|
/**
|
|
@@ -5104,7 +5132,8 @@ declare class AvailabilityOverrides {
|
|
|
5104
5132
|
/**
|
|
5105
5133
|
* Preview the methods a customer in `country` would be shown for a shop —
|
|
5106
5134
|
* the connector ceiling narrowed by the smart country defaults and the
|
|
5107
|
-
* merchant overrides, without an active payment.
|
|
5135
|
+
* merchant overrides, without an active payment. Pass `amount` + `currency`
|
|
5136
|
+
* to also evaluate order-value rules.
|
|
5108
5137
|
* `GET /availability-overrides/preview`
|
|
5109
5138
|
*/
|
|
5110
5139
|
preview(params: AvailabilityPreviewParams): Promise<AvailabilityPreviewResponse>;
|
|
@@ -5695,6 +5724,20 @@ interface CustomFieldOption {
|
|
|
5695
5724
|
label: string;
|
|
5696
5725
|
labelTranslations: CustomFieldTranslations;
|
|
5697
5726
|
}
|
|
5727
|
+
type CustomFieldConditionSource = 'metadata' | 'currency' | 'amount';
|
|
5728
|
+
type CustomFieldOperator = 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'starts_with' | 'ends_with' | 'in' | 'not_in' | 'exists' | 'not_exists' | 'gt' | 'gte' | 'lt' | 'lte';
|
|
5729
|
+
interface CustomFieldCondition {
|
|
5730
|
+
id: string;
|
|
5731
|
+
source: CustomFieldConditionSource;
|
|
5732
|
+
key: string;
|
|
5733
|
+
operator: CustomFieldOperator;
|
|
5734
|
+
value: string;
|
|
5735
|
+
}
|
|
5736
|
+
interface CustomFieldVisibility {
|
|
5737
|
+
mode: 'always' | 'match';
|
|
5738
|
+
match: 'all' | 'any';
|
|
5739
|
+
conditions: CustomFieldCondition[];
|
|
5740
|
+
}
|
|
5698
5741
|
interface CheckoutCustomField {
|
|
5699
5742
|
id: string;
|
|
5700
5743
|
key: string;
|
|
@@ -5711,6 +5754,7 @@ interface CheckoutCustomField {
|
|
|
5711
5754
|
maxLength: number | null;
|
|
5712
5755
|
defaultValue: string;
|
|
5713
5756
|
options: CustomFieldOption[];
|
|
5757
|
+
visibility: CustomFieldVisibility;
|
|
5714
5758
|
}
|
|
5715
5759
|
interface CheckoutBranding {
|
|
5716
5760
|
displayName: string;
|
|
@@ -5805,9 +5849,44 @@ declare function encodeBadges(badges: TrustBadge[]): string;
|
|
|
5805
5849
|
declare const CUSTOM_FIELDS_MAX = 20;
|
|
5806
5850
|
declare const CUSTOM_FIELD_KEY_PATTERN: RegExp;
|
|
5807
5851
|
declare const ALL_CUSTOM_FIELD_TYPES: readonly CustomFieldType[];
|
|
5852
|
+
declare const CUSTOM_FIELD_CONDITIONS_MAX = 10;
|
|
5853
|
+
declare const ALL_CUSTOM_FIELD_CONDITION_SOURCES: readonly CustomFieldConditionSource[];
|
|
5854
|
+
declare const ALL_CUSTOM_FIELD_OPERATORS: readonly CustomFieldOperator[];
|
|
5855
|
+
declare const CUSTOM_FIELD_OPERATORS_BY_SOURCE: Record<CustomFieldConditionSource, readonly CustomFieldOperator[]>;
|
|
5856
|
+
declare const CUSTOM_FIELD_VALUELESS_OPERATORS: readonly CustomFieldOperator[];
|
|
5857
|
+
declare function customFieldOperatorTakesValue(operator: CustomFieldOperator): boolean;
|
|
5858
|
+
declare function defaultOperatorForSource(source: CustomFieldConditionSource): CustomFieldOperator;
|
|
5859
|
+
declare function defaultCustomFieldVisibility(): CustomFieldVisibility;
|
|
5808
5860
|
declare function parseCustomFieldsLoose(raw: unknown): CheckoutCustomField[] | null;
|
|
5809
5861
|
declare function decodeCustomFields(raw: string | undefined): CheckoutCustomField[] | null;
|
|
5810
5862
|
declare function encodeCustomFields(fields: CheckoutCustomField[]): string;
|
|
5863
|
+
/** Facts a rule can read. `amount` is in the currency's minor unit (what
|
|
5864
|
+
* the payment intent stores); `metadata` values are already flattened to
|
|
5865
|
+
* strings by `customFieldContextFromMetadata`. */
|
|
5866
|
+
interface CustomFieldContext {
|
|
5867
|
+
amount: number;
|
|
5868
|
+
currency: string;
|
|
5869
|
+
metadata: Record<string, string>;
|
|
5870
|
+
}
|
|
5871
|
+
/** Flatten a payment's raw `metadata` object into the string map a rule
|
|
5872
|
+
* compares against. Arrays join on `,` so a list-shaped value stays usable
|
|
5873
|
+
* with `contains` / `in`; objects fall back to JSON. Mirrors the Rust
|
|
5874
|
+
* side's `flatten_metadata`. */
|
|
5875
|
+
declare function customFieldContextFromMetadata(raw: unknown): Record<string, string>;
|
|
5876
|
+
declare function evaluateCustomFieldCondition(condition: CustomFieldCondition, ctx: CustomFieldContext): boolean;
|
|
5877
|
+
/**
|
|
5878
|
+
* Whether a field's rule matches the payment.
|
|
5879
|
+
*
|
|
5880
|
+
* Fail-open in two spots, deliberately: `mode: 'always'` and a `match` rule
|
|
5881
|
+
* with no conditions both resolve to visible. A half-authored rule should
|
|
5882
|
+
* never silently swallow a field the merchant needs collected — the
|
|
5883
|
+
* control-center flags the empty rule as a validation issue instead.
|
|
5884
|
+
*/
|
|
5885
|
+
declare function evaluateCustomFieldVisibility(field: CheckoutCustomField, ctx: CustomFieldContext): boolean;
|
|
5886
|
+
/** Filter a field list to what the buyer should see for this payment.
|
|
5887
|
+
* Disabled fields are dropped here too — the two reasons a field doesn't
|
|
5888
|
+
* render are the same to every consumer. */
|
|
5889
|
+
declare function visibleCustomFields(fields: CheckoutCustomField[], ctx: CustomFieldContext): CheckoutCustomField[];
|
|
5811
5890
|
declare function customFieldText(field: CheckoutCustomField, part: 'label' | 'placeholder' | 'helpText', locale?: string): string;
|
|
5812
5891
|
declare function customFieldOptionLabel(option: CustomFieldOption, locale?: string): string;
|
|
5813
5892
|
declare function decodeBranding(source: BrandingSource | null | undefined): CheckoutBranding;
|
|
@@ -5840,4 +5919,4 @@ declare function parseImportedBranding(raw: unknown): CheckoutBranding;
|
|
|
5840
5919
|
declare function applyBrandingVariables(el: HTMLElement, b: CheckoutBranding): void;
|
|
5841
5920
|
declare function shadowFor(style: SurfaceStyle): string;
|
|
5842
5921
|
|
|
5843
|
-
export { ALL_CUSTOM_FIELD_TYPES, type AddUserRequest, type AddUserResponse, type Address, type AddressDetails, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, Analytics, type AnalyticsChild, type AnalyticsConnectorDay, type AnalyticsConnectorSeries, AnalyticsDashboard, type AnalyticsDayBucket, type AnalyticsMethodSlice, type AnalyticsScopeRequest, type AnalyticsScopeResponse, type ApiKeyCreateRequest, type ApiKeyCreateResponse, type ApiKeyExpiration, type ApiKeyListConstraints, type ApiKeyResponse, type ApiKeyRevokeResponse, type ApiKeyUpdateRequest, type ApplePayVerificationRequest, type ApplePayVerificationResponse, type ApplePayVerifiedDomainsResponse, type AttemptStatus, type AuthResponse, type AuthenticationCreateRequest, type AuthenticationResponse, type AuthenticationStatus, type AuthenticationType, type AutoRechargeConfig, type AutoRechargeUpdateRequest, type AvailabilityOverrideCreateRequest, type AvailabilityOverrideResponse, AvailabilityOverrides, type AvailabilityPreviewMethod, type AvailabilityPreviewParams, type AvailabilityPreviewResponse, BRANDING_EXPORT_FORMAT, BRANDING_EXPORT_VERSION, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingSetupRequest, type BillingSetupResponse, type BlockedAttempt, type BlockedAttemptListParams, type BlockedAttemptListResponse, type BlocklistAddRequest, type BlocklistDataKind, type BlocklistResponse, type BrandingExport, type BrandingSource, type BuiltInRegionGroupResponse, type BusinessPaymentLinkConfig, CUSTOM_CSS_MAX_LENGTH, CUSTOM_FIELDS_MAX, CUSTOM_FIELD_KEY_PATTERN, type CancelSubscriptionRequest, type CancelSubscriptionResponse, type CaptureMethod, type CardDetail, type CardDetailFromLocker, Cards, type ChangePasswordRequest, type CheckoutBranding, type CheckoutCustomField, type ConditionNode, type ConfirmSubscriptionPaymentDetails, type ConfirmSubscriptionRequest, type ConfirmSubscriptionResponse, type Connector, type ConnectorCloneRequest, type ConnectorCreateRequest, type ConnectorListResponse, type ConnectorResponse, type ConnectorSelection, type ConnectorType, type ConnectorUpdateRequest, type ConnectorVolumeSplit, type ConnectorWebhookEntry, type ConnectorWebhookEventType, type ConnectorWebhookListResponse, type ConnectorWebhookRegisterRequest, type ConnectorWebhookRegisterResponse, type CornerRadius, type CreateAndConfirmSubscriptionRequest, type CreateSubscriptionPaymentDetails, type CreateSubscriptionRequest, type Currency, type CurrencyRevenue, type CustomFieldOption, type CustomFieldTranslations, type CustomFieldType, type CustomerCreateRequest, type CustomerListParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerUpdateRequest, DEFAULT_BADGES, DEFAULT_BADGES_DARK, DEFAULT_BRANDING, DEFAULT_BRANDING_DARK, type DeleteAccountRequest, type DeleteUserRoleRequest, Delopay, DelopayAuthenticationError, DelopayError, type DelopayLogger, type DelopayOptions, type DisputeEvidenceBlock, type DisputeEvidenceRequest, type DisputeEvidenceType, type DisputeListParams, type DisputeResponse, type DisputeStage, type DisputeStatus, type EncodedBranding, type EphemeralKeyCreateRequest, type EphemeralKeyCreateResponse, type EuclidComparison, type EuclidComparisonType, type EuclidIfStatement, type EuclidValue, type EventClass, type EventDeliveryAttemptResponse, type EventDetailResponse, type EventListParams, type EventListResponse, type EventResponse, type EventType, Export, FeatureMatrix, type FeeOwner, FeeProgramBuilder, type FeeRuleConditions, type FeeRuleInput, type FeeRulePreviewRequest, type FeeRulePreviewResponse, type FeeScheduleCreateRequest, type FeeScheduleResponse, type FeeScheduleUpdateRequest, type FeeSpecInput, type FeeType, Files, type FontFamily, type FontWeight, Forex, type ForgotPasswordRequest, type FromEmailRequest, type FutureUsage, type GatewayConnectRequest, type GatewayResponse, type GetSubscriptionItemsParams, type GetSubscriptionItemsResponse, type GlobalSearchRequest, type GroupNode, type ImpersonateEmployeeRequest, type IntentStatus, type InviteUsersRequest, type InviteUsersResponse, type InvoiceStatus, type LabelStyle, type LayoutStyle, type LeafNode, type LedgerEntry, type LedgerListParams, type LedgerResponse, type LinkedRoutingConfigRetrieveResponse, type ListInvitableRolesParams, type ListUsersInLineageParams, type LoginHistoryEntry, type LoginHistoryParams, type LoginHistoryResponse, type LogoShape, type LogoSize, type MandateListParams, type MandateResponse, type MandateRevokedResponse, type MandateStatus, type MandateType, type MerchantAccountCreateRequest, type MerchantAccountResponse, type MerchantAccountType, type MerchantAccountUpdateRequest, type MerchantOverviewResponse, type MerchantOverviewStat, type MerchantRoutingAlgorithm, type MethodSurcharge, type MinimalRoleInfo, type NonPillRadius, type OverrideAction, type OverrideScope, type ParentGroup, type ParentGroupInfo, type PauseSubscriptionRequest, type PauseSubscriptionResponse, type PaymentAttemptResponse, type PaymentAttemptsListResponse, type PaymentCancelRequest, type PaymentCaptureRequest, type PaymentConfirmRequest, type PaymentCreateRequest, type PaymentErrorDetails, type PaymentExperience, type PaymentIdFormatConfig, type PaymentIdStyle, type PaymentIntentStateMetadata, type PaymentLayout, type PaymentLinkBackgroundImageConfig, type PaymentLinkConfigRequest, type PaymentLinkListParams, type PaymentLinkListResponse, type PaymentLinkResponse, type PaymentLinkTransactionDetails, type PaymentListParams, type PaymentListResponse, type PaymentMethod, type PaymentMethodCreateRequest, type PaymentMethodDeleteResponse, type PaymentMethodListParams, type PaymentMethodResponse, type PaymentMethodType, type PaymentMethodUpdateRequest, type PaymentResponse, type PaymentRetrieveOptions, type PaymentStatusHistoryEntityType, type PaymentStatusHistoryEvent, type PaymentStatusHistoryResponse, type PaymentUpdateRequest, type PayoutCreateRequest, type PayoutListParams, type PayoutListResponse, type PayoutResponse, type PayoutStatus, type PayoutType, type PayoutUpdateRequest, type PerMethodSurchargeItem, type PermissionScope, type PhoneDetails, type PhoneOtpRequest, type PhoneOtpResponse, type PhoneOtpVerifyRequest, type PhoneOtpVerifyResponse, type PlatformFeeKind, type PlatformFeeOutput, type PlatformFeeProgram, type PlatformFeeRule, type PlatformFeeRuleInput, type PlatformFeeRuleOutput, type PlatformFeeRuleRecord, type PlatformFeeRuleRequest, type PollStatus, type PollStatusResponse, type ProfileAcquirerCreateRequest, type ProfileAcquirerResponse, type ProfileAcquirerUpdateRequest, type ProfileCreateRequest, type ProfileDefaultRoutingConfig, type ProfileDeniedConnectorsResponse, type ProfileLogoUploadResponse, type ProfileResponse, type ProfileUpdateRequest, type ProgramConnectorSelection, type ProjectCreateRequest, type ProjectResponse, type ProjectStats, type ProjectStatsResponse, type ProjectUpdateRequest, type RecoveryCodesResponse, type RefundAggregateResponse, type RefundCreateRequest, type RefundListParams, type RefundListResponse, type RefundResponse, type RefundStatus, type RefundType, type RefundUpdateRequest, type RegionCountriesResponse, type RegionCreateRequest, type RegionResponse, type RegionSetCountriesRequest, type RegionUpdateRequest, Regions, type RelayRequest, type RelayResponse, type RelayStatus, type RelayType, type RequestExtras, type RequestFn, type RequestOptions, type ResetPasswordRequest, type ResumeSubscriptionRequest, type ResumeSubscriptionResponse, type RoutableConnectorChoice, type RoutingActivatePayload, type RoutingConfigCreateRequest, type RoutingConfigResponse, type RoutingDeactivateRequest, type RoutingDictionary, type RoutingDictionaryRecord, type RuleConnectorSelection, Search, type SearchGroupResponse, type SearchIndex, type SearchStatus, type ShopCreateRequest, type ShopResponse, type ShopStats, type ShopStatsResponse, type ShopUpdateRequest, type SignInRequest, type SignUpRequest, type SignUpWithMerchantIdRequest, type SignUpWithMerchantRequest, type SizeScale, type SpacingScale, type StaticRoutingAlgorithm, type StatsPeriod, type StripeConnectAccountRequest, type StripeConnectAccountResponse, type StripeConnectLinkRequest, type StripeConnectLinkResponse, type SubscriptionEstimateParams, type SubscriptionEstimateResponse, type SubscriptionInvoice, type SubscriptionItem, type SubscriptionItemPrice, type SubscriptionItemType, type SubscriptionLineItem, type SubscriptionListParams, type SubscriptionPaymentData, type SubscriptionPaymentDetails, type SubscriptionPeriodUnit, type SubscriptionResponse, type SubscriptionStatus, Subscriptions, type SummaryPosition, type SurchargeRuleRequest, type SurchargeRuleResponse, type SurfaceStyle, type SwitchMerchantRequest, type SwitchProfileRequest, type Terminate2faQueryParams, type ThreeDSDecision, type ThreeDsRuleExecuteRequest, type ThreeDsRuleResponse, type TierSummary, type TokenPurpose, type TokenResponse, type TopupRequest, type TopupResponse, type TotpResponse, type TransactionType, type TrustBadge, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UserInLineage, type UserResponse, type UserSessionEntry, type UserSessionListResponse, type UserSessionRevokeResponse, type VerifyTotpRequest, type WebhookDeliveryAttempt, type WebhookEvent, type WebhookRegistrationEnvironment, Webhooks, allOf, anyOf, applyBrandingVariables, buildBrandingExport, buttonPadValue, cloneBranding, cloneCustomField, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, defaultBranding, encodeBadges, encodeBranding, encodeCustomFields, feeProgram, fontStack, fontWeightValue, inputPadValue, isDarkSurface, isHexColor, leaf, logoDimensions, parseCustomFieldsLoose, parseImportedBranding, programToTree, radiusValue, ruleMatchToTree, sanitizeCustomCss, shadowFor, surfacePadValue, verticalGapValue };
|
|
5922
|
+
export { ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, type AddUserRequest, type AddUserResponse, type Address, type AddressDetails, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, Analytics, type AnalyticsChild, type AnalyticsConnectorDay, type AnalyticsConnectorSeries, AnalyticsDashboard, type AnalyticsDayBucket, type AnalyticsMethodSlice, type AnalyticsScopeRequest, type AnalyticsScopeResponse, type ApiKeyCreateRequest, type ApiKeyCreateResponse, type ApiKeyExpiration, type ApiKeyListConstraints, type ApiKeyResponse, type ApiKeyRevokeResponse, type ApiKeyUpdateRequest, type ApplePayVerificationRequest, type ApplePayVerificationResponse, type ApplePayVerifiedDomainsResponse, type AttemptStatus, type AuthResponse, type AuthenticationCreateRequest, type AuthenticationResponse, type AuthenticationStatus, type AuthenticationType, type AutoRechargeConfig, type AutoRechargeUpdateRequest, type AvailabilityOverrideCreateRequest, type AvailabilityOverrideResponse, AvailabilityOverrides, type AvailabilityPreviewMethod, type AvailabilityPreviewParams, type AvailabilityPreviewResponse, BRANDING_EXPORT_FORMAT, BRANDING_EXPORT_VERSION, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingSetupRequest, type BillingSetupResponse, type BlockedAttempt, type BlockedAttemptListParams, type BlockedAttemptListResponse, type BlocklistAddRequest, type BlocklistDataKind, type BlocklistResponse, type BrandingExport, type BrandingSource, type BuiltInRegionGroupResponse, type BusinessPaymentLinkConfig, CUSTOM_CSS_MAX_LENGTH, CUSTOM_FIELDS_MAX, CUSTOM_FIELD_CONDITIONS_MAX, CUSTOM_FIELD_KEY_PATTERN, CUSTOM_FIELD_OPERATORS_BY_SOURCE, CUSTOM_FIELD_VALUELESS_OPERATORS, type CancelSubscriptionRequest, type CancelSubscriptionResponse, type CaptureMethod, type CardDetail, type CardDetailFromLocker, Cards, type ChangePasswordRequest, type CheckoutBranding, type CheckoutCustomField, type ConditionNode, type ConfirmSubscriptionPaymentDetails, type ConfirmSubscriptionRequest, type ConfirmSubscriptionResponse, type Connector, type ConnectorCloneRequest, type ConnectorCreateRequest, type ConnectorListResponse, type ConnectorResponse, type ConnectorSelection, type ConnectorType, type ConnectorUpdateRequest, type ConnectorVolumeSplit, type ConnectorWebhookEntry, type ConnectorWebhookEventType, type ConnectorWebhookListResponse, type ConnectorWebhookRegisterRequest, type ConnectorWebhookRegisterResponse, type CornerRadius, type CreateAndConfirmSubscriptionRequest, type CreateSubscriptionPaymentDetails, type CreateSubscriptionRequest, type Currency, type CurrencyRevenue, type CustomFieldCondition, type CustomFieldConditionSource, type CustomFieldContext, type CustomFieldOperator, type CustomFieldOption, type CustomFieldTranslations, type CustomFieldType, type CustomFieldVisibility, type CustomerCreateRequest, type CustomerListParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerUpdateRequest, DEFAULT_BADGES, DEFAULT_BADGES_DARK, DEFAULT_BRANDING, DEFAULT_BRANDING_DARK, type DeleteAccountRequest, type DeleteUserRoleRequest, Delopay, DelopayAuthenticationError, DelopayError, type DelopayLogger, type DelopayOptions, type DisputeEvidenceBlock, type DisputeEvidenceRequest, type DisputeEvidenceType, type DisputeListParams, type DisputeResponse, type DisputeStage, type DisputeStatus, type EncodedBranding, type EphemeralKeyCreateRequest, type EphemeralKeyCreateResponse, type EuclidComparison, type EuclidComparisonType, type EuclidIfStatement, type EuclidValue, type EventClass, type EventDeliveryAttemptResponse, type EventDetailResponse, type EventListParams, type EventListResponse, type EventResponse, type EventType, Export, FeatureMatrix, type FeeOwner, FeeProgramBuilder, type FeeRuleConditions, type FeeRuleInput, type FeeRulePreviewRequest, type FeeRulePreviewResponse, type FeeScheduleCreateRequest, type FeeScheduleResponse, type FeeScheduleUpdateRequest, type FeeSpecInput, type FeeType, Files, type FontFamily, type FontWeight, Forex, type ForgotPasswordRequest, type FromEmailRequest, type FutureUsage, type GatewayConnectRequest, type GatewayResponse, type GetSubscriptionItemsParams, type GetSubscriptionItemsResponse, type GlobalSearchRequest, type GroupNode, type ImpersonateEmployeeRequest, type IntentStatus, type InviteUsersRequest, type InviteUsersResponse, type InvoiceStatus, type LabelStyle, type LayoutStyle, type LeafNode, type LedgerEntry, type LedgerListParams, type LedgerResponse, type LinkedRoutingConfigRetrieveResponse, type ListInvitableRolesParams, type ListUsersInLineageParams, type LoginHistoryEntry, type LoginHistoryParams, type LoginHistoryResponse, type LogoShape, type LogoSize, type MandateListParams, type MandateResponse, type MandateRevokedResponse, type MandateStatus, type MandateType, type MerchantAccountCreateRequest, type MerchantAccountResponse, type MerchantAccountType, type MerchantAccountUpdateRequest, type MerchantOverviewResponse, type MerchantOverviewStat, type MerchantRoutingAlgorithm, type MethodSurcharge, type MinimalRoleInfo, type NonPillRadius, type OverrideAction, type OverrideScope, type ParentGroup, type ParentGroupInfo, type PauseSubscriptionRequest, type PauseSubscriptionResponse, type PaymentAttemptResponse, type PaymentAttemptsListResponse, type PaymentCancelRequest, type PaymentCaptureRequest, type PaymentConfirmRequest, type PaymentCreateRequest, type PaymentErrorDetails, type PaymentExperience, type PaymentIdFormatConfig, type PaymentIdStyle, type PaymentIntentStateMetadata, type PaymentLayout, type PaymentLinkBackgroundImageConfig, type PaymentLinkConfigRequest, type PaymentLinkListParams, type PaymentLinkListResponse, type PaymentLinkResponse, type PaymentLinkTransactionDetails, type PaymentListParams, type PaymentListResponse, type PaymentMethod, type PaymentMethodCreateRequest, type PaymentMethodDeleteResponse, type PaymentMethodListParams, type PaymentMethodResponse, type PaymentMethodType, type PaymentMethodUpdateRequest, type PaymentResponse, type PaymentRetrieveOptions, type PaymentStatusHistoryEntityType, type PaymentStatusHistoryEvent, type PaymentStatusHistoryResponse, type PaymentUpdateRequest, type PayoutCreateRequest, type PayoutListParams, type PayoutListResponse, type PayoutResponse, type PayoutStatus, type PayoutType, type PayoutUpdateRequest, type PerMethodSurchargeItem, type PermissionScope, type PhoneDetails, type PhoneOtpRequest, type PhoneOtpResponse, type PhoneOtpVerifyRequest, type PhoneOtpVerifyResponse, type PlatformFeeKind, type PlatformFeeOutput, type PlatformFeeProgram, type PlatformFeeRule, type PlatformFeeRuleInput, type PlatformFeeRuleOutput, type PlatformFeeRuleRecord, type PlatformFeeRuleRequest, type PollStatus, type PollStatusResponse, type ProfileAcquirerCreateRequest, type ProfileAcquirerResponse, type ProfileAcquirerUpdateRequest, type ProfileCreateRequest, type ProfileDefaultRoutingConfig, type ProfileDeniedConnectorsResponse, type ProfileLogoUploadResponse, type ProfileResponse, type ProfileUpdateRequest, type ProgramConnectorSelection, type ProjectCreateRequest, type ProjectResponse, type ProjectStats, type ProjectStatsResponse, type ProjectUpdateRequest, type RecoveryCodesResponse, type RefundAggregateResponse, type RefundCreateRequest, type RefundListParams, type RefundListResponse, type RefundResponse, type RefundStatus, type RefundType, type RefundUpdateRequest, type RegionCountriesResponse, type RegionCreateRequest, type RegionResponse, type RegionSetCountriesRequest, type RegionUpdateRequest, Regions, type RelayRequest, type RelayResponse, type RelayStatus, type RelayType, type RequestExtras, type RequestFn, type RequestOptions, type ResetPasswordRequest, type ResumeSubscriptionRequest, type ResumeSubscriptionResponse, type RoutableConnectorChoice, type RoutingActivatePayload, type RoutingConfigCreateRequest, type RoutingConfigResponse, type RoutingDeactivateRequest, type RoutingDictionary, type RoutingDictionaryRecord, type RuleConnectorSelection, Search, type SearchGroupResponse, type SearchIndex, type SearchStatus, type ShopCreateRequest, type ShopResponse, type ShopStats, type ShopStatsResponse, type ShopUpdateRequest, type SignInRequest, type SignUpRequest, type SignUpWithMerchantIdRequest, type SignUpWithMerchantRequest, type SizeScale, type SpacingScale, type StaticRoutingAlgorithm, type StatsPeriod, type StripeConnectAccountRequest, type StripeConnectAccountResponse, type StripeConnectLinkRequest, type StripeConnectLinkResponse, type SubscriptionEstimateParams, type SubscriptionEstimateResponse, type SubscriptionInvoice, type SubscriptionItem, type SubscriptionItemPrice, type SubscriptionItemType, type SubscriptionLineItem, type SubscriptionListParams, type SubscriptionPaymentData, type SubscriptionPaymentDetails, type SubscriptionPeriodUnit, type SubscriptionResponse, type SubscriptionStatus, Subscriptions, type SummaryPosition, type SurchargeRuleRequest, type SurchargeRuleResponse, type SurfaceStyle, type SwitchMerchantRequest, type SwitchProfileRequest, type Terminate2faQueryParams, type ThreeDSDecision, type ThreeDsRuleExecuteRequest, type ThreeDsRuleResponse, type TierSummary, type TokenPurpose, type TokenResponse, type TopupRequest, type TopupResponse, type TotpResponse, type TransactionType, type TrustBadge, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UserInLineage, type UserResponse, type UserSessionEntry, type UserSessionListResponse, type UserSessionRevokeResponse, type VerifyTotpRequest, type WebhookDeliveryAttempt, type WebhookEvent, type WebhookRegistrationEnvironment, Webhooks, allOf, anyOf, applyBrandingVariables, buildBrandingExport, buttonPadValue, cloneBranding, cloneCustomField, customFieldContextFromMetadata, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, defaultBranding, defaultCustomFieldVisibility, defaultOperatorForSource, encodeBadges, encodeBranding, encodeCustomFields, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, fontStack, fontWeightValue, inputPadValue, isDarkSurface, isHexColor, leaf, logoDimensions, parseCustomFieldsLoose, parseImportedBranding, programToTree, radiusValue, ruleMatchToTree, sanitizeCustomCss, shadowFor, surfacePadValue, verticalGapValue, visibleCustomFields };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
+
ALL_CUSTOM_FIELD_CONDITION_SOURCES,
|
|
3
|
+
ALL_CUSTOM_FIELD_OPERATORS,
|
|
2
4
|
ALL_CUSTOM_FIELD_TYPES,
|
|
3
5
|
Analytics,
|
|
4
6
|
AnalyticsDashboard,
|
|
@@ -7,7 +9,10 @@ import {
|
|
|
7
9
|
BRANDING_EXPORT_VERSION,
|
|
8
10
|
CUSTOM_CSS_MAX_LENGTH,
|
|
9
11
|
CUSTOM_FIELDS_MAX,
|
|
12
|
+
CUSTOM_FIELD_CONDITIONS_MAX,
|
|
10
13
|
CUSTOM_FIELD_KEY_PATTERN,
|
|
14
|
+
CUSTOM_FIELD_OPERATORS_BY_SOURCE,
|
|
15
|
+
CUSTOM_FIELD_VALUELESS_OPERATORS,
|
|
11
16
|
Cards,
|
|
12
17
|
DEFAULT_BADGES,
|
|
13
18
|
DEFAULT_BADGES_DARK,
|
|
@@ -32,15 +37,21 @@ import {
|
|
|
32
37
|
buttonPadValue,
|
|
33
38
|
cloneBranding,
|
|
34
39
|
cloneCustomField,
|
|
40
|
+
customFieldContextFromMetadata,
|
|
41
|
+
customFieldOperatorTakesValue,
|
|
35
42
|
customFieldOptionLabel,
|
|
36
43
|
customFieldText,
|
|
37
44
|
decodeBadges,
|
|
38
45
|
decodeBranding,
|
|
39
46
|
decodeCustomFields,
|
|
40
47
|
defaultBranding,
|
|
48
|
+
defaultCustomFieldVisibility,
|
|
49
|
+
defaultOperatorForSource,
|
|
41
50
|
encodeBadges,
|
|
42
51
|
encodeBranding,
|
|
43
52
|
encodeCustomFields,
|
|
53
|
+
evaluateCustomFieldCondition,
|
|
54
|
+
evaluateCustomFieldVisibility,
|
|
44
55
|
feeProgram,
|
|
45
56
|
fontStack,
|
|
46
57
|
fontWeightValue,
|
|
@@ -57,9 +68,12 @@ import {
|
|
|
57
68
|
sanitizeCustomCss,
|
|
58
69
|
shadowFor,
|
|
59
70
|
surfacePadValue,
|
|
60
|
-
verticalGapValue
|
|
61
|
-
|
|
71
|
+
verticalGapValue,
|
|
72
|
+
visibleCustomFields
|
|
73
|
+
} from "./chunk-5J763YMV.js";
|
|
62
74
|
export {
|
|
75
|
+
ALL_CUSTOM_FIELD_CONDITION_SOURCES,
|
|
76
|
+
ALL_CUSTOM_FIELD_OPERATORS,
|
|
63
77
|
ALL_CUSTOM_FIELD_TYPES,
|
|
64
78
|
Analytics,
|
|
65
79
|
AnalyticsDashboard,
|
|
@@ -68,7 +82,10 @@ export {
|
|
|
68
82
|
BRANDING_EXPORT_VERSION,
|
|
69
83
|
CUSTOM_CSS_MAX_LENGTH,
|
|
70
84
|
CUSTOM_FIELDS_MAX,
|
|
85
|
+
CUSTOM_FIELD_CONDITIONS_MAX,
|
|
71
86
|
CUSTOM_FIELD_KEY_PATTERN,
|
|
87
|
+
CUSTOM_FIELD_OPERATORS_BY_SOURCE,
|
|
88
|
+
CUSTOM_FIELD_VALUELESS_OPERATORS,
|
|
72
89
|
Cards,
|
|
73
90
|
DEFAULT_BADGES,
|
|
74
91
|
DEFAULT_BADGES_DARK,
|
|
@@ -93,15 +110,21 @@ export {
|
|
|
93
110
|
buttonPadValue,
|
|
94
111
|
cloneBranding,
|
|
95
112
|
cloneCustomField,
|
|
113
|
+
customFieldContextFromMetadata,
|
|
114
|
+
customFieldOperatorTakesValue,
|
|
96
115
|
customFieldOptionLabel,
|
|
97
116
|
customFieldText,
|
|
98
117
|
decodeBadges,
|
|
99
118
|
decodeBranding,
|
|
100
119
|
decodeCustomFields,
|
|
101
120
|
defaultBranding,
|
|
121
|
+
defaultCustomFieldVisibility,
|
|
122
|
+
defaultOperatorForSource,
|
|
102
123
|
encodeBadges,
|
|
103
124
|
encodeBranding,
|
|
104
125
|
encodeCustomFields,
|
|
126
|
+
evaluateCustomFieldCondition,
|
|
127
|
+
evaluateCustomFieldVisibility,
|
|
105
128
|
feeProgram,
|
|
106
129
|
fontStack,
|
|
107
130
|
fontWeightValue,
|
|
@@ -118,6 +141,7 @@ export {
|
|
|
118
141
|
sanitizeCustomCss,
|
|
119
142
|
shadowFor,
|
|
120
143
|
surfacePadValue,
|
|
121
|
-
verticalGapValue
|
|
144
|
+
verticalGapValue,
|
|
145
|
+
visibleCustomFields
|
|
122
146
|
};
|
|
123
147
|
//# sourceMappingURL=index.js.map
|