@flowio/api-internal-factories 0.0.133 → 0.0.135
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 +35 -15
- package/dist/esm/api-internal.js +19 -1
- package/dist/types/api-internal.d.ts +2 -0
- package/package.json +2 -2
- package/src/api-internal.ts +20 -1
package/dist/cjs/api-internal.js
CHANGED
|
@@ -26,20 +26,20 @@ exports.makeOrderNote = exports.makeOrderLifecycleEvent = exports.makeOrderFulfi
|
|
|
26
26
|
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 = exports.makeOrganizationBankAccountUpserted = exports.makeOrganizationBankAccountDeleted = exports.makeOrganizationAccountUpsertedV2 = exports.makeOrganizationAccountDeleted = exports.makeOrganizationAccount = exports.makeOrderValidationUpserted = exports.makeOrderValidationStatus = exports.makeOrderValidationFailureUpserted = exports.makeOrderValidationFailureSummary = exports.makeOrderValidationFailureDeleted = exports.makeOrderValidationFailure = exports.makeOrderValidationError = exports.makeOrderValidationDeleted = exports.makeOrderValidation = exports.makeOrderTransactionUpserted = exports.makeOrderTransactionType = exports.makeOrderTransactionDeleted = exports.makeOrderTransaction = exports.makeOrderTaxAndDutyInclusivitySettingUpserted = exports.makeOrderTaxAndDutyInclusivitySettingDeleted = exports.makeOrderTaxAndDutyInclusivitySetting = exports.makeOrderSummary = exports.makeOrderServiceChangeCsvForm = exports.makeOrderRevenueTimelineDataPoint = exports.makeOrderRevenueTimelineChart = exports.makeOrderRevenueRegionDataPoint = exports.makeOrderRevenueRegionChart = exports.makeOrderRefundTransactionUpserted = exports.makeOrderRefundTransactionDeleted = exports.makeOrderRefundTransaction = exports.makeOrderReference = exports.makeOrderRatesPublishedV3 = exports.makeOrderRatesDataV3 = exports.makeOrderPaymentSourceType = exports.makeOrderPaymentAuthorization = exports.makeOrderNoteForm = void 0;
|
|
27
27
|
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 = 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 = void 0;
|
|
28
28
|
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 = 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 = void 0;
|
|
29
|
-
exports.
|
|
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 = void 0;
|
|
29
|
+
exports.makePrioritizedCenterReference = exports.makePriceSelector = exports.makePreferredBillingSchedule = exports.makePrediction = exports.makePrateekItemType = exports.makePrateekItemForm = exports.makePrateekItem = exports.makePlatformFeeTransactionType = exports.makePlatformFeeTransaction = exports.makePlatformFeePercentageTier = exports.makePlatformFeePercentage = exports.makePlatformFeePause = exports.makePlatformFeeFlat = exports.makePlatformFeeDisabled = 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 = void 0;
|
|
30
|
+
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 = 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 = void 0;
|
|
31
|
+
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 = 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 = void 0;
|
|
32
|
+
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 = 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 = void 0;
|
|
33
|
+
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 = 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 = void 0;
|
|
34
|
+
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 = 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 = void 0;
|
|
35
|
+
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 = 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 = void 0;
|
|
36
|
+
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 = 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 = void 0;
|
|
37
|
+
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 = 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 = void 0;
|
|
38
|
+
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 = 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 = void 0;
|
|
39
|
+
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 = 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 = void 0;
|
|
40
|
+
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 = 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 = void 0;
|
|
41
|
+
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 = 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 = void 0;
|
|
42
|
+
exports.makeWholeOrderActionForm = exports.makeWebhook = exports.makeWasteElectricalAndElectronicEquipmentComplianceForm = exports.makeWasteElectricalAndElectronicEquipmentComplianceData = exports.makeVirtualCardTransaction = exports.makeViesResult = exports.makeValidatedShippingData = exports.makeValidatedAddress = exports.makeUserUpsertedV2 = void 0;
|
|
43
43
|
var faker_1 = __importDefault(require("@faker-js/faker"));
|
|
44
44
|
var arrayOf = function (f) {
|
|
45
45
|
var length = 3;
|
|
@@ -5904,6 +5904,7 @@ var factories = {
|
|
|
5904
5904
|
'tax_refund',
|
|
5905
5905
|
'duty_refund',
|
|
5906
5906
|
'ge_revenue_share',
|
|
5907
|
+
'platform_fee',
|
|
5907
5908
|
'merchant_payout',
|
|
5908
5909
|
'merchant_refund',
|
|
5909
5910
|
]); },
|
|
@@ -6619,6 +6620,7 @@ var factories = {
|
|
|
6619
6620
|
'io.flow.internal.v0.enums.payment_summary_type': function () { return faker_1.default.helpers.arrayElement(['authorization', 'capture', 'refund', 'reversal', 'credit']); },
|
|
6620
6621
|
'io.flow.internal.v0.enums.payment_term': function () { return faker_1.default.helpers.arrayElement(['net7', 'net15', 'net30']); },
|
|
6621
6622
|
'io.flow.internal.v0.enums.pending_record_type': function () { return faker_1.default.helpers.arrayElement(['verification', 'classification', 'restriction']); },
|
|
6623
|
+
'io.flow.internal.v0.enums.platform_fee_transaction_type': function () { return faker_1.default.helpers.arrayElement(['adjustment', 'reversal', 'fee']); },
|
|
6622
6624
|
'io.flow.internal.v0.enums.prateek_item_type': function () { return faker_1.default.helpers.arrayElement(['physical', 'digital']); },
|
|
6623
6625
|
'io.flow.internal.v0.enums.preferred_billing_schedule': function () { return faker_1.default.helpers.arrayElement(['monthly', 'bi-monthly']); },
|
|
6624
6626
|
'io.flow.internal.v0.enums.price_selector': function () { return faker_1.default.helpers.arrayElement(['minimum', 'maximum']); },
|
|
@@ -13530,6 +13532,18 @@ var factories = {
|
|
|
13530
13532
|
minimum_amount_base: factories.decimal(),
|
|
13531
13533
|
rate: factories.decimal(),
|
|
13532
13534
|
}); },
|
|
13535
|
+
'io.flow.internal.v0.models.platform_fee_transaction': function () { return ({
|
|
13536
|
+
discriminator: 'platform_fee_transaction',
|
|
13537
|
+
order: factories['io.flow.internal.v0.models.billing_order_transaction_order_reference'](),
|
|
13538
|
+
id: factories.string(),
|
|
13539
|
+
type: factories['io.flow.internal.v0.enums.billing_transaction_type'](),
|
|
13540
|
+
status: factories['io.flow.internal.v0.enums.billing_transaction_status'](),
|
|
13541
|
+
posted_at: factories.date_time_iso_8601(),
|
|
13542
|
+
value: factories['io.flow.common.v0.models.price'](),
|
|
13543
|
+
description: factories.string(),
|
|
13544
|
+
statement: factories['io.flow.internal.v0.models.billing_statement_reference'](),
|
|
13545
|
+
created_at: factories.date_time_iso_8601(),
|
|
13546
|
+
}); },
|
|
13533
13547
|
'io.flow.internal.v0.models.prateek_item': function () { return ({
|
|
13534
13548
|
id: factories.string(),
|
|
13535
13549
|
number: factories.string(),
|
|
@@ -14579,6 +14593,7 @@ var factories = {
|
|
|
14579
14593
|
review: factories['io.flow.internal.v0.models.restriction_item_review'](),
|
|
14580
14594
|
created_at: factories.date_time_iso_8601(),
|
|
14581
14595
|
updated_at: factories.date_time_iso_8601(),
|
|
14596
|
+
channel: factories.string(),
|
|
14582
14597
|
}); },
|
|
14583
14598
|
'io.flow.internal.v0.models.restriction_item_request_form': function () { return ({
|
|
14584
14599
|
status: factories['io.flow.internal.v0.enums.restriction_status'](),
|
|
@@ -14692,6 +14707,7 @@ var factories = {
|
|
|
14692
14707
|
updated_at: factories.date_time_iso_8601(),
|
|
14693
14708
|
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
14694
14709
|
taxonomy_data: arrayOf(function () { return factories['io.flow.product.v0.models.product_taxonomy_data'](); }),
|
|
14710
|
+
channel: factories.string(),
|
|
14695
14711
|
}); },
|
|
14696
14712
|
'io.flow.internal.v0.models.restriction_product_decision_form': function () { return ({
|
|
14697
14713
|
rule_decisions: arrayOf(function () { return factories['io.flow.internal.v0.models.restriction_rule_decision_form'](); }),
|
|
@@ -14797,7 +14813,6 @@ var factories = {
|
|
|
14797
14813
|
organization_id: factories.string(),
|
|
14798
14814
|
rule_id: factories.string(),
|
|
14799
14815
|
description: factories.string(),
|
|
14800
|
-
is_rule_exempt: factories.boolean(),
|
|
14801
14816
|
exempt_regions: arrayOf(function () { return factories.string(); }),
|
|
14802
14817
|
ignored_keywords: arrayOf(function () { return factories.string(); }),
|
|
14803
14818
|
additional_keywords: arrayOf(function () { return factories.string(); }),
|
|
@@ -17984,6 +17999,7 @@ var factories = {
|
|
|
17984
17999
|
function () { return factories['io.flow.internal.v0.models.carrier_charge_transaction'](); },
|
|
17985
18000
|
function () { return factories['io.flow.internal.v0.models.non_l4l_tax_duty_fx_transaction'](); },
|
|
17986
18001
|
function () { return factories['io.flow.internal.v0.models.ge_revenue_share_transaction'](); },
|
|
18002
|
+
function () { return factories['io.flow.internal.v0.models.platform_fee_transaction'](); },
|
|
17987
18003
|
]);
|
|
17988
18004
|
return f();
|
|
17989
18005
|
},
|
|
@@ -29001,6 +29017,10 @@ var makePlatformFeePercentage = function () { return factories['io.flow.internal
|
|
|
29001
29017
|
exports.makePlatformFeePercentage = makePlatformFeePercentage;
|
|
29002
29018
|
var makePlatformFeePercentageTier = function () { return factories['io.flow.internal.v0.models.platform_fee_percentage_tier'](); };
|
|
29003
29019
|
exports.makePlatformFeePercentageTier = makePlatformFeePercentageTier;
|
|
29020
|
+
var makePlatformFeeTransaction = function () { return factories['io.flow.internal.v0.models.platform_fee_transaction'](); };
|
|
29021
|
+
exports.makePlatformFeeTransaction = makePlatformFeeTransaction;
|
|
29022
|
+
var makePlatformFeeTransactionType = function () { return factories['io.flow.internal.v0.enums.platform_fee_transaction_type'](); };
|
|
29023
|
+
exports.makePlatformFeeTransactionType = makePlatformFeeTransactionType;
|
|
29004
29024
|
var makePrateekItem = function () { return factories['io.flow.internal.v0.models.prateek_item'](); };
|
|
29005
29025
|
exports.makePrateekItem = makePrateekItem;
|
|
29006
29026
|
var makePrateekItemForm = function () { return factories['io.flow.internal.v0.models.prateek_item_form'](); };
|
package/dist/esm/api-internal.js
CHANGED
|
@@ -5862,6 +5862,7 @@ var factories = {
|
|
|
5862
5862
|
'tax_refund',
|
|
5863
5863
|
'duty_refund',
|
|
5864
5864
|
'ge_revenue_share',
|
|
5865
|
+
'platform_fee',
|
|
5865
5866
|
'merchant_payout',
|
|
5866
5867
|
'merchant_refund',
|
|
5867
5868
|
]); },
|
|
@@ -6577,6 +6578,7 @@ var factories = {
|
|
|
6577
6578
|
'io.flow.internal.v0.enums.payment_summary_type': function () { return faker.helpers.arrayElement(['authorization', 'capture', 'refund', 'reversal', 'credit']); },
|
|
6578
6579
|
'io.flow.internal.v0.enums.payment_term': function () { return faker.helpers.arrayElement(['net7', 'net15', 'net30']); },
|
|
6579
6580
|
'io.flow.internal.v0.enums.pending_record_type': function () { return faker.helpers.arrayElement(['verification', 'classification', 'restriction']); },
|
|
6581
|
+
'io.flow.internal.v0.enums.platform_fee_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'fee']); },
|
|
6580
6582
|
'io.flow.internal.v0.enums.prateek_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
6581
6583
|
'io.flow.internal.v0.enums.preferred_billing_schedule': function () { return faker.helpers.arrayElement(['monthly', 'bi-monthly']); },
|
|
6582
6584
|
'io.flow.internal.v0.enums.price_selector': function () { return faker.helpers.arrayElement(['minimum', 'maximum']); },
|
|
@@ -13488,6 +13490,18 @@ var factories = {
|
|
|
13488
13490
|
minimum_amount_base: factories.decimal(),
|
|
13489
13491
|
rate: factories.decimal(),
|
|
13490
13492
|
}); },
|
|
13493
|
+
'io.flow.internal.v0.models.platform_fee_transaction': function () { return ({
|
|
13494
|
+
discriminator: 'platform_fee_transaction',
|
|
13495
|
+
order: factories['io.flow.internal.v0.models.billing_order_transaction_order_reference'](),
|
|
13496
|
+
id: factories.string(),
|
|
13497
|
+
type: factories['io.flow.internal.v0.enums.billing_transaction_type'](),
|
|
13498
|
+
status: factories['io.flow.internal.v0.enums.billing_transaction_status'](),
|
|
13499
|
+
posted_at: factories.date_time_iso_8601(),
|
|
13500
|
+
value: factories['io.flow.common.v0.models.price'](),
|
|
13501
|
+
description: factories.string(),
|
|
13502
|
+
statement: factories['io.flow.internal.v0.models.billing_statement_reference'](),
|
|
13503
|
+
created_at: factories.date_time_iso_8601(),
|
|
13504
|
+
}); },
|
|
13491
13505
|
'io.flow.internal.v0.models.prateek_item': function () { return ({
|
|
13492
13506
|
id: factories.string(),
|
|
13493
13507
|
number: factories.string(),
|
|
@@ -14537,6 +14551,7 @@ var factories = {
|
|
|
14537
14551
|
review: factories['io.flow.internal.v0.models.restriction_item_review'](),
|
|
14538
14552
|
created_at: factories.date_time_iso_8601(),
|
|
14539
14553
|
updated_at: factories.date_time_iso_8601(),
|
|
14554
|
+
channel: factories.string(),
|
|
14540
14555
|
}); },
|
|
14541
14556
|
'io.flow.internal.v0.models.restriction_item_request_form': function () { return ({
|
|
14542
14557
|
status: factories['io.flow.internal.v0.enums.restriction_status'](),
|
|
@@ -14650,6 +14665,7 @@ var factories = {
|
|
|
14650
14665
|
updated_at: factories.date_time_iso_8601(),
|
|
14651
14666
|
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
14652
14667
|
taxonomy_data: arrayOf(function () { return factories['io.flow.product.v0.models.product_taxonomy_data'](); }),
|
|
14668
|
+
channel: factories.string(),
|
|
14653
14669
|
}); },
|
|
14654
14670
|
'io.flow.internal.v0.models.restriction_product_decision_form': function () { return ({
|
|
14655
14671
|
rule_decisions: arrayOf(function () { return factories['io.flow.internal.v0.models.restriction_rule_decision_form'](); }),
|
|
@@ -14755,7 +14771,6 @@ var factories = {
|
|
|
14755
14771
|
organization_id: factories.string(),
|
|
14756
14772
|
rule_id: factories.string(),
|
|
14757
14773
|
description: factories.string(),
|
|
14758
|
-
is_rule_exempt: factories.boolean(),
|
|
14759
14774
|
exempt_regions: arrayOf(function () { return factories.string(); }),
|
|
14760
14775
|
ignored_keywords: arrayOf(function () { return factories.string(); }),
|
|
14761
14776
|
additional_keywords: arrayOf(function () { return factories.string(); }),
|
|
@@ -17942,6 +17957,7 @@ var factories = {
|
|
|
17942
17957
|
function () { return factories['io.flow.internal.v0.models.carrier_charge_transaction'](); },
|
|
17943
17958
|
function () { return factories['io.flow.internal.v0.models.non_l4l_tax_duty_fx_transaction'](); },
|
|
17944
17959
|
function () { return factories['io.flow.internal.v0.models.ge_revenue_share_transaction'](); },
|
|
17960
|
+
function () { return factories['io.flow.internal.v0.models.platform_fee_transaction'](); },
|
|
17945
17961
|
]);
|
|
17946
17962
|
return f();
|
|
17947
17963
|
},
|
|
@@ -27768,6 +27784,8 @@ export var makePlatformFeeFlat = function () { return factories['io.flow.interna
|
|
|
27768
27784
|
export var makePlatformFeePause = function () { return factories['io.flow.internal.v0.models.platform_fee_pause'](); };
|
|
27769
27785
|
export var makePlatformFeePercentage = function () { return factories['io.flow.internal.v0.models.platform_fee_percentage'](); };
|
|
27770
27786
|
export var makePlatformFeePercentageTier = function () { return factories['io.flow.internal.v0.models.platform_fee_percentage_tier'](); };
|
|
27787
|
+
export var makePlatformFeeTransaction = function () { return factories['io.flow.internal.v0.models.platform_fee_transaction'](); };
|
|
27788
|
+
export var makePlatformFeeTransactionType = function () { return factories['io.flow.internal.v0.enums.platform_fee_transaction_type'](); };
|
|
27771
27789
|
export var makePrateekItem = function () { return factories['io.flow.internal.v0.models.prateek_item'](); };
|
|
27772
27790
|
export var makePrateekItemForm = function () { return factories['io.flow.internal.v0.models.prateek_item_form'](); };
|
|
27773
27791
|
export var makePrateekItemType = function () { return factories['io.flow.internal.v0.enums.prateek_item_type'](); };
|
|
@@ -1190,6 +1190,8 @@ export declare const makePlatformFeeFlat: () => io.flow.internal.v0.models.Platf
|
|
|
1190
1190
|
export declare const makePlatformFeePause: () => io.flow.internal.v0.models.PlatformFeePause;
|
|
1191
1191
|
export declare const makePlatformFeePercentage: () => io.flow.internal.v0.models.PlatformFeePercentage;
|
|
1192
1192
|
export declare const makePlatformFeePercentageTier: () => io.flow.internal.v0.models.PlatformFeePercentageTier;
|
|
1193
|
+
export declare const makePlatformFeeTransaction: () => io.flow.internal.v0.models.PlatformFeeTransaction;
|
|
1194
|
+
export declare const makePlatformFeeTransactionType: () => io.flow.internal.v0.enums.PlatformFeeTransactionType;
|
|
1193
1195
|
export declare const makePrateekItem: () => io.flow.internal.v0.models.PrateekItem;
|
|
1194
1196
|
export declare const makePrateekItemForm: () => io.flow.internal.v0.models.PrateekItemForm;
|
|
1195
1197
|
export declare const makePrateekItemType: () => io.flow.internal.v0.enums.PrateekItemType;
|
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.135",
|
|
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": "5c6b5f5cb926cc945c9f4291efe22dedfde83355"
|
|
41
41
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -6882,6 +6882,7 @@ const factories = {
|
|
|
6882
6882
|
'tax_refund',
|
|
6883
6883
|
'duty_refund',
|
|
6884
6884
|
'ge_revenue_share',
|
|
6885
|
+
'platform_fee',
|
|
6885
6886
|
'merchant_payout',
|
|
6886
6887
|
'merchant_refund',
|
|
6887
6888
|
]),
|
|
@@ -7645,6 +7646,7 @@ const factories = {
|
|
|
7645
7646
|
'io.flow.internal.v0.enums.payment_summary_type': (): io.flow.internal.v0.enums.PaymentSummaryType => faker.helpers.arrayElement(['authorization', 'capture', 'refund', 'reversal', 'credit']),
|
|
7646
7647
|
'io.flow.internal.v0.enums.payment_term': (): io.flow.internal.v0.enums.PaymentTerm => faker.helpers.arrayElement(['net7', 'net15', 'net30']),
|
|
7647
7648
|
'io.flow.internal.v0.enums.pending_record_type': (): io.flow.internal.v0.enums.PendingRecordType => faker.helpers.arrayElement(['verification', 'classification', 'restriction']),
|
|
7649
|
+
'io.flow.internal.v0.enums.platform_fee_transaction_type': (): io.flow.internal.v0.enums.PlatformFeeTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'fee']),
|
|
7648
7650
|
'io.flow.internal.v0.enums.prateek_item_type': (): io.flow.internal.v0.enums.PrateekItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
7649
7651
|
'io.flow.internal.v0.enums.preferred_billing_schedule': (): io.flow.internal.v0.enums.PreferredBillingSchedule => faker.helpers.arrayElement(['monthly', 'bi-monthly']),
|
|
7650
7652
|
'io.flow.internal.v0.enums.price_selector': (): io.flow.internal.v0.enums.PriceSelector => faker.helpers.arrayElement(['minimum', 'maximum']),
|
|
@@ -15696,6 +15698,19 @@ const factories = {
|
|
|
15696
15698
|
rate: factories.decimal(),
|
|
15697
15699
|
}),
|
|
15698
15700
|
|
|
15701
|
+
'io.flow.internal.v0.models.platform_fee_transaction': (): io.flow.internal.v0.models.PlatformFeeTransaction => ({
|
|
15702
|
+
discriminator: 'platform_fee_transaction',
|
|
15703
|
+
order: factories['io.flow.internal.v0.models.billing_order_transaction_order_reference'](),
|
|
15704
|
+
id: factories.string(),
|
|
15705
|
+
type: factories['io.flow.internal.v0.enums.billing_transaction_type'](),
|
|
15706
|
+
status: factories['io.flow.internal.v0.enums.billing_transaction_status'](),
|
|
15707
|
+
posted_at: factories.date_time_iso_8601(),
|
|
15708
|
+
value: factories['io.flow.common.v0.models.price'](),
|
|
15709
|
+
description: factories.string(),
|
|
15710
|
+
statement: factories['io.flow.internal.v0.models.billing_statement_reference'](),
|
|
15711
|
+
created_at: factories.date_time_iso_8601(),
|
|
15712
|
+
}),
|
|
15713
|
+
|
|
15699
15714
|
'io.flow.internal.v0.models.prateek_item': (): io.flow.internal.v0.models.PrateekItem => ({
|
|
15700
15715
|
id: factories.string(),
|
|
15701
15716
|
number: factories.string(),
|
|
@@ -16936,6 +16951,7 @@ const factories = {
|
|
|
16936
16951
|
review: factories['io.flow.internal.v0.models.restriction_item_review'](),
|
|
16937
16952
|
created_at: factories.date_time_iso_8601(),
|
|
16938
16953
|
updated_at: factories.date_time_iso_8601(),
|
|
16954
|
+
channel: factories.string(),
|
|
16939
16955
|
}),
|
|
16940
16956
|
|
|
16941
16957
|
'io.flow.internal.v0.models.restriction_item_request_form': (): io.flow.internal.v0.models.RestrictionItemRequestForm => ({
|
|
@@ -17065,6 +17081,7 @@ const factories = {
|
|
|
17065
17081
|
updated_at: factories.date_time_iso_8601(),
|
|
17066
17082
|
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
17067
17083
|
taxonomy_data: arrayOf(() => factories['io.flow.product.v0.models.product_taxonomy_data']()),
|
|
17084
|
+
channel: factories.string(),
|
|
17068
17085
|
}),
|
|
17069
17086
|
|
|
17070
17087
|
'io.flow.internal.v0.models.restriction_product_decision_form': (): io.flow.internal.v0.models.RestrictionProductDecisionForm => ({
|
|
@@ -17197,7 +17214,6 @@ const factories = {
|
|
|
17197
17214
|
organization_id: factories.string(),
|
|
17198
17215
|
rule_id: factories.string(),
|
|
17199
17216
|
description: factories.string(),
|
|
17200
|
-
is_rule_exempt: factories.boolean(),
|
|
17201
17217
|
exempt_regions: arrayOf(() => factories.string()),
|
|
17202
17218
|
ignored_keywords: arrayOf(() => factories.string()),
|
|
17203
17219
|
additional_keywords: arrayOf(() => factories.string()),
|
|
@@ -20900,6 +20916,7 @@ const factories = {
|
|
|
20900
20916
|
() => factories['io.flow.internal.v0.models.carrier_charge_transaction'](),
|
|
20901
20917
|
() => factories['io.flow.internal.v0.models.non_l4l_tax_duty_fx_transaction'](),
|
|
20902
20918
|
() => factories['io.flow.internal.v0.models.ge_revenue_share_transaction'](),
|
|
20919
|
+
() => factories['io.flow.internal.v0.models.platform_fee_transaction'](),
|
|
20903
20920
|
]);
|
|
20904
20921
|
|
|
20905
20922
|
return f();
|
|
@@ -32288,6 +32305,8 @@ export const makePlatformFeeFlat = () => factories['io.flow.internal.v0.models.p
|
|
|
32288
32305
|
export const makePlatformFeePause = () => factories['io.flow.internal.v0.models.platform_fee_pause']();
|
|
32289
32306
|
export const makePlatformFeePercentage = () => factories['io.flow.internal.v0.models.platform_fee_percentage']();
|
|
32290
32307
|
export const makePlatformFeePercentageTier = () => factories['io.flow.internal.v0.models.platform_fee_percentage_tier']();
|
|
32308
|
+
export const makePlatformFeeTransaction = () => factories['io.flow.internal.v0.models.platform_fee_transaction']();
|
|
32309
|
+
export const makePlatformFeeTransactionType = () => factories['io.flow.internal.v0.enums.platform_fee_transaction_type']();
|
|
32291
32310
|
export const makePrateekItem = () => factories['io.flow.internal.v0.models.prateek_item']();
|
|
32292
32311
|
export const makePrateekItemForm = () => factories['io.flow.internal.v0.models.prateek_item_form']();
|
|
32293
32312
|
export const makePrateekItemType = () => factories['io.flow.internal.v0.enums.prateek_item_type']();
|