@flowio/api-internal-factories 0.0.137 → 0.0.138
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-internal.js +41 -17
- package/dist/esm/api-internal.js +27 -4
- package/dist/types/api-internal.d.ts +1 -0
- package/package.json +2 -2
- package/src/api-internal.ts +28 -4
package/dist/cjs/api-internal.js
CHANGED
|
@@ -27,19 +27,19 @@ exports.makeOrganizationBankAccountUpserted = exports.makeOrganizationBankAccoun
|
|
|
27
27
|
exports.makeOrganizationStatusChangeUpserted = exports.makeOrganizationStatusChangeDeleted = exports.makeOrganizationStatusChange = exports.makeOrganizationSource = exports.makeOrganizationSettingsForm = exports.makeOrganizationSettings = exports.makeOrganizationRestrictionStatusUpserted = exports.makeOrganizationRestrictionStatusNote = exports.makeOrganizationRestrictionStatusDeleted = exports.makeOrganizationRestrictionStatus = exports.makeOrganizationRestrictionScreeningStatus = exports.makeOrganizationRestrictionScreeningDecisionForm = exports.makeOrganizationRestrictionRiskLevel = exports.makeOrganizationRestrictionReviewType = exports.makeOrganizationRestrictionNoteType = exports.makeOrganizationRestrictionNoteForm = exports.makeOrganizationRestrictionApprovalStatus = exports.makeOrganizationPaymentStatus = exports.makeOrganizationPaymentSettingVersion = exports.makeOrganizationPaymentSettingUpserted = exports.makeOrganizationPaymentSettingForm = exports.makeOrganizationPaymentSettingDeleted = exports.makeOrganizationPaymentSetting = exports.makeOrganizationOnboardingStateAuditResult = exports.makeOrganizationOnboardingStateAdjustmentResult = exports.makeOrganizationMetricType = exports.makeOrganizationMetadataUpserted = exports.makeOrganizationMetadataDeleted = exports.makeOrganizationMetadata = exports.makeOrganizationMembershipCopyForm = exports.makeOrganizationMembershipCopy = exports.makeOrganizationInvitationAcceptForm = exports.makeOrganizationDebugTransaction = exports.makeOrganizationDeactivationUpserted = exports.makeOrganizationDeactivationForm = exports.makeOrganizationDeactivationDeleted = exports.makeOrganizationDeactivation = exports.makeOrganizationCurrencySettingVersion = exports.makeOrganizationCurrencySettingUpserted = exports.makeOrganizationCurrencySettingForm = exports.makeOrganizationCurrencySettingDeleted = exports.makeOrganizationCurrencySetting = exports.makeOrganizationCapability = exports.makeOrganizationBusinessEntityUpserted = exports.makeOrganizationBusinessEntityDeleted = exports.makeOrganizationBusinessEntity = exports.makeOrganizationBooleanValueUpserted = exports.makeOrganizationBooleanValueDeleted = exports.makeOrganizationBooleanValue = exports.makeOrganizationBillingStatement = void 0;
|
|
28
28
|
exports.makePaymentMethodOption = exports.makePaymentMethodDetail = exports.makePaymentIs = exports.makePassphraseSummary = exports.makePassphraseForm = exports.makePassphrase = exports.makePartnerTrackingSubscriptionUpserted = exports.makePartnerTrackingSubscriptionDeleted = exports.makePartnerRequestUpserted = exports.makePartnerRequestDeleted = exports.makePartnerRequest = exports.makePartnerOrganizationSettingsUpserted = exports.makePartnerOrganizationSettingsForm = exports.makePartnerOrganizationSettingsDeleted = exports.makePartnerOrganizationSettings = exports.makePartnerOrganizationAuthorizationForm = exports.makePartnerOrganizationAuthorization = exports.makePartnerMembershipVersion = exports.makePartnerMembershipSummary = exports.makePartnerMembershipPutForm = exports.makePartnerMembershipForm = exports.makePartnerMembership = exports.makePartnerForm = exports.makePartnerAuthorizationForm = exports.makePartnerAuthorization = exports.makePartner = exports.makeOwner = exports.makeOutputStyle = exports.makeOtherRecordWithholdings = exports.makeOtherRecordUpserted = exports.makeOtherRecordOrganizationSummary = exports.makeOtherRecordOrderSummaryIdentifiers = exports.makeOtherRecordOrderSummary = exports.makeOtherRecordMetadataTrueup = exports.makeOtherRecordMetadataShippingLabelRevenueShare = exports.makeOtherRecordMetadataShippingLabel = exports.makeOtherRecordMetadataManual = exports.makeOtherRecordMetadataFailedPayout = exports.makeOtherRecordMetadataChannel = exports.makeOtherRecordMetadataCarrierCharge = exports.makeOtherRecordMetadata = exports.makeOtherRecordMerchantReference = exports.makeOtherRecordIdentifiers = exports.makeOtherRecordFees = exports.makeOtherRecordDiscount = exports.makeOtherRecordDeleted = exports.makeOtherRecordAccountSourceSummary = exports.makeOtherRecordAccount = exports.makeOtherRecord = exports.makeOrganizationsAuditCheckReport = void 0;
|
|
29
29
|
exports.makePlatformFeeChangeUpserted = exports.makePlatformFeeChangeForm = exports.makePlatformFeeChangeDeleted = exports.makePlatformFeeChange = exports.makePlatformFee = exports.makePhrasePropagated = exports.makePhraseClassified = exports.makePendingRecordType = exports.makePendingOrder = exports.makePendingBankPaymentDetail = exports.makePendingBankPayment = exports.makePaypalRefundUpserted = exports.makePaypalRefundDeleted = exports.makePaypalPaymentUpserted = exports.makePaypalPaymentDeleted = exports.makePaypalMerchantPutForm = exports.makePaypalMerchantModificationForm = exports.makePaypalMerchant = exports.makePaypalInternalRefund = exports.makePaypalInternalPayment = exports.makePaypalInternalExecution = exports.makePaypalInternalDispute = exports.makePaypalExecutionUpserted = exports.makePaypalExecutionDeleted = exports.makePaypalDisputeUpserted = exports.makePaypalDisputeDeleted = exports.makePaypalAuthorizationPayload = exports.makePaypalAuthenticationForm = exports.makePaypalAuthentication = exports.makePaypalAccountReference = exports.makePaypalAccountPutForm = exports.makePaypalAccountModificationForm = exports.makePaypalAccount = exports.makePayoutStatusCounts = exports.makePaymentTerm = exports.makePaymentSummaryV2 = exports.makePaymentSummaryType = exports.makePaymentSummaryStatus = exports.makePaymentSummaryDetails = exports.makePaymentSummary = exports.makePaymentShortUrlDiscriminator = exports.makePaymentShortUrl = exports.makePaymentRequestAuthorization = exports.makePaymentRedirect = exports.makePaymentProcessorMerchantUpserted = exports.makePaymentProcessorMerchantDeleted = exports.makePaymentProcessorAccountUpserted = exports.makePaymentProcessorAccountDeleted = exports.makePaymentOrganizationSettingsPutForm = exports.makePaymentOrganizationSettings = void 0;
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.makeWholeOrderActionForm = exports.makeWebhook = exports.makeWasteElectricalAndElectronicEquipmentComplianceForm = exports.makeWasteElectricalAndElectronicEquipmentComplianceData = exports.makeVirtualCardTransaction = exports.makeViesResult = exports.makeValidatedShippingData = exports.makeValidatedAddress = exports.makeUserUpsertedV2 = exports.makeUserStatusRuleForm = exports.makeUserStatusRule = exports.makeUserStatusForm = exports.makeUserProductListSettings = exports.makeUserProductDetailSettings = exports.makeUserOneTimeToken = exports.makeUserDeletedV2 = exports.makeUsdSpotRateUpserted = exports.makeUsdSpotRateDeleted = exports.makeUsdSpotRate = exports.makeUps = exports.makeUnphrasedProductsExport = void 0;
|
|
30
|
+
exports.makeProductReviewHistory = exports.makeProductRestrictionStateUpdated = exports.makeProductRestrictionStateInserted = exports.makeProductRestrictionStateDeleted = exports.makeProductRestrictionState = exports.makeProductRestrictionRuleDecisionUpserted = exports.makeProductRestrictionRuleDecisionDeleted = exports.makeProductRestrictionRuleDecision = exports.makeProductRestrictionResultValidationError = exports.makeProductRecord = exports.makeProductListSettingsForm = exports.makeProductLabels = exports.makeProductHarmonizationForm = exports.makeProductHarmonization = exports.makeProductDetailSettingsForm = exports.makeProductCurrencies = exports.makeProductClassificationResult = exports.makeProductClassificationJudgementForm = exports.makeProductClassificationForm = exports.makeProductClassification = exports.makeProcessorMerchantReference = exports.makeProcessorMerchantPutForm = exports.makeProcessorMerchantModificationForm = exports.makeProcessorMerchantForm = exports.makeProcessorMerchant = exports.makeProcessorEntityStatusForm = exports.makeProcessorEntityStatus = exports.makeProcessorAccountReference = exports.makeProcessorAccountPutForm = exports.makeProcessorAccountModificationForm = exports.makeProcessorAccount = exports.makeProcessor = exports.makeProcessingTransactionUpserted = exports.makeProcessingTransactionType = exports.makeProcessingTransactionReference = exports.makeProcessingTransactionDeleted = exports.makeProcessingTransaction = exports.makePrioritizedCenterReference = exports.makePriceSelector = exports.makePriceInclusivity = exports.makePreferredBillingSchedule = exports.makePrediction = exports.makePrateekItemType = exports.makePrateekItemForm = exports.makePrateekItem = exports.makePlatformFeePercentageTier = exports.makePlatformFeePercentage = exports.makePlatformFeePause = exports.makePlatformFeeFlat = exports.makePlatformFeeDisabled = void 0;
|
|
31
|
+
exports.makeRateUpsertedV2 = exports.makeRateUpserted = exports.makeRateSourceSummaryUpserted = exports.makeRateSourceSummaryDeleted = exports.makeRateSourceSummary = exports.makeRateSourceCompositionSummary = exports.makeRateSource = exports.makeRateNameSummary = exports.makeRateLevelWithEffective = exports.makeRateLevelRatecardForm = exports.makeRateLevelRatecard = exports.makeRateLevelOrganizationForm = exports.makeRateLevelOrganization = exports.makeRateLevelKey = exports.makeRateLevelForm = exports.makeRateLevel = exports.makeRateFreshnessSummaryUpserted = exports.makeRateFreshnessSummaryDeleted = exports.makeRateFreshnessSummary = exports.makeRateDestinationFreshnessSummary = exports.makeRateDeletedV2 = exports.makeRateDeleted = exports.makeRateDataV3 = exports.makeRateData = exports.makeRateAndRuleLookupForm = exports.makeRateAndRuleLookup = exports.makeRateAndRuleItemForm = exports.makeRateAndRuleItem = exports.makeQuoteUpserted = exports.makeQuoteDeleted = exports.makeQuote = exports.makePublicHubForm = exports.makePublicHub = exports.makePspRoutingDistributionRevisionForm = exports.makePspRoutingDistributionRevision = exports.makePspRoutingDistribution = exports.makePspDistribution = exports.makeProofOfPostingTimeElapsed = exports.makeProofOfPostingShippingNotification = exports.makeProofOfPostingOrderCombinedShipment = exports.makeProofOfPostingOrderCancellation = exports.makeProofOfPostingFulfilled = exports.makeProofOfPostingExternallyFulfilled = exports.makeProofOfPosting = exports.makeProductTransaction = exports.makeProductStatus = exports.makeProductSellabilityResult = exports.makeProductSellabilityInternalResult = exports.makeProductSellabilityInternalForm = exports.makeProductSellabilityInternal = void 0;
|
|
32
|
+
exports.makeReportRuleDecision = exports.makeReportRecordRetryQueue = exports.makeReportRecordError = exports.makeReportPaymentType = exports.makeReportPayment = exports.makeReportOwner = exports.makeReportOrganizationReference = exports.makeReportOrderReference = exports.makeReportMerchant = exports.makeReportInterval = exports.makeReportForm = exports.makeReportFilter = exports.makeReportFileType = exports.makeReportFileStatus = exports.makeReportFile = exports.makeReportBankAccountCleartext = exports.makeReportBankAccount = exports.makeReportAccount = exports.makeReport = exports.makeRemittanceResponsibility = exports.makeRejectionReason = exports.makeRegisteredExporterTariffEligibilityForm = exports.makeRegisteredExporterTariffEligibilityData = exports.makeRedirectReason = exports.makeRedirectActionCompleted = exports.makeRedirect = exports.makeRecordReference = exports.makeRatesNamesSummary = exports.makeRatesChanged = exports.makeRatecardStandardSettings = exports.makeRatecardStandardConfigurationUpserted = exports.makeRatecardStandardConfigurationForm = exports.makeRatecardStandardConfigurationDeleted = exports.makeRatecardStandardConfiguration = exports.makeRatecardServiceFeesOverrideForm = exports.makeRatecardServiceFeesOverride = exports.makeRatecardServiceFeeUpserted = exports.makeRatecardServiceFeeDeleted = exports.makeRatecardRateLevelUpserted = exports.makeRatecardRateLevelRatecardUpserted = exports.makeRatecardRateLevelRatecardDeleted = exports.makeRatecardRateLevelOrganizationUpserted = exports.makeRatecardRateLevelOrganizationDeleted = exports.makeRatecardRateLevelDeleted = exports.makeRatecardLanesImportRequest = exports.makeRatecardInternalSummary = exports.makeRatecardInternalServiceFee = exports.makeRatecardDimensionEstimateUpserted = exports.makeRatecardDimensionEstimateDeleted = exports.makeRateWithFees = void 0;
|
|
33
|
+
exports.makeRestrictionCategory = exports.makeRestrictionBlanketOrganizationExemption = exports.makeRestrictionAttributeRuleCondition = exports.makeRestrictionAttributeRule = exports.makeRestrictionAttributeResult = exports.makeRestrictionAttributeOperator = exports.makeRestrictionAttributeConditionSingleOperator = exports.makeRestrictionAttributeConditionSingle = exports.makeRestrictionAttributeConditionMultipleOperator = exports.makeRestrictionAttributeConditionMultiple = exports.makeRestrictionAction = exports.makeResponsibleParty = exports.makeRescreenRestrictionsProducts = exports.makeRequeueRequestForm = exports.makeReportingVendor = exports.makeReportingVatRemittanceRate = exports.makeReportingVatRemittance = exports.makeReportingUsd = exports.makeReportingShopperFees = exports.makeReportingShipment = exports.makeReportingScheme = exports.makeReportingRefundReference = exports.makeReportingReconciliation = exports.makeReportingProvince = exports.makeReportingPayment = exports.makeReportingOrganizationSummary = exports.makeReportingOrderSummary = exports.makeReportingMonetaryValue = exports.makeReportingMerchantTransactions = exports.makeReportingMerchantSubsidies = exports.makeReportingMerchantFees = exports.makeReportingMerchantBreakdown = exports.makeReportingFx = exports.makeReportingFulfillmentIsVirtual = exports.makeReportingFulfillmentIs = exports.makeReportingFulfillmentHas = exports.makeReportingFulfillment = exports.makeReportingFees = exports.makeReportingDetails = exports.makeReportingDestination = exports.makeReportingDebugMissingSubsidies = exports.makeReportingDebug = exports.makeReportingCurrencies = exports.makeReportingCountry = exports.makeReportingConversionRates = exports.makeReportingBusiness = exports.makeReportingAuthorizationReference = exports.makeReportType = exports.makeReportSummary = exports.makeReportStatus = void 0;
|
|
34
|
+
exports.makeReturnPolicyItemResultDeleted = exports.makeReturnPolicyDeleted = exports.makeReturn = exports.makeResyncFallbackRates = exports.makeResyncByHs6Origin = exports.makeResyncByHs6Destinations = exports.makeResyncByDestinations = exports.makeRestrictionsDailyopsUpserted = exports.makeRestrictionsDailyopsDeleted = exports.makeRestrictionsDailyops = exports.makeRestrictionSummaryCounts = exports.makeRestrictionStatus = exports.makeRestrictionStateReviewStatus = exports.makeRestrictionRuleUpserted = exports.makeRestrictionRuleSummary = exports.makeRestrictionRuleOverride = exports.makeRestrictionRuleOrganizationExemption = exports.makeRestrictionRuleLaneExemption = exports.makeRestrictionRuleForm = exports.makeRestrictionRuleExceptionAction = exports.makeRestrictionRuleEffectUpserted = exports.makeRestrictionRuleEffectForm = exports.makeRestrictionRuleEffectDeleted = exports.makeRestrictionRuleEffect = exports.makeRestrictionRuleDeleted = exports.makeRestrictionRuleDecisionForm = exports.makeRestrictionRuleCommunityExemption = exports.makeRestrictionRuleActivationStatus = exports.makeRestrictionRule = exports.makeRestrictionProductSummary = exports.makeRestrictionProductRequestForm = exports.makeRestrictionProductDecisionForm = exports.makeRestrictionProduct = exports.makeRestrictionOrganizationSummary = exports.makeRestrictionOrganizationStatusUpserted = exports.makeRestrictionOrganizationStatusDeleted = exports.makeRestrictionOrganizationStatus = exports.makeRestrictionOrganizationSource = exports.makeRestrictionOrganizationDecisionSummary = exports.makeRestrictionOrganizationChannel = exports.makeRestrictionOrganization = exports.makeRestrictionKeywords = exports.makeRestrictionItemReviewSummary = exports.makeRestrictionItemReviewDecisionForm = exports.makeRestrictionItemReview = exports.makeRestrictionItemRequestForm = exports.makeRestrictionItem = exports.makeRestrictionHistoryItemReviewDecision = exports.makeRestrictionFilter = exports.makeRestrictionDecision = void 0;
|
|
35
|
+
exports.makeShopifyChannelOrganizationToken = exports.makeShopifyCatalogPublication = exports.makeShippingPricing = exports.makeShippingMethodReference = exports.makeShippingLane = exports.makeShipmentCostSummary = exports.makeSfExpress = exports.makeSetupBlockPutForm = exports.makeSessionOrderData = exports.makeSellabilityStatus = exports.makeSellabilityCheckStatus = exports.makeSellabilityCheckResult = exports.makeSearchTrackingSummary = exports.makeSearchProviderExport = exports.makeSearchOrderSummary = exports.makeSearchItemSummary = exports.makeSearchExperienceSummary = exports.makeSearchCustomerSummary = exports.makeSearchAuthorization = exports.makeScreeningStatusChangeUpserted = exports.makeScreeningStatusChangeDeleted = exports.makeScreeningStatusChange = exports.makeScreenForm = exports.makeScreen = exports.makeScheduledPayment = exports.makeSarveshItemType = exports.makeSarveshItemForm = exports.makeSarveshItem = exports.makeSandboxSetupForm = exports.makeSandboxSetup = exports.makeSalesPaymentRecord = exports.makeRoutingProcessor = exports.makeRoutingMerchant = exports.makeRoutingEntity = exports.makeRoutingAccount = exports.makeRohanItemType = exports.makeRohanItemForm = exports.makeRohanItem = exports.makeRiskEvaluation = exports.makeRiskCheck = exports.makeRevenueRecordUpserted = exports.makeRevenueRecordType = exports.makeRevenueRecordDeleted = exports.makeRevenueRecord = exports.makeReturnTriggerReversal = exports.makeReturnTriggerRefund = exports.makeReturnTrigger = exports.makeReturnSummary = exports.makeReturnPolicyUpserted = exports.makeReturnPolicyItemResultUpserted = void 0;
|
|
36
|
+
exports.makeShopifyMarketsTradeSector = exports.makeShopifyMarketsSync = exports.makeShopifyMarketsSubsidiaryCompany = exports.makeShopifyMarketsShopifyOrderMetrics = exports.makeShopifyMarketsShopUpserted = exports.makeShopifyMarketsShopSummary = exports.makeShopifyMarketsShopStatisticsUpserted = exports.makeShopifyMarketsShopStatisticsDeleted = exports.makeShopifyMarketsShopForm = exports.makeShopifyMarketsShopDeleted = exports.makeShopifyMarketsShop = exports.makeShopifyMarketsQueuedRecordType = exports.makeShopifyMarketsQueuedRecord = exports.makeShopifyMarketsOrdersMetrics = exports.makeShopifyMarketsOrderVersionWithShopId = exports.makeShopifyMarketsOrderUpserted = exports.makeShopifyMarketsOrderDeleted = exports.makeShopifyMarketsOrder = exports.makeShopifyMarketsMetricsUpserted = exports.makeShopifyMarketsMetricsDeleted = exports.makeShopifyMarketsInternalOrderMetrics = exports.makeShopifyMarketsIncorporationCountry = exports.makeShopifyMarketsHtsNumberAvailable = exports.makeShopifyMarketsDiscrepancyData = exports.makeShopifyMarketsDiscrepancy = exports.makeShopifyMarketsDangerousGoods = exports.makeShopifyMarketsBestSellingProductUpserted = exports.makeShopifyMarketsBestSellingProductDeleted = exports.makeShopifyMarketsBestSellingProduct = exports.makeShopifyInventoryItemUpdateWebhookEvent = exports.makeShopifyInventoryItemUpdateUpserted = exports.makeShopifyInventoryItemUpdateDeleted = exports.makeShopifyInventoryItemDeleteWebhookEvent = exports.makeShopifyInventoryItemDeleteUpserted = exports.makeShopifyInventoryItemDeleteDeleted = exports.makeShopifyInventoryItemCreateWebhookEvent = exports.makeShopifyInventoryItemCreateUpserted = exports.makeShopifyInventoryItemCreateDeleted = exports.makeShopifyIncotermSummaryErrorPublished = exports.makeShopifyIncotermSummaryErrorData = exports.makeShopifyIncotermIncludes = exports.makeShopifyIncotermConfiguration = exports.makeShopifyHs10CodesUpserted = exports.makeShopifyHs10CodesDeleted = exports.makeShopifyHs10Codes = exports.makeShopifyHs10Code = exports.makeShopifyDisputeUpserted = exports.makeShopifyDisputeDeleted = exports.makeShopifyDispute = exports.makeShopifyChannelOrganizationTokens = void 0;
|
|
37
|
+
exports.makeShopifyProductUpdateDeleted = exports.makeShopifyProductTaxonomyAttributeValueUpserted = exports.makeShopifyProductTaxonomyAttributeValueDeleted = exports.makeShopifyProductTaxonomyAttributeValue = exports.makeShopifyProductTaxonomyAttributeUpserted = exports.makeShopifyProductTaxonomyAttributeDeleted = exports.makeShopifyProductTaxonomyAttribute = exports.makeShopifyProductDeleteWebhookEvent = exports.makeShopifyProductDeleteUpserted = exports.makeShopifyProductDeleteDeleted = exports.makeShopifyProductCreateWebhookEvent = exports.makeShopifyProductCreateUpserted = exports.makeShopifyProductCreateDeleted = exports.makeShopifyProductBundleUpserted = exports.makeShopifyProductBundleUnderlying = exports.makeShopifyProductBundleDeleted = exports.makeShopifyProductBundle = exports.makeShopifyPlanType = exports.makeShopifyPartnerWebhookRaw = exports.makeShopifyPartnerWebhook = exports.makeShopifyOrderTransactionUpserted = exports.makeShopifyOrderTransactionDeleted = exports.makeShopifyOrderTransaction = exports.makeShopifyOrderRiskAssessmentUpserted = exports.makeShopifyOrderRiskAssessmentDeleted = exports.makeShopifyOrderRiskAssessment = exports.makeShopifyOrderFulfillmentsSnapshotUpserted = exports.makeShopifyOrderFulfillmentsSnapshotDeleted = exports.makeShopifyOrderFulfillmentsSnapshot = exports.makeShopifyOrderDestinationForm = exports.makeShopifyOrderCancelResponse = exports.makeShopifyOrderCancelForm = exports.makeShopifyMonitoringTrackingUrl = exports.makeShopifyMonitoringTrackingNumber = exports.makeShopifyMonitoringTrackingField = exports.makeShopifyMonitoringOrderMonitorType = exports.makeShopifyMonitoringOrderMonitorEventUpserted = exports.makeShopifyMonitoringOrderMonitorEventDeleted = exports.makeShopifyMonitoringOrderMonitor = exports.makeShopifyMonitoringMonitorReviewStatus = exports.makeShopifyMonitoringFulfillmentMissingDetails = exports.makeShopifyMonitoringFulfillmentExternal = exports.makeShopifyMonitoringCarrierService = exports.makeShopifyMetadata = exports.makeShopifyMerchantPlanUpserted = exports.makeShopifyMerchantPlanDeleted = exports.makeShopifyMerchantPlan = exports.makeShopifyMarketsWebhookRegistrationUpserted = exports.makeShopifyMarketsWebhookRegistrationDeleted = exports.makeShopifyMarketsWebhookRegistration = void 0;
|
|
38
|
+
exports.makeStringFeatureValue = exports.makeStringFeatureRuleForm = exports.makeStringFeatureRule = exports.makeStringFeatureDefaultValue = exports.makeStatisticType = exports.makeStatementTransferTransactionLocation = exports.makeStatementCreationMetadata = exports.makeStandaloneAttachmentUpserted = exports.makeStandaloneAttachmentDeleted = exports.makeStandaloneAttachment = exports.makeSpotRateVersion = exports.makeSpotRateUpserted = exports.makeSpotRateMetadataRate = exports.makeSpotRateMetadataIdentity = exports.makeSpotRateMetadata = exports.makeSpotRateDeleted = exports.makeSpotRate = exports.makeSourceTypeFilter = exports.makeSnoozeSourceType = exports.makeSnoozeSource = exports.makeSnoozeNextActionWith = exports.makeSnoozeForm = exports.makeSnooze = exports.makeSnapchatPixel = exports.makeSmpTaxCalculationForm = exports.makeSmpTaxCalculation = exports.makeSingleClassificationForm = exports.makeSingleClassificationAction = exports.makeSimplifiedTaxonomyCategory = exports.makeSimplifiedItemLabel = exports.makeSimplifiedClassificationTaxonomy = exports.makeSimpleRoundingStrategy = exports.makeSimpleAccountReference = exports.makeShopperSummary = exports.makeShopperLines = exports.makeShopperLine = exports.makeShopperFreight = exports.makeShopperFees = exports.makeShopperBreakdown = exports.makeShopifyTaxonomyAlignmentConfigForm = exports.makeShopifyTaxonomyAlignmentConfig = exports.makeShopifyStripeEvent = exports.makeShopifyStoreDetail = exports.makeShopifyShopStatistics = exports.makeShopifyService = exports.makeShopifyReportFileUpserted = exports.makeShopifyReportFileDeleted = exports.makeShopifyProductWrapper = exports.makeShopifyProductUpdateWebhookEvent = exports.makeShopifyProductUpdateUpserted = void 0;
|
|
39
|
+
exports.makeTaskSummarizeCode = exports.makeTaskProcessorKey = exports.makeTaskProcessQueuedEvent = exports.makeTaskMetadata = exports.makeTaskItemUpserted = exports.makeTaskImport = exports.makeTaskData = exports.makeTask = exports.makeTariffEligibilityType = exports.makeTariffEligibilityForm = exports.makeTariffEligibilityData = exports.makeTariffEligibility = exports.makeTariffCodeDuty = exports.makeSupportedLabels = exports.makeSuggestionAction = exports.makeSubscriptionTransaction = exports.makeSubscriptionFrequency = exports.makeSubscription = exports.makeSubmittedOrderUpserted = exports.makeStripeReversalUpserted = exports.makeStripeReversalDeleted = exports.makeStripeRefundUpserted = exports.makeStripeRefundDeleted = exports.makeStripeMerchantPutForm = exports.makeStripeMerchantModificationForm = exports.makeStripeMerchantForm = exports.makeStripeMerchant = exports.makeStripeInternalReversal = exports.makeStripeInternalRefund = exports.makeStripeInternalDispute = exports.makeStripeInternalCapture = exports.makeStripeInternalAuthorization = exports.makeStripeDisputeUpserted = exports.makeStripeDisputeDeleted = exports.makeStripeConnectReportRecordUpserted = exports.makeStripeConnectReportRecordTransferMetadata = exports.makeStripeConnectReportRecordPaymentMetadata = exports.makeStripeConnectReportRecordMetadata = exports.makeStripeConnectReportRecordDeleted = exports.makeStripeConnectReportRecord = exports.makeStripeCaptureUpserted = exports.makeStripeCaptureDeleted = exports.makeStripeAuthorizationUpserted = exports.makeStripeAuthorizationDeleted = exports.makeStripeAuthenticationForm = exports.makeStripeAuthenticationDataReference = exports.makeStripeAuthentication = exports.makeStripeAccountPutForm = exports.makeStripeAccountModificationForm = exports.makeStripeAccount = void 0;
|
|
40
|
+
exports.makeTrackingDebugLabel = exports.makeTrackingDebugForceTransitForm = exports.makeTrackingCarrierReturnLabelUpserted = exports.makeTrackingCarrierReturnLabelDeleted = exports.makeTrackingCarrierReturnLabel = exports.makeTrackingAssuranceJobUpserted = exports.makeTrackingAssuranceJobDeleted = exports.makeTrackingAssuranceJob = exports.makeTrackingAssuranceAnalysisUpserted = exports.makeTrackingAssuranceAnalysisDeleted = exports.makeTrackingAssuranceAnalysis = exports.makeTracker = exports.makeTimeWithTimezone = exports.makeTimeToClassifyUpserted = exports.makeTimeToClassifyDeleted = exports.makeTimeToClassifyAggregatedUpserted = exports.makeTimeToClassifyAggregatedDeleted = exports.makeTimeToClassifyAggregated = exports.makeTimeToClassify = exports.makeTieredFeeTier = exports.makeTieredFee = exports.makeThirdPartyLogisticsPickUpTimeWindow = exports.makeThirdPartyLogisticsPartner = exports.makeTestForm = exports.makeTest = exports.makeTechOnboardingDescription = exports.makeTaxonomyNode = exports.makeTaxonomyCategoryHs6RefUpserted = exports.makeTaxonomyCategoryHs6RefDeleted = exports.makeTaxonomyCategoryHs6Ref = exports.makeTaxonomyCategoryClassificationAlignment = exports.makeTaxonomyCategory = exports.makeTaxonomyAlignmentCheckResult = exports.makeTaxTransactionUpserted = exports.makeTaxTransactionType = exports.makeTaxTransactionDeleted = exports.makeTaxTransaction = exports.makeTaxRemittanceTransactionUpserted = exports.makeTaxRemittanceTransactionDeleted = exports.makeTaxRemittanceTransaction = exports.makeTaxParty = exports.makeTaxDutyReasonCodeMetadata = exports.makeTaxCalculationLineItemForm = exports.makeTaxCalculationLineItem = exports.makeTaxCalculationForm = exports.makeTaxCalculationErrorCode = exports.makeTaxCalculationError = exports.makeTaxCalculation = exports.makeTaxAndDutyInclusivitySetting = exports.makeTaxAmount = void 0;
|
|
41
|
+
exports.makeUnclassifiedProductsSummary = exports.makeUnclassifiedProductsPurgeRequest = exports.makeUnclassifiedProductStatus = exports.makeUnclassifiedProductStatistic = exports.makeUnassignedMerchantGuidUpserted = exports.makeUnassignedMerchantGuidDeleted = exports.makeUnassignedMerchantGuid = exports.makeTrueupTransactionType = exports.makeTrueupTransaction = exports.makeTrueupLabelSummary = exports.makeTribe = exports.makeTransferTransactionUpsertedV2 = exports.makeTransferTransactionUpserted = exports.makeTransferTransactionDeletedV2 = exports.makeTransferTransactionDeleted = exports.makeTransferTransaction = exports.makeTransferMethod = exports.makeTransactionSummary = exports.makeTransactionStatementUpserted = exports.makeTransactionStatementDeleted = exports.makeTransactionStatement = exports.makeTransactionReference = exports.makeTransactionPostingMethod = exports.makeTransactionAdjustmentForm = exports.makeTransactionAdjustment = exports.makeTransaction = exports.makeTrackingWebhook = exports.makeTrackingUpserted = exports.makeTrackingSubscriptionUpserted = exports.makeTrackingSubscriptionDeleted = exports.makeTrackingSubscription = exports.makeTrackingResponse = exports.makeTrackingRequest = exports.makeTrackingProcessingFailureClassification = exports.makeTrackingProcessingErrorUpserted = exports.makeTrackingProcessingErrorDeleted = exports.makeTrackingProcessingError = exports.makeTrackingLabelUpserted = exports.makeTrackingLabelEventUpsertedV2 = exports.makeTrackingLabelEventDeletedV2 = exports.makeTrackingLabelDimensionsUpserted = exports.makeTrackingLabelDimensionsSource = exports.makeTrackingLabelDimensionsDeleted = exports.makeTrackingLabelDimensions = exports.makeTrackingLabelDeleted = exports.makeTrackingIntegrationType = exports.makeTrackingEvent = exports.makeTrackingDeleted = exports.makeTrackingDebugLabelLocation = exports.makeTrackingDebugLabelEvent = void 0;
|
|
42
|
+
exports.makeWholeOrderActionForm = exports.makeWebhook = exports.makeWasteElectricalAndElectronicEquipmentComplianceForm = exports.makeWasteElectricalAndElectronicEquipmentComplianceData = exports.makeVirtualCardTransaction = exports.makeViesResult = exports.makeValidatedShippingData = exports.makeValidatedAddress = exports.makeUserUpsertedV2 = exports.makeUserStatusRuleForm = exports.makeUserStatusRule = exports.makeUserStatusForm = exports.makeUserProductListSettings = exports.makeUserProductDetailSettings = exports.makeUserOneTimeToken = exports.makeUserDeletedV2 = exports.makeUsdSpotRateUpserted = exports.makeUsdSpotRateDeleted = exports.makeUsdSpotRate = exports.makeUps = exports.makeUnphrasedProductsExport = exports.makeUnharmonizedItemsExport = void 0;
|
|
43
43
|
var faker_1 = __importDefault(require("@faker-js/faker"));
|
|
44
44
|
var arrayOf = function (f) {
|
|
45
45
|
var length = 3;
|
|
@@ -1857,7 +1857,7 @@ var factories = {
|
|
|
1857
1857
|
'order_missing',
|
|
1858
1858
|
]); },
|
|
1859
1859
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_status': function () { return faker_1.default.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']); },
|
|
1860
|
-
'io.flow.channel.internal.v0.enums.channel_service': function () { return faker_1.default.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability']); },
|
|
1860
|
+
'io.flow.channel.internal.v0.enums.channel_service': function () { return faker_1.default.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability', 'all']); },
|
|
1861
1861
|
'io.flow.channel.internal.v0.enums.order_payment_source_type': function () { return faker_1.default.helpers.arrayElement(['globale', 'third_party']); },
|
|
1862
1862
|
'io.flow.channel.internal.v0.models.channel_currency_form': function () { return ({
|
|
1863
1863
|
currency: factories.string(),
|
|
@@ -5988,7 +5988,7 @@ var factories = {
|
|
|
5988
5988
|
]); },
|
|
5989
5989
|
'io.flow.internal.v0.enums.channel_order_acceptance_status': function () { return faker_1.default.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']); },
|
|
5990
5990
|
'io.flow.internal.v0.enums.channel_order_fulfillment_status_code': function () { return faker_1.default.helpers.arrayElement(['unfulfilled', 'fulfilled', 'partial', 'cancelled']); },
|
|
5991
|
-
'io.flow.internal.v0.enums.channel_service': function () { return faker_1.default.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability']); },
|
|
5991
|
+
'io.flow.internal.v0.enums.channel_service': function () { return faker_1.default.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability', 'all']); },
|
|
5992
5992
|
'io.flow.internal.v0.enums.channel_transaction_trigger_type': function () { return faker_1.default.helpers.arrayElement(['capture', 'order']); },
|
|
5993
5993
|
'io.flow.internal.v0.enums.channel_transaction_type': function () { return faker_1.default.helpers.arrayElement(['adjustment', 'reversal', 'processing', 'order']); },
|
|
5994
5994
|
'io.flow.internal.v0.enums.chapter_check_status': function () { return faker_1.default.helpers.arrayElement(['apparel_like', 'similar', 'does_not_match']); },
|
|
@@ -6637,7 +6637,7 @@ var factories = {
|
|
|
6637
6637
|
'io.flow.internal.v0.enums.organization_restriction_review_type': function () { return faker_1.default.helpers.arrayElement(['all_pending', 'pending_verification']); },
|
|
6638
6638
|
'io.flow.internal.v0.enums.organization_restriction_risk_level': function () { return faker_1.default.helpers.arrayElement(['5', '15']); },
|
|
6639
6639
|
'io.flow.internal.v0.enums.organization_restriction_screening_status': function () { return faker_1.default.helpers.arrayElement(['in_review', 'fully_reviewed', 'rejected', 'unscreened']); },
|
|
6640
|
-
'io.flow.internal.v0.enums.organization_source': function () { return faker_1.default.helpers.arrayElement(['shopify', 'enterprise']); },
|
|
6640
|
+
'io.flow.internal.v0.enums.organization_source': function () { return faker_1.default.helpers.arrayElement(['shopify', 'smb', 'enterprise']); },
|
|
6641
6641
|
'io.flow.internal.v0.enums.output_style': function () { return faker_1.default.helpers.arrayElement(['flow', 'shopify_p1']); },
|
|
6642
6642
|
'io.flow.internal.v0.enums.owner': function () { return faker_1.default.helpers.arrayElement(['flow', 'organization']); },
|
|
6643
6643
|
'io.flow.internal.v0.enums.payment_short_url_discriminator': function () { return faker_1.default.helpers.arrayElement(['adyen_3ds2']); },
|
|
@@ -6731,7 +6731,7 @@ var factories = {
|
|
|
6731
6731
|
'io.flow.internal.v0.enums.restriction_attribute_result': function () { return faker_1.default.helpers.arrayElement(['pending_classification', 'pending_verification', 'accepted', 'restricted']); },
|
|
6732
6732
|
'io.flow.internal.v0.enums.restriction_decision': function () { return faker_1.default.helpers.arrayElement(['accept', 'escalate', 'reject', 'review']); },
|
|
6733
6733
|
'io.flow.internal.v0.enums.restriction_organization_channel': function () { return faker_1.default.helpers.arrayElement(['shopify', 'enterprise', 'shopify-sandbox', 'enterprise-sandbox']); },
|
|
6734
|
-
'io.flow.internal.v0.enums.restriction_organization_source': function () { return faker_1.default.helpers.arrayElement(['shopify', 'enterprise']); },
|
|
6734
|
+
'io.flow.internal.v0.enums.restriction_organization_source': function () { return faker_1.default.helpers.arrayElement(['shopify', 'smb', 'enterprise']); },
|
|
6735
6735
|
'io.flow.internal.v0.enums.restriction_rule_activation_status': function () { return faker_1.default.helpers.arrayElement(['draft', 'active', 'inactive']); },
|
|
6736
6736
|
'io.flow.internal.v0.enums.restriction_rule_community_exemption': function () { return faker_1.default.helpers.arrayElement(['domestic_exemption', 'intra_eu_exemption']); },
|
|
6737
6737
|
'io.flow.internal.v0.enums.restriction_rule_exception_action': function () { return faker_1.default.helpers.arrayElement(['allow', 'deny']); },
|
|
@@ -12092,6 +12092,11 @@ var factories = {
|
|
|
12092
12092
|
processing: factories.decimal(),
|
|
12093
12093
|
rate_lock: factories.decimal(),
|
|
12094
12094
|
transfer: factories.decimal(),
|
|
12095
|
+
product_fee: factories.decimal(),
|
|
12096
|
+
estimated_tax: factories.decimal(),
|
|
12097
|
+
estimated_duty: factories.decimal(),
|
|
12098
|
+
estimated_duties_and_taxes: factories.decimal(),
|
|
12099
|
+
td_fx_diff: factories.decimal(),
|
|
12095
12100
|
total: factories.decimal(),
|
|
12096
12101
|
}); },
|
|
12097
12102
|
'io.flow.internal.v0.models.merchant_guid_assignment': function () { return ({
|
|
@@ -13654,6 +13659,10 @@ var factories = {
|
|
|
13654
13659
|
construction: factories.string(),
|
|
13655
13660
|
item: factories.string(),
|
|
13656
13661
|
}); },
|
|
13662
|
+
'io.flow.internal.v0.models.price_inclusivity': function () { return ({
|
|
13663
|
+
tax: factories.boolean(),
|
|
13664
|
+
duty: factories.boolean(),
|
|
13665
|
+
}); },
|
|
13657
13666
|
'io.flow.internal.v0.models.prioritized_center_reference': function () { return ({
|
|
13658
13667
|
center_key: factories.string(),
|
|
13659
13668
|
position: factories.long(),
|
|
@@ -14419,6 +14428,8 @@ var factories = {
|
|
|
14419
14428
|
destination_country: factories.decimal(),
|
|
14420
14429
|
usd: factories.decimal(),
|
|
14421
14430
|
eur: factories.decimal(),
|
|
14431
|
+
guaranteed: factories.decimal(),
|
|
14432
|
+
spot: factories.decimal(),
|
|
14422
14433
|
}); },
|
|
14423
14434
|
'io.flow.internal.v0.models.reporting_country': function () { return ({
|
|
14424
14435
|
code: factories.string(),
|
|
@@ -14457,6 +14468,11 @@ var factories = {
|
|
|
14457
14468
|
mor: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14458
14469
|
fx: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14459
14470
|
sp: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14471
|
+
product_fee: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14472
|
+
estimated_tax: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14473
|
+
estimated_duty: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14474
|
+
estimated_duties_and_taxes: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14475
|
+
td_fx_diff: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14460
14476
|
}); },
|
|
14461
14477
|
'io.flow.internal.v0.models.reporting_fulfillment': function () { return ({
|
|
14462
14478
|
id: factories.string(),
|
|
@@ -14516,6 +14532,11 @@ var factories = {
|
|
|
14516
14532
|
processing: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14517
14533
|
rate_lock: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14518
14534
|
transfer: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14535
|
+
product_fee: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14536
|
+
estimated_tax: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14537
|
+
estimated_duty: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14538
|
+
estimated_duties_and_taxes: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14539
|
+
td_fx_diff: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14519
14540
|
total: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14520
14541
|
}); },
|
|
14521
14542
|
'io.flow.internal.v0.models.reporting_merchant_subsidies': function () { return ({
|
|
@@ -15127,6 +15148,7 @@ var factories = {
|
|
|
15127
15148
|
fees: factories['io.flow.internal.v0.models.reporting_fees'](),
|
|
15128
15149
|
conversion_rate: factories['io.flow.internal.v0.models.reporting_conversion_rates'](),
|
|
15129
15150
|
payment_is: factories['io.flow.internal.v0.models.payment_is'](),
|
|
15151
|
+
price_inclusivity: factories['io.flow.internal.v0.models.price_inclusivity'](),
|
|
15130
15152
|
destination_country: factories.string(),
|
|
15131
15153
|
fulfilled_at: factories.date_time_iso_8601(),
|
|
15132
15154
|
}); },
|
|
@@ -29146,6 +29168,8 @@ var makePrediction = function () { return factories['io.flow.internal.v0.models.
|
|
|
29146
29168
|
exports.makePrediction = makePrediction;
|
|
29147
29169
|
var makePreferredBillingSchedule = function () { return factories['io.flow.internal.v0.enums.preferred_billing_schedule'](); };
|
|
29148
29170
|
exports.makePreferredBillingSchedule = makePreferredBillingSchedule;
|
|
29171
|
+
var makePriceInclusivity = function () { return factories['io.flow.internal.v0.models.price_inclusivity'](); };
|
|
29172
|
+
exports.makePriceInclusivity = makePriceInclusivity;
|
|
29149
29173
|
var makePriceSelector = function () { return factories['io.flow.internal.v0.enums.price_selector'](); };
|
|
29150
29174
|
exports.makePriceSelector = makePriceSelector;
|
|
29151
29175
|
var makePrioritizedCenterReference = function () { return factories['io.flow.internal.v0.models.prioritized_center_reference'](); };
|
package/dist/esm/api-internal.js
CHANGED
|
@@ -1815,7 +1815,7 @@ var factories = {
|
|
|
1815
1815
|
'order_missing',
|
|
1816
1816
|
]); },
|
|
1817
1817
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_status': function () { return faker.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']); },
|
|
1818
|
-
'io.flow.channel.internal.v0.enums.channel_service': function () { return faker.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability']); },
|
|
1818
|
+
'io.flow.channel.internal.v0.enums.channel_service': function () { return faker.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability', 'all']); },
|
|
1819
1819
|
'io.flow.channel.internal.v0.enums.order_payment_source_type': function () { return faker.helpers.arrayElement(['globale', 'third_party']); },
|
|
1820
1820
|
'io.flow.channel.internal.v0.models.channel_currency_form': function () { return ({
|
|
1821
1821
|
currency: factories.string(),
|
|
@@ -5946,7 +5946,7 @@ var factories = {
|
|
|
5946
5946
|
]); },
|
|
5947
5947
|
'io.flow.internal.v0.enums.channel_order_acceptance_status': function () { return faker.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']); },
|
|
5948
5948
|
'io.flow.internal.v0.enums.channel_order_fulfillment_status_code': function () { return faker.helpers.arrayElement(['unfulfilled', 'fulfilled', 'partial', 'cancelled']); },
|
|
5949
|
-
'io.flow.internal.v0.enums.channel_service': function () { return faker.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability']); },
|
|
5949
|
+
'io.flow.internal.v0.enums.channel_service': function () { return faker.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability', 'all']); },
|
|
5950
5950
|
'io.flow.internal.v0.enums.channel_transaction_trigger_type': function () { return faker.helpers.arrayElement(['capture', 'order']); },
|
|
5951
5951
|
'io.flow.internal.v0.enums.channel_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'processing', 'order']); },
|
|
5952
5952
|
'io.flow.internal.v0.enums.chapter_check_status': function () { return faker.helpers.arrayElement(['apparel_like', 'similar', 'does_not_match']); },
|
|
@@ -6595,7 +6595,7 @@ var factories = {
|
|
|
6595
6595
|
'io.flow.internal.v0.enums.organization_restriction_review_type': function () { return faker.helpers.arrayElement(['all_pending', 'pending_verification']); },
|
|
6596
6596
|
'io.flow.internal.v0.enums.organization_restriction_risk_level': function () { return faker.helpers.arrayElement(['5', '15']); },
|
|
6597
6597
|
'io.flow.internal.v0.enums.organization_restriction_screening_status': function () { return faker.helpers.arrayElement(['in_review', 'fully_reviewed', 'rejected', 'unscreened']); },
|
|
6598
|
-
'io.flow.internal.v0.enums.organization_source': function () { return faker.helpers.arrayElement(['shopify', 'enterprise']); },
|
|
6598
|
+
'io.flow.internal.v0.enums.organization_source': function () { return faker.helpers.arrayElement(['shopify', 'smb', 'enterprise']); },
|
|
6599
6599
|
'io.flow.internal.v0.enums.output_style': function () { return faker.helpers.arrayElement(['flow', 'shopify_p1']); },
|
|
6600
6600
|
'io.flow.internal.v0.enums.owner': function () { return faker.helpers.arrayElement(['flow', 'organization']); },
|
|
6601
6601
|
'io.flow.internal.v0.enums.payment_short_url_discriminator': function () { return faker.helpers.arrayElement(['adyen_3ds2']); },
|
|
@@ -6689,7 +6689,7 @@ var factories = {
|
|
|
6689
6689
|
'io.flow.internal.v0.enums.restriction_attribute_result': function () { return faker.helpers.arrayElement(['pending_classification', 'pending_verification', 'accepted', 'restricted']); },
|
|
6690
6690
|
'io.flow.internal.v0.enums.restriction_decision': function () { return faker.helpers.arrayElement(['accept', 'escalate', 'reject', 'review']); },
|
|
6691
6691
|
'io.flow.internal.v0.enums.restriction_organization_channel': function () { return faker.helpers.arrayElement(['shopify', 'enterprise', 'shopify-sandbox', 'enterprise-sandbox']); },
|
|
6692
|
-
'io.flow.internal.v0.enums.restriction_organization_source': function () { return faker.helpers.arrayElement(['shopify', 'enterprise']); },
|
|
6692
|
+
'io.flow.internal.v0.enums.restriction_organization_source': function () { return faker.helpers.arrayElement(['shopify', 'smb', 'enterprise']); },
|
|
6693
6693
|
'io.flow.internal.v0.enums.restriction_rule_activation_status': function () { return faker.helpers.arrayElement(['draft', 'active', 'inactive']); },
|
|
6694
6694
|
'io.flow.internal.v0.enums.restriction_rule_community_exemption': function () { return faker.helpers.arrayElement(['domestic_exemption', 'intra_eu_exemption']); },
|
|
6695
6695
|
'io.flow.internal.v0.enums.restriction_rule_exception_action': function () { return faker.helpers.arrayElement(['allow', 'deny']); },
|
|
@@ -12050,6 +12050,11 @@ var factories = {
|
|
|
12050
12050
|
processing: factories.decimal(),
|
|
12051
12051
|
rate_lock: factories.decimal(),
|
|
12052
12052
|
transfer: factories.decimal(),
|
|
12053
|
+
product_fee: factories.decimal(),
|
|
12054
|
+
estimated_tax: factories.decimal(),
|
|
12055
|
+
estimated_duty: factories.decimal(),
|
|
12056
|
+
estimated_duties_and_taxes: factories.decimal(),
|
|
12057
|
+
td_fx_diff: factories.decimal(),
|
|
12053
12058
|
total: factories.decimal(),
|
|
12054
12059
|
}); },
|
|
12055
12060
|
'io.flow.internal.v0.models.merchant_guid_assignment': function () { return ({
|
|
@@ -13612,6 +13617,10 @@ var factories = {
|
|
|
13612
13617
|
construction: factories.string(),
|
|
13613
13618
|
item: factories.string(),
|
|
13614
13619
|
}); },
|
|
13620
|
+
'io.flow.internal.v0.models.price_inclusivity': function () { return ({
|
|
13621
|
+
tax: factories.boolean(),
|
|
13622
|
+
duty: factories.boolean(),
|
|
13623
|
+
}); },
|
|
13615
13624
|
'io.flow.internal.v0.models.prioritized_center_reference': function () { return ({
|
|
13616
13625
|
center_key: factories.string(),
|
|
13617
13626
|
position: factories.long(),
|
|
@@ -14377,6 +14386,8 @@ var factories = {
|
|
|
14377
14386
|
destination_country: factories.decimal(),
|
|
14378
14387
|
usd: factories.decimal(),
|
|
14379
14388
|
eur: factories.decimal(),
|
|
14389
|
+
guaranteed: factories.decimal(),
|
|
14390
|
+
spot: factories.decimal(),
|
|
14380
14391
|
}); },
|
|
14381
14392
|
'io.flow.internal.v0.models.reporting_country': function () { return ({
|
|
14382
14393
|
code: factories.string(),
|
|
@@ -14415,6 +14426,11 @@ var factories = {
|
|
|
14415
14426
|
mor: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14416
14427
|
fx: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14417
14428
|
sp: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14429
|
+
product_fee: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14430
|
+
estimated_tax: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14431
|
+
estimated_duty: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14432
|
+
estimated_duties_and_taxes: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14433
|
+
td_fx_diff: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14418
14434
|
}); },
|
|
14419
14435
|
'io.flow.internal.v0.models.reporting_fulfillment': function () { return ({
|
|
14420
14436
|
id: factories.string(),
|
|
@@ -14474,6 +14490,11 @@ var factories = {
|
|
|
14474
14490
|
processing: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14475
14491
|
rate_lock: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14476
14492
|
transfer: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14493
|
+
product_fee: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14494
|
+
estimated_tax: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14495
|
+
estimated_duty: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14496
|
+
estimated_duties_and_taxes: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14497
|
+
td_fx_diff: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14477
14498
|
total: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
14478
14499
|
}); },
|
|
14479
14500
|
'io.flow.internal.v0.models.reporting_merchant_subsidies': function () { return ({
|
|
@@ -15085,6 +15106,7 @@ var factories = {
|
|
|
15085
15106
|
fees: factories['io.flow.internal.v0.models.reporting_fees'](),
|
|
15086
15107
|
conversion_rate: factories['io.flow.internal.v0.models.reporting_conversion_rates'](),
|
|
15087
15108
|
payment_is: factories['io.flow.internal.v0.models.payment_is'](),
|
|
15109
|
+
price_inclusivity: factories['io.flow.internal.v0.models.price_inclusivity'](),
|
|
15088
15110
|
destination_country: factories.string(),
|
|
15089
15111
|
fulfilled_at: factories.date_time_iso_8601(),
|
|
15090
15112
|
}); },
|
|
@@ -27894,6 +27916,7 @@ export var makePrateekItemForm = function () { return factories['io.flow.interna
|
|
|
27894
27916
|
export var makePrateekItemType = function () { return factories['io.flow.internal.v0.enums.prateek_item_type'](); };
|
|
27895
27917
|
export var makePrediction = function () { return factories['io.flow.internal.v0.models.prediction'](); };
|
|
27896
27918
|
export var makePreferredBillingSchedule = function () { return factories['io.flow.internal.v0.enums.preferred_billing_schedule'](); };
|
|
27919
|
+
export var makePriceInclusivity = function () { return factories['io.flow.internal.v0.models.price_inclusivity'](); };
|
|
27897
27920
|
export var makePriceSelector = function () { return factories['io.flow.internal.v0.enums.price_selector'](); };
|
|
27898
27921
|
export var makePrioritizedCenterReference = function () { return factories['io.flow.internal.v0.models.prioritized_center_reference'](); };
|
|
27899
27922
|
export var makeProcessingTransaction = function () { return factories['io.flow.internal.v0.models.processing_transaction'](); };
|
|
@@ -1209,6 +1209,7 @@ export declare const makePrateekItemForm: () => io.flow.internal.v0.models.Prate
|
|
|
1209
1209
|
export declare const makePrateekItemType: () => io.flow.internal.v0.enums.PrateekItemType;
|
|
1210
1210
|
export declare const makePrediction: () => io.flow.internal.v0.models.Prediction;
|
|
1211
1211
|
export declare const makePreferredBillingSchedule: () => io.flow.internal.v0.enums.PreferredBillingSchedule;
|
|
1212
|
+
export declare const makePriceInclusivity: () => io.flow.internal.v0.models.PriceInclusivity;
|
|
1212
1213
|
export declare const makePriceSelector: () => io.flow.internal.v0.enums.PriceSelector;
|
|
1213
1214
|
export declare const makePrioritizedCenterReference: () => io.flow.internal.v0.models.PrioritizedCenterReference;
|
|
1214
1215
|
export declare const makeProcessingTransaction: () => io.flow.internal.v0.models.ProcessingTransaction;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.138",
|
|
4
4
|
"description": "Flow API internal mock data factories",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"@faker-js/faker": "^6.2.0",
|
|
38
38
|
"@flowio/api-types": "*"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "942e116995931225d013428a9da8237ec64c06be"
|
|
41
41
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -2084,7 +2084,7 @@ const factories = {
|
|
|
2084
2084
|
]),
|
|
2085
2085
|
|
|
2086
2086
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_status': (): io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus => faker.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']),
|
|
2087
|
-
'io.flow.channel.internal.v0.enums.channel_service': (): io.flow.channel.internal.v0.enums.ChannelService => faker.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability']),
|
|
2087
|
+
'io.flow.channel.internal.v0.enums.channel_service': (): io.flow.channel.internal.v0.enums.ChannelService => faker.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability', 'all']),
|
|
2088
2088
|
'io.flow.channel.internal.v0.enums.order_payment_source_type': (): io.flow.channel.internal.v0.enums.OrderPaymentSourceType => faker.helpers.arrayElement(['globale', 'third_party']),
|
|
2089
2089
|
|
|
2090
2090
|
'io.flow.channel.internal.v0.models.channel_currency_form': (): io.flow.channel.internal.v0.models.ChannelCurrencyForm => ({
|
|
@@ -6981,7 +6981,7 @@ const factories = {
|
|
|
6981
6981
|
|
|
6982
6982
|
'io.flow.internal.v0.enums.channel_order_acceptance_status': (): io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus => faker.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']),
|
|
6983
6983
|
'io.flow.internal.v0.enums.channel_order_fulfillment_status_code': (): io.flow.internal.v0.enums.ChannelOrderFulfillmentStatusCode => faker.helpers.arrayElement(['unfulfilled', 'fulfilled', 'partial', 'cancelled']),
|
|
6984
|
-
'io.flow.internal.v0.enums.channel_service': (): io.flow.internal.v0.enums.ChannelService => faker.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability']),
|
|
6984
|
+
'io.flow.internal.v0.enums.channel_service': (): io.flow.internal.v0.enums.ChannelService => faker.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability', 'all']),
|
|
6985
6985
|
'io.flow.internal.v0.enums.channel_transaction_trigger_type': (): io.flow.internal.v0.enums.ChannelTransactionTriggerType => faker.helpers.arrayElement(['capture', 'order']),
|
|
6986
6986
|
'io.flow.internal.v0.enums.channel_transaction_type': (): io.flow.internal.v0.enums.ChannelTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'processing', 'order']),
|
|
6987
6987
|
'io.flow.internal.v0.enums.chapter_check_status': (): io.flow.internal.v0.enums.ChapterCheckStatus => faker.helpers.arrayElement(['apparel_like', 'similar', 'does_not_match']),
|
|
@@ -7671,7 +7671,7 @@ const factories = {
|
|
|
7671
7671
|
'io.flow.internal.v0.enums.organization_restriction_review_type': (): io.flow.internal.v0.enums.OrganizationRestrictionReviewType => faker.helpers.arrayElement(['all_pending', 'pending_verification']),
|
|
7672
7672
|
'io.flow.internal.v0.enums.organization_restriction_risk_level': (): io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel => faker.helpers.arrayElement(['5', '15']),
|
|
7673
7673
|
'io.flow.internal.v0.enums.organization_restriction_screening_status': (): io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus => faker.helpers.arrayElement(['in_review', 'fully_reviewed', 'rejected', 'unscreened']),
|
|
7674
|
-
'io.flow.internal.v0.enums.organization_source': (): io.flow.internal.v0.enums.OrganizationSource => faker.helpers.arrayElement(['shopify', 'enterprise']),
|
|
7674
|
+
'io.flow.internal.v0.enums.organization_source': (): io.flow.internal.v0.enums.OrganizationSource => faker.helpers.arrayElement(['shopify', 'smb', 'enterprise']),
|
|
7675
7675
|
'io.flow.internal.v0.enums.output_style': (): io.flow.internal.v0.enums.OutputStyle => faker.helpers.arrayElement(['flow', 'shopify_p1']),
|
|
7676
7676
|
'io.flow.internal.v0.enums.owner': (): io.flow.internal.v0.enums.Owner => faker.helpers.arrayElement(['flow', 'organization']),
|
|
7677
7677
|
'io.flow.internal.v0.enums.payment_short_url_discriminator': (): io.flow.internal.v0.enums.PaymentShortUrlDiscriminator => faker.helpers.arrayElement(['adyen_3ds2']),
|
|
@@ -7782,7 +7782,7 @@ const factories = {
|
|
|
7782
7782
|
|
|
7783
7783
|
'io.flow.internal.v0.enums.restriction_decision': (): io.flow.internal.v0.enums.RestrictionDecision => faker.helpers.arrayElement(['accept', 'escalate', 'reject', 'review']),
|
|
7784
7784
|
'io.flow.internal.v0.enums.restriction_organization_channel': (): io.flow.internal.v0.enums.RestrictionOrganizationChannel => faker.helpers.arrayElement(['shopify', 'enterprise', 'shopify-sandbox', 'enterprise-sandbox']),
|
|
7785
|
-
'io.flow.internal.v0.enums.restriction_organization_source': (): io.flow.internal.v0.enums.RestrictionOrganizationSource => faker.helpers.arrayElement(['shopify', 'enterprise']),
|
|
7785
|
+
'io.flow.internal.v0.enums.restriction_organization_source': (): io.flow.internal.v0.enums.RestrictionOrganizationSource => faker.helpers.arrayElement(['shopify', 'smb', 'enterprise']),
|
|
7786
7786
|
'io.flow.internal.v0.enums.restriction_rule_activation_status': (): io.flow.internal.v0.enums.RestrictionRuleActivationStatus => faker.helpers.arrayElement(['draft', 'active', 'inactive']),
|
|
7787
7787
|
'io.flow.internal.v0.enums.restriction_rule_community_exemption': (): io.flow.internal.v0.enums.RestrictionRuleCommunityExemption => faker.helpers.arrayElement(['domestic_exemption', 'intra_eu_exemption']),
|
|
7788
7788
|
'io.flow.internal.v0.enums.restriction_rule_exception_action': (): io.flow.internal.v0.enums.RestrictionRuleExceptionAction => faker.helpers.arrayElement(['allow', 'deny']),
|
|
@@ -14020,6 +14020,11 @@ const factories = {
|
|
|
14020
14020
|
processing: factories.decimal(),
|
|
14021
14021
|
rate_lock: factories.decimal(),
|
|
14022
14022
|
transfer: factories.decimal(),
|
|
14023
|
+
product_fee: factories.decimal(),
|
|
14024
|
+
estimated_tax: factories.decimal(),
|
|
14025
|
+
estimated_duty: factories.decimal(),
|
|
14026
|
+
estimated_duties_and_taxes: factories.decimal(),
|
|
14027
|
+
td_fx_diff: factories.decimal(),
|
|
14023
14028
|
total: factories.decimal(),
|
|
14024
14029
|
}),
|
|
14025
14030
|
|
|
@@ -15844,6 +15849,11 @@ const factories = {
|
|
|
15844
15849
|
item: factories.string(),
|
|
15845
15850
|
}),
|
|
15846
15851
|
|
|
15852
|
+
'io.flow.internal.v0.models.price_inclusivity': (): io.flow.internal.v0.models.PriceInclusivity => ({
|
|
15853
|
+
tax: factories.boolean(),
|
|
15854
|
+
duty: factories.boolean(),
|
|
15855
|
+
}),
|
|
15856
|
+
|
|
15847
15857
|
'io.flow.internal.v0.models.prioritized_center_reference': (): io.flow.internal.v0.models.PrioritizedCenterReference => ({
|
|
15848
15858
|
center_key: factories.string(),
|
|
15849
15859
|
position: factories.long(),
|
|
@@ -16756,6 +16766,8 @@ const factories = {
|
|
|
16756
16766
|
destination_country: factories.decimal(),
|
|
16757
16767
|
usd: factories.decimal(),
|
|
16758
16768
|
eur: factories.decimal(),
|
|
16769
|
+
guaranteed: factories.decimal(),
|
|
16770
|
+
spot: factories.decimal(),
|
|
16759
16771
|
}),
|
|
16760
16772
|
|
|
16761
16773
|
'io.flow.internal.v0.models.reporting_country': (): io.flow.internal.v0.models.ReportingCountry => ({
|
|
@@ -16801,6 +16813,11 @@ const factories = {
|
|
|
16801
16813
|
mor: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16802
16814
|
fx: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16803
16815
|
sp: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16816
|
+
product_fee: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16817
|
+
estimated_tax: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16818
|
+
estimated_duty: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16819
|
+
estimated_duties_and_taxes: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16820
|
+
td_fx_diff: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16804
16821
|
}),
|
|
16805
16822
|
|
|
16806
16823
|
'io.flow.internal.v0.models.reporting_fulfillment': (): io.flow.internal.v0.models.ReportingFulfillment => ({
|
|
@@ -16866,6 +16883,11 @@ const factories = {
|
|
|
16866
16883
|
processing: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16867
16884
|
rate_lock: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16868
16885
|
transfer: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16886
|
+
product_fee: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16887
|
+
estimated_tax: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16888
|
+
estimated_duty: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16889
|
+
estimated_duties_and_taxes: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16890
|
+
td_fx_diff: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16869
16891
|
total: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16870
16892
|
}),
|
|
16871
16893
|
|
|
@@ -17580,6 +17602,7 @@ const factories = {
|
|
|
17580
17602
|
fees: factories['io.flow.internal.v0.models.reporting_fees'](),
|
|
17581
17603
|
conversion_rate: factories['io.flow.internal.v0.models.reporting_conversion_rates'](),
|
|
17582
17604
|
payment_is: factories['io.flow.internal.v0.models.payment_is'](),
|
|
17605
|
+
price_inclusivity: factories['io.flow.internal.v0.models.price_inclusivity'](),
|
|
17583
17606
|
destination_country: factories.string(),
|
|
17584
17607
|
fulfilled_at: factories.date_time_iso_8601(),
|
|
17585
17608
|
}),
|
|
@@ -32439,6 +32462,7 @@ export const makePrateekItemForm = () => factories['io.flow.internal.v0.models.p
|
|
|
32439
32462
|
export const makePrateekItemType = () => factories['io.flow.internal.v0.enums.prateek_item_type']();
|
|
32440
32463
|
export const makePrediction = () => factories['io.flow.internal.v0.models.prediction']();
|
|
32441
32464
|
export const makePreferredBillingSchedule = () => factories['io.flow.internal.v0.enums.preferred_billing_schedule']();
|
|
32465
|
+
export const makePriceInclusivity = () => factories['io.flow.internal.v0.models.price_inclusivity']();
|
|
32442
32466
|
export const makePriceSelector = () => factories['io.flow.internal.v0.enums.price_selector']();
|
|
32443
32467
|
export const makePrioritizedCenterReference = () => factories['io.flow.internal.v0.models.prioritized_center_reference']();
|
|
32444
32468
|
export const makeProcessingTransaction = () => factories['io.flow.internal.v0.models.processing_transaction']();
|