@flowio/api-internal-sdk 0.0.157 → 0.0.158
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 +87 -114
- package/dist/esm/api-internal.js +81 -108
- package/dist/types/api-internal.d.ts +48 -63
- package/package.json +2 -2
package/dist/cjs/api-internal.js
CHANGED
|
@@ -49,12 +49,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
49
49
|
return result;
|
|
50
50
|
};
|
|
51
51
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
52
|
-
exports.
|
|
53
|
-
exports.
|
|
54
|
-
exports.
|
|
55
|
-
exports.OrganizationAccountsResource = exports.OrderRevenueTimelineChartsResource = exports.OrderRevenueRegionChartsResource = exports.OrderPaymentAuthorizationsResource = exports.OrderDetailsResource = exports.OrderCombinedShipmentsResource = exports.OrderCancellationsResource = exports.OrderAddressValidationsResource = exports.OrderActionabilitiesResource = exports.OptinPromptCopiesResource = exports.OptinPromptsResource = exports.OptinAttributesResource = exports.OnboardingOrganizationsResource = exports.OnboardingAuditSnapshotsResource = exports.OnboardingAuditReportsResource = exports.NegativeDebitMetricsResource = exports.MerchantOfRecordEntitySettingsResource = exports.MerchantHubOverridesResource = exports.MerchantApplicationSummariesResource = exports.MarketsOrderSummariesResource = exports.MarketsOrdersResource = exports.MarketingGatewayLocalizedItemsResource = exports.MarketingGatewayGoogleConnectionsResource = exports.MarketingGatewayFeedSourcesResource = exports.MarketingGatewayFeedFormsResource = exports.MarketingGatewayFeedsResource = exports.MarketingGatewayFacebookConnectionDeauthsResource = exports.MarketingGatewayFacebookConnectionAccessTokenSummariesResource = exports.MarketingGatewayFacebookConnectionsResource = exports.MarketingGatewayFacebookBusinessesResource = exports.MarketingGatewayChannelSourceSummariesResource = exports.MarketingGatewayChannelsResource = exports.ManualReviewRulesResource = exports.LoyaltyProgramsResource = exports.LostChargebacksResource = exports.LogisticsPayoutRequestsResource = exports.LogisticsCapabilitiesResource = exports.LocalizedItemsExportSettingsResource = exports.LocalizedContentsResource = exports.LocalizationsResource = exports.LocalizableContentsResource = exports.LiabilityRemittancePlansResource = exports.LevyRateSummariesResource = exports.LabelTaxonomyResource = exports.LabelRequestResultsResource = exports.LabelGenerationSettingsResource = exports.LabelCreationJobsResource =
|
|
56
|
-
exports.SandboxSetupsResource = exports.RoutingEntitiesResource = exports.RestrictionRuleOverridesResource = exports.RestrictionRulesResource = exports.RestrictionProductSummariesResource = exports.RestrictionProductsResource = exports.RestrictionOrganizationDecisionSummariesResource = exports.RestrictionOrganizationsResource = exports.RestrictionItemsResource = exports.RestrictionFiltersResource = exports.RestrictionCategoriesResource = exports.RescreenRestrictionsProductsResource = exports.ReportSummaryResource = exports.ReportsResource = exports.ReboundConfigurationsResource = exports.RatesNamesSummariesResource = exports.RatecardStandardConfigurationsResource = exports.RatecardServiceFeesOverridesResource = exports.RateLevelRatecardsResource = exports.RateLevelOrganizationsResource = exports.RateLevelsResource = exports.RateAndRuleLookupsResource = exports.PublicHubsResource = exports.PspRoutingDistributionRevisionsResource = exports.ProductReviewHistoriesResource = exports.ProductClassificationsResource = exports.ProcessorMerchantsResource = exports.ProcessorAccountsResource = exports.PlatformFeeChangesResource = exports.PendingBankPaymentsResource = exports.PaymentRedirectsResource = exports.PaymentOrganizationSettingsResource = exports.PaymentMethodDetailsResource = exports.PassphrasesResource = exports.PartnerOrganizationSettingsResource = exports.PartnerOrganizationAuthorizationsResource = exports.PartnerMembershipsResource = exports.PartnerAuthorizationsResource = exports.PartnersResource = exports.OrganizationsAuditCheckReportsResource = exports.OrganizationSettingsResource = exports.OrganizationRestrictionStatusNotesResource = exports.OrganizationRestrictionStatusesResource = exports.OrganizationPaymentSettingsResource = exports.OrganizationOnboardingStateAuditResultsResource = exports.OrganizationMembershipCopiesResource = exports.OrganizationDebugTransactionsResource =
|
|
57
|
-
exports.createClient = exports.WebhooksResource = exports.ViesResultsResource = exports.V1CheckoutsResource = exports.UserStatusRulesResource = exports.UserProductListSettingsResource = exports.UserProductDetailSettingsResource = exports.UserOneTimeTokensResource = exports.UnclassifiedProductsSummariesResource = exports.UnclassifiedProductsPurgeRequestsResource = exports.TribesResource = exports.TransactionAdjustmentsResource = exports.TransactionsResource = exports.
|
|
52
|
+
exports.ClassificationActionsResource = exports.ClassificationsResource = exports.CiphersResource = exports.CheckoutSubmitOrderBundlesResource = exports.CheckoutFinalizeOrderFormsResource = exports.CheckoutContentSummariesResource = exports.CheckoutConfigurationsResource = exports.CheckoutBundlesResource = exports.ChargebacksResource = exports.ChannelOrganizationShopifyResource = exports.ChannelOrderAcceptanceDetailsResource = exports.ChannelOrderAcceptancesResource = exports.ChannelOrdersResource = exports.ChannelMembershipsResource = exports.ChannelFulfillmentsResource = exports.ChannelDebugTransactionsResource = exports.ChannelCurrencySettingsResource = exports.ChannelCurrencyPairsInternalResource = exports.ChannelBillingStatementsResource = exports.ChannelBilledTransactionPairsResource = exports.ChannelAccountsResource = exports.CenterQueryBuildersResource = exports.CenterDefaultsResource = exports.CatalogSettingsResource = exports.CarrierFilesResource = exports.CarrierAccountsResource = exports.CallRecordsResource = exports.CalculatorOrganizationSettingsResource = exports.BrowserBundlesResource = exports.BrickWebhookEventsResource = exports.BillingSandboxSetupsResource = exports.BillingOrganizationProcessingRatesResource = exports.BankPaymentStatusImportsResource = exports.BankPaymentOrdersResource = exports.BankPaymentsResource = exports.AuthorizedChargeStatusesResource = exports.AllOrganizationsMembershipsResource = exports.AlertRequeueSummariesResource = exports.AlertFailureSummariesResource = exports.AldoItemsResource = exports.AftershipWebhooksResource = exports.AddressConfigurationSettingsResource = exports.AccountPaymentHoldsResource = exports.$Resource = exports.$HttpClient = exports.stripQuery = exports.parseHeaders = exports.parseJson = exports.isResponseJson = exports.isResponseEmpty = void 0;
|
|
53
|
+
exports.GoogleShoppingSettingsResource = exports.GlobalSearchResultsResource = exports.GiftCardProgramsResource = exports.GenerateLoadsResource = exports.FtpSettingsResource = exports.FraudReviewDecisionsResource = exports.FraudReviewsResource = exports.FraudProviderConfigurationsResource = exports.FraudPendingReviewDetailsResource = exports.FraudPendingReviewsResource = exports.FlowLabelSettingsResource = exports.FlowLabProjectsResource = exports.FlowChannelOrganizationsResource = exports.FlowBillingStatementsResource = exports.FlowAccountsResource = exports.FlexeWebhooksResource = exports.FinancialReportingStatementsResource = exports.FinancialMerchantCategoriesResource = exports.FinanceBankPaymentsResource = exports.FinanceBankAccountsResource = exports.FeatureValuesResource = exports.FeaturesResource = exports.ExternalFulfillmentProofsResource = exports.ExplicitStatementsResource = exports.ErpVendorStatusesResource = exports.ErpPriorityVendorsResource = exports.ErpPriorityFilesResource = exports.ErpFlowVendorsResource = exports.ErpFlowFilesResource = exports.DutyInternalRatesResource = exports.DisputesResource = exports.DiscountCodesResource = exports.DeliveredDutyPreferencesResource = exports.DeliveredDutyOptionsResource = exports.DebugOrderTransactionsResource = exports.DebugOrdersResource = exports.CustomsDetailsResource = exports.CustomerSecretsResource = exports.CourthouseProductSummariesResource = exports.ContentSchemasResource = exports.ConsumerOptinActivitiesResource = exports.CompliancesResource = exports.CommercialInvoiceSummariesResource = exports.CommercialInvoiceComparisonsResource = exports.CliLogEntriesResource = exports.ClassificationTaxonomyResource = exports.ClassificationStatisticsResource = exports.ClassificationRequeueRequestsResource = exports.ClassificationProductSummaryPagesResource = exports.ClassificationDetailsResource = void 0;
|
|
54
|
+
exports.LabProjectSettingsResource = exports.KeysResource = exports.JeanDemoItemsResource = exports.ItemSalesMarginsResource = exports.ItemRestrictionsResource = exports.ItemHarmonizationsResource = exports.ItemClassificationSummariesResource = exports.ItemClassificationsResource = exports.ChannelTokensResource = exports.StripeEventsResource = exports.StripeDisputeEventsResource = exports.ShopifyLocalizedVariantsResource = exports.ShopifyCartConversionsResource = exports.ShopifyCartsResource = exports.KnowYourBusinessesResource = exports.ShopifyOrdersResource = exports.OrganizationSessionsResource = exports.CountriesResource = exports.ServiceFeesResource = exports.RatecardsResource = exports.QueryBuildersResource = exports.SimplePermissionChecksResource = exports.PermissionAuditsResource = exports.AuthorizationsResource = exports.MembershipsResource = exports.OnboardingStatesResource = exports.OrderManagementEventsResource = exports.UltimateBeneficiaryOwnersResource = exports.WebhookEventsResource = exports.PaypalDisputeEventsResource = exports.OrdersResource = exports.ExperiencesResource = exports.CryptoEventsResource = exports.UsersResource = exports.CheckoutReferencesResource = exports.ChannelCurrenciesResource = exports.ChannelsResource = exports.ItemsResource = exports.InvoiceWebhookResponsesResource = exports.NotificationRequestsResource = exports.AdyenDisputeEventsResource = exports.InvariantsResource = exports.InternalPaymentRequestVerificationsResource = exports.InternalPaymentRequestsResource = exports.InternalHarmonizationStatisticsResource = exports.InternalDebugTransactionsResource = exports.Hs6Resource = exports.HarmonizationUnclassifiedStatisticsResource = exports.HarmonizationThresholdsResource = exports.HarmonizationItemClassificationsResource = void 0;
|
|
55
|
+
exports.OrganizationDeactivationsResource = exports.OrganizationCurrencySettingsResource = exports.OrganizationBillingStatementsResource = exports.OrganizationAccountsResource = exports.OrderRevenueTimelineChartsResource = exports.OrderRevenueRegionChartsResource = exports.OrderPaymentAuthorizationsResource = exports.OrderDetailsResource = exports.OrderCombinedShipmentsResource = exports.OrderCancellationsResource = exports.OrderAddressValidationsResource = exports.OrderActionabilitiesResource = exports.OptinPromptCopiesResource = exports.OptinPromptsResource = exports.OptinAttributesResource = exports.OnboardingOrganizationsResource = exports.OnboardingAuditSnapshotsResource = exports.OnboardingAuditReportsResource = exports.NegativeDebitMetricsResource = exports.MerchantOfRecordEntitySettingsResource = exports.MerchantHubOverridesResource = exports.MerchantApplicationSummariesResource = exports.MarketsOrderSummariesResource = exports.MarketsOrdersResource = exports.MarketingGatewayLocalizedItemsResource = exports.MarketingGatewayGoogleConnectionsResource = exports.MarketingGatewayFeedSourcesResource = exports.MarketingGatewayFeedFormsResource = exports.MarketingGatewayFeedsResource = exports.MarketingGatewayFacebookConnectionDeauthsResource = exports.MarketingGatewayFacebookConnectionAccessTokenSummariesResource = exports.MarketingGatewayFacebookConnectionsResource = exports.MarketingGatewayFacebookBusinessesResource = exports.MarketingGatewayChannelSourceSummariesResource = exports.MarketingGatewayChannelsResource = exports.ManualReviewRulesResource = exports.LoyaltyProgramsResource = exports.LostChargebacksResource = exports.LogisticsPayoutRequestsResource = exports.LogisticsCapabilitiesResource = exports.LocalizedItemsExportSettingsResource = exports.LocalizedContentsResource = exports.LocalizationsResource = exports.LocalizableContentsResource = exports.LiabilityRemittancePlansResource = exports.LevyRateSummariesResource = exports.LabelTaxonomyResource = exports.LabelRequestResultsResource = exports.LabelGenerationSettingsResource = exports.LabelCreationJobsResource = void 0;
|
|
56
|
+
exports.SessionCountriesResource = exports.SearchProviderExportsResource = exports.ScreensResource = exports.SandboxSetupsResource = exports.RoutingEntitiesResource = exports.RestrictionRuleOverridesResource = exports.RestrictionRulesResource = exports.RestrictionProductSummariesResource = exports.RestrictionProductsResource = exports.RestrictionOrganizationDecisionSummariesResource = exports.RestrictionOrganizationsResource = exports.RestrictionItemsResource = exports.RestrictionFiltersResource = exports.RestrictionCategoriesResource = exports.RescreenRestrictionsProductsResource = exports.ReportSummaryResource = exports.ReportsResource = exports.ReboundConfigurationsResource = exports.RatesNamesSummariesResource = exports.RatecardStandardConfigurationsResource = exports.RatecardServiceFeesOverridesResource = exports.RateLevelRatecardsResource = exports.RateLevelOrganizationsResource = exports.RateLevelsResource = exports.RateAndRuleLookupsResource = exports.PublicHubsResource = exports.PspRoutingDistributionRevisionsResource = exports.ProductReviewHistoriesResource = exports.ProductClassificationsResource = exports.ProcessorMerchantsResource = exports.ProcessorAccountsResource = exports.PlatformFeeChangesResource = exports.PendingBankPaymentsResource = exports.PaymentRedirectsResource = exports.PaymentOrganizationSettingsResource = exports.PaymentMethodDetailsResource = exports.PassphrasesResource = exports.PartnerOrganizationSettingsResource = exports.PartnerOrganizationAuthorizationsResource = exports.PartnerMembershipsResource = exports.PartnerAuthorizationsResource = exports.PartnersResource = exports.OrganizationsAuditCheckReportsResource = exports.OrganizationSettingsResource = exports.OrganizationRestrictionStatusNotesResource = exports.OrganizationRestrictionStatusesResource = exports.OrganizationPaymentSettingsResource = exports.OrganizationOnboardingStateAuditResultsResource = exports.OrganizationMembershipCopiesResource = exports.OrganizationDebugTransactionsResource = void 0;
|
|
57
|
+
exports.createClient = exports.WebhooksResource = exports.ViesResultsResource = exports.V1CheckoutsResource = exports.UserStatusRulesResource = exports.UserProductListSettingsResource = exports.UserProductDetailSettingsResource = exports.UserOneTimeTokensResource = exports.UnclassifiedProductsSummariesResource = exports.UnclassifiedProductsPurgeRequestsResource = exports.TribesResource = exports.TransactionAdjustmentsResource = exports.TransactionsResource = exports.TrackingWebhooksResource = exports.TrackingResyncsResource = exports.TrackingDebugLabelsResource = exports.TestsResource = exports.TechOnboardingDescriptionsResource = exports.TaxCalculationFormsResource = exports.TasksResource = exports.TariffEligibilitiesResource = exports.StoreConnectionsResource = exports.SpotRatesResource = exports.SnoozesResource = exports.SmpTaxCalculationFormsResource = exports.ShopifyWebhookEventsResource = exports.ShopifyStoreDetailsResource = exports.ShopifyPromotionsResource = exports.ShopifyPartnerWebhooksResource = exports.ShopifyOrganizationSettingsResource = exports.ShopifyOrderFulfillmentsSnapshotsResource = exports.ShopifyOrderDetailsResource = exports.ShopifyMonitoringOrderMonitorReviewsResource = exports.ShopifyMonitoringOrderMonitorsResource = exports.ShopifyMarketsWebhookRegistrationsResource = exports.ShopifyMarketsSyncsResource = exports.ShopifyMarketsShopSummariesResource = exports.ShopifyMarketsShopsResource = exports.ShopifyMarketsQueuedRecordsResource = exports.ShopifyMarketsOrderVersionWithShopIdsResource = exports.ShopifyGrantsChecksResource = exports.ShopifyGiftCardReversalsResource = exports.ShopifyGiftCardRedemptionsResource = exports.ShopifyGiftCardBalancesResource = exports.ShopsResource = exports.ShippingLanesResource = exports.SessionRolloutsResource = exports.SessionOrderDataResource = void 0;
|
|
58
58
|
var url = __importStar(require("url"));
|
|
59
59
|
function isResponseEmpty(response) {
|
|
60
60
|
var contentLength = response.headers.get('Content-Length');
|
|
@@ -201,6 +201,22 @@ var AddressConfigurationSettingsResource = /** @class */ (function (_super) {
|
|
|
201
201
|
return AddressConfigurationSettingsResource;
|
|
202
202
|
}($Resource));
|
|
203
203
|
exports.AddressConfigurationSettingsResource = AddressConfigurationSettingsResource;
|
|
204
|
+
var AftershipWebhooksResource = /** @class */ (function (_super) {
|
|
205
|
+
__extends(AftershipWebhooksResource, _super);
|
|
206
|
+
function AftershipWebhooksResource() {
|
|
207
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
208
|
+
}
|
|
209
|
+
AftershipWebhooksResource.prototype.post = function (params) {
|
|
210
|
+
return this.client.request({
|
|
211
|
+
body: params.body,
|
|
212
|
+
endpoint: '/aftership/webhooks',
|
|
213
|
+
headers: params.headers,
|
|
214
|
+
method: 'POST',
|
|
215
|
+
});
|
|
216
|
+
};
|
|
217
|
+
return AftershipWebhooksResource;
|
|
218
|
+
}($Resource));
|
|
219
|
+
exports.AftershipWebhooksResource = AftershipWebhooksResource;
|
|
204
220
|
var AldoItemsResource = /** @class */ (function (_super) {
|
|
205
221
|
__extends(AldoItemsResource, _super);
|
|
206
222
|
function AldoItemsResource() {
|
|
@@ -1890,30 +1906,6 @@ var DeliveredDutyPreferencesResource = /** @class */ (function (_super) {
|
|
|
1890
1906
|
return DeliveredDutyPreferencesResource;
|
|
1891
1907
|
}($Resource));
|
|
1892
1908
|
exports.DeliveredDutyPreferencesResource = DeliveredDutyPreferencesResource;
|
|
1893
|
-
var DhlEcommerceWebhooksResource = /** @class */ (function (_super) {
|
|
1894
|
-
__extends(DhlEcommerceWebhooksResource, _super);
|
|
1895
|
-
function DhlEcommerceWebhooksResource() {
|
|
1896
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1897
|
-
}
|
|
1898
|
-
DhlEcommerceWebhooksResource.prototype.get = function (params) {
|
|
1899
|
-
if (params === void 0) { params = {}; }
|
|
1900
|
-
return this.client.request({
|
|
1901
|
-
endpoint: '/dhl/ecommerce/webhook',
|
|
1902
|
-
headers: params.headers,
|
|
1903
|
-
method: 'GET',
|
|
1904
|
-
});
|
|
1905
|
-
};
|
|
1906
|
-
DhlEcommerceWebhooksResource.prototype.post = function (params) {
|
|
1907
|
-
return this.client.request({
|
|
1908
|
-
body: params.body,
|
|
1909
|
-
endpoint: '/dhl/ecommerce/webhook',
|
|
1910
|
-
headers: params.headers,
|
|
1911
|
-
method: 'POST',
|
|
1912
|
-
});
|
|
1913
|
-
};
|
|
1914
|
-
return DhlEcommerceWebhooksResource;
|
|
1915
|
-
}($Resource));
|
|
1916
|
-
exports.DhlEcommerceWebhooksResource = DhlEcommerceWebhooksResource;
|
|
1917
1909
|
var DiscountCodesResource = /** @class */ (function (_super) {
|
|
1918
1910
|
__extends(DiscountCodesResource, _super);
|
|
1919
1911
|
function DiscountCodesResource() {
|
|
@@ -2483,6 +2475,30 @@ var FinancialReportingStatementsResource = /** @class */ (function (_super) {
|
|
|
2483
2475
|
return FinancialReportingStatementsResource;
|
|
2484
2476
|
}($Resource));
|
|
2485
2477
|
exports.FinancialReportingStatementsResource = FinancialReportingStatementsResource;
|
|
2478
|
+
var FlexeWebhooksResource = /** @class */ (function (_super) {
|
|
2479
|
+
__extends(FlexeWebhooksResource, _super);
|
|
2480
|
+
function FlexeWebhooksResource() {
|
|
2481
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2482
|
+
}
|
|
2483
|
+
FlexeWebhooksResource.prototype.postReceipt = function (params) {
|
|
2484
|
+
return this.client.request({
|
|
2485
|
+
body: params.body,
|
|
2486
|
+
endpoint: '/flexe/webhook/receipt',
|
|
2487
|
+
headers: params.headers,
|
|
2488
|
+
method: 'POST',
|
|
2489
|
+
});
|
|
2490
|
+
};
|
|
2491
|
+
FlexeWebhooksResource.prototype.postShipment = function (params) {
|
|
2492
|
+
return this.client.request({
|
|
2493
|
+
body: params.body,
|
|
2494
|
+
endpoint: '/flexe/webhook/shipment',
|
|
2495
|
+
headers: params.headers,
|
|
2496
|
+
method: 'POST',
|
|
2497
|
+
});
|
|
2498
|
+
};
|
|
2499
|
+
return FlexeWebhooksResource;
|
|
2500
|
+
}($Resource));
|
|
2501
|
+
exports.FlexeWebhooksResource = FlexeWebhooksResource;
|
|
2486
2502
|
var FlowAccountsResource = /** @class */ (function (_super) {
|
|
2487
2503
|
__extends(FlowAccountsResource, _super);
|
|
2488
2504
|
function FlowAccountsResource() {
|
|
@@ -3706,38 +3722,6 @@ var WebhookEventsResource = /** @class */ (function (_super) {
|
|
|
3706
3722
|
return WebhookEventsResource;
|
|
3707
3723
|
}($Resource));
|
|
3708
3724
|
exports.WebhookEventsResource = WebhookEventsResource;
|
|
3709
|
-
var ReceiptNotificationsResource = /** @class */ (function (_super) {
|
|
3710
|
-
__extends(ReceiptNotificationsResource, _super);
|
|
3711
|
-
function ReceiptNotificationsResource() {
|
|
3712
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
3713
|
-
}
|
|
3714
|
-
ReceiptNotificationsResource.prototype.post = function (params) {
|
|
3715
|
-
return this.client.request({
|
|
3716
|
-
body: params.body,
|
|
3717
|
-
endpoint: '/flexe/webhook/receipt',
|
|
3718
|
-
headers: params.headers,
|
|
3719
|
-
method: 'POST',
|
|
3720
|
-
});
|
|
3721
|
-
};
|
|
3722
|
-
return ReceiptNotificationsResource;
|
|
3723
|
-
}($Resource));
|
|
3724
|
-
exports.ReceiptNotificationsResource = ReceiptNotificationsResource;
|
|
3725
|
-
var ShipmentNotificationsResource = /** @class */ (function (_super) {
|
|
3726
|
-
__extends(ShipmentNotificationsResource, _super);
|
|
3727
|
-
function ShipmentNotificationsResource() {
|
|
3728
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
3729
|
-
}
|
|
3730
|
-
ShipmentNotificationsResource.prototype.post = function (params) {
|
|
3731
|
-
return this.client.request({
|
|
3732
|
-
body: params.body,
|
|
3733
|
-
endpoint: '/flexe/webhook/shipment',
|
|
3734
|
-
headers: params.headers,
|
|
3735
|
-
method: 'POST',
|
|
3736
|
-
});
|
|
3737
|
-
};
|
|
3738
|
-
return ShipmentNotificationsResource;
|
|
3739
|
-
}($Resource));
|
|
3740
|
-
exports.ShipmentNotificationsResource = ShipmentNotificationsResource;
|
|
3741
3725
|
var UltimateBeneficiaryOwnersResource = /** @class */ (function (_super) {
|
|
3742
3726
|
__extends(UltimateBeneficiaryOwnersResource, _super);
|
|
3743
3727
|
function UltimateBeneficiaryOwnersResource() {
|
|
@@ -4219,37 +4203,6 @@ var ChannelTokensResource = /** @class */ (function (_super) {
|
|
|
4219
4203
|
return ChannelTokensResource;
|
|
4220
4204
|
}($Resource));
|
|
4221
4205
|
exports.ChannelTokensResource = ChannelTokensResource;
|
|
4222
|
-
var LabelTrackingSummariesResource = /** @class */ (function (_super) {
|
|
4223
|
-
__extends(LabelTrackingSummariesResource, _super);
|
|
4224
|
-
function LabelTrackingSummariesResource() {
|
|
4225
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
4226
|
-
}
|
|
4227
|
-
LabelTrackingSummariesResource.prototype.getByLabelId = function (params) {
|
|
4228
|
-
return this.client.request({
|
|
4229
|
-
endpoint: "/internal/label_tracking_summary/".concat(encodeURIComponent(params.label_id)),
|
|
4230
|
-
headers: params.headers,
|
|
4231
|
-
method: 'GET',
|
|
4232
|
-
});
|
|
4233
|
-
};
|
|
4234
|
-
return LabelTrackingSummariesResource;
|
|
4235
|
-
}($Resource));
|
|
4236
|
-
exports.LabelTrackingSummariesResource = LabelTrackingSummariesResource;
|
|
4237
|
-
var TrackingsResource = /** @class */ (function (_super) {
|
|
4238
|
-
__extends(TrackingsResource, _super);
|
|
4239
|
-
function TrackingsResource() {
|
|
4240
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
4241
|
-
}
|
|
4242
|
-
TrackingsResource.prototype.post = function (params) {
|
|
4243
|
-
return this.client.request({
|
|
4244
|
-
body: params.body,
|
|
4245
|
-
endpoint: '/internal/tracking/resync/request',
|
|
4246
|
-
headers: params.headers,
|
|
4247
|
-
method: 'POST',
|
|
4248
|
-
});
|
|
4249
|
-
};
|
|
4250
|
-
return TrackingsResource;
|
|
4251
|
-
}($Resource));
|
|
4252
|
-
exports.TrackingsResource = TrackingsResource;
|
|
4253
4206
|
var ItemClassificationsResource = /** @class */ (function (_super) {
|
|
4254
4207
|
__extends(ItemClassificationsResource, _super);
|
|
4255
4208
|
function ItemClassificationsResource() {
|
|
@@ -8123,14 +8076,6 @@ var ShopifyMarketsQueuedRecordsResource = /** @class */ (function (_super) {
|
|
|
8123
8076
|
},
|
|
8124
8077
|
});
|
|
8125
8078
|
};
|
|
8126
|
-
/*Enable reviewers to ignore the queued record*/
|
|
8127
|
-
ShopifyMarketsQueuedRecordsResource.prototype.putIgnoreById = function (params) {
|
|
8128
|
-
return this.client.request({
|
|
8129
|
-
endpoint: "/internal/shopify/markets/queued/records/".concat(encodeURIComponent(params.id), "/ignore"),
|
|
8130
|
-
headers: params.headers,
|
|
8131
|
-
method: 'PUT',
|
|
8132
|
-
});
|
|
8133
|
-
};
|
|
8134
8079
|
/*Enable reviewers to re-queue the queued record for current time and do not wait until the next attempt at*/
|
|
8135
8080
|
ShopifyMarketsQueuedRecordsResource.prototype.putRequeueAndNowById = function (params) {
|
|
8136
8081
|
return this.client.request({
|
|
@@ -8881,21 +8826,51 @@ var TrackingDebugLabelsResource = /** @class */ (function (_super) {
|
|
|
8881
8826
|
return TrackingDebugLabelsResource;
|
|
8882
8827
|
}($Resource));
|
|
8883
8828
|
exports.TrackingDebugLabelsResource = TrackingDebugLabelsResource;
|
|
8884
|
-
var
|
|
8885
|
-
__extends(
|
|
8886
|
-
function
|
|
8829
|
+
var TrackingResyncsResource = /** @class */ (function (_super) {
|
|
8830
|
+
__extends(TrackingResyncsResource, _super);
|
|
8831
|
+
function TrackingResyncsResource() {
|
|
8832
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
8833
|
+
}
|
|
8834
|
+
TrackingResyncsResource.prototype.post = function (params) {
|
|
8835
|
+
return this.client.request({
|
|
8836
|
+
body: params.body,
|
|
8837
|
+
endpoint: '/internal/tracking/resync/request',
|
|
8838
|
+
headers: params.headers,
|
|
8839
|
+
method: 'POST',
|
|
8840
|
+
});
|
|
8841
|
+
};
|
|
8842
|
+
return TrackingResyncsResource;
|
|
8843
|
+
}($Resource));
|
|
8844
|
+
exports.TrackingResyncsResource = TrackingResyncsResource;
|
|
8845
|
+
var TrackingWebhooksResource = /** @class */ (function (_super) {
|
|
8846
|
+
__extends(TrackingWebhooksResource, _super);
|
|
8847
|
+
function TrackingWebhooksResource() {
|
|
8887
8848
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
8888
8849
|
}
|
|
8889
|
-
|
|
8850
|
+
TrackingWebhooksResource.prototype.get = function (params) {
|
|
8890
8851
|
return this.client.request({
|
|
8891
|
-
endpoint: "/
|
|
8852
|
+
endpoint: "/tracking/".concat(encodeURIComponent(params.carrier_id), "/webhook"),
|
|
8892
8853
|
headers: params.headers,
|
|
8893
8854
|
method: 'GET',
|
|
8855
|
+
query: {
|
|
8856
|
+
account_identifier: params.account_identifier,
|
|
8857
|
+
},
|
|
8858
|
+
});
|
|
8859
|
+
};
|
|
8860
|
+
TrackingWebhooksResource.prototype.post = function (params) {
|
|
8861
|
+
return this.client.request({
|
|
8862
|
+
body: params.body,
|
|
8863
|
+
endpoint: "/tracking/".concat(encodeURIComponent(params.carrier_id), "/webhook"),
|
|
8864
|
+
headers: params.headers,
|
|
8865
|
+
method: 'POST',
|
|
8866
|
+
query: {
|
|
8867
|
+
account_identifier: params.account_identifier,
|
|
8868
|
+
},
|
|
8894
8869
|
});
|
|
8895
8870
|
};
|
|
8896
|
-
return
|
|
8871
|
+
return TrackingWebhooksResource;
|
|
8897
8872
|
}($Resource));
|
|
8898
|
-
exports.
|
|
8873
|
+
exports.TrackingWebhooksResource = TrackingWebhooksResource;
|
|
8899
8874
|
var TransactionsResource = /** @class */ (function (_super) {
|
|
8900
8875
|
__extends(TransactionsResource, _super);
|
|
8901
8876
|
function TransactionsResource() {
|
|
@@ -9217,6 +9192,7 @@ function createClient(options) {
|
|
|
9217
9192
|
return {
|
|
9218
9193
|
accountPaymentHolds: new AccountPaymentHoldsResource(options),
|
|
9219
9194
|
addressConfigurationSettings: new AddressConfigurationSettingsResource(options),
|
|
9195
|
+
aftershipWebhooks: new AftershipWebhooksResource(options),
|
|
9220
9196
|
aldoItems: new AldoItemsResource(options),
|
|
9221
9197
|
alertFailureSummaries: new AlertFailureSummariesResource(options),
|
|
9222
9198
|
alertRequeueSummaries: new AlertRequeueSummariesResource(options),
|
|
@@ -9275,7 +9251,6 @@ function createClient(options) {
|
|
|
9275
9251
|
debugOrderTransactions: new DebugOrderTransactionsResource(options),
|
|
9276
9252
|
deliveredDutyOptions: new DeliveredDutyOptionsResource(options),
|
|
9277
9253
|
deliveredDutyPreferences: new DeliveredDutyPreferencesResource(options),
|
|
9278
|
-
dhlEcommerceWebhooks: new DhlEcommerceWebhooksResource(options),
|
|
9279
9254
|
discountCodes: new DiscountCodesResource(options),
|
|
9280
9255
|
disputes: new DisputesResource(options),
|
|
9281
9256
|
dutyInternalRates: new DutyInternalRatesResource(options),
|
|
@@ -9292,6 +9267,7 @@ function createClient(options) {
|
|
|
9292
9267
|
financeBankPayments: new FinanceBankPaymentsResource(options),
|
|
9293
9268
|
financialMerchantCategories: new FinancialMerchantCategoriesResource(options),
|
|
9294
9269
|
financialReportingStatements: new FinancialReportingStatementsResource(options),
|
|
9270
|
+
flexeWebhooks: new FlexeWebhooksResource(options),
|
|
9295
9271
|
flowAccounts: new FlowAccountsResource(options),
|
|
9296
9272
|
flowBillingStatements: new FlowBillingStatementsResource(options),
|
|
9297
9273
|
flowChannelOrganizations: new FlowChannelOrganizationsResource(options),
|
|
@@ -9329,8 +9305,6 @@ function createClient(options) {
|
|
|
9329
9305
|
orders: new OrdersResource(options),
|
|
9330
9306
|
paypalDisputeEvents: new PaypalDisputeEventsResource(options),
|
|
9331
9307
|
webhookEvents: new WebhookEventsResource(options),
|
|
9332
|
-
receiptNotifications: new ReceiptNotificationsResource(options),
|
|
9333
|
-
shipmentNotifications: new ShipmentNotificationsResource(options),
|
|
9334
9308
|
ultimateBeneficiaryOwners: new UltimateBeneficiaryOwnersResource(options),
|
|
9335
9309
|
orderManagementEvents: new OrderManagementEventsResource(options),
|
|
9336
9310
|
onboardingStates: new OnboardingStatesResource(options),
|
|
@@ -9351,8 +9325,6 @@ function createClient(options) {
|
|
|
9351
9325
|
stripeDisputeEvents: new StripeDisputeEventsResource(options),
|
|
9352
9326
|
stripeEvents: new StripeEventsResource(options),
|
|
9353
9327
|
channelTokens: new ChannelTokensResource(options),
|
|
9354
|
-
labelTrackingSummaries: new LabelTrackingSummariesResource(options),
|
|
9355
|
-
trackings: new TrackingsResource(options),
|
|
9356
9328
|
itemClassifications: new ItemClassificationsResource(options),
|
|
9357
9329
|
itemClassificationSummaries: new ItemClassificationSummariesResource(options),
|
|
9358
9330
|
itemHarmonizations: new ItemHarmonizationsResource(options),
|
|
@@ -9494,7 +9466,8 @@ function createClient(options) {
|
|
|
9494
9466
|
techOnboardingDescriptions: new TechOnboardingDescriptionsResource(options),
|
|
9495
9467
|
tests: new TestsResource(options),
|
|
9496
9468
|
trackingDebugLabels: new TrackingDebugLabelsResource(options),
|
|
9497
|
-
|
|
9469
|
+
trackingResyncs: new TrackingResyncsResource(options),
|
|
9470
|
+
trackingWebhooks: new TrackingWebhooksResource(options),
|
|
9498
9471
|
transactions: new TransactionsResource(options),
|
|
9499
9472
|
transactionAdjustments: new TransactionAdjustmentsResource(options),
|
|
9500
9473
|
tribes: new TribesResource(options),
|
package/dist/esm/api-internal.js
CHANGED
|
@@ -165,6 +165,22 @@ var AddressConfigurationSettingsResource = /** @class */ (function (_super) {
|
|
|
165
165
|
return AddressConfigurationSettingsResource;
|
|
166
166
|
}($Resource));
|
|
167
167
|
export { AddressConfigurationSettingsResource };
|
|
168
|
+
var AftershipWebhooksResource = /** @class */ (function (_super) {
|
|
169
|
+
__extends(AftershipWebhooksResource, _super);
|
|
170
|
+
function AftershipWebhooksResource() {
|
|
171
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
172
|
+
}
|
|
173
|
+
AftershipWebhooksResource.prototype.post = function (params) {
|
|
174
|
+
return this.client.request({
|
|
175
|
+
body: params.body,
|
|
176
|
+
endpoint: '/aftership/webhooks',
|
|
177
|
+
headers: params.headers,
|
|
178
|
+
method: 'POST',
|
|
179
|
+
});
|
|
180
|
+
};
|
|
181
|
+
return AftershipWebhooksResource;
|
|
182
|
+
}($Resource));
|
|
183
|
+
export { AftershipWebhooksResource };
|
|
168
184
|
var AldoItemsResource = /** @class */ (function (_super) {
|
|
169
185
|
__extends(AldoItemsResource, _super);
|
|
170
186
|
function AldoItemsResource() {
|
|
@@ -1854,30 +1870,6 @@ var DeliveredDutyPreferencesResource = /** @class */ (function (_super) {
|
|
|
1854
1870
|
return DeliveredDutyPreferencesResource;
|
|
1855
1871
|
}($Resource));
|
|
1856
1872
|
export { DeliveredDutyPreferencesResource };
|
|
1857
|
-
var DhlEcommerceWebhooksResource = /** @class */ (function (_super) {
|
|
1858
|
-
__extends(DhlEcommerceWebhooksResource, _super);
|
|
1859
|
-
function DhlEcommerceWebhooksResource() {
|
|
1860
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1861
|
-
}
|
|
1862
|
-
DhlEcommerceWebhooksResource.prototype.get = function (params) {
|
|
1863
|
-
if (params === void 0) { params = {}; }
|
|
1864
|
-
return this.client.request({
|
|
1865
|
-
endpoint: '/dhl/ecommerce/webhook',
|
|
1866
|
-
headers: params.headers,
|
|
1867
|
-
method: 'GET',
|
|
1868
|
-
});
|
|
1869
|
-
};
|
|
1870
|
-
DhlEcommerceWebhooksResource.prototype.post = function (params) {
|
|
1871
|
-
return this.client.request({
|
|
1872
|
-
body: params.body,
|
|
1873
|
-
endpoint: '/dhl/ecommerce/webhook',
|
|
1874
|
-
headers: params.headers,
|
|
1875
|
-
method: 'POST',
|
|
1876
|
-
});
|
|
1877
|
-
};
|
|
1878
|
-
return DhlEcommerceWebhooksResource;
|
|
1879
|
-
}($Resource));
|
|
1880
|
-
export { DhlEcommerceWebhooksResource };
|
|
1881
1873
|
var DiscountCodesResource = /** @class */ (function (_super) {
|
|
1882
1874
|
__extends(DiscountCodesResource, _super);
|
|
1883
1875
|
function DiscountCodesResource() {
|
|
@@ -2447,6 +2439,30 @@ var FinancialReportingStatementsResource = /** @class */ (function (_super) {
|
|
|
2447
2439
|
return FinancialReportingStatementsResource;
|
|
2448
2440
|
}($Resource));
|
|
2449
2441
|
export { FinancialReportingStatementsResource };
|
|
2442
|
+
var FlexeWebhooksResource = /** @class */ (function (_super) {
|
|
2443
|
+
__extends(FlexeWebhooksResource, _super);
|
|
2444
|
+
function FlexeWebhooksResource() {
|
|
2445
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2446
|
+
}
|
|
2447
|
+
FlexeWebhooksResource.prototype.postReceipt = function (params) {
|
|
2448
|
+
return this.client.request({
|
|
2449
|
+
body: params.body,
|
|
2450
|
+
endpoint: '/flexe/webhook/receipt',
|
|
2451
|
+
headers: params.headers,
|
|
2452
|
+
method: 'POST',
|
|
2453
|
+
});
|
|
2454
|
+
};
|
|
2455
|
+
FlexeWebhooksResource.prototype.postShipment = function (params) {
|
|
2456
|
+
return this.client.request({
|
|
2457
|
+
body: params.body,
|
|
2458
|
+
endpoint: '/flexe/webhook/shipment',
|
|
2459
|
+
headers: params.headers,
|
|
2460
|
+
method: 'POST',
|
|
2461
|
+
});
|
|
2462
|
+
};
|
|
2463
|
+
return FlexeWebhooksResource;
|
|
2464
|
+
}($Resource));
|
|
2465
|
+
export { FlexeWebhooksResource };
|
|
2450
2466
|
var FlowAccountsResource = /** @class */ (function (_super) {
|
|
2451
2467
|
__extends(FlowAccountsResource, _super);
|
|
2452
2468
|
function FlowAccountsResource() {
|
|
@@ -3670,38 +3686,6 @@ var WebhookEventsResource = /** @class */ (function (_super) {
|
|
|
3670
3686
|
return WebhookEventsResource;
|
|
3671
3687
|
}($Resource));
|
|
3672
3688
|
export { WebhookEventsResource };
|
|
3673
|
-
var ReceiptNotificationsResource = /** @class */ (function (_super) {
|
|
3674
|
-
__extends(ReceiptNotificationsResource, _super);
|
|
3675
|
-
function ReceiptNotificationsResource() {
|
|
3676
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
3677
|
-
}
|
|
3678
|
-
ReceiptNotificationsResource.prototype.post = function (params) {
|
|
3679
|
-
return this.client.request({
|
|
3680
|
-
body: params.body,
|
|
3681
|
-
endpoint: '/flexe/webhook/receipt',
|
|
3682
|
-
headers: params.headers,
|
|
3683
|
-
method: 'POST',
|
|
3684
|
-
});
|
|
3685
|
-
};
|
|
3686
|
-
return ReceiptNotificationsResource;
|
|
3687
|
-
}($Resource));
|
|
3688
|
-
export { ReceiptNotificationsResource };
|
|
3689
|
-
var ShipmentNotificationsResource = /** @class */ (function (_super) {
|
|
3690
|
-
__extends(ShipmentNotificationsResource, _super);
|
|
3691
|
-
function ShipmentNotificationsResource() {
|
|
3692
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
3693
|
-
}
|
|
3694
|
-
ShipmentNotificationsResource.prototype.post = function (params) {
|
|
3695
|
-
return this.client.request({
|
|
3696
|
-
body: params.body,
|
|
3697
|
-
endpoint: '/flexe/webhook/shipment',
|
|
3698
|
-
headers: params.headers,
|
|
3699
|
-
method: 'POST',
|
|
3700
|
-
});
|
|
3701
|
-
};
|
|
3702
|
-
return ShipmentNotificationsResource;
|
|
3703
|
-
}($Resource));
|
|
3704
|
-
export { ShipmentNotificationsResource };
|
|
3705
3689
|
var UltimateBeneficiaryOwnersResource = /** @class */ (function (_super) {
|
|
3706
3690
|
__extends(UltimateBeneficiaryOwnersResource, _super);
|
|
3707
3691
|
function UltimateBeneficiaryOwnersResource() {
|
|
@@ -4183,37 +4167,6 @@ var ChannelTokensResource = /** @class */ (function (_super) {
|
|
|
4183
4167
|
return ChannelTokensResource;
|
|
4184
4168
|
}($Resource));
|
|
4185
4169
|
export { ChannelTokensResource };
|
|
4186
|
-
var LabelTrackingSummariesResource = /** @class */ (function (_super) {
|
|
4187
|
-
__extends(LabelTrackingSummariesResource, _super);
|
|
4188
|
-
function LabelTrackingSummariesResource() {
|
|
4189
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
4190
|
-
}
|
|
4191
|
-
LabelTrackingSummariesResource.prototype.getByLabelId = function (params) {
|
|
4192
|
-
return this.client.request({
|
|
4193
|
-
endpoint: "/internal/label_tracking_summary/".concat(encodeURIComponent(params.label_id)),
|
|
4194
|
-
headers: params.headers,
|
|
4195
|
-
method: 'GET',
|
|
4196
|
-
});
|
|
4197
|
-
};
|
|
4198
|
-
return LabelTrackingSummariesResource;
|
|
4199
|
-
}($Resource));
|
|
4200
|
-
export { LabelTrackingSummariesResource };
|
|
4201
|
-
var TrackingsResource = /** @class */ (function (_super) {
|
|
4202
|
-
__extends(TrackingsResource, _super);
|
|
4203
|
-
function TrackingsResource() {
|
|
4204
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
4205
|
-
}
|
|
4206
|
-
TrackingsResource.prototype.post = function (params) {
|
|
4207
|
-
return this.client.request({
|
|
4208
|
-
body: params.body,
|
|
4209
|
-
endpoint: '/internal/tracking/resync/request',
|
|
4210
|
-
headers: params.headers,
|
|
4211
|
-
method: 'POST',
|
|
4212
|
-
});
|
|
4213
|
-
};
|
|
4214
|
-
return TrackingsResource;
|
|
4215
|
-
}($Resource));
|
|
4216
|
-
export { TrackingsResource };
|
|
4217
4170
|
var ItemClassificationsResource = /** @class */ (function (_super) {
|
|
4218
4171
|
__extends(ItemClassificationsResource, _super);
|
|
4219
4172
|
function ItemClassificationsResource() {
|
|
@@ -8087,14 +8040,6 @@ var ShopifyMarketsQueuedRecordsResource = /** @class */ (function (_super) {
|
|
|
8087
8040
|
},
|
|
8088
8041
|
});
|
|
8089
8042
|
};
|
|
8090
|
-
/*Enable reviewers to ignore the queued record*/
|
|
8091
|
-
ShopifyMarketsQueuedRecordsResource.prototype.putIgnoreById = function (params) {
|
|
8092
|
-
return this.client.request({
|
|
8093
|
-
endpoint: "/internal/shopify/markets/queued/records/".concat(encodeURIComponent(params.id), "/ignore"),
|
|
8094
|
-
headers: params.headers,
|
|
8095
|
-
method: 'PUT',
|
|
8096
|
-
});
|
|
8097
|
-
};
|
|
8098
8043
|
/*Enable reviewers to re-queue the queued record for current time and do not wait until the next attempt at*/
|
|
8099
8044
|
ShopifyMarketsQueuedRecordsResource.prototype.putRequeueAndNowById = function (params) {
|
|
8100
8045
|
return this.client.request({
|
|
@@ -8845,21 +8790,51 @@ var TrackingDebugLabelsResource = /** @class */ (function (_super) {
|
|
|
8845
8790
|
return TrackingDebugLabelsResource;
|
|
8846
8791
|
}($Resource));
|
|
8847
8792
|
export { TrackingDebugLabelsResource };
|
|
8848
|
-
var
|
|
8849
|
-
__extends(
|
|
8850
|
-
function
|
|
8793
|
+
var TrackingResyncsResource = /** @class */ (function (_super) {
|
|
8794
|
+
__extends(TrackingResyncsResource, _super);
|
|
8795
|
+
function TrackingResyncsResource() {
|
|
8796
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
8797
|
+
}
|
|
8798
|
+
TrackingResyncsResource.prototype.post = function (params) {
|
|
8799
|
+
return this.client.request({
|
|
8800
|
+
body: params.body,
|
|
8801
|
+
endpoint: '/internal/tracking/resync/request',
|
|
8802
|
+
headers: params.headers,
|
|
8803
|
+
method: 'POST',
|
|
8804
|
+
});
|
|
8805
|
+
};
|
|
8806
|
+
return TrackingResyncsResource;
|
|
8807
|
+
}($Resource));
|
|
8808
|
+
export { TrackingResyncsResource };
|
|
8809
|
+
var TrackingWebhooksResource = /** @class */ (function (_super) {
|
|
8810
|
+
__extends(TrackingWebhooksResource, _super);
|
|
8811
|
+
function TrackingWebhooksResource() {
|
|
8851
8812
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
8852
8813
|
}
|
|
8853
|
-
|
|
8814
|
+
TrackingWebhooksResource.prototype.get = function (params) {
|
|
8854
8815
|
return this.client.request({
|
|
8855
|
-
endpoint: "/
|
|
8816
|
+
endpoint: "/tracking/".concat(encodeURIComponent(params.carrier_id), "/webhook"),
|
|
8856
8817
|
headers: params.headers,
|
|
8857
8818
|
method: 'GET',
|
|
8819
|
+
query: {
|
|
8820
|
+
account_identifier: params.account_identifier,
|
|
8821
|
+
},
|
|
8822
|
+
});
|
|
8823
|
+
};
|
|
8824
|
+
TrackingWebhooksResource.prototype.post = function (params) {
|
|
8825
|
+
return this.client.request({
|
|
8826
|
+
body: params.body,
|
|
8827
|
+
endpoint: "/tracking/".concat(encodeURIComponent(params.carrier_id), "/webhook"),
|
|
8828
|
+
headers: params.headers,
|
|
8829
|
+
method: 'POST',
|
|
8830
|
+
query: {
|
|
8831
|
+
account_identifier: params.account_identifier,
|
|
8832
|
+
},
|
|
8858
8833
|
});
|
|
8859
8834
|
};
|
|
8860
|
-
return
|
|
8835
|
+
return TrackingWebhooksResource;
|
|
8861
8836
|
}($Resource));
|
|
8862
|
-
export {
|
|
8837
|
+
export { TrackingWebhooksResource };
|
|
8863
8838
|
var TransactionsResource = /** @class */ (function (_super) {
|
|
8864
8839
|
__extends(TransactionsResource, _super);
|
|
8865
8840
|
function TransactionsResource() {
|
|
@@ -9181,6 +9156,7 @@ export function createClient(options) {
|
|
|
9181
9156
|
return {
|
|
9182
9157
|
accountPaymentHolds: new AccountPaymentHoldsResource(options),
|
|
9183
9158
|
addressConfigurationSettings: new AddressConfigurationSettingsResource(options),
|
|
9159
|
+
aftershipWebhooks: new AftershipWebhooksResource(options),
|
|
9184
9160
|
aldoItems: new AldoItemsResource(options),
|
|
9185
9161
|
alertFailureSummaries: new AlertFailureSummariesResource(options),
|
|
9186
9162
|
alertRequeueSummaries: new AlertRequeueSummariesResource(options),
|
|
@@ -9239,7 +9215,6 @@ export function createClient(options) {
|
|
|
9239
9215
|
debugOrderTransactions: new DebugOrderTransactionsResource(options),
|
|
9240
9216
|
deliveredDutyOptions: new DeliveredDutyOptionsResource(options),
|
|
9241
9217
|
deliveredDutyPreferences: new DeliveredDutyPreferencesResource(options),
|
|
9242
|
-
dhlEcommerceWebhooks: new DhlEcommerceWebhooksResource(options),
|
|
9243
9218
|
discountCodes: new DiscountCodesResource(options),
|
|
9244
9219
|
disputes: new DisputesResource(options),
|
|
9245
9220
|
dutyInternalRates: new DutyInternalRatesResource(options),
|
|
@@ -9256,6 +9231,7 @@ export function createClient(options) {
|
|
|
9256
9231
|
financeBankPayments: new FinanceBankPaymentsResource(options),
|
|
9257
9232
|
financialMerchantCategories: new FinancialMerchantCategoriesResource(options),
|
|
9258
9233
|
financialReportingStatements: new FinancialReportingStatementsResource(options),
|
|
9234
|
+
flexeWebhooks: new FlexeWebhooksResource(options),
|
|
9259
9235
|
flowAccounts: new FlowAccountsResource(options),
|
|
9260
9236
|
flowBillingStatements: new FlowBillingStatementsResource(options),
|
|
9261
9237
|
flowChannelOrganizations: new FlowChannelOrganizationsResource(options),
|
|
@@ -9293,8 +9269,6 @@ export function createClient(options) {
|
|
|
9293
9269
|
orders: new OrdersResource(options),
|
|
9294
9270
|
paypalDisputeEvents: new PaypalDisputeEventsResource(options),
|
|
9295
9271
|
webhookEvents: new WebhookEventsResource(options),
|
|
9296
|
-
receiptNotifications: new ReceiptNotificationsResource(options),
|
|
9297
|
-
shipmentNotifications: new ShipmentNotificationsResource(options),
|
|
9298
9272
|
ultimateBeneficiaryOwners: new UltimateBeneficiaryOwnersResource(options),
|
|
9299
9273
|
orderManagementEvents: new OrderManagementEventsResource(options),
|
|
9300
9274
|
onboardingStates: new OnboardingStatesResource(options),
|
|
@@ -9315,8 +9289,6 @@ export function createClient(options) {
|
|
|
9315
9289
|
stripeDisputeEvents: new StripeDisputeEventsResource(options),
|
|
9316
9290
|
stripeEvents: new StripeEventsResource(options),
|
|
9317
9291
|
channelTokens: new ChannelTokensResource(options),
|
|
9318
|
-
labelTrackingSummaries: new LabelTrackingSummariesResource(options),
|
|
9319
|
-
trackings: new TrackingsResource(options),
|
|
9320
9292
|
itemClassifications: new ItemClassificationsResource(options),
|
|
9321
9293
|
itemClassificationSummaries: new ItemClassificationSummariesResource(options),
|
|
9322
9294
|
itemHarmonizations: new ItemHarmonizationsResource(options),
|
|
@@ -9458,7 +9430,8 @@ export function createClient(options) {
|
|
|
9458
9430
|
techOnboardingDescriptions: new TechOnboardingDescriptionsResource(options),
|
|
9459
9431
|
tests: new TestsResource(options),
|
|
9460
9432
|
trackingDebugLabels: new TrackingDebugLabelsResource(options),
|
|
9461
|
-
|
|
9433
|
+
trackingResyncs: new TrackingResyncsResource(options),
|
|
9434
|
+
trackingWebhooks: new TrackingWebhooksResource(options),
|
|
9462
9435
|
transactions: new TransactionsResource(options),
|
|
9463
9436
|
transactionAdjustments: new TransactionAdjustmentsResource(options),
|
|
9464
9437
|
tribes: new TribesResource(options),
|
|
@@ -144,6 +144,10 @@ export interface AddressConfigurationSettingsPutParameters {
|
|
|
144
144
|
headers?: $HttpHeaders;
|
|
145
145
|
organization: string;
|
|
146
146
|
}
|
|
147
|
+
export interface AftershipWebhooksPostParameters {
|
|
148
|
+
body: any;
|
|
149
|
+
headers?: $HttpHeaders;
|
|
150
|
+
}
|
|
147
151
|
export interface AldoItemsPostParameters {
|
|
148
152
|
body: io.flow.internal.v0.models.AldoItemForm;
|
|
149
153
|
headers?: $HttpHeaders;
|
|
@@ -889,13 +893,6 @@ export interface DeliveredDutyPreferencesPutParameters {
|
|
|
889
893
|
organization: string;
|
|
890
894
|
key: string;
|
|
891
895
|
}
|
|
892
|
-
export interface DhlEcommerceWebhooksGetParameters {
|
|
893
|
-
headers?: $HttpHeaders;
|
|
894
|
-
}
|
|
895
|
-
export interface DhlEcommerceWebhooksPostParameters {
|
|
896
|
-
body: any;
|
|
897
|
-
headers?: $HttpHeaders;
|
|
898
|
-
}
|
|
899
896
|
export interface DiscountCodesPutParameters {
|
|
900
897
|
body: io.flow.internal.v0.models.DiscountCode;
|
|
901
898
|
headers?: $HttpHeaders;
|
|
@@ -1186,6 +1183,14 @@ export interface FinancialReportingStatementsPostByStatementNumberParameters {
|
|
|
1186
1183
|
headers?: $HttpHeaders;
|
|
1187
1184
|
statement_number: string;
|
|
1188
1185
|
}
|
|
1186
|
+
export interface FlexeWebhooksPostReceiptParameters {
|
|
1187
|
+
body: any;
|
|
1188
|
+
headers?: $HttpHeaders;
|
|
1189
|
+
}
|
|
1190
|
+
export interface FlexeWebhooksPostShipmentParameters {
|
|
1191
|
+
body: any;
|
|
1192
|
+
headers?: $HttpHeaders;
|
|
1193
|
+
}
|
|
1189
1194
|
export interface FlowAccountsGetParameters {
|
|
1190
1195
|
headers?: $HttpHeaders;
|
|
1191
1196
|
source_type: string;
|
|
@@ -1764,14 +1769,6 @@ export interface WebhookEventsPostPaymentAndCallbacksAndPaypalParameters {
|
|
|
1764
1769
|
body: any;
|
|
1765
1770
|
headers?: $HttpHeaders;
|
|
1766
1771
|
}
|
|
1767
|
-
export interface ReceiptNotificationsPostParameters {
|
|
1768
|
-
body: any;
|
|
1769
|
-
headers?: $HttpHeaders;
|
|
1770
|
-
}
|
|
1771
|
-
export interface ShipmentNotificationsPostParameters {
|
|
1772
|
-
body: any;
|
|
1773
|
-
headers?: $HttpHeaders;
|
|
1774
|
-
}
|
|
1775
1772
|
export interface UltimateBeneficiaryOwnersPutParameters {
|
|
1776
1773
|
body: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
|
|
1777
1774
|
headers?: $HttpHeaders;
|
|
@@ -1962,14 +1959,6 @@ export interface ChannelTokensPostParameters {
|
|
|
1962
1959
|
body: io.flow.token.v0.models.ChannelTokenForm;
|
|
1963
1960
|
headers?: $HttpHeaders;
|
|
1964
1961
|
}
|
|
1965
|
-
export interface LabelTrackingSummariesGetByLabelIdParameters {
|
|
1966
|
-
headers?: $HttpHeaders;
|
|
1967
|
-
label_id: string;
|
|
1968
|
-
}
|
|
1969
|
-
export interface TrackingsPostParameters {
|
|
1970
|
-
body: any;
|
|
1971
|
-
headers?: $HttpHeaders;
|
|
1972
|
-
}
|
|
1973
1962
|
export interface ItemClassificationsPostPredictParameters {
|
|
1974
1963
|
body: io.flow.internal.v0.models.ItemClassificationForm[];
|
|
1975
1964
|
headers?: $HttpHeaders;
|
|
@@ -3798,10 +3787,6 @@ export interface ShopifyMarketsQueuedRecordsGetParameters {
|
|
|
3798
3787
|
offset?: number;
|
|
3799
3788
|
sort?: string;
|
|
3800
3789
|
}
|
|
3801
|
-
export interface ShopifyMarketsQueuedRecordsPutIgnoreByIdParameters {
|
|
3802
|
-
headers?: $HttpHeaders;
|
|
3803
|
-
id: string;
|
|
3804
|
-
}
|
|
3805
3790
|
export interface ShopifyMarketsQueuedRecordsPutRequeueAndNowByIdParameters {
|
|
3806
3791
|
headers?: $HttpHeaders;
|
|
3807
3792
|
id: string;
|
|
@@ -4138,10 +4123,20 @@ export interface TrackingDebugLabelsPostForceAndTransitByLabelIdParameters {
|
|
|
4138
4123
|
headers?: $HttpHeaders;
|
|
4139
4124
|
label_id: string;
|
|
4140
4125
|
}
|
|
4141
|
-
export interface
|
|
4126
|
+
export interface TrackingResyncsPostParameters {
|
|
4127
|
+
body: any;
|
|
4128
|
+
headers?: $HttpHeaders;
|
|
4129
|
+
}
|
|
4130
|
+
export interface TrackingWebhooksGetParameters {
|
|
4131
|
+
headers?: $HttpHeaders;
|
|
4132
|
+
carrier_id: string;
|
|
4133
|
+
account_identifier?: string;
|
|
4134
|
+
}
|
|
4135
|
+
export interface TrackingWebhooksPostParameters {
|
|
4136
|
+
body: any;
|
|
4142
4137
|
headers?: $HttpHeaders;
|
|
4143
|
-
|
|
4144
|
-
|
|
4138
|
+
carrier_id: string;
|
|
4139
|
+
account_identifier?: string;
|
|
4145
4140
|
}
|
|
4146
4141
|
export interface TransactionsGetOrdersByOrderNumberParameters {
|
|
4147
4142
|
headers?: $HttpHeaders;
|
|
@@ -4268,6 +4263,7 @@ export declare type AccountPaymentHoldsGetByIdResponse = $HttpOk<io.flow.interna
|
|
|
4268
4263
|
export declare type AccountPaymentHoldsDeleteByIdResponse = $HttpNoContent<undefined> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined>;
|
|
4269
4264
|
export declare type AddressConfigurationSettingsGetResponse = $HttpOk<io.flow.internal.v0.models.AddressConfigurationSetting> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined>;
|
|
4270
4265
|
export declare type AddressConfigurationSettingsPutResponse = $HttpOk<io.flow.internal.v0.models.AddressConfigurationSetting> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4266
|
+
export declare type AftershipWebhooksPostResponse = $HttpOk<undefined> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4271
4267
|
export declare type AldoItemsPostResponse = $HttpCreated<io.flow.internal.v0.models.AldoItem> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4272
4268
|
export declare type AldoItemsGetByIdResponse = $HttpOk<io.flow.internal.v0.models.AldoItem> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined>;
|
|
4273
4269
|
export declare type AldoItemsPutByIdResponse = $HttpOk<io.flow.internal.v0.models.AldoItem> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
@@ -4396,8 +4392,6 @@ export declare type DebugOrderTransactionsPostResponse = $HttpCreated<io.flow.in
|
|
|
4396
4392
|
export declare type DeliveredDutyOptionsGetOptionsAndV2Response = $HttpOk<io.flow.internal.v0.models.DeliveredDutyOptions> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined>;
|
|
4397
4393
|
export declare type DeliveredDutyPreferencesGetResponse = $HttpOk<io.flow.internal.v0.models.DeliveredDutyPreference> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined>;
|
|
4398
4394
|
export declare type DeliveredDutyPreferencesPutResponse = $HttpOk<io.flow.internal.v0.models.DeliveredDutyPreference> | $HttpCreated<io.flow.internal.v0.models.DeliveredDutyPreference> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4399
|
-
export declare type DhlEcommerceWebhooksGetResponse = $HttpOk<string> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4400
|
-
export declare type DhlEcommerceWebhooksPostResponse = $HttpOk<string> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4401
4395
|
export declare type DiscountCodesPutResponse = $HttpOk<io.flow.experience.v0.models.OrderBuilder> | $HttpCreated<io.flow.experience.v0.models.OrderBuilder> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4402
4396
|
export declare type DiscountCodesDeleteByCodeResponse = $HttpOk<io.flow.experience.v0.models.OrderBuilder> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined>;
|
|
4403
4397
|
export declare type DisputesGetResponse = $HttpOk<io.flow.internal.v0.models.Dispute[]> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
@@ -4443,6 +4437,8 @@ export declare type FinanceBankPaymentsGetResponse = $HttpOk<io.flow.internal.v0
|
|
|
4443
4437
|
export declare type FinancialMerchantCategoriesGetResponse = $HttpOk<io.flow.internal.v0.models.FinancialMerchantCategory[]> | $HttpUnauthorized<undefined>;
|
|
4444
4438
|
export declare type FinancialReportingStatementsGetByStatementNumberResponse = $HttpOk<io.flow.internal.v0.models.FinancialReportingStatement> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4445
4439
|
export declare type FinancialReportingStatementsPostByStatementNumberResponse = $HttpOk<io.flow.internal.v0.models.FinancialReportingStatement> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4440
|
+
export declare type FlexeWebhooksPostReceiptResponse = $HttpOk<undefined>;
|
|
4441
|
+
export declare type FlexeWebhooksPostShipmentResponse = $HttpOk<undefined>;
|
|
4446
4442
|
export declare type FlowAccountsGetResponse = $HttpOk<io.flow.internal.v0.models.FlowAccount[]> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4447
4443
|
export declare type FlowAccountsGetByKeyResponse = $HttpOk<io.flow.internal.v0.models.FlowAccount> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4448
4444
|
export declare type FlowAccountsDeleteByKeyResponse = $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError> | $HttpConflict<io.flow.error.v0.models.GenericError> | $HttpNoContent<undefined> | $HttpUnauthorized<undefined>;
|
|
@@ -4538,8 +4534,6 @@ export declare type OrdersPutSubmissionsAndCheckByNumberResponse = $HttpOk<io.fl
|
|
|
4538
4534
|
export declare type PaypalDisputeEventsPostResponse = $HttpCreated<any> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4539
4535
|
export declare type WebhookEventsPostDisputeAndNotificationsAndPaypalResponse = $HttpOk<undefined> | $HttpCreated<undefined>;
|
|
4540
4536
|
export declare type WebhookEventsPostPaymentAndCallbacksAndPaypalResponse = $HttpOk<any>;
|
|
4541
|
-
export declare type ReceiptNotificationsPostResponse = $HttpOk<undefined>;
|
|
4542
|
-
export declare type ShipmentNotificationsPostResponse = $HttpOk<undefined>;
|
|
4543
4537
|
export declare type UltimateBeneficiaryOwnersPutResponse = $HttpOk<io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplication> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4544
4538
|
export declare type OrderManagementEventsPostReplayByOrderLifecycleEventResponse = $HttpOk<io.flow.order.management.event.v0.unions.OrderManagementEvent> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4545
4539
|
export declare type OnboardingStatesPutInternalAndOnboardingAndStateByOrganizationResponse = $HttpCreated<io.flow.organization.onboarding.state.v0.models.OrganizationOnboardingState> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
@@ -4577,8 +4571,6 @@ export declare type ShopifyLocalizedVariantsGetExperienceAndMapByExperienceKeyRe
|
|
|
4577
4571
|
export declare type StripeDisputeEventsPostResponse = $HttpCreated<any> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4578
4572
|
export declare type StripeEventsPostStripeResponse = $HttpOk<any>;
|
|
4579
4573
|
export declare type ChannelTokensPostResponse = $HttpCreated<io.flow.token.v0.models.ChannelToken> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4580
|
-
export declare type LabelTrackingSummariesGetByLabelIdResponse = $HttpOk<io.flow.tracking.v0.models.LabelTrackingSummary> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined>;
|
|
4581
|
-
export declare type TrackingsPostResponse = $HttpOk<undefined> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4582
4574
|
export declare type ItemClassificationsPostPredictResponse = $HttpOk<io.flow.internal.v0.models.ItemClassification[]> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4583
4575
|
export declare type ItemClassificationsPostV2AndPredictResponse = $HttpOk<io.flow.internal.v0.models.ItemClassificationV2[]> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4584
4576
|
export declare type ItemClassificationSummariesGetResponse = $HttpOk<io.flow.internal.v0.models.ItemClassificationSummary[]> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
@@ -4884,7 +4876,6 @@ export declare type ShopifyGiftCardReversalsPostResponse = $HttpCreated<io.flow.
|
|
|
4884
4876
|
export declare type ShopifyGrantsChecksGetCheckHtmlResponse = $HttpOk<string> | $HttpUnauthorized<undefined>;
|
|
4885
4877
|
export declare type ShopifyMarketsOrderVersionWithShopIdsGetVersionsByNumberResponse = $HttpOk<io.flow.internal.v0.models.ShopifyMarketsOrderVersionWithShopId[]> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined>;
|
|
4886
4878
|
export declare type ShopifyMarketsQueuedRecordsGetResponse = $HttpOk<io.flow.internal.v0.models.ShopifyMarketsQueuedRecord[]> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4887
|
-
export declare type ShopifyMarketsQueuedRecordsPutIgnoreByIdResponse = $HttpOk<io.flow.internal.v0.models.ShopifyMarketsQueuedRecord> | $HttpCreated<io.flow.internal.v0.models.ShopifyMarketsQueuedRecord> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4888
4879
|
export declare type ShopifyMarketsQueuedRecordsPutRequeueAndNowByIdResponse = $HttpOk<io.flow.internal.v0.models.ShopifyMarketsQueuedRecord> | $HttpCreated<io.flow.internal.v0.models.ShopifyMarketsQueuedRecord> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4889
4880
|
export declare type ShopifyMarketsShopsGetResponse = $HttpOk<io.flow.internal.v0.models.ShopifyMarketsShop[]> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4890
4881
|
export declare type ShopifyMarketsShopsGetByOrganizationResponse = $HttpOk<io.flow.internal.v0.models.ShopifyMarketsShop> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
@@ -4945,7 +4936,9 @@ export declare type TestsPutByIdResponse = $HttpOk<io.flow.internal.v0.models.Te
|
|
|
4945
4936
|
export declare type TestsDeleteByIdResponse = $HttpNoContent<undefined> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined>;
|
|
4946
4937
|
export declare type TrackingDebugLabelsGetByLabelIdResponse = $HttpOk<io.flow.internal.v0.models.TrackingDebugLabel> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined>;
|
|
4947
4938
|
export declare type TrackingDebugLabelsPostForceAndTransitByLabelIdResponse = $HttpOk<io.flow.tracking.v0.models.TrackingEvent> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4948
|
-
export declare type
|
|
4939
|
+
export declare type TrackingResyncsPostResponse = $HttpOk<undefined> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4940
|
+
export declare type TrackingWebhooksGetResponse = $HttpOk<any> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4941
|
+
export declare type TrackingWebhooksPostResponse = $HttpOk<any> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4949
4942
|
export declare type TransactionsGetOrdersByOrderNumberResponse = $HttpOk<io.flow.internal.v0.unions.Transaction[]> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4950
4943
|
export declare type TransactionAdjustmentsPostResponse = $HttpOk<io.flow.internal.v0.models.TransactionAdjustment> | $HttpCreated<io.flow.internal.v0.models.TransactionAdjustment> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4951
4944
|
export declare type TransactionAdjustmentsGetByIdResponse = $HttpOk<io.flow.internal.v0.models.TransactionAdjustment> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined>;
|
|
@@ -4982,6 +4975,9 @@ export declare class AddressConfigurationSettingsResource extends $Resource {
|
|
|
4982
4975
|
get(params: AddressConfigurationSettingsGetParameters): Promise<AddressConfigurationSettingsGetResponse>;
|
|
4983
4976
|
put(params: AddressConfigurationSettingsPutParameters): Promise<AddressConfigurationSettingsPutResponse>;
|
|
4984
4977
|
}
|
|
4978
|
+
export declare class AftershipWebhooksResource extends $Resource {
|
|
4979
|
+
post(params: AftershipWebhooksPostParameters): Promise<AftershipWebhooksPostResponse>;
|
|
4980
|
+
}
|
|
4985
4981
|
export declare class AldoItemsResource extends $Resource {
|
|
4986
4982
|
post(params: AldoItemsPostParameters): Promise<AldoItemsPostResponse>;
|
|
4987
4983
|
getById(params: AldoItemsGetByIdParameters): Promise<AldoItemsGetByIdResponse>;
|
|
@@ -5226,10 +5222,6 @@ export declare class DeliveredDutyPreferencesResource extends $Resource {
|
|
|
5226
5222
|
get(params: DeliveredDutyPreferencesGetParameters): Promise<DeliveredDutyPreferencesGetResponse>;
|
|
5227
5223
|
put(params: DeliveredDutyPreferencesPutParameters): Promise<DeliveredDutyPreferencesPutResponse>;
|
|
5228
5224
|
}
|
|
5229
|
-
export declare class DhlEcommerceWebhooksResource extends $Resource {
|
|
5230
|
-
get(params?: DhlEcommerceWebhooksGetParameters): Promise<DhlEcommerceWebhooksGetResponse>;
|
|
5231
|
-
post(params: DhlEcommerceWebhooksPostParameters): Promise<DhlEcommerceWebhooksPostResponse>;
|
|
5232
|
-
}
|
|
5233
5225
|
export declare class DiscountCodesResource extends $Resource {
|
|
5234
5226
|
put(params: DiscountCodesPutParameters): Promise<DiscountCodesPutResponse>;
|
|
5235
5227
|
deleteByCode(params: DiscountCodesDeleteByCodeParameters): Promise<DiscountCodesDeleteByCodeResponse>;
|
|
@@ -5307,6 +5299,10 @@ export declare class FinancialReportingStatementsResource extends $Resource {
|
|
|
5307
5299
|
getByStatementNumber(params: FinancialReportingStatementsGetByStatementNumberParameters): Promise<FinancialReportingStatementsGetByStatementNumberResponse>;
|
|
5308
5300
|
postByStatementNumber(params: FinancialReportingStatementsPostByStatementNumberParameters): Promise<FinancialReportingStatementsPostByStatementNumberResponse>;
|
|
5309
5301
|
}
|
|
5302
|
+
export declare class FlexeWebhooksResource extends $Resource {
|
|
5303
|
+
postReceipt(params: FlexeWebhooksPostReceiptParameters): Promise<FlexeWebhooksPostReceiptResponse>;
|
|
5304
|
+
postShipment(params: FlexeWebhooksPostShipmentParameters): Promise<FlexeWebhooksPostShipmentResponse>;
|
|
5305
|
+
}
|
|
5310
5306
|
export declare class FlowAccountsResource extends $Resource {
|
|
5311
5307
|
get(params: FlowAccountsGetParameters): Promise<FlowAccountsGetResponse>;
|
|
5312
5308
|
getByKey(params: FlowAccountsGetByKeyParameters): Promise<FlowAccountsGetByKeyResponse>;
|
|
@@ -5476,12 +5472,6 @@ export declare class WebhookEventsResource extends $Resource {
|
|
|
5476
5472
|
postDisputeAndNotificationsAndPaypal(params: WebhookEventsPostDisputeAndNotificationsAndPaypalParameters): Promise<WebhookEventsPostDisputeAndNotificationsAndPaypalResponse>;
|
|
5477
5473
|
postPaymentAndCallbacksAndPaypal(params: WebhookEventsPostPaymentAndCallbacksAndPaypalParameters): Promise<WebhookEventsPostPaymentAndCallbacksAndPaypalResponse>;
|
|
5478
5474
|
}
|
|
5479
|
-
export declare class ReceiptNotificationsResource extends $Resource {
|
|
5480
|
-
post(params: ReceiptNotificationsPostParameters): Promise<ReceiptNotificationsPostResponse>;
|
|
5481
|
-
}
|
|
5482
|
-
export declare class ShipmentNotificationsResource extends $Resource {
|
|
5483
|
-
post(params: ShipmentNotificationsPostParameters): Promise<ShipmentNotificationsPostResponse>;
|
|
5484
|
-
}
|
|
5485
5475
|
export declare class UltimateBeneficiaryOwnersResource extends $Resource {
|
|
5486
5476
|
put(params: UltimateBeneficiaryOwnersPutParameters): Promise<UltimateBeneficiaryOwnersPutResponse>;
|
|
5487
5477
|
}
|
|
@@ -5559,12 +5549,6 @@ export declare class StripeEventsResource extends $Resource {
|
|
|
5559
5549
|
export declare class ChannelTokensResource extends $Resource {
|
|
5560
5550
|
post(params: ChannelTokensPostParameters): Promise<ChannelTokensPostResponse>;
|
|
5561
5551
|
}
|
|
5562
|
-
export declare class LabelTrackingSummariesResource extends $Resource {
|
|
5563
|
-
getByLabelId(params: LabelTrackingSummariesGetByLabelIdParameters): Promise<LabelTrackingSummariesGetByLabelIdResponse>;
|
|
5564
|
-
}
|
|
5565
|
-
export declare class TrackingsResource extends $Resource {
|
|
5566
|
-
post(params: TrackingsPostParameters): Promise<TrackingsPostResponse>;
|
|
5567
|
-
}
|
|
5568
5552
|
export declare class ItemClassificationsResource extends $Resource {
|
|
5569
5553
|
postPredict(params: ItemClassificationsPostPredictParameters): Promise<ItemClassificationsPostPredictResponse>;
|
|
5570
5554
|
postV2AndPredict(params: ItemClassificationsPostV2AndPredictParameters): Promise<ItemClassificationsPostV2AndPredictResponse>;
|
|
@@ -6105,7 +6089,6 @@ export declare class ShopifyMarketsOrderVersionWithShopIdsResource extends $Reso
|
|
|
6105
6089
|
}
|
|
6106
6090
|
export declare class ShopifyMarketsQueuedRecordsResource extends $Resource {
|
|
6107
6091
|
get(params: ShopifyMarketsQueuedRecordsGetParameters): Promise<ShopifyMarketsQueuedRecordsGetResponse>;
|
|
6108
|
-
putIgnoreById(params: ShopifyMarketsQueuedRecordsPutIgnoreByIdParameters): Promise<ShopifyMarketsQueuedRecordsPutIgnoreByIdResponse>;
|
|
6109
6092
|
putRequeueAndNowById(params: ShopifyMarketsQueuedRecordsPutRequeueAndNowByIdParameters): Promise<ShopifyMarketsQueuedRecordsPutRequeueAndNowByIdResponse>;
|
|
6110
6093
|
}
|
|
6111
6094
|
export declare class ShopifyMarketsShopsResource extends $Resource {
|
|
@@ -6213,8 +6196,12 @@ export declare class TrackingDebugLabelsResource extends $Resource {
|
|
|
6213
6196
|
getByLabelId(params: TrackingDebugLabelsGetByLabelIdParameters): Promise<TrackingDebugLabelsGetByLabelIdResponse>;
|
|
6214
6197
|
postForceAndTransitByLabelId(params: TrackingDebugLabelsPostForceAndTransitByLabelIdParameters): Promise<TrackingDebugLabelsPostForceAndTransitByLabelIdResponse>;
|
|
6215
6198
|
}
|
|
6216
|
-
export declare class
|
|
6217
|
-
|
|
6199
|
+
export declare class TrackingResyncsResource extends $Resource {
|
|
6200
|
+
post(params: TrackingResyncsPostParameters): Promise<TrackingResyncsPostResponse>;
|
|
6201
|
+
}
|
|
6202
|
+
export declare class TrackingWebhooksResource extends $Resource {
|
|
6203
|
+
get(params: TrackingWebhooksGetParameters): Promise<TrackingWebhooksGetResponse>;
|
|
6204
|
+
post(params: TrackingWebhooksPostParameters): Promise<TrackingWebhooksPostResponse>;
|
|
6218
6205
|
}
|
|
6219
6206
|
export declare class TransactionsResource extends $Resource {
|
|
6220
6207
|
getOrdersByOrderNumber(params: TransactionsGetOrdersByOrderNumberParameters): Promise<TransactionsGetOrdersByOrderNumberResponse>;
|
|
@@ -6269,6 +6256,7 @@ export declare class WebhooksResource extends $Resource {
|
|
|
6269
6256
|
export interface ClientInstance {
|
|
6270
6257
|
accountPaymentHolds: AccountPaymentHoldsResource;
|
|
6271
6258
|
addressConfigurationSettings: AddressConfigurationSettingsResource;
|
|
6259
|
+
aftershipWebhooks: AftershipWebhooksResource;
|
|
6272
6260
|
aldoItems: AldoItemsResource;
|
|
6273
6261
|
alertFailureSummaries: AlertFailureSummariesResource;
|
|
6274
6262
|
alertRequeueSummaries: AlertRequeueSummariesResource;
|
|
@@ -6327,7 +6315,6 @@ export interface ClientInstance {
|
|
|
6327
6315
|
debugOrderTransactions: DebugOrderTransactionsResource;
|
|
6328
6316
|
deliveredDutyOptions: DeliveredDutyOptionsResource;
|
|
6329
6317
|
deliveredDutyPreferences: DeliveredDutyPreferencesResource;
|
|
6330
|
-
dhlEcommerceWebhooks: DhlEcommerceWebhooksResource;
|
|
6331
6318
|
discountCodes: DiscountCodesResource;
|
|
6332
6319
|
disputes: DisputesResource;
|
|
6333
6320
|
dutyInternalRates: DutyInternalRatesResource;
|
|
@@ -6344,6 +6331,7 @@ export interface ClientInstance {
|
|
|
6344
6331
|
financeBankPayments: FinanceBankPaymentsResource;
|
|
6345
6332
|
financialMerchantCategories: FinancialMerchantCategoriesResource;
|
|
6346
6333
|
financialReportingStatements: FinancialReportingStatementsResource;
|
|
6334
|
+
flexeWebhooks: FlexeWebhooksResource;
|
|
6347
6335
|
flowAccounts: FlowAccountsResource;
|
|
6348
6336
|
flowBillingStatements: FlowBillingStatementsResource;
|
|
6349
6337
|
flowChannelOrganizations: FlowChannelOrganizationsResource;
|
|
@@ -6381,8 +6369,6 @@ export interface ClientInstance {
|
|
|
6381
6369
|
orders: OrdersResource;
|
|
6382
6370
|
paypalDisputeEvents: PaypalDisputeEventsResource;
|
|
6383
6371
|
webhookEvents: WebhookEventsResource;
|
|
6384
|
-
receiptNotifications: ReceiptNotificationsResource;
|
|
6385
|
-
shipmentNotifications: ShipmentNotificationsResource;
|
|
6386
6372
|
ultimateBeneficiaryOwners: UltimateBeneficiaryOwnersResource;
|
|
6387
6373
|
orderManagementEvents: OrderManagementEventsResource;
|
|
6388
6374
|
onboardingStates: OnboardingStatesResource;
|
|
@@ -6403,8 +6389,6 @@ export interface ClientInstance {
|
|
|
6403
6389
|
stripeDisputeEvents: StripeDisputeEventsResource;
|
|
6404
6390
|
stripeEvents: StripeEventsResource;
|
|
6405
6391
|
channelTokens: ChannelTokensResource;
|
|
6406
|
-
labelTrackingSummaries: LabelTrackingSummariesResource;
|
|
6407
|
-
trackings: TrackingsResource;
|
|
6408
6392
|
itemClassifications: ItemClassificationsResource;
|
|
6409
6393
|
itemClassificationSummaries: ItemClassificationSummariesResource;
|
|
6410
6394
|
itemHarmonizations: ItemHarmonizationsResource;
|
|
@@ -6546,7 +6530,8 @@ export interface ClientInstance {
|
|
|
6546
6530
|
techOnboardingDescriptions: TechOnboardingDescriptionsResource;
|
|
6547
6531
|
tests: TestsResource;
|
|
6548
6532
|
trackingDebugLabels: TrackingDebugLabelsResource;
|
|
6549
|
-
|
|
6533
|
+
trackingResyncs: TrackingResyncsResource;
|
|
6534
|
+
trackingWebhooks: TrackingWebhooksResource;
|
|
6550
6535
|
transactions: TransactionsResource;
|
|
6551
6536
|
transactionAdjustments: TransactionAdjustmentsResource;
|
|
6552
6537
|
tribes: TribesResource;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.158",
|
|
4
4
|
"description": "Global TypeScript typings for Flow Commerce API",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"generate": "apibuilder update"
|
|
27
27
|
},
|
|
28
28
|
"sideEffects": false,
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "13edc138093b0ffde7bb465d676930ec320158dc"
|
|
30
30
|
}
|