@flowio/api-factories 0.0.52 → 0.0.54
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/cjs/api.js +20 -14
- package/dist/esm/api.js +6 -1
- package/dist/types/api.d.ts +1 -0
- package/package.json +2 -2
- package/src/api.ts +7 -1
package/dist/cjs/api.js
CHANGED
|
@@ -24,19 +24,19 @@ exports.makeOrderPaymentType = exports.makeOrderPayment = exports.makeOrderOptio
|
|
|
24
24
|
exports.makeOrderReplacement = exports.makeOrderRefundSummaryPartialIncludes = exports.makeOrderRefundSummaryPartialForm = exports.makeOrderRefundSummaryPartialCharged = exports.makeOrderRefundSummaryItem = exports.makeOrderRefundSummaryIncludes = exports.makeOrderRefundSummaryFullForm = exports.makeOrderRefundSummaryForm = exports.makeOrderRefundSummaryAmounts = exports.makeOrderRefundSummary = exports.makeOrderReference = exports.makeOrderQuoteSummaryTotal = exports.makeOrderQuoteSummaryTax = exports.makeOrderQuoteSummaryShippingSurcharges = exports.makeOrderQuoteSummaryShippingFreight = exports.makeOrderQuoteSummaryShipping = exports.makeOrderQuoteSummaryItems = exports.makeOrderQuoteSummaryDuty = exports.makeOrderQuoteSummary = exports.makeOrderQuoteReference = exports.makeOrderQuotePutForm = exports.makeOrderQuotePriceStandard = exports.makeOrderQuotePriceNotYetKnown = exports.makeOrderQuotePriceIncluded = exports.makeOrderQuotePriceFree = exports.makeOrderQuotePriceEstimated = exports.makeOrderQuotePrice = exports.makeOrderQuoteLineErrorCode = exports.makeOrderQuoteLineError = exports.makeOrderQuoteLineDiscount = exports.makeOrderQuoteLine = exports.makeOrderQuoteGeoPutForm = exports.makeOrderQuoteErrorDetails = exports.makeOrderQuoteErrorCode = exports.makeOrderQuoteError = exports.makeOrderQuoteContact = exports.makeOrderQuoteAddressType = exports.makeOrderQuoteAddress = exports.makeOrderQuote = exports.makeOrderPutForm = exports.makeOrderPromotionTrigger = exports.makeOrderPromotionForm = exports.makeOrderPromotion = exports.makeOrderPriceDetailKey = exports.makeOrderPriceDetailComponentKey = exports.makeOrderPriceDetailComponent = exports.makeOrderPriceDetail = exports.makeOrderPlacedV2 = exports.makeOrderPlacedDetails = exports.makeOrderPlaced = void 0;
|
|
25
25
|
exports.makeOrganizationSession = exports.makeOrganizationReference = exports.makeOrganizationRatesPublished = exports.makeOrganizationRatesData = exports.makeOrganizationPutForm = exports.makeOrganizationPayoutUpserted = exports.makeOrganizationPayoutDeleted = exports.makeOrganizationPayout = exports.makeOrganizationPaymentMethodTag = exports.makeOrganizationOnboardingStateUpserted = exports.makeOrganizationOnboardingStateDeleted = exports.makeOrganizationOnboardingState = exports.makeOrganizationForm = exports.makeOrganizationDeletedV2 = exports.makeOrganizationDeleted = exports.makeOrganizationDefaults = exports.makeOrganizationDefaultConfigurationsUpserted = exports.makeOrganizationDefaultConfigurationsForm = exports.makeOrganizationDefaultConfigurationsDeleted = exports.makeOrganizationDefaultConfigurations = exports.makeOrganizationDefaultBankAccount = exports.makeOrganizationConfigurationReference = exports.makeOrganizationBankAccount = exports.makeOrganizationAuthorizationForm = exports.makeOrganizationAuthorization = exports.makeOrganization = exports.makeOrderWithDiscountsForm = exports.makeOrderVersion = exports.makeOrderUpsertedV2 = exports.makeOrderUpserted = exports.makeOrderType = exports.makeOrderSummaryPriceDetail = exports.makeOrderSummaryLineItem = exports.makeOrderSummaryLevy = exports.makeOrderSummaryItem = exports.makeOrderSummaryImage = exports.makeOrderSummary = exports.makeOrderSubmissionIdentifierForm = exports.makeOrderSubmissionForm = exports.makeOrderStorage = exports.makeOrderStatus = exports.makeOrderServiceChangeRequestData = exports.makeOrderServiceChangeRequest = exports.makeOrderServiceChangeForm = exports.makeOrderServiceChange = exports.makeOrderRulesSummary = exports.makeOrderRuleReference = exports.makeOrderReplacementUpserted = exports.makeOrderReplacementForm = exports.makeOrderReplacementDeleted = void 0;
|
|
26
26
|
exports.makePaymentError = exports.makePaymentDuty = exports.makePaymentDiscount = exports.makePaymentDeleted = exports.makePaymentCryptopay = exports.makePaymentContactShipping = exports.makePaymentContactBilling = exports.makePaymentCaptureStatus = exports.makePaymentCaptureOptionManual = exports.makePaymentCaptureOptionAutomaticImmediate = exports.makePaymentCaptureOption = exports.makePaymentCaptureForm = exports.makePaymentCapture = exports.makePaymentAuthorizationStatus = exports.makePaymentAuthorization = exports.makePaymentAddressShipping = exports.makePaymentAddressBilling = exports.makePaymentAddress = exports.makePaymentActionType = exports.makePayment = exports.makePasswordResetRequestForm = exports.makePasswordResetForm = exports.makePasswordChangeForm = exports.makePartnerTokenReference = exports.makePartnerTokenForm = exports.makePartnerToken = exports.makePartnerReference = exports.makePartnerCenterForm = exports.makePartnerCenterFee = exports.makePartnerCenter = exports.makeParentTransactionSummary = exports.makePackaging = exports.makeOversizedShipmentRatecardFee = exports.makeOutboundCartonFee = exports.makeOriginalPrices = exports.makeOrganizationVersion = exports.makeOrganizationUpsertedV2 = exports.makeOrganizationUpserted = exports.makeOrganizationType = exports.makeOrganizationTransactionUpserted = exports.makeOrganizationTransactionDeleted = exports.makeOrganizationTokenV2Reference = exports.makeOrganizationTokenV2 = exports.makeOrganizationTokenReference = exports.makeOrganizationTokenFormV2 = exports.makeOrganizationTokenForm = exports.makeOrganizationToken = exports.makeOrganizationSummary = exports.makeOrganizationStatus = exports.makeOrganizationSessionAuthorization = void 0;
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.
|
|
39
|
-
exports.makeZone = exports.makeZeroLevyReasonCode = exports.makeZeroAmountIndicator = exports.makeWithholdingDeductionType = exports.makeWithholdingDeduction = exports.makeWebhookStatus = exports.makeWebhookSettings = exports.makeWebhookResponse = exports.makeWebhookRequestReference = exports.makeWebhookRequest = exports.makeWebhookReference = exports.makeWebhookForm = exports.makeWebhookDelivery = exports.makeWebhook = exports.makeVisibility = exports.makeVirtualCardVersion = exports.makeVirtualCardRefundVersion = exports.makeVirtualCardRefundUpserted = exports.makeVirtualCardRefundDeleted = void 0;
|
|
27
|
+
exports.makePaymentMethodStoredDetailsCardSubsequent = exports.makePaymentMethodStoredDetailsCardInitial = exports.makePaymentMethodStoredDetailsCard = exports.makePaymentMethodRuleContentKey = exports.makePaymentMethodRuleContent = exports.makePaymentMethodRule = exports.makePaymentMethodIssuer = exports.makePaymentMethodImages = exports.makePaymentMethodImage = exports.makePaymentMethodDataValidateApplepay = exports.makePaymentMethodDataSelectedPaymentOption = exports.makePaymentMethodDataPaymentOption = exports.makePaymentMethodDataOptionType = exports.makePaymentMethodDataOptionLogoSvg = exports.makePaymentMethodDataOptionLogo = exports.makePaymentMethodDataInitSofort = exports.makePaymentMethodDataInitPaypal = exports.makePaymentMethodDataInitKlarna = exports.makePaymentMethodDataInitIdeal = exports.makePaymentMethodDataInitGooglepay = exports.makePaymentMethodDataInitBancontact = exports.makePaymentMethodDataInitApplepay = exports.makePaymentMethodDataInitAfterpay = exports.makePaymentMethodDataCompleteAuthorizationCard = exports.makePaymentMethodDataAuthorizePaypal = exports.makePaymentMethodDataAuthorizeKlarnaResultSuccess = exports.makePaymentMethodDataAuthorizeKlarnaResultFailure = exports.makePaymentMethodDataAuthorizeKlarnaResult = exports.makePaymentMethodDataAuthorizeKlarna = exports.makePaymentMethodDataAuthorizeGooglepay = exports.makePaymentMethodDataAuthorizeCard = exports.makePaymentMethodDataAuthorizeApplepayResultSuccess = exports.makePaymentMethodDataAuthorizeApplepayResultFailure = exports.makePaymentMethodDataAuthorizeApplepayResult = exports.makePaymentMethodDataAuthorizeApplepay = exports.makePaymentMethodData = exports.makePaymentMethodCardToken = exports.makePaymentMethodCardPciDetails = exports.makePaymentMethodCardNumberCleartext = exports.makePaymentMethodCardNumberCipher = exports.makePaymentMethodCard = exports.makePaymentMethodCapability = exports.makePaymentMethodBrand = exports.makePaymentMethodActionCancellation = exports.makePaymentMethod = exports.makePaymentInformation = exports.makePaymentForm = exports.makePaymentFailureCode = exports.makePaymentFailure = exports.makePaymentErrorCode = void 0;
|
|
28
|
+
exports.makePaymentUpserted = exports.makePaymentType = exports.makePaymentTax = exports.makePaymentStatus = exports.makePaymentSourceForm = exports.makePaymentSourceConfirmationActionType = exports.makePaymentSourceConfirmationAction = exports.makePaymentSource = exports.makePaymentReversalStatus = exports.makePaymentReversalForm = exports.makePaymentReversal = exports.makePaymentRequestUpserted = exports.makePaymentRequestReviewStatus = exports.makePaymentRequestReviewCheckType = exports.makePaymentRequestReviewCheckStatus = exports.makePaymentRequestReviewCheck = exports.makePaymentRequestReview = exports.makePaymentRequestReference = exports.makePaymentRequestForm = exports.makePaymentRequestBundleForm = exports.makePaymentRequestBundle = exports.makePaymentRequestBillingFees = exports.makePaymentRequestBilling = exports.makePaymentRequest = exports.makePaymentRefundStatus = exports.makePaymentRefundForm = exports.makePaymentRefund = exports.makePaymentReference = exports.makePaymentProcessorReference = exports.makePaymentProcessorIdentifier = exports.makePaymentProcessorAccountReference = exports.makePaymentProcessorAccount = exports.makePaymentProcessor = exports.makePaymentPaypal = exports.makePaymentPaymentRequestReference = exports.makePaymentPaymentMethod = exports.makePaymentOrderReference = exports.makePaymentOrderDetailsLineItem = exports.makePaymentMethodType = exports.makePaymentMethodTag = exports.makePaymentMethodSummarySofort = exports.makePaymentMethodSummaryPaypal = exports.makePaymentMethodSummaryKlarna = exports.makePaymentMethodSummaryIdeal = exports.makePaymentMethodSummaryGooglepay = exports.makePaymentMethodSummaryCard = exports.makePaymentMethodSummaryBancontact = exports.makePaymentMethodSummaryApplepay = exports.makePaymentMethodSummaryAfterpay = exports.makePaymentMethodSummary = void 0;
|
|
29
|
+
exports.makePriceFacetBoundary = exports.makePriceEquation = exports.makePriceDetails = exports.makePriceDetailKey = exports.makePriceDetailComponentKey = exports.makePriceDetailComponent = exports.makePriceDetail = exports.makePriceCheck = exports.makePriceBookUpserted = exports.makePriceBookStatus = exports.makePriceBookReference = exports.makePriceBookItemUpserted = exports.makePriceBookItemSchedule = exports.makePriceBookItemQueryForm = exports.makePriceBookItemForm = exports.makePriceBookItemExportType = exports.makePriceBookItemExportOptions = exports.makePriceBookItemDeleted = exports.makePriceBookItem = exports.makePriceBookForm = exports.makePriceBookDeleted = exports.makePriceBook = exports.makePriceAccuracy = exports.makePrice = exports.makePostalType = exports.makePostPaymentRedirectUrls = exports.makePhysicalDeliverySpecialSerivce = exports.makePhysicalDelivery = exports.makePfsInventoryStatus = exports.makePfsInventoryCheckResponseItem = exports.makePfsInventoryCheckResponse = exports.makePermittedRoute = exports.makePermittedHttpMethod = exports.makePermissionCheck = exports.makePermissionAudit = exports.makePercentMargin = exports.makePeakSurchargeServiceFee = exports.makePeakSurchargeRatecardFee = exports.makePeakSurchargeByWeightServiceFee = exports.makePaypalAuthorizationForm = exports.makePaypalAuthorizationDetails = exports.makePayoutTransaction = exports.makePayoutStatusSent = exports.makePayoutStatusScheduled = exports.makePayoutStatusFailureCode = exports.makePayoutStatusFailed = exports.makePayoutStatus = exports.makePayoutAttachmentType = exports.makePayoutAttachment = exports.makePaymentVersion = void 0;
|
|
30
|
+
exports.makeRateUpsertedV3 = exports.makeRateUpserted = exports.makeRateForm = exports.makeRateDeletedV3 = exports.makeRateDeleted = exports.makeRate = exports.makeQuoteVersion = exports.makeQuoteSummary = exports.makeQuoteLineItemForm = exports.makeQuoteForm = exports.makeQuoteErrorCode = exports.makeQuoteError = exports.makeQuote = exports.makeQueryFilterUnstructuredForm = exports.makeQueryFilterUnstructured = exports.makeQueryFilterStructuredForm = exports.makeQueryFilterStructured = exports.makeQueryFilterForm = exports.makeQueryFilter = exports.makeQueryBuilderQueryForm = exports.makeQueryBuilderForm = exports.makeQueryBuilderFilterForm = exports.makeQueryBuilder = exports.makeQuery = exports.makePublicKey = exports.makeProvinceType = exports.makeProvince = exports.makePromotions = exports.makePromotionTriggerType = exports.makePromotionTriggerForm = exports.makePromotionTrigger = exports.makePromotion = exports.makeProductRestrictionResultUpserted = exports.makeProductRestrictionResultDeleted = exports.makeProductRestrictionResult = exports.makeProcessingEstimate = exports.makePricingVersion = exports.makePricingUpserted = exports.makePricingSettings = exports.makePricingLevySetting = exports.makePricingDeleted = exports.makePricing = exports.makePriceWithBaseAndDetails = exports.makePriceWithBase = exports.makePriceSourceProvided = exports.makePriceSourcePriceBookReference = exports.makePriceSourcePriceBook = exports.makePriceSourceCatalog = exports.makePriceSource = exports.makePriceForm = void 0;
|
|
31
|
+
exports.makeRefundStatus = exports.makeRefundReference = exports.makeRefundOrderSummaryAmounts = exports.makeRefundOrderSummary = exports.makeRefundIdentifierUpserted = exports.makeRefundIdentifierDeleted = exports.makeRefundIdentifier = exports.makeRefundForm = exports.makeRefundError = exports.makeRefundDeletedV2 = exports.makeRefundDeclineCode = exports.makeRefundCaptureUpsertedV2 = exports.makeRefundCaptureSummary = exports.makeRefundCapture = exports.makeRefund = exports.makeRedirectAuthorizationForm = exports.makeRedirectAuthorizationDetails = exports.makeReadyToFulfillV2 = exports.makeReadyToFulfillDetails = exports.makeReadyToFulfill = exports.makeRatecardVersion = exports.makeRatecardUpserted = exports.makeRatecardSummary = exports.makeRatecardServiceSummary = exports.makeRatecardRegionReference = exports.makeRatecardReference = exports.makeRatecardRateVersion = exports.makeRatecardRateForm = exports.makeRatecardRate = exports.makeRatecardOwner = exports.makeRatecardLanesImportRequestData = exports.makeRatecardLaneVersion = exports.makeRatecardLaneUpserted = exports.makeRatecardLaneImportForm = exports.makeRatecardLaneForm = exports.makeRatecardLaneDeleted = exports.makeRatecardLane = exports.makeRatecardForm = exports.makeRatecardFee = exports.makeRatecardEstimateV4 = exports.makeRatecardEstimateV3 = exports.makeRatecardEstimateV2 = exports.makeRatecardEstimateV1 = exports.makeRatecardEstimateSummaryForm = exports.makeRatecardEstimateForm = exports.makeRatecardEstimate = exports.makeRatecardDeleted = exports.makeRatecardCarrierSummary = exports.makeRatecard = exports.makeRateVersion = void 0;
|
|
32
|
+
exports.makeReversalError = exports.makeReversalDeleted = exports.makeReversal = exports.makeReturnVersion = exports.makeReturnUpsertedV2 = exports.makeReturnUpserted = exports.makeReturnTrackingStatus = exports.makeReturnStatus = exports.makeReturnSourceFlow = exports.makeReturnSourceExternalVendor = exports.makeReturnSource = exports.makeReturnReasonPutForm = exports.makeReturnReasonForm = exports.makeReturnReason = exports.makeReturnPolicyVersion = exports.makeReturnPolicyStatistic = exports.makeReturnPolicyState = exports.makeReturnPolicyItemResult = exports.makeReturnPolicyForm = exports.makeReturnPolicy = exports.makeReturnPackageRatecardFee = exports.makeReturnOrderReference = exports.makeReturnLineItem = exports.makeReturnItemStatus = exports.makeReturnItemReference = exports.makeReturnForm = exports.makeReturnDeletedV2 = exports.makeReturnDeleted = exports.makeReturn = exports.makeReservationOrderReference = exports.makeReservationItemReference = exports.makeReservationItemForm = exports.makeReservationItem = exports.makeReservationForm = exports.makeReservationError = exports.makeReservation = exports.makeRepeatWeekly = exports.makeRepeatSchedule = exports.makeRepeatMonthly = exports.makeRepeatHourly = exports.makeRepeatDaily = exports.makeRemoteAreaServiceFee = exports.makeRemoteAreaRatecardFee = exports.makeRegionType = exports.makeRegionSettingForm = exports.makeRegionSetting = exports.makeRegionReference = exports.makeRegion = exports.makeRefundVersion = exports.makeRefundUpsertedV2 = void 0;
|
|
33
|
+
exports.makeSetupInProgress = exports.makeSetupCompleted = exports.makeSetupBlocked = exports.makeSettlementPayout = exports.makeSettlementNoPayout = exports.makeSettlement = exports.makeSessionVisitor = exports.makeSessionVisit = exports.makeSessionReference = exports.makeSessionPutForm = exports.makeSessionGeo = exports.makeSessionFormat = exports.makeSessionForm = exports.makeSessionExpirationConfig = exports.makeSessionExperimentVariantForm = exports.makeSessionExperimentVariant = exports.makeSessionExperimentForm = exports.makeSessionExperiment = exports.makeSessionCurrencyFormat = exports.makeSessionContextExperiment = exports.makeSessionAuthorizationForm = exports.makeSessionAuthorization = exports.makeSession = exports.makeServiceUnknown = exports.makeServiceSummary = exports.makeServiceReference = exports.makeServiceFee = exports.makeServiceDescription = exports.makeSelectIssuerOptionActionDetails = exports.makeSdkAdyenV3AuthenticationToken = exports.makeScheduledPickup = exports.makeScheduledExportForm = exports.makeScheduledExport = exports.makeScheduleExceptionStatus = exports.makeSchedule = exports.makeRuleUpserted = exports.makeRuleDeleted = exports.makeRouteAudit = exports.makeRoundingType = exports.makeRoundingMethod = exports.makeRounding = exports.makeRomanizationForm = exports.makeRomanization = exports.makeRole = exports.makeReversalVersion = exports.makeReversalUpserted = exports.makeReversalStatus = exports.makeReversalPutForm = exports.makeReversalForm = exports.makeReversalErrorCode = void 0;
|
|
34
|
+
exports.makeShopifyCartConversionShopifyCart = exports.makeShopifyCartConversionFlowOrder = exports.makeShopifyCartConversion = exports.makeShopifyCartChangeForm = exports.makeShopifyCartAddSingleForm = exports.makeShopifyCartAddMultipleForm = exports.makeShopifyCartAddForm = exports.makeShopifyCart = exports.makeShop = exports.makeShippingNotificationVersion = exports.makeShippingNotificationForm = exports.makeShippingNotification = exports.makeShippingLaneVersion = exports.makeShippingLaneUpserted = exports.makeShippingLaneSummary = exports.makeShippingLaneForm = exports.makeShippingLaneDeleted = exports.makeShippingLaneDefaultTierForm = exports.makeShippingLaneDefaultTier = exports.makeShippingLane = exports.makeShippingLabelVersion = exports.makeShippingLabelSummary = exports.makeShippingLabelRatecardSummary = exports.makeShippingLabelPackage = exports.makeShippingLabelLaneSummary = exports.makeShippingLabelHopSummary = exports.makeShippingLabelForm = exports.makeShippingLabelDocument = exports.makeShippingLabel = exports.makeShippingConfigurationVersion = exports.makeShippingConfigurationUpserted = exports.makeShippingConfigurationType = exports.makeShippingConfigurationSummary = exports.makeShippingConfigurationReference = exports.makeShippingConfigurationItemShippingPricingUpserted = exports.makeShippingConfigurationItemShippingPricingDeleted = exports.makeShippingConfigurationItemShippingPricing = exports.makeShippingConfigurationItemAvailabilityUpserted = exports.makeShippingConfigurationItemAvailabilityDeleted = exports.makeShippingConfigurationItemAvailability = exports.makeShippingConfigurationForm = exports.makeShippingConfigurationDeleted = exports.makeShippingConfigurationCopyForm = exports.makeShippingConfigurationCopy = exports.makeShippingConfiguration = exports.makeShippingAddress = exports.makeShipping = exports.makeShipmentWindow = exports.makeShipmentRecipient = exports.makeShipmentIntegrationType = void 0;
|
|
35
|
+
exports.makeStreetAddress = exports.makeStrategy = exports.makeStatementUpserted = exports.makeStatementDeleted = exports.makeStatementAttachmentType = exports.makeStatement = exports.makeSortDirection = exports.makeSolidusVariantExportType = exports.makeSolidusProductExportType = exports.makeSnapshotUpserted = exports.makeSnapshotDeleted = exports.makeSinglePackageShippingNotificationForm = exports.makeSimplePermissionCheck = exports.makeShopifyVariantInventoryMetafield = exports.makeShopifyVariantFlowMetafield = exports.makeShopifySyncStatus = exports.makeShopifySyncCheck = exports.makeShopifyPrivateAppForm = exports.makeShopifyPrivateApp = exports.makeShopifyPrice = exports.makeShopifyOrderRomanizationMetafield = exports.makeShopifyOrderPriceAttributesMetafield = exports.makeShopifyOrderDeliveryMetafieldItem = exports.makeShopifyOrderDeliveryMetafield = exports.makeShopifyOrderAttributesForm = exports.makeShopifyMerchantApplicationsSummary = exports.makeShopifyMerchantApplicationPutForm = exports.makeShopifyMerchantApplicationForm = exports.makeShopifyMerchantApplication = exports.makeShopifyLocationReference = exports.makeShopifyLocationFlowCenterMappingForm = exports.makeShopifyLocationFlowCenterMapping = exports.makeShopifyLocalizedVariantPrices = exports.makeShopifyLocalizedVariant = exports.makeShopifyLocalizedOrder = exports.makeShopifyLocalizationSettingUpserted = exports.makeShopifyLocalizationSettingForm = exports.makeShopifyLocalizationSettingDeleted = exports.makeShopifyLocalizationSetting = exports.makeShopifyLocalizationMethod = exports.makeShopifyLocalPriceMetadata = exports.makeShopifyLocalCartMetadata = exports.makeShopifyLocalCartItemMetadata = exports.makeShopifyLine = exports.makeShopifyItemEventData = exports.makeShopifyItemEventBucket = exports.makeShopifyGrant = exports.makeShopifyEventBucket = exports.makeShopifyCustomerMetafieldValue = exports.makeShopifyCartItem = void 0;
|
|
36
|
+
exports.makeTaxDutyQuoteSimpleShipping = exports.makeTaxDutyQuoteSimpleLevyValue = exports.makeTaxDutyQuoteLineItemForm = exports.makeTaxDutyQuoteLineItem = exports.makeTaxDutyQuoteLevyValue = exports.makeTaxDutyQuoteForm = exports.makeTaxDutyQuoteFeeValue = exports.makeTaxDutyQuote = exports.makeTaxDutyCalculatorValidationErrorCode = exports.makeTaxDutyCalculatorValidationError = exports.makeTaxApplicability = exports.makeTax = exports.makeSyncUnitOfTime = exports.makeSyncStreamType = exports.makeSyncStreamSettingsForm = exports.makeSyncStreamSettings = exports.makeSyncStreamReference = exports.makeSyncStreamForm = exports.makeSyncStream = exports.makeSyncRecordForm = exports.makeSyncRecordFailureReason = exports.makeSyncRecordFailureForm = exports.makeSyncRecordFailure = exports.makeSyncRecord = exports.makeSyncPendingRecord = exports.makeSyncDuration = exports.makeSurchargeSettingDisplay = exports.makeSurchargeSetting = exports.makeSurchargeResponsiblePartyDisplay = exports.makeSurchargeResponsibleParty = exports.makeSummaryShippingNotificationForm = exports.makeSummaryShippingLabelForm = exports.makeSuggestion = exports.makeSubcatalogVersion = exports.makeSubcatalogUpserted = exports.makeSubcatalogStatistics = exports.makeSubcatalogSettingsForm = exports.makeSubcatalogSettings = exports.makeSubcatalogReference = exports.makeSubcatalogItemVersion = exports.makeSubcatalogItemUpserted = exports.makeSubcatalogItemStatus = exports.makeSubcatalogItemDeleted = exports.makeSubcatalogItem = exports.makeSubcatalogForm = exports.makeSubcatalogDeleted = exports.makeSubcatalog = exports.makeStripeAuthorizationResultActionDetails = exports.makeStripeAuthenticationDataForm = exports.makeStripeAuthenticationData = void 0;
|
|
37
|
+
exports.makeTokenValidationForm = exports.makeTokenValidation = exports.makeTokenType = exports.makeTokenReference = exports.makeTokenRbacAuthenticationForm = exports.makeTokenPartnerReference = exports.makeTokenAuthenticationForm = exports.makeToken = exports.makeTimezone = exports.makeTierVersion = exports.makeTierUpsertedV2 = exports.makeTierSummary = exports.makeTierStrategy = exports.makeTierSettings = exports.makeTierRuleVersion = exports.makeTierRuleOutcomeForm = exports.makeTierRuleOutcome = exports.makeTierRuleForm = exports.makeTierRule = exports.makeTierReference = exports.makeTierForm = exports.makeTierEstimateType = exports.makeTierEstimate = exports.makeTierDisplayForm = exports.makeTierDisplay = exports.makeTierDeletedV2 = exports.makeTierAvailability = exports.makeTier = exports.makeThreedsTwoMethod = exports.makeThreedsTwoChallengeViewport = exports.makeThreedsTwoChallengeRequest = exports.makeThreedsIdentifyActionDetails = exports.makeThreedsIdentifyAction = exports.makeThreedsChallengeActionDetails = exports.makeThreedsChallengeAction = exports.makeThreeDSecureCode = exports.makeThreeDSecure = exports.makeThirdPartyLogisticsPartner = exports.makeTestUpserted = exports.makeTest = exports.makeTaxabilityValue = exports.makeTaxabilityType = exports.makeTaxVerificationResult = exports.makeTaxSetting = exports.makeTaxReportType = exports.makeTaxReport = exports.makeTaxRegistrationForm = exports.makeTaxRegistration = exports.makeTaxDutyQuoteValues = exports.makeTaxDutyQuoteSimpleShippingForm = void 0;
|
|
38
|
+
exports.makeVirtualCardReference = exports.makeVirtualCardForm = exports.makeVirtualCardCaptureVersion = exports.makeVirtualCardCaptureUpserted = exports.makeVirtualCardCaptureDeleted = exports.makeVirtualCardCapture = exports.makeVirtualCard = exports.makeValueThresholdExceededDetails = exports.makeValueAddedService = exports.makeUserVersion = exports.makeUserStatus = exports.makeUserReference = exports.makeUserPutForm = exports.makeUserForm = exports.makeUser = exports.makeUpload = exports.makeUpdateType = exports.makeUpdatePolicy = exports.makeUnitOfTime = exports.makeUnitOfMeasurement = exports.makeUnharmonizedItemExportType = exports.makeUltimateBeneficiaryOwner = exports.makeTransitWindow = exports.makeTransitEstimate = exports.makeTransactionUpserted = exports.makeTransactionSource = exports.makeTransactionNetworkDetailsCard = exports.makeTransactionDetailsCard = exports.makeTransactionDetails = exports.makeTransaction = exports.makeTradeAgreementStatus = exports.makeTradeAgreementName = exports.makeTradeAgreementDuty = exports.makeTradeAgreementCertifier = exports.makeTradeAgreement = exports.makeTrackingVersion = exports.makeTrackingSummary = exports.makeTrackingStatus = exports.makeTrackingNumberType = exports.makeTrackingLabelVersion = exports.makeTrackingLabelSummary = exports.makeTrackingLabelForm = exports.makeTrackingLabelEventUpserted = exports.makeTrackingLabel = exports.makeTrackingForm = exports.makeTrackingEventVersion = exports.makeTrackingEventSummary = exports.makeTrackingEventForm = exports.makeTrackingEvent = exports.makeTracking = void 0;
|
|
39
|
+
exports.makeZone = exports.makeZeroLevyReasonCode = exports.makeZeroAmountIndicator = exports.makeWithholdingDeductionType = exports.makeWithholdingDeduction = exports.makeWebhookStatus = exports.makeWebhookSettings = exports.makeWebhookResponse = exports.makeWebhookRequestReference = exports.makeWebhookRequest = exports.makeWebhookReference = exports.makeWebhookForm = exports.makeWebhookDelivery = exports.makeWebhook = exports.makeVisibility = exports.makeVirtualCardVersion = exports.makeVirtualCardRefundVersion = exports.makeVirtualCardRefundUpserted = exports.makeVirtualCardRefundDeleted = exports.makeVirtualCardRefund = void 0;
|
|
40
40
|
var faker_1 = __importDefault(require("@faker-js/faker"));
|
|
41
41
|
var arrayOf = function (f) {
|
|
42
42
|
var length = 3;
|
|
@@ -67,7 +67,7 @@ var factories = {
|
|
|
67
67
|
'io.flow.apple.pay.v0.enums.apple_pay_contact_field': function () { return faker_1.default.helpers.arrayElement(['email', 'name', 'phone', 'postalAddress', 'phoneticName']); },
|
|
68
68
|
'io.flow.apple.pay.v0.enums.apple_pay_line_item_type': function () { return faker_1.default.helpers.arrayElement(['final', 'pending']); },
|
|
69
69
|
'io.flow.apple.pay.v0.enums.apple_pay_merchant_capability': function () { return faker_1.default.helpers.arrayElement(['supports3DS', 'supportsCredit', 'supportsDebit', 'supportsEMV']); },
|
|
70
|
-
'io.flow.apple.pay.v0.enums.apple_pay_shipping_type': function () { return faker_1.default.helpers.arrayElement(['shipping', 'delivery', '
|
|
70
|
+
'io.flow.apple.pay.v0.enums.apple_pay_shipping_type': function () { return faker_1.default.helpers.arrayElement(['shipping', 'delivery', 'storePickup', 'servicePickup']); },
|
|
71
71
|
'io.flow.apple.pay.v0.enums.apple_pay_supported_networks': function () { return faker_1.default.helpers.arrayElement([
|
|
72
72
|
'amex',
|
|
73
73
|
'chinaUnionPay',
|
|
@@ -8162,6 +8162,10 @@ var factories = {
|
|
|
8162
8162
|
regions: arrayOf(function () { return factories.string(); }),
|
|
8163
8163
|
capabilities: arrayOf(function () { return factories['io.flow.v0.enums.payment_method_capability'](); }),
|
|
8164
8164
|
}); },
|
|
8165
|
+
'io.flow.v0.models.payment_method_action_cancellation': function () { return ({
|
|
8166
|
+
reason_code: factories['io.flow.v0.enums.payment_failure_code'](),
|
|
8167
|
+
data: factories.object(),
|
|
8168
|
+
}); },
|
|
8165
8169
|
'io.flow.v0.models.payment_method_brand': function () { return ({
|
|
8166
8170
|
id: factories.string(),
|
|
8167
8171
|
name: factories.string(),
|
|
@@ -14305,6 +14309,8 @@ var makePaymentInformation = function () { return factories['io.flow.v0.models.p
|
|
|
14305
14309
|
exports.makePaymentInformation = makePaymentInformation;
|
|
14306
14310
|
var makePaymentMethod = function () { return factories['io.flow.v0.models.payment_method'](); };
|
|
14307
14311
|
exports.makePaymentMethod = makePaymentMethod;
|
|
14312
|
+
var makePaymentMethodActionCancellation = function () { return factories['io.flow.v0.models.payment_method_action_cancellation'](); };
|
|
14313
|
+
exports.makePaymentMethodActionCancellation = makePaymentMethodActionCancellation;
|
|
14308
14314
|
var makePaymentMethodBrand = function () { return factories['io.flow.v0.models.payment_method_brand'](); };
|
|
14309
14315
|
exports.makePaymentMethodBrand = makePaymentMethodBrand;
|
|
14310
14316
|
var makePaymentMethodCapability = function () { return factories['io.flow.v0.enums.payment_method_capability'](); };
|
package/dist/esm/api.js
CHANGED
|
@@ -28,7 +28,7 @@ var factories = {
|
|
|
28
28
|
'io.flow.apple.pay.v0.enums.apple_pay_contact_field': function () { return faker.helpers.arrayElement(['email', 'name', 'phone', 'postalAddress', 'phoneticName']); },
|
|
29
29
|
'io.flow.apple.pay.v0.enums.apple_pay_line_item_type': function () { return faker.helpers.arrayElement(['final', 'pending']); },
|
|
30
30
|
'io.flow.apple.pay.v0.enums.apple_pay_merchant_capability': function () { return faker.helpers.arrayElement(['supports3DS', 'supportsCredit', 'supportsDebit', 'supportsEMV']); },
|
|
31
|
-
'io.flow.apple.pay.v0.enums.apple_pay_shipping_type': function () { return faker.helpers.arrayElement(['shipping', 'delivery', '
|
|
31
|
+
'io.flow.apple.pay.v0.enums.apple_pay_shipping_type': function () { return faker.helpers.arrayElement(['shipping', 'delivery', 'storePickup', 'servicePickup']); },
|
|
32
32
|
'io.flow.apple.pay.v0.enums.apple_pay_supported_networks': function () { return faker.helpers.arrayElement([
|
|
33
33
|
'amex',
|
|
34
34
|
'chinaUnionPay',
|
|
@@ -8123,6 +8123,10 @@ var factories = {
|
|
|
8123
8123
|
regions: arrayOf(function () { return factories.string(); }),
|
|
8124
8124
|
capabilities: arrayOf(function () { return factories['io.flow.v0.enums.payment_method_capability'](); }),
|
|
8125
8125
|
}); },
|
|
8126
|
+
'io.flow.v0.models.payment_method_action_cancellation': function () { return ({
|
|
8127
|
+
reason_code: factories['io.flow.v0.enums.payment_failure_code'](),
|
|
8128
|
+
data: factories.object(),
|
|
8129
|
+
}); },
|
|
8126
8130
|
'io.flow.v0.models.payment_method_brand': function () { return ({
|
|
8127
8131
|
id: factories.string(),
|
|
8128
8132
|
name: factories.string(),
|
|
@@ -13210,6 +13214,7 @@ export var makePaymentFailureCode = function () { return factories['io.flow.v0.e
|
|
|
13210
13214
|
export var makePaymentForm = function () { return factories['io.flow.v0.unions.payment_form'](); };
|
|
13211
13215
|
export var makePaymentInformation = function () { return factories['io.flow.v0.models.payment_information'](); };
|
|
13212
13216
|
export var makePaymentMethod = function () { return factories['io.flow.v0.models.payment_method'](); };
|
|
13217
|
+
export var makePaymentMethodActionCancellation = function () { return factories['io.flow.v0.models.payment_method_action_cancellation'](); };
|
|
13213
13218
|
export var makePaymentMethodBrand = function () { return factories['io.flow.v0.models.payment_method_brand'](); };
|
|
13214
13219
|
export var makePaymentMethodCapability = function () { return factories['io.flow.v0.enums.payment_method_capability'](); };
|
|
13215
13220
|
export var makePaymentMethodCard = function () { return factories['io.flow.v0.unions.payment_method_card'](); };
|
package/dist/types/api.d.ts
CHANGED
|
@@ -1055,6 +1055,7 @@ export declare const makePaymentFailureCode: () => io.flow.v0.enums.PaymentFailu
|
|
|
1055
1055
|
export declare const makePaymentForm: () => io.flow.v0.models.MerchantOfRecordPaymentForm;
|
|
1056
1056
|
export declare const makePaymentInformation: () => io.flow.v0.models.PaymentInformation;
|
|
1057
1057
|
export declare const makePaymentMethod: () => io.flow.v0.models.PaymentMethod;
|
|
1058
|
+
export declare const makePaymentMethodActionCancellation: () => io.flow.v0.models.PaymentMethodActionCancellation;
|
|
1058
1059
|
export declare const makePaymentMethodBrand: () => io.flow.v0.models.PaymentMethodBrand;
|
|
1059
1060
|
export declare const makePaymentMethodCapability: () => io.flow.v0.enums.PaymentMethodCapability;
|
|
1060
1061
|
export declare const makePaymentMethodCard: () => io.flow.v0.unions.PaymentMethodCard;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.54",
|
|
4
4
|
"description": "Flow API mock data factories",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"@faker-js/faker": "^6.2.0",
|
|
37
37
|
"@flowio/api-types": "*"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "e08e41ebd2785d2da64def7ae4c51b3d0d00ff2c"
|
|
40
40
|
}
|
package/src/api.ts
CHANGED
|
@@ -33,7 +33,7 @@ const factories = {
|
|
|
33
33
|
'io.flow.apple.pay.v0.enums.apple_pay_contact_field': (): io.flow.apple.pay.v0.enums.ApplePayContactField => faker.helpers.arrayElement(['email', 'name', 'phone', 'postalAddress', 'phoneticName']),
|
|
34
34
|
'io.flow.apple.pay.v0.enums.apple_pay_line_item_type': (): io.flow.apple.pay.v0.enums.ApplePayLineItemType => faker.helpers.arrayElement(['final', 'pending']),
|
|
35
35
|
'io.flow.apple.pay.v0.enums.apple_pay_merchant_capability': (): io.flow.apple.pay.v0.enums.ApplePayMerchantCapability => faker.helpers.arrayElement(['supports3DS', 'supportsCredit', 'supportsDebit', 'supportsEMV']),
|
|
36
|
-
'io.flow.apple.pay.v0.enums.apple_pay_shipping_type': (): io.flow.apple.pay.v0.enums.ApplePayShippingType => faker.helpers.arrayElement(['shipping', 'delivery', '
|
|
36
|
+
'io.flow.apple.pay.v0.enums.apple_pay_shipping_type': (): io.flow.apple.pay.v0.enums.ApplePayShippingType => faker.helpers.arrayElement(['shipping', 'delivery', 'storePickup', 'servicePickup']),
|
|
37
37
|
|
|
38
38
|
'io.flow.apple.pay.v0.enums.apple_pay_supported_networks': (): io.flow.apple.pay.v0.enums.ApplePaySupportedNetworks => faker.helpers.arrayElement([
|
|
39
39
|
'amex',
|
|
@@ -9369,6 +9369,11 @@ const factories = {
|
|
|
9369
9369
|
capabilities: arrayOf(() => factories['io.flow.v0.enums.payment_method_capability']()),
|
|
9370
9370
|
}),
|
|
9371
9371
|
|
|
9372
|
+
'io.flow.v0.models.payment_method_action_cancellation': (): io.flow.v0.models.PaymentMethodActionCancellation => ({
|
|
9373
|
+
reason_code: factories['io.flow.v0.enums.payment_failure_code'](),
|
|
9374
|
+
data: factories.object(),
|
|
9375
|
+
}),
|
|
9376
|
+
|
|
9372
9377
|
'io.flow.v0.models.payment_method_brand': (): io.flow.v0.models.PaymentMethodBrand => ({
|
|
9373
9378
|
id: factories.string(),
|
|
9374
9379
|
name: factories.string(),
|
|
@@ -15156,6 +15161,7 @@ export const makePaymentFailureCode = () => factories['io.flow.v0.enums.payment_
|
|
|
15156
15161
|
export const makePaymentForm = () => factories['io.flow.v0.unions.payment_form']();
|
|
15157
15162
|
export const makePaymentInformation = () => factories['io.flow.v0.models.payment_information']();
|
|
15158
15163
|
export const makePaymentMethod = () => factories['io.flow.v0.models.payment_method']();
|
|
15164
|
+
export const makePaymentMethodActionCancellation = () => factories['io.flow.v0.models.payment_method_action_cancellation']();
|
|
15159
15165
|
export const makePaymentMethodBrand = () => factories['io.flow.v0.models.payment_method_brand']();
|
|
15160
15166
|
export const makePaymentMethodCapability = () => factories['io.flow.v0.enums.payment_method_capability']();
|
|
15161
15167
|
export const makePaymentMethodCard = () => factories['io.flow.v0.unions.payment_method_card']();
|