@seekora-ai/admin-api 1.2.13 → 1.2.15-stage-20260517095154
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/README.md +21 -2
- package/api.ts +1149 -29
- package/dist/api.d.ts +819 -29
- package/dist/api.js +697 -35
- package/dist/esm/api.d.ts +819 -29
- package/dist/esm/api.js +672 -23
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.2.15-stage-20260517095154.tgz +0 -0
- package/seekora-ai-admin-api-1.2.13.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -22,18 +22,19 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
25
|
+
exports.QuerySuggestionsServiceQuerySuggestionStatus = exports.QuerySuggestionsServiceQuerySuggestionSource = exports.QuerySuggestionsServiceBulkOperation = exports.QuerySuggestionsServiceBannedMatchType = exports.ModelsCreateCustomEventFieldRequestFieldTypeEnum = exports.MenuRoutesAddMenuRequestModuleTypeEnum = exports.MenuRoutesAddMenuRequestMenuLocationEnum = exports.MenuRoutesAddMenuRequestMenuLevelEnum = exports.DataTypesUpdateWordStatusRequestWordTypeEnum = exports.DataTypesUpdateStoreAccessRequestAccessLevelEnum = exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = exports.DataTypesUpdateMemberRoleRequestMemberRoleEnum = exports.DataTypesStoreLevelMenuRightAccessLevelEnum = exports.DataTypesStoreAccessRequestAccessLevelEnum = exports.DataTypesRefundCalculationRequestDtoRefundTypeEnum = exports.DataTypesRefundApprovalDtoActionEnum = exports.DataTypesProcessRefundRequestDtoRefundTypeEnum = exports.DataTypesNotificationType = exports.DataTypesNotificationStatus = exports.DataTypesNotificationPriority = exports.DataTypesNotificationChannel = exports.DataTypesMarkPaidRequestPaymentMethodEnum = exports.DataTypesMarkPaidRequestCurrencyEnum = exports.DataTypesGrantStoreAccessRequestAccessLevelEnum = exports.DataTypesExperimentType = exports.DataTypesExperimentStatus = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.DataTypesCreateCustomPlanRequestCurrencyEnum = exports.DataTypesCreateCustomPlanRequestBillingTypeEnum = exports.DataTypesBillingAlertRequestThresholdUnitEnum = exports.DataTypesBillingAlertRequestAlertTypeEnum = exports.DataTypesAcceptInvitationWithOAuthRequestTypeEnum = exports.ConsentServiceUpdateConsentRequestConsentTypeEnum = exports.ConnectorsCreateConnectorRequestConnectorTypeEnum = exports.ConnectorUpdateTransformationRequestTransformTypeEnum = exports.ConnectorUpdateTaskRequestWriteActionEnum = exports.ConnectorUpdateTaskRequestTriggerTypeEnum = exports.ConnectorCreateTransformationRequestTransformTypeEnum = exports.ConnectorCreateTaskRequestWriteActionEnum = exports.ConnectorCreateTaskRequestTriggerTypeEnum = exports.ConnectorCreateAuthRequestAuthTypeEnum = exports.BillingProviderProviderName = exports.AnalyticsThresholdType = exports.AnalyticsRuleType = void 0;
|
|
26
|
+
exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortByEnum = exports.AdminAnalyticsOrgKpiGetTagsMatchModeEnum = exports.AdminAnalyticsOrgKpiGetGranularityEnum = exports.AnalyticsApi = exports.AnalyticsApiFactory = exports.AnalyticsApiFp = exports.AnalyticsApiAxiosParamCreator = exports.AdminPagesApi = exports.AdminPagesApiFactory = exports.AdminPagesApiFp = exports.AdminPagesApiAxiosParamCreator = exports.AdminNotificationsApi = exports.AdminNotificationsApiFactory = exports.AdminNotificationsApiFp = exports.AdminNotificationsApiAxiosParamCreator = exports.AdminNotificationTemplatesApi = exports.AdminNotificationTemplatesApiFactory = exports.AdminNotificationTemplatesApiFp = exports.AdminNotificationTemplatesApiAxiosParamCreator = exports.AdminConnectorWebhooksApi = exports.AdminConnectorWebhooksApiFactory = exports.AdminConnectorWebhooksApiFp = exports.AdminConnectorWebhooksApiAxiosParamCreator = exports.AdminAnalyticsApi = exports.AdminAnalyticsApiFactory = exports.AdminAnalyticsApiFp = exports.AdminAnalyticsApiAxiosParamCreator = exports.AnalyticsActivityLogsGetActionEnum = exports.ActivityLogsApi = exports.ActivityLogsApiFactory = exports.ActivityLogsApiFp = exports.ActivityLogsApiAxiosParamCreator = exports.AccountSettingsApi = exports.AccountSettingsApiFactory = exports.AccountSettingsApiFp = exports.AccountSettingsApiAxiosParamCreator = exports.APICallsApi = exports.APICallsApiFactory = exports.APICallsApiFp = exports.APICallsApiAxiosParamCreator = exports.RefundRefundPreviewRequestDtoRefundTypeEnum = exports.QuerySuggestionsServiceRuleType = void 0;
|
|
27
|
+
exports.AnalyticsEventsApiAxiosParamCreator = exports.AnalyticsCohortsApi = exports.AnalyticsCohortsApiFactory = exports.AnalyticsCohortsApiFp = exports.AnalyticsCohortsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsKpiGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsKpiGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsGeoGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortOrderEnum = void 0;
|
|
28
|
+
exports.AutomatedRefundManagementApiFactory = exports.AutomatedRefundManagementApiFp = exports.AutomatedRefundManagementApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AnalyticsV3SearchApi = exports.AnalyticsV3SearchApiFactory = exports.AnalyticsV3SearchApiFp = exports.AnalyticsV3SearchApiAxiosParamCreator = exports.AnalyticsV3RecommendationsApi = exports.AnalyticsV3RecommendationsApiFactory = exports.AnalyticsV3RecommendationsApiFp = exports.AnalyticsV3RecommendationsApiAxiosParamCreator = exports.AnalyticsV3JourneyApi = exports.AnalyticsV3JourneyApiFactory = exports.AnalyticsV3JourneyApiFp = exports.AnalyticsV3JourneyApiAxiosParamCreator = exports.AnalyticsV3FunnelApi = exports.AnalyticsV3FunnelApiFactory = exports.AnalyticsV3FunnelApiFp = exports.AnalyticsV3FunnelApiAxiosParamCreator = exports.AnalyticsV3ConversionsApi = exports.AnalyticsV3ConversionsApiFactory = exports.AnalyticsV3ConversionsApiFp = exports.AnalyticsV3ConversionsApiAxiosParamCreator = exports.AnalyticsV3ClicksApi = exports.AnalyticsV3ClicksApiFactory = exports.AnalyticsV3ClicksApiFp = exports.AnalyticsV3ClicksApiAxiosParamCreator = exports.AnalyticsRulesApi = exports.AnalyticsRulesApiFactory = exports.AnalyticsRulesApiFp = exports.AnalyticsRulesApiAxiosParamCreator = exports.AnalyticsRecommendationsApi = exports.AnalyticsRecommendationsApiFactory = exports.AnalyticsRecommendationsApiFp = exports.AnalyticsRecommendationsApiAxiosParamCreator = exports.AnalyticsFunnelsApi = exports.AnalyticsFunnelsApiFactory = exports.AnalyticsFunnelsApiFp = exports.AnalyticsFunnelsApiAxiosParamCreator = exports.AnalyticsEventsApi = exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = void 0;
|
|
29
|
+
exports.CompanyConfigApiFactory = exports.CompanyConfigApiFp = exports.CompanyConfigApiAxiosParamCreator = exports.CommonApi = exports.CommonApiFactory = exports.CommonApiFp = exports.CommonApiAxiosParamCreator = exports.BillingUserPaymentsApi = exports.BillingUserPaymentsApiFactory = exports.BillingUserPaymentsApiFp = exports.BillingUserPaymentsApiAxiosParamCreator = exports.AdminBillingGraphsUsageBreakdownGetGranularityEnum = exports.AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum = exports.AdminBillingGraphsSearchRequestsGetGranularityEnum = exports.AdminBillingGraphsCreditsConsumedGetGranularityEnum = exports.BillingDashboardGraphsApi = exports.BillingDashboardGraphsApiFactory = exports.BillingDashboardGraphsApiFp = exports.BillingDashboardGraphsApiAxiosParamCreator = exports.AdminBillingUsageDetailsGetGranularityEnum = exports.AdminBillingPaymentTransactionsGetSortOrderEnum = exports.AdminBillingPaymentTransactionsGetSortByEnum = exports.AdminBillingOrdersGetSortOrderEnum = exports.AdminBillingOrdersGetSortByEnum = exports.AdminBillingInvoicesGetInvoiceTypeEnum = exports.AdminBillingInvoicesGetSortOrderEnum = exports.AdminBillingInvoicesGetSortByEnum = exports.AdminBillingCreditTransactionsGetSortOrderEnum = exports.AdminBillingCreditTransactionsGetSortByEnum = exports.AdminBillingCreditPurchasesGetSortOrderEnum = exports.AdminBillingCreditPurchasesGetSortByEnum = exports.AdminBillingCreditLedgerGetSortOrderEnum = exports.AdminBillingCreditLedgerGetSortByEnum = exports.BillingDashboardApi = exports.BillingDashboardApiFactory = exports.BillingDashboardApiFp = exports.BillingDashboardApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackofficePaymentLinksApi = exports.BackofficePaymentLinksApiFactory = exports.BackofficePaymentLinksApiFp = exports.BackofficePaymentLinksApiAxiosParamCreator = exports.BackofficeCustomPlansApi = exports.BackofficeCustomPlansApiFactory = exports.BackofficeCustomPlansApiFp = exports.BackofficeCustomPlansApiAxiosParamCreator = exports.AutomatedRefundManagementApi = void 0;
|
|
30
|
+
exports.ConnectorPipelinesApiAxiosParamCreator = exports.ConnectorOAuthApi = exports.ConnectorOAuthApiFactory = exports.ConnectorOAuthApiFp = exports.ConnectorOAuthApiAxiosParamCreator = exports.ConnectorDefinitionsApi = exports.ConnectorDefinitionsApiFactory = exports.ConnectorDefinitionsApiFp = exports.ConnectorDefinitionsApiAxiosParamCreator = exports.ConnectorAdminTransformationsApi = exports.ConnectorAdminTransformationsApiFactory = exports.ConnectorAdminTransformationsApiFp = exports.ConnectorAdminTransformationsApiAxiosParamCreator = exports.ConnectorAdminTasksApi = exports.ConnectorAdminTasksApiFactory = exports.ConnectorAdminTasksApiFp = exports.ConnectorAdminTasksApiAxiosParamCreator = exports.ConnectorAdminTaskGroupsApi = exports.ConnectorAdminTaskGroupsApiFactory = exports.ConnectorAdminTaskGroupsApiFp = exports.ConnectorAdminTaskGroupsApiAxiosParamCreator = exports.ConnectorAdminStoreUploadsApi = exports.ConnectorAdminStoreUploadsApiFactory = exports.ConnectorAdminStoreUploadsApiFp = exports.ConnectorAdminStoreUploadsApiAxiosParamCreator = exports.ConnectorAdminSourcesApi = exports.ConnectorAdminSourcesApiFactory = exports.ConnectorAdminSourcesApiFp = exports.ConnectorAdminSourcesApiAxiosParamCreator = exports.ConnectorAdminSecretsApi = exports.ConnectorAdminSecretsApiFactory = exports.ConnectorAdminSecretsApiFp = exports.ConnectorAdminSecretsApiAxiosParamCreator = exports.ConnectorAdminRunsApi = exports.ConnectorAdminRunsApiFactory = exports.ConnectorAdminRunsApiFp = exports.ConnectorAdminRunsApiAxiosParamCreator = exports.ConnectorAdminDiscoveryApi = exports.ConnectorAdminDiscoveryApiFactory = exports.ConnectorAdminDiscoveryApiFp = exports.ConnectorAdminDiscoveryApiAxiosParamCreator = exports.ConnectorAdminDestinationsApi = exports.ConnectorAdminDestinationsApiFactory = exports.ConnectorAdminDestinationsApiFp = exports.ConnectorAdminDestinationsApiAxiosParamCreator = exports.ConnectorAdminAuthApi = exports.ConnectorAdminAuthApiFactory = exports.ConnectorAdminAuthApiFp = exports.ConnectorAdminAuthApiAxiosParamCreator = exports.CompanyConfigApi = void 0;
|
|
31
|
+
exports.CustomStopwordsApiFp = exports.CustomStopwordsApiAxiosParamCreator = exports.CustomEventsAnalyticsApi = exports.CustomEventsAnalyticsApiFactory = exports.CustomEventsAnalyticsApiFp = exports.CustomEventsAnalyticsApiAxiosParamCreator = exports.CustomEventsApi = exports.CustomEventsApiFactory = exports.CustomEventsApiFp = exports.CustomEventsApiAxiosParamCreator = exports.CreditsTransactionsGetTypeEnum = exports.CreditsApi = exports.CreditsApiFactory = exports.CreditsApiFp = exports.CreditsApiAxiosParamCreator = exports.ConsentApi = exports.ConsentApiFactory = exports.ConsentApiFp = exports.ConsentApiAxiosParamCreator = exports.ConnectorsApi = exports.ConnectorsApiFactory = exports.ConnectorsApiFp = exports.ConnectorsApiAxiosParamCreator = exports.ConnectorSourcesApi = exports.ConnectorSourcesApiFactory = exports.ConnectorSourcesApiFp = exports.ConnectorSourcesApiAxiosParamCreator = exports.ConnectorPublicTasksApi = exports.ConnectorPublicTasksApiFactory = exports.ConnectorPublicTasksApiFp = exports.ConnectorPublicTasksApiAxiosParamCreator = exports.ConnectorPublicSourcesApi = exports.ConnectorPublicSourcesApiFactory = exports.ConnectorPublicSourcesApiFp = exports.ConnectorPublicSourcesApiAxiosParamCreator = exports.ConnectorPublicRunsApi = exports.ConnectorPublicRunsApiFactory = exports.ConnectorPublicRunsApiFp = exports.ConnectorPublicRunsApiAxiosParamCreator = exports.ConnectorPublicDestinationsApi = exports.ConnectorPublicDestinationsApiFactory = exports.ConnectorPublicDestinationsApiFp = exports.ConnectorPublicDestinationsApiAxiosParamCreator = exports.ConnectorPublicAuthApi = exports.ConnectorPublicAuthApiFactory = exports.ConnectorPublicAuthApiFp = exports.ConnectorPublicAuthApiAxiosParamCreator = exports.ConnectorPipelinesApi = exports.ConnectorPipelinesApiFactory = exports.ConnectorPipelinesApiFp = void 0;
|
|
32
|
+
exports.ForgeApi = exports.ForgeApiFactory = exports.ForgeApiFp = exports.ForgeApiAxiosParamCreator = exports.FiltersApi = exports.FiltersApiFactory = exports.FiltersApiFp = exports.FiltersApiAxiosParamCreator = exports.FeatureLimitsAdminApi = exports.FeatureLimitsAdminApiFactory = exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = exports.FeatureFlagsApi = exports.FeatureFlagsApiFactory = exports.FeatureFlagsApiFp = exports.FeatureFlagsApiAxiosParamCreator = exports.ExternalAPINotificationsApi = exports.ExternalAPINotificationsApiFactory = exports.ExternalAPINotificationsApiFp = exports.ExternalAPINotificationsApiAxiosParamCreator = exports.ExperimentsApi = exports.ExperimentsApiFactory = exports.ExperimentsApiFp = exports.ExperimentsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.DocumentationApi = exports.DocumentationApiFactory = exports.DocumentationApiFp = exports.DocumentationApiAxiosParamCreator = exports.DefaultMenuManagementApi = exports.DefaultMenuManagementApiFactory = exports.DefaultMenuManagementApiFp = exports.DefaultMenuManagementApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.DataQualityApi = exports.DataQualityApiFactory = exports.DataQualityApiFp = exports.DataQualityApiAxiosParamCreator = exports.CustomStopwordsApi = exports.CustomStopwordsApiFactory = void 0;
|
|
33
|
+
exports.MenuRouteMetricsAdminApiFp = exports.MenuRouteMetricsAdminApiAxiosParamCreator = exports.MenuRouteMetricGetFormnameEnum = exports.MenuRouteMetricGetRouteEnum = exports.MenuRouteMetricsApi = exports.MenuRouteMetricsApiFactory = exports.MenuRouteMetricsApiFp = exports.MenuRouteMetricsApiAxiosParamCreator = exports.MenuManagementApi = exports.MenuManagementApiFactory = exports.MenuManagementApiFp = exports.MenuManagementApiAxiosParamCreator = exports.LimitsApi = exports.LimitsApiFactory = exports.LimitsApiFp = exports.LimitsApiAxiosParamCreator = exports.JourneyBuilderApi = exports.JourneyBuilderApiFactory = exports.JourneyBuilderApiFp = exports.JourneyBuilderApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortByEnum = exports.ItemAnalyticsApi = exports.ItemAnalyticsApiFactory = exports.ItemAnalyticsApiFp = exports.ItemAnalyticsApiAxiosParamCreator = exports.InternalConnectorWebhooksApi = exports.InternalConnectorWebhooksApiFactory = exports.InternalConnectorWebhooksApiFp = exports.InternalConnectorWebhooksApiAxiosParamCreator = exports.InternalApi = exports.InternalApiFactory = exports.InternalApiFp = exports.InternalApiAxiosParamCreator = exports.GDPRApi = exports.GDPRApiFactory = exports.GDPRApiFp = exports.GDPRApiAxiosParamCreator = void 0;
|
|
34
|
+
exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PaymentGatewayApi = exports.PaymentGatewayApiFactory = exports.PaymentGatewayApiFp = exports.PaymentGatewayApiAxiosParamCreator = exports.ParentMenusApi = exports.ParentMenusApiFactory = exports.ParentMenusApiFp = exports.ParentMenusApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OnboardingApi = exports.OnboardingApiFactory = exports.OnboardingApiFp = exports.OnboardingApiAxiosParamCreator = exports.V1NotificationsGetSortOrderEnum = exports.V1NotificationsGetSortByEnum = exports.V1NotificationsGetPriorityEnum = exports.V1NotificationsGetIsReadEnum = exports.V1NotificationsGetTypeEnum = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.NotificationPreferencesApi = exports.NotificationPreferencesApiFactory = exports.NotificationPreferencesApiFp = exports.NotificationPreferencesApiAxiosParamCreator = exports.NewsLettersApi = exports.NewsLettersApiFactory = exports.NewsLettersApiFp = exports.NewsLettersApiAxiosParamCreator = exports.MongoDbApi = exports.MongoDbApiFactory = exports.MongoDbApiFp = exports.MongoDbApiAxiosParamCreator = exports.ModulesApi = exports.ModulesApiFactory = exports.ModulesApiFp = exports.ModulesApiAxiosParamCreator = exports.MenusApi = exports.MenusApiFactory = exports.MenusApiFp = exports.MenusApiAxiosParamCreator = exports.MenuRouteMetricsAdminApi = exports.MenuRouteMetricsAdminApiFactory = void 0;
|
|
35
|
+
exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RoleRightsApi = exports.RoleRightsApiFactory = exports.RoleRightsApiFp = exports.RoleRightsApiAxiosParamCreator = exports.RequestsApi = exports.RequestsApiFactory = exports.RequestsApiFp = exports.RequestsApiAxiosParamCreator = exports.RegisterApi = exports.RegisterApiFactory = exports.RegisterApiFp = exports.RegisterApiAxiosParamCreator = exports.RefundManagementApi = exports.RefundManagementApiFactory = exports.RefundManagementApiFp = exports.RefundManagementApiAxiosParamCreator = exports.QuerySuggestionsManagementApi = exports.QuerySuggestionsManagementApiFactory = exports.QuerySuggestionsManagementApiFp = exports.QuerySuggestionsManagementApiAxiosParamCreator = exports.V1SuggestionsQueriesGetTimeRangeEnum = exports.V1SuggestionsQueriesGetTagsMatchModeEnum = exports.QuerySuggestionsApi = exports.QuerySuggestionsApiFactory = exports.QuerySuggestionsApiFp = exports.QuerySuggestionsApiAxiosParamCreator = exports.PluralsDeclensionsApi = exports.PluralsDeclensionsApiFactory = exports.PluralsDeclensionsApiFp = exports.PluralsDeclensionsApiAxiosParamCreator = exports.PlatformPublicSessionApi = exports.PlatformPublicSessionApiFactory = exports.PlatformPublicSessionApiFp = exports.PlatformPublicSessionApiAxiosParamCreator = exports.PlatformPublicOnboardingApi = exports.PlatformPublicOnboardingApiFactory = exports.PlatformPublicOnboardingApiFp = exports.PlatformPublicOnboardingApiAxiosParamCreator = exports.PlatformPublicConnectorRunsApi = exports.PlatformPublicConnectorRunsApiFactory = exports.PlatformPublicConnectorRunsApiFp = exports.PlatformPublicConnectorRunsApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = void 0;
|
|
36
|
+
exports.WebhooksApiAxiosParamCreator = exports.UserProfilesApi = exports.UserProfilesApiFactory = exports.UserProfilesApiFp = exports.UserProfilesApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TeamApi = exports.TeamApiFactory = exports.TeamApiFp = exports.TeamApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.SubscriptionPaymentsApi = exports.SubscriptionPaymentsApiFactory = exports.SubscriptionPaymentsApiFp = exports.SubscriptionPaymentsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreManagementApi = exports.StoreManagementApiFactory = exports.StoreManagementApiFp = exports.StoreManagementApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StoreCreationApi = exports.StoreCreationApiFactory = exports.StoreCreationApiFp = exports.StoreCreationApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RolesApi = void 0;
|
|
37
|
+
exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = void 0;
|
|
37
38
|
const axios_1 = require("axios");
|
|
38
39
|
// Some imports not used depending on template conditions
|
|
39
40
|
// @ts-ignore
|
|
@@ -106,6 +107,10 @@ exports.ConnectorUpdateTaskRequestWriteActionEnum = {
|
|
|
106
107
|
InsertOnly: 'insert_only',
|
|
107
108
|
UpdateOnly: 'update_only'
|
|
108
109
|
};
|
|
110
|
+
exports.ConnectorUpdateTransformationRequestTransformTypeEnum = {
|
|
111
|
+
Code: 'code',
|
|
112
|
+
Nocode: 'nocode'
|
|
113
|
+
};
|
|
109
114
|
exports.ConnectorsCreateConnectorRequestConnectorTypeEnum = {
|
|
110
115
|
Import: 'import',
|
|
111
116
|
Export: 'export'
|
|
@@ -1615,6 +1620,37 @@ exports.AdminAnalyticsApi = AdminAnalyticsApi;
|
|
|
1615
1620
|
*/
|
|
1616
1621
|
const AdminConnectorWebhooksApiAxiosParamCreator = function (configuration) {
|
|
1617
1622
|
return {
|
|
1623
|
+
/**
|
|
1624
|
+
* Re-runs the manifest\'s DynamicSchemaLoader streams and upserts the resolved JSON Schemas into connector_provider_schemas. The next sync reads the fresh cache and (re)builds the Typesense collection from it.
|
|
1625
|
+
* @summary Regenerate provider schema cache for a connector source
|
|
1626
|
+
* @param {string} sourceUuid Connector source UUID
|
|
1627
|
+
* @param {*} [options] Override http request option.
|
|
1628
|
+
* @throws {RequiredError}
|
|
1629
|
+
*/
|
|
1630
|
+
adminConnectorsSourcesSourceUuidSchemaRegeneratePost: (sourceUuid_1, ...args_1) => __awaiter(this, [sourceUuid_1, ...args_1], void 0, function* (sourceUuid, options = {}) {
|
|
1631
|
+
// verify required parameter 'sourceUuid' is not null or undefined
|
|
1632
|
+
(0, common_1.assertParamExists)('adminConnectorsSourcesSourceUuidSchemaRegeneratePost', 'sourceUuid', sourceUuid);
|
|
1633
|
+
const localVarPath = `/admin/connectors/sources/{source_uuid}/schema/regenerate`
|
|
1634
|
+
.replace(`{${"source_uuid"}}`, encodeURIComponent(String(sourceUuid)));
|
|
1635
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1636
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1637
|
+
let baseOptions;
|
|
1638
|
+
if (configuration) {
|
|
1639
|
+
baseOptions = configuration.baseOptions;
|
|
1640
|
+
}
|
|
1641
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1642
|
+
const localVarHeaderParameter = {};
|
|
1643
|
+
const localVarQueryParameter = {};
|
|
1644
|
+
// authentication BearerAuth required
|
|
1645
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1646
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1647
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1648
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1649
|
+
return {
|
|
1650
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1651
|
+
options: localVarRequestOptions,
|
|
1652
|
+
};
|
|
1653
|
+
}),
|
|
1618
1654
|
/**
|
|
1619
1655
|
* Re-publish a previously recorded delivery through the forge.webhook exchange. A new external_id is minted so the worker processes the replay end-to-end.
|
|
1620
1656
|
* @summary Replay a recorded webhook delivery
|
|
@@ -1657,10 +1693,12 @@ const AdminConnectorWebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
1657
1693
|
* @param {string} [status] Filter by delivery status (pending, processed, failed)
|
|
1658
1694
|
* @param {number} [limit] Page size (default 50, max 200)
|
|
1659
1695
|
* @param {string} [beforeUuid] Cursor: return rows older than the delivery with this UUID
|
|
1696
|
+
* @param {string} [since] Lower bound (inclusive) on received_at, RFC3339 / ISO-8601 (e.g. 2026-05-01T00:00:00Z)
|
|
1697
|
+
* @param {string} [until] Upper bound (exclusive) on received_at, RFC3339 / ISO-8601 (e.g. 2026-05-06T00:00:00Z)
|
|
1660
1698
|
* @param {*} [options] Override http request option.
|
|
1661
1699
|
* @throws {RequiredError}
|
|
1662
1700
|
*/
|
|
1663
|
-
adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet: (sourceUuid_1, status_1, limit_1, beforeUuid_1, ...args_1) => __awaiter(this, [sourceUuid_1, status_1, limit_1, beforeUuid_1, ...args_1], void 0, function* (sourceUuid, status, limit, beforeUuid, options = {}) {
|
|
1701
|
+
adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet: (sourceUuid_1, status_1, limit_1, beforeUuid_1, since_1, until_1, ...args_1) => __awaiter(this, [sourceUuid_1, status_1, limit_1, beforeUuid_1, since_1, until_1, ...args_1], void 0, function* (sourceUuid, status, limit, beforeUuid, since, until, options = {}) {
|
|
1664
1702
|
// verify required parameter 'sourceUuid' is not null or undefined
|
|
1665
1703
|
(0, common_1.assertParamExists)('adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet', 'sourceUuid', sourceUuid);
|
|
1666
1704
|
const localVarPath = `/admin/connectors/sources/{source_uuid}/webhooks/deliveries`
|
|
@@ -1685,6 +1723,43 @@ const AdminConnectorWebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
1685
1723
|
if (beforeUuid !== undefined) {
|
|
1686
1724
|
localVarQueryParameter['before_uuid'] = beforeUuid;
|
|
1687
1725
|
}
|
|
1726
|
+
if (since !== undefined) {
|
|
1727
|
+
localVarQueryParameter['since'] = since;
|
|
1728
|
+
}
|
|
1729
|
+
if (until !== undefined) {
|
|
1730
|
+
localVarQueryParameter['until'] = until;
|
|
1731
|
+
}
|
|
1732
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1733
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1734
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1735
|
+
return {
|
|
1736
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1737
|
+
options: localVarRequestOptions,
|
|
1738
|
+
};
|
|
1739
|
+
}),
|
|
1740
|
+
/**
|
|
1741
|
+
* Verify each active webhook subscription still exists on the provider; flip rows whose subscription is gone (404 from the provider) to status=\'stale\'. Read-only against the provider; UPDATE-only against our DB. Idempotent.
|
|
1742
|
+
* @summary Reconcile webhook subscriptions against the provider
|
|
1743
|
+
* @param {string} sourceUuid Connector source UUID
|
|
1744
|
+
* @param {*} [options] Override http request option.
|
|
1745
|
+
* @throws {RequiredError}
|
|
1746
|
+
*/
|
|
1747
|
+
adminConnectorsSourcesSourceUuidWebhooksReconcilePost: (sourceUuid_1, ...args_1) => __awaiter(this, [sourceUuid_1, ...args_1], void 0, function* (sourceUuid, options = {}) {
|
|
1748
|
+
// verify required parameter 'sourceUuid' is not null or undefined
|
|
1749
|
+
(0, common_1.assertParamExists)('adminConnectorsSourcesSourceUuidWebhooksReconcilePost', 'sourceUuid', sourceUuid);
|
|
1750
|
+
const localVarPath = `/admin/connectors/sources/{source_uuid}/webhooks/reconcile`
|
|
1751
|
+
.replace(`{${"source_uuid"}}`, encodeURIComponent(String(sourceUuid)));
|
|
1752
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1753
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1754
|
+
let baseOptions;
|
|
1755
|
+
if (configuration) {
|
|
1756
|
+
baseOptions = configuration.baseOptions;
|
|
1757
|
+
}
|
|
1758
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1759
|
+
const localVarHeaderParameter = {};
|
|
1760
|
+
const localVarQueryParameter = {};
|
|
1761
|
+
// authentication BearerAuth required
|
|
1762
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1688
1763
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1689
1764
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1690
1765
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1724,6 +1799,33 @@ const AdminConnectorWebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
1724
1799
|
options: localVarRequestOptions,
|
|
1725
1800
|
};
|
|
1726
1801
|
}),
|
|
1802
|
+
/**
|
|
1803
|
+
* Iterates every active connector source in the org and runs the per-source webhook reconciliation pass. Marks subscriptions whose provider counterparts no longer exist as \'stale\'. Designed for cron-driven invocation; per-source errors are captured individually.
|
|
1804
|
+
* @summary Reconcile webhook subscriptions for every connector source
|
|
1805
|
+
* @param {*} [options] Override http request option.
|
|
1806
|
+
* @throws {RequiredError}
|
|
1807
|
+
*/
|
|
1808
|
+
adminConnectorsWebhooksReconcileAllPost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
1809
|
+
const localVarPath = `/admin/connectors/webhooks/reconcile-all`;
|
|
1810
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1811
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1812
|
+
let baseOptions;
|
|
1813
|
+
if (configuration) {
|
|
1814
|
+
baseOptions = configuration.baseOptions;
|
|
1815
|
+
}
|
|
1816
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1817
|
+
const localVarHeaderParameter = {};
|
|
1818
|
+
const localVarQueryParameter = {};
|
|
1819
|
+
// authentication BearerAuth required
|
|
1820
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1821
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1822
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1823
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1824
|
+
return {
|
|
1825
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1826
|
+
options: localVarRequestOptions,
|
|
1827
|
+
};
|
|
1828
|
+
}),
|
|
1727
1829
|
/**
|
|
1728
1830
|
* Iterates every active connector source in the org and re-runs register_webhooks for each. Per-source errors are captured individually — one failure does not block the others.
|
|
1729
1831
|
* @summary Resubscribe webhooks for every connector source
|
|
@@ -1761,6 +1863,22 @@ exports.AdminConnectorWebhooksApiAxiosParamCreator = AdminConnectorWebhooksApiAx
|
|
|
1761
1863
|
const AdminConnectorWebhooksApiFp = function (configuration) {
|
|
1762
1864
|
const localVarAxiosParamCreator = (0, exports.AdminConnectorWebhooksApiAxiosParamCreator)(configuration);
|
|
1763
1865
|
return {
|
|
1866
|
+
/**
|
|
1867
|
+
* Re-runs the manifest\'s DynamicSchemaLoader streams and upserts the resolved JSON Schemas into connector_provider_schemas. The next sync reads the fresh cache and (re)builds the Typesense collection from it.
|
|
1868
|
+
* @summary Regenerate provider schema cache for a connector source
|
|
1869
|
+
* @param {string} sourceUuid Connector source UUID
|
|
1870
|
+
* @param {*} [options] Override http request option.
|
|
1871
|
+
* @throws {RequiredError}
|
|
1872
|
+
*/
|
|
1873
|
+
adminConnectorsSourcesSourceUuidSchemaRegeneratePost(sourceUuid, options) {
|
|
1874
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1875
|
+
var _a, _b, _c;
|
|
1876
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminConnectorsSourcesSourceUuidSchemaRegeneratePost(sourceUuid, options);
|
|
1877
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1878
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminConnectorWebhooksApi.adminConnectorsSourcesSourceUuidSchemaRegeneratePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1879
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1880
|
+
});
|
|
1881
|
+
},
|
|
1764
1882
|
/**
|
|
1765
1883
|
* Re-publish a previously recorded delivery through the forge.webhook exchange. A new external_id is minted so the worker processes the replay end-to-end.
|
|
1766
1884
|
* @summary Replay a recorded webhook delivery
|
|
@@ -1785,18 +1903,36 @@ const AdminConnectorWebhooksApiFp = function (configuration) {
|
|
|
1785
1903
|
* @param {string} [status] Filter by delivery status (pending, processed, failed)
|
|
1786
1904
|
* @param {number} [limit] Page size (default 50, max 200)
|
|
1787
1905
|
* @param {string} [beforeUuid] Cursor: return rows older than the delivery with this UUID
|
|
1906
|
+
* @param {string} [since] Lower bound (inclusive) on received_at, RFC3339 / ISO-8601 (e.g. 2026-05-01T00:00:00Z)
|
|
1907
|
+
* @param {string} [until] Upper bound (exclusive) on received_at, RFC3339 / ISO-8601 (e.g. 2026-05-06T00:00:00Z)
|
|
1788
1908
|
* @param {*} [options] Override http request option.
|
|
1789
1909
|
* @throws {RequiredError}
|
|
1790
1910
|
*/
|
|
1791
|
-
adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, options) {
|
|
1911
|
+
adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, since, until, options) {
|
|
1792
1912
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1793
1913
|
var _a, _b, _c;
|
|
1794
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, options);
|
|
1914
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, since, until, options);
|
|
1795
1915
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1796
1916
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminConnectorWebhooksApi.adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1797
1917
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1798
1918
|
});
|
|
1799
1919
|
},
|
|
1920
|
+
/**
|
|
1921
|
+
* Verify each active webhook subscription still exists on the provider; flip rows whose subscription is gone (404 from the provider) to status=\'stale\'. Read-only against the provider; UPDATE-only against our DB. Idempotent.
|
|
1922
|
+
* @summary Reconcile webhook subscriptions against the provider
|
|
1923
|
+
* @param {string} sourceUuid Connector source UUID
|
|
1924
|
+
* @param {*} [options] Override http request option.
|
|
1925
|
+
* @throws {RequiredError}
|
|
1926
|
+
*/
|
|
1927
|
+
adminConnectorsSourcesSourceUuidWebhooksReconcilePost(sourceUuid, options) {
|
|
1928
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1929
|
+
var _a, _b, _c;
|
|
1930
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminConnectorsSourcesSourceUuidWebhooksReconcilePost(sourceUuid, options);
|
|
1931
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1932
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminConnectorWebhooksApi.adminConnectorsSourcesSourceUuidWebhooksReconcilePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1933
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1934
|
+
});
|
|
1935
|
+
},
|
|
1800
1936
|
/**
|
|
1801
1937
|
* Re-run the register_webhooks post-install hook for one connector source. Idempotent via ON CONFLICT (source_id, topic) DO UPDATE.
|
|
1802
1938
|
* @summary Resubscribe webhooks for a connector source
|
|
@@ -1813,6 +1949,21 @@ const AdminConnectorWebhooksApiFp = function (configuration) {
|
|
|
1813
1949
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1814
1950
|
});
|
|
1815
1951
|
},
|
|
1952
|
+
/**
|
|
1953
|
+
* Iterates every active connector source in the org and runs the per-source webhook reconciliation pass. Marks subscriptions whose provider counterparts no longer exist as \'stale\'. Designed for cron-driven invocation; per-source errors are captured individually.
|
|
1954
|
+
* @summary Reconcile webhook subscriptions for every connector source
|
|
1955
|
+
* @param {*} [options] Override http request option.
|
|
1956
|
+
* @throws {RequiredError}
|
|
1957
|
+
*/
|
|
1958
|
+
adminConnectorsWebhooksReconcileAllPost(options) {
|
|
1959
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1960
|
+
var _a, _b, _c;
|
|
1961
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminConnectorsWebhooksReconcileAllPost(options);
|
|
1962
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1963
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminConnectorWebhooksApi.adminConnectorsWebhooksReconcileAllPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1964
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1965
|
+
});
|
|
1966
|
+
},
|
|
1816
1967
|
/**
|
|
1817
1968
|
* Iterates every active connector source in the org and re-runs register_webhooks for each. Per-source errors are captured individually — one failure does not block the others.
|
|
1818
1969
|
* @summary Resubscribe webhooks for every connector source
|
|
@@ -1838,6 +1989,16 @@ exports.AdminConnectorWebhooksApiFp = AdminConnectorWebhooksApiFp;
|
|
|
1838
1989
|
const AdminConnectorWebhooksApiFactory = function (configuration, basePath, axios) {
|
|
1839
1990
|
const localVarFp = (0, exports.AdminConnectorWebhooksApiFp)(configuration);
|
|
1840
1991
|
return {
|
|
1992
|
+
/**
|
|
1993
|
+
* Re-runs the manifest\'s DynamicSchemaLoader streams and upserts the resolved JSON Schemas into connector_provider_schemas. The next sync reads the fresh cache and (re)builds the Typesense collection from it.
|
|
1994
|
+
* @summary Regenerate provider schema cache for a connector source
|
|
1995
|
+
* @param {string} sourceUuid Connector source UUID
|
|
1996
|
+
* @param {*} [options] Override http request option.
|
|
1997
|
+
* @throws {RequiredError}
|
|
1998
|
+
*/
|
|
1999
|
+
adminConnectorsSourcesSourceUuidSchemaRegeneratePost(sourceUuid, options) {
|
|
2000
|
+
return localVarFp.adminConnectorsSourcesSourceUuidSchemaRegeneratePost(sourceUuid, options).then((request) => request(axios, basePath));
|
|
2001
|
+
},
|
|
1841
2002
|
/**
|
|
1842
2003
|
* Re-publish a previously recorded delivery through the forge.webhook exchange. A new external_id is minted so the worker processes the replay end-to-end.
|
|
1843
2004
|
* @summary Replay a recorded webhook delivery
|
|
@@ -1856,11 +2017,23 @@ const AdminConnectorWebhooksApiFactory = function (configuration, basePath, axio
|
|
|
1856
2017
|
* @param {string} [status] Filter by delivery status (pending, processed, failed)
|
|
1857
2018
|
* @param {number} [limit] Page size (default 50, max 200)
|
|
1858
2019
|
* @param {string} [beforeUuid] Cursor: return rows older than the delivery with this UUID
|
|
2020
|
+
* @param {string} [since] Lower bound (inclusive) on received_at, RFC3339 / ISO-8601 (e.g. 2026-05-01T00:00:00Z)
|
|
2021
|
+
* @param {string} [until] Upper bound (exclusive) on received_at, RFC3339 / ISO-8601 (e.g. 2026-05-06T00:00:00Z)
|
|
1859
2022
|
* @param {*} [options] Override http request option.
|
|
1860
2023
|
* @throws {RequiredError}
|
|
1861
2024
|
*/
|
|
1862
|
-
adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, options) {
|
|
1863
|
-
return localVarFp.adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, options).then((request) => request(axios, basePath));
|
|
2025
|
+
adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, since, until, options) {
|
|
2026
|
+
return localVarFp.adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, since, until, options).then((request) => request(axios, basePath));
|
|
2027
|
+
},
|
|
2028
|
+
/**
|
|
2029
|
+
* Verify each active webhook subscription still exists on the provider; flip rows whose subscription is gone (404 from the provider) to status=\'stale\'. Read-only against the provider; UPDATE-only against our DB. Idempotent.
|
|
2030
|
+
* @summary Reconcile webhook subscriptions against the provider
|
|
2031
|
+
* @param {string} sourceUuid Connector source UUID
|
|
2032
|
+
* @param {*} [options] Override http request option.
|
|
2033
|
+
* @throws {RequiredError}
|
|
2034
|
+
*/
|
|
2035
|
+
adminConnectorsSourcesSourceUuidWebhooksReconcilePost(sourceUuid, options) {
|
|
2036
|
+
return localVarFp.adminConnectorsSourcesSourceUuidWebhooksReconcilePost(sourceUuid, options).then((request) => request(axios, basePath));
|
|
1864
2037
|
},
|
|
1865
2038
|
/**
|
|
1866
2039
|
* Re-run the register_webhooks post-install hook for one connector source. Idempotent via ON CONFLICT (source_id, topic) DO UPDATE.
|
|
@@ -1872,6 +2045,15 @@ const AdminConnectorWebhooksApiFactory = function (configuration, basePath, axio
|
|
|
1872
2045
|
adminConnectorsSourcesSourceUuidWebhooksResubscribePost(sourceUuid, options) {
|
|
1873
2046
|
return localVarFp.adminConnectorsSourcesSourceUuidWebhooksResubscribePost(sourceUuid, options).then((request) => request(axios, basePath));
|
|
1874
2047
|
},
|
|
2048
|
+
/**
|
|
2049
|
+
* Iterates every active connector source in the org and runs the per-source webhook reconciliation pass. Marks subscriptions whose provider counterparts no longer exist as \'stale\'. Designed for cron-driven invocation; per-source errors are captured individually.
|
|
2050
|
+
* @summary Reconcile webhook subscriptions for every connector source
|
|
2051
|
+
* @param {*} [options] Override http request option.
|
|
2052
|
+
* @throws {RequiredError}
|
|
2053
|
+
*/
|
|
2054
|
+
adminConnectorsWebhooksReconcileAllPost(options) {
|
|
2055
|
+
return localVarFp.adminConnectorsWebhooksReconcileAllPost(options).then((request) => request(axios, basePath));
|
|
2056
|
+
},
|
|
1875
2057
|
/**
|
|
1876
2058
|
* Iterates every active connector source in the org and re-runs register_webhooks for each. Per-source errors are captured individually — one failure does not block the others.
|
|
1877
2059
|
* @summary Resubscribe webhooks for every connector source
|
|
@@ -1891,6 +2073,17 @@ exports.AdminConnectorWebhooksApiFactory = AdminConnectorWebhooksApiFactory;
|
|
|
1891
2073
|
* @extends {BaseAPI}
|
|
1892
2074
|
*/
|
|
1893
2075
|
class AdminConnectorWebhooksApi extends base_1.BaseAPI {
|
|
2076
|
+
/**
|
|
2077
|
+
* Re-runs the manifest\'s DynamicSchemaLoader streams and upserts the resolved JSON Schemas into connector_provider_schemas. The next sync reads the fresh cache and (re)builds the Typesense collection from it.
|
|
2078
|
+
* @summary Regenerate provider schema cache for a connector source
|
|
2079
|
+
* @param {string} sourceUuid Connector source UUID
|
|
2080
|
+
* @param {*} [options] Override http request option.
|
|
2081
|
+
* @throws {RequiredError}
|
|
2082
|
+
* @memberof AdminConnectorWebhooksApi
|
|
2083
|
+
*/
|
|
2084
|
+
adminConnectorsSourcesSourceUuidSchemaRegeneratePost(sourceUuid, options) {
|
|
2085
|
+
return (0, exports.AdminConnectorWebhooksApiFp)(this.configuration).adminConnectorsSourcesSourceUuidSchemaRegeneratePost(sourceUuid, options).then((request) => request(this.axios, this.basePath));
|
|
2086
|
+
}
|
|
1894
2087
|
/**
|
|
1895
2088
|
* Re-publish a previously recorded delivery through the forge.webhook exchange. A new external_id is minted so the worker processes the replay end-to-end.
|
|
1896
2089
|
* @summary Replay a recorded webhook delivery
|
|
@@ -1910,12 +2103,25 @@ class AdminConnectorWebhooksApi extends base_1.BaseAPI {
|
|
|
1910
2103
|
* @param {string} [status] Filter by delivery status (pending, processed, failed)
|
|
1911
2104
|
* @param {number} [limit] Page size (default 50, max 200)
|
|
1912
2105
|
* @param {string} [beforeUuid] Cursor: return rows older than the delivery with this UUID
|
|
2106
|
+
* @param {string} [since] Lower bound (inclusive) on received_at, RFC3339 / ISO-8601 (e.g. 2026-05-01T00:00:00Z)
|
|
2107
|
+
* @param {string} [until] Upper bound (exclusive) on received_at, RFC3339 / ISO-8601 (e.g. 2026-05-06T00:00:00Z)
|
|
1913
2108
|
* @param {*} [options] Override http request option.
|
|
1914
2109
|
* @throws {RequiredError}
|
|
1915
2110
|
* @memberof AdminConnectorWebhooksApi
|
|
1916
2111
|
*/
|
|
1917
|
-
adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, options) {
|
|
1918
|
-
return (0, exports.AdminConnectorWebhooksApiFp)(this.configuration).adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, options).then((request) => request(this.axios, this.basePath));
|
|
2112
|
+
adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, since, until, options) {
|
|
2113
|
+
return (0, exports.AdminConnectorWebhooksApiFp)(this.configuration).adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, since, until, options).then((request) => request(this.axios, this.basePath));
|
|
2114
|
+
}
|
|
2115
|
+
/**
|
|
2116
|
+
* Verify each active webhook subscription still exists on the provider; flip rows whose subscription is gone (404 from the provider) to status=\'stale\'. Read-only against the provider; UPDATE-only against our DB. Idempotent.
|
|
2117
|
+
* @summary Reconcile webhook subscriptions against the provider
|
|
2118
|
+
* @param {string} sourceUuid Connector source UUID
|
|
2119
|
+
* @param {*} [options] Override http request option.
|
|
2120
|
+
* @throws {RequiredError}
|
|
2121
|
+
* @memberof AdminConnectorWebhooksApi
|
|
2122
|
+
*/
|
|
2123
|
+
adminConnectorsSourcesSourceUuidWebhooksReconcilePost(sourceUuid, options) {
|
|
2124
|
+
return (0, exports.AdminConnectorWebhooksApiFp)(this.configuration).adminConnectorsSourcesSourceUuidWebhooksReconcilePost(sourceUuid, options).then((request) => request(this.axios, this.basePath));
|
|
1919
2125
|
}
|
|
1920
2126
|
/**
|
|
1921
2127
|
* Re-run the register_webhooks post-install hook for one connector source. Idempotent via ON CONFLICT (source_id, topic) DO UPDATE.
|
|
@@ -1928,6 +2134,16 @@ class AdminConnectorWebhooksApi extends base_1.BaseAPI {
|
|
|
1928
2134
|
adminConnectorsSourcesSourceUuidWebhooksResubscribePost(sourceUuid, options) {
|
|
1929
2135
|
return (0, exports.AdminConnectorWebhooksApiFp)(this.configuration).adminConnectorsSourcesSourceUuidWebhooksResubscribePost(sourceUuid, options).then((request) => request(this.axios, this.basePath));
|
|
1930
2136
|
}
|
|
2137
|
+
/**
|
|
2138
|
+
* Iterates every active connector source in the org and runs the per-source webhook reconciliation pass. Marks subscriptions whose provider counterparts no longer exist as \'stale\'. Designed for cron-driven invocation; per-source errors are captured individually.
|
|
2139
|
+
* @summary Reconcile webhook subscriptions for every connector source
|
|
2140
|
+
* @param {*} [options] Override http request option.
|
|
2141
|
+
* @throws {RequiredError}
|
|
2142
|
+
* @memberof AdminConnectorWebhooksApi
|
|
2143
|
+
*/
|
|
2144
|
+
adminConnectorsWebhooksReconcileAllPost(options) {
|
|
2145
|
+
return (0, exports.AdminConnectorWebhooksApiFp)(this.configuration).adminConnectorsWebhooksReconcileAllPost(options).then((request) => request(this.axios, this.basePath));
|
|
2146
|
+
}
|
|
1931
2147
|
/**
|
|
1932
2148
|
* Iterates every active connector source in the org and re-runs register_webhooks for each. Per-source errors are captured individually — one failure does not block the others.
|
|
1933
2149
|
* @summary Resubscribe webhooks for every connector source
|
|
@@ -15094,6 +15310,60 @@ const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
15094
15310
|
options: localVarRequestOptions,
|
|
15095
15311
|
};
|
|
15096
15312
|
}),
|
|
15313
|
+
/**
|
|
15314
|
+
*
|
|
15315
|
+
* @summary Resume a cancelled subscription with remaining tenure (entitlement grant only, no Shopify call)
|
|
15316
|
+
* @param {*} [options] Override http request option.
|
|
15317
|
+
* @throws {RequiredError}
|
|
15318
|
+
*/
|
|
15319
|
+
apiV1BillingResumeCancelledSubscriptionPost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
15320
|
+
const localVarPath = `/api/v1/billing/resume-cancelled-subscription`;
|
|
15321
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15322
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15323
|
+
let baseOptions;
|
|
15324
|
+
if (configuration) {
|
|
15325
|
+
baseOptions = configuration.baseOptions;
|
|
15326
|
+
}
|
|
15327
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
15328
|
+
const localVarHeaderParameter = {};
|
|
15329
|
+
const localVarQueryParameter = {};
|
|
15330
|
+
// authentication BearerAuth required
|
|
15331
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
15332
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15333
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15334
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15335
|
+
return {
|
|
15336
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15337
|
+
options: localVarRequestOptions,
|
|
15338
|
+
};
|
|
15339
|
+
}),
|
|
15340
|
+
/**
|
|
15341
|
+
*
|
|
15342
|
+
* @summary Returning-merchant signal — does this org have a cancelled paid plan with remaining tenure?
|
|
15343
|
+
* @param {*} [options] Override http request option.
|
|
15344
|
+
* @throws {RequiredError}
|
|
15345
|
+
*/
|
|
15346
|
+
apiV1BillingReturningMerchantSignalGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
15347
|
+
const localVarPath = `/api/v1/billing/returning-merchant-signal`;
|
|
15348
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15349
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15350
|
+
let baseOptions;
|
|
15351
|
+
if (configuration) {
|
|
15352
|
+
baseOptions = configuration.baseOptions;
|
|
15353
|
+
}
|
|
15354
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
15355
|
+
const localVarHeaderParameter = {};
|
|
15356
|
+
const localVarQueryParameter = {};
|
|
15357
|
+
// authentication BearerAuth required
|
|
15358
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
15359
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15360
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15361
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15362
|
+
return {
|
|
15363
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15364
|
+
options: localVarRequestOptions,
|
|
15365
|
+
};
|
|
15366
|
+
}),
|
|
15097
15367
|
/**
|
|
15098
15368
|
*
|
|
15099
15369
|
* @summary Create a new subscription
|
|
@@ -15319,6 +15589,36 @@ const BillingApiFp = function (configuration) {
|
|
|
15319
15589
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15320
15590
|
});
|
|
15321
15591
|
},
|
|
15592
|
+
/**
|
|
15593
|
+
*
|
|
15594
|
+
* @summary Resume a cancelled subscription with remaining tenure (entitlement grant only, no Shopify call)
|
|
15595
|
+
* @param {*} [options] Override http request option.
|
|
15596
|
+
* @throws {RequiredError}
|
|
15597
|
+
*/
|
|
15598
|
+
apiV1BillingResumeCancelledSubscriptionPost(options) {
|
|
15599
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15600
|
+
var _a, _b, _c;
|
|
15601
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1BillingResumeCancelledSubscriptionPost(options);
|
|
15602
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15603
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.apiV1BillingResumeCancelledSubscriptionPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15604
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15605
|
+
});
|
|
15606
|
+
},
|
|
15607
|
+
/**
|
|
15608
|
+
*
|
|
15609
|
+
* @summary Returning-merchant signal — does this org have a cancelled paid plan with remaining tenure?
|
|
15610
|
+
* @param {*} [options] Override http request option.
|
|
15611
|
+
* @throws {RequiredError}
|
|
15612
|
+
*/
|
|
15613
|
+
apiV1BillingReturningMerchantSignalGet(options) {
|
|
15614
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15615
|
+
var _a, _b, _c;
|
|
15616
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1BillingReturningMerchantSignalGet(options);
|
|
15617
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15618
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.apiV1BillingReturningMerchantSignalGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15619
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15620
|
+
});
|
|
15621
|
+
},
|
|
15322
15622
|
/**
|
|
15323
15623
|
*
|
|
15324
15624
|
* @summary Create a new subscription
|
|
@@ -15451,6 +15751,24 @@ const BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
15451
15751
|
apiV1BillingPlansGet(options) {
|
|
15452
15752
|
return localVarFp.apiV1BillingPlansGet(options).then((request) => request(axios, basePath));
|
|
15453
15753
|
},
|
|
15754
|
+
/**
|
|
15755
|
+
*
|
|
15756
|
+
* @summary Resume a cancelled subscription with remaining tenure (entitlement grant only, no Shopify call)
|
|
15757
|
+
* @param {*} [options] Override http request option.
|
|
15758
|
+
* @throws {RequiredError}
|
|
15759
|
+
*/
|
|
15760
|
+
apiV1BillingResumeCancelledSubscriptionPost(options) {
|
|
15761
|
+
return localVarFp.apiV1BillingResumeCancelledSubscriptionPost(options).then((request) => request(axios, basePath));
|
|
15762
|
+
},
|
|
15763
|
+
/**
|
|
15764
|
+
*
|
|
15765
|
+
* @summary Returning-merchant signal — does this org have a cancelled paid plan with remaining tenure?
|
|
15766
|
+
* @param {*} [options] Override http request option.
|
|
15767
|
+
* @throws {RequiredError}
|
|
15768
|
+
*/
|
|
15769
|
+
apiV1BillingReturningMerchantSignalGet(options) {
|
|
15770
|
+
return localVarFp.apiV1BillingReturningMerchantSignalGet(options).then((request) => request(axios, basePath));
|
|
15771
|
+
},
|
|
15454
15772
|
/**
|
|
15455
15773
|
*
|
|
15456
15774
|
* @summary Create a new subscription
|
|
@@ -15565,6 +15883,26 @@ class BillingApi extends base_1.BaseAPI {
|
|
|
15565
15883
|
apiV1BillingPlansGet(options) {
|
|
15566
15884
|
return (0, exports.BillingApiFp)(this.configuration).apiV1BillingPlansGet(options).then((request) => request(this.axios, this.basePath));
|
|
15567
15885
|
}
|
|
15886
|
+
/**
|
|
15887
|
+
*
|
|
15888
|
+
* @summary Resume a cancelled subscription with remaining tenure (entitlement grant only, no Shopify call)
|
|
15889
|
+
* @param {*} [options] Override http request option.
|
|
15890
|
+
* @throws {RequiredError}
|
|
15891
|
+
* @memberof BillingApi
|
|
15892
|
+
*/
|
|
15893
|
+
apiV1BillingResumeCancelledSubscriptionPost(options) {
|
|
15894
|
+
return (0, exports.BillingApiFp)(this.configuration).apiV1BillingResumeCancelledSubscriptionPost(options).then((request) => request(this.axios, this.basePath));
|
|
15895
|
+
}
|
|
15896
|
+
/**
|
|
15897
|
+
*
|
|
15898
|
+
* @summary Returning-merchant signal — does this org have a cancelled paid plan with remaining tenure?
|
|
15899
|
+
* @param {*} [options] Override http request option.
|
|
15900
|
+
* @throws {RequiredError}
|
|
15901
|
+
* @memberof BillingApi
|
|
15902
|
+
*/
|
|
15903
|
+
apiV1BillingReturningMerchantSignalGet(options) {
|
|
15904
|
+
return (0, exports.BillingApiFp)(this.configuration).apiV1BillingReturningMerchantSignalGet(options).then((request) => request(this.axios, this.basePath));
|
|
15905
|
+
}
|
|
15568
15906
|
/**
|
|
15569
15907
|
*
|
|
15570
15908
|
* @summary Create a new subscription
|
|
@@ -20814,7 +21152,7 @@ const ConnectorAdminAuthApiAxiosParamCreator = function (configuration) {
|
|
|
20814
21152
|
};
|
|
20815
21153
|
}),
|
|
20816
21154
|
/**
|
|
20817
|
-
*
|
|
21155
|
+
* Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
|
|
20818
21156
|
* @summary Validate connector authentication credentials
|
|
20819
21157
|
* @param {string} uuid Authentication UUID
|
|
20820
21158
|
* @param {*} [options] Override http request option.
|
|
@@ -20935,7 +21273,7 @@ const ConnectorAdminAuthApiFp = function (configuration) {
|
|
|
20935
21273
|
});
|
|
20936
21274
|
},
|
|
20937
21275
|
/**
|
|
20938
|
-
*
|
|
21276
|
+
* Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
|
|
20939
21277
|
* @summary Validate connector authentication credentials
|
|
20940
21278
|
* @param {string} uuid Authentication UUID
|
|
20941
21279
|
* @param {*} [options] Override http request option.
|
|
@@ -21011,7 +21349,7 @@ const ConnectorAdminAuthApiFactory = function (configuration, basePath, axios) {
|
|
|
21011
21349
|
return localVarFp.adminConnectorAuthUuidPut(uuid, connectorUpdateAuthRequest, options).then((request) => request(axios, basePath));
|
|
21012
21350
|
},
|
|
21013
21351
|
/**
|
|
21014
|
-
*
|
|
21352
|
+
* Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
|
|
21015
21353
|
* @summary Validate connector authentication credentials
|
|
21016
21354
|
* @param {string} uuid Authentication UUID
|
|
21017
21355
|
* @param {*} [options] Override http request option.
|
|
@@ -21086,7 +21424,7 @@ class ConnectorAdminAuthApi extends base_1.BaseAPI {
|
|
|
21086
21424
|
return (0, exports.ConnectorAdminAuthApiFp)(this.configuration).adminConnectorAuthUuidPut(uuid, connectorUpdateAuthRequest, options).then((request) => request(this.axios, this.basePath));
|
|
21087
21425
|
}
|
|
21088
21426
|
/**
|
|
21089
|
-
*
|
|
21427
|
+
* Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
|
|
21090
21428
|
* @summary Validate connector authentication credentials
|
|
21091
21429
|
* @param {string} uuid Authentication UUID
|
|
21092
21430
|
* @param {*} [options] Override http request option.
|
|
@@ -23047,7 +23385,7 @@ const ConnectorAdminSourcesApiAxiosParamCreator = function (configuration) {
|
|
|
23047
23385
|
};
|
|
23048
23386
|
}),
|
|
23049
23387
|
/**
|
|
23050
|
-
*
|
|
23388
|
+
* Runs a synchronous connection check against the source\'s stored config + credentials. Returns the forge check result directly — no polling required. Falls back to the legacy RabbitMQ dispatch path only when the check service is not wired.
|
|
23051
23389
|
* @summary Check source connectivity
|
|
23052
23390
|
* @param {string} uuid Source UUID
|
|
23053
23391
|
* @param {*} [options] Override http request option.
|
|
@@ -23109,7 +23447,7 @@ const ConnectorAdminSourcesApiAxiosParamCreator = function (configuration) {
|
|
|
23109
23447
|
};
|
|
23110
23448
|
}),
|
|
23111
23449
|
/**
|
|
23112
|
-
*
|
|
23450
|
+
* Runs a synchronous schema discovery against the source\'s stored config + credentials. Persists the catalog to connector_sources.discovered_catalog and returns it directly. Falls back to the legacy RabbitMQ dispatch path only when the check service is not wired.
|
|
23113
23451
|
* @summary Discover source stream catalog
|
|
23114
23452
|
* @param {string} uuid Source UUID
|
|
23115
23453
|
* @param {*} [options] Override http request option.
|
|
@@ -23299,7 +23637,7 @@ const ConnectorAdminSourcesApiFp = function (configuration) {
|
|
|
23299
23637
|
});
|
|
23300
23638
|
},
|
|
23301
23639
|
/**
|
|
23302
|
-
*
|
|
23640
|
+
* Runs a synchronous connection check against the source\'s stored config + credentials. Returns the forge check result directly — no polling required. Falls back to the legacy RabbitMQ dispatch path only when the check service is not wired.
|
|
23303
23641
|
* @summary Check source connectivity
|
|
23304
23642
|
* @param {string} uuid Source UUID
|
|
23305
23643
|
* @param {*} [options] Override http request option.
|
|
@@ -23331,7 +23669,7 @@ const ConnectorAdminSourcesApiFp = function (configuration) {
|
|
|
23331
23669
|
});
|
|
23332
23670
|
},
|
|
23333
23671
|
/**
|
|
23334
|
-
*
|
|
23672
|
+
* Runs a synchronous schema discovery against the source\'s stored config + credentials. Persists the catalog to connector_sources.discovered_catalog and returns it directly. Falls back to the legacy RabbitMQ dispatch path only when the check service is not wired.
|
|
23335
23673
|
* @summary Discover source stream catalog
|
|
23336
23674
|
* @param {string} uuid Source UUID
|
|
23337
23675
|
* @param {*} [options] Override http request option.
|
|
@@ -23436,7 +23774,7 @@ const ConnectorAdminSourcesApiFactory = function (configuration, basePath, axios
|
|
|
23436
23774
|
return localVarFp.adminConnectorSourcesTestConnectionPost(connectorTestConnectionRequest, options).then((request) => request(axios, basePath));
|
|
23437
23775
|
},
|
|
23438
23776
|
/**
|
|
23439
|
-
*
|
|
23777
|
+
* Runs a synchronous connection check against the source\'s stored config + credentials. Returns the forge check result directly — no polling required. Falls back to the legacy RabbitMQ dispatch path only when the check service is not wired.
|
|
23440
23778
|
* @summary Check source connectivity
|
|
23441
23779
|
* @param {string} uuid Source UUID
|
|
23442
23780
|
* @param {*} [options] Override http request option.
|
|
@@ -23456,7 +23794,7 @@ const ConnectorAdminSourcesApiFactory = function (configuration, basePath, axios
|
|
|
23456
23794
|
return localVarFp.adminConnectorSourcesUuidDelete(uuid, options).then((request) => request(axios, basePath));
|
|
23457
23795
|
},
|
|
23458
23796
|
/**
|
|
23459
|
-
*
|
|
23797
|
+
* Runs a synchronous schema discovery against the source\'s stored config + credentials. Persists the catalog to connector_sources.discovered_catalog and returns it directly. Falls back to the legacy RabbitMQ dispatch path only when the check service is not wired.
|
|
23460
23798
|
* @summary Discover source stream catalog
|
|
23461
23799
|
* @param {string} uuid Source UUID
|
|
23462
23800
|
* @param {*} [options] Override http request option.
|
|
@@ -23540,7 +23878,7 @@ class ConnectorAdminSourcesApi extends base_1.BaseAPI {
|
|
|
23540
23878
|
return (0, exports.ConnectorAdminSourcesApiFp)(this.configuration).adminConnectorSourcesTestConnectionPost(connectorTestConnectionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23541
23879
|
}
|
|
23542
23880
|
/**
|
|
23543
|
-
*
|
|
23881
|
+
* Runs a synchronous connection check against the source\'s stored config + credentials. Returns the forge check result directly — no polling required. Falls back to the legacy RabbitMQ dispatch path only when the check service is not wired.
|
|
23544
23882
|
* @summary Check source connectivity
|
|
23545
23883
|
* @param {string} uuid Source UUID
|
|
23546
23884
|
* @param {*} [options] Override http request option.
|
|
@@ -23562,7 +23900,7 @@ class ConnectorAdminSourcesApi extends base_1.BaseAPI {
|
|
|
23562
23900
|
return (0, exports.ConnectorAdminSourcesApiFp)(this.configuration).adminConnectorSourcesUuidDelete(uuid, options).then((request) => request(this.axios, this.basePath));
|
|
23563
23901
|
}
|
|
23564
23902
|
/**
|
|
23565
|
-
*
|
|
23903
|
+
* Runs a synchronous schema discovery against the source\'s stored config + credentials. Persists the catalog to connector_sources.discovered_catalog and returns it directly. Falls back to the legacy RabbitMQ dispatch path only when the check service is not wired.
|
|
23566
23904
|
* @summary Discover source stream catalog
|
|
23567
23905
|
* @param {string} uuid Source UUID
|
|
23568
23906
|
* @param {*} [options] Override http request option.
|
|
@@ -29234,7 +29572,7 @@ const ConnectorsApiAxiosParamCreator = function (configuration) {
|
|
|
29234
29572
|
};
|
|
29235
29573
|
}),
|
|
29236
29574
|
/**
|
|
29237
|
-
*
|
|
29575
|
+
* Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
|
|
29238
29576
|
* @summary Validate connector authentication credentials
|
|
29239
29577
|
* @param {string} uuid Authentication UUID
|
|
29240
29578
|
* @param {*} [options] Override http request option.
|
|
@@ -30491,7 +30829,7 @@ const ConnectorsApiFp = function (configuration) {
|
|
|
30491
30829
|
});
|
|
30492
30830
|
},
|
|
30493
30831
|
/**
|
|
30494
|
-
*
|
|
30832
|
+
* Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
|
|
30495
30833
|
* @summary Validate connector authentication credentials
|
|
30496
30834
|
* @param {string} uuid Authentication UUID
|
|
30497
30835
|
* @param {*} [options] Override http request option.
|
|
@@ -31196,7 +31534,7 @@ const ConnectorsApiFactory = function (configuration, basePath, axios) {
|
|
|
31196
31534
|
return localVarFp.v1ConnectorsAuthUuidPut(uuid, connectorUpdateAuthRequest, options).then((request) => request(axios, basePath));
|
|
31197
31535
|
},
|
|
31198
31536
|
/**
|
|
31199
|
-
*
|
|
31537
|
+
* Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
|
|
31200
31538
|
* @summary Validate connector authentication credentials
|
|
31201
31539
|
* @param {string} uuid Authentication UUID
|
|
31202
31540
|
* @param {*} [options] Override http request option.
|
|
@@ -31717,7 +32055,7 @@ class ConnectorsApi extends base_1.BaseAPI {
|
|
|
31717
32055
|
return (0, exports.ConnectorsApiFp)(this.configuration).v1ConnectorsAuthUuidPut(uuid, connectorUpdateAuthRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31718
32056
|
}
|
|
31719
32057
|
/**
|
|
31720
|
-
*
|
|
32058
|
+
* Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
|
|
31721
32059
|
* @summary Validate connector authentication credentials
|
|
31722
32060
|
* @param {string} uuid Authentication UUID
|
|
31723
32061
|
* @param {*} [options] Override http request option.
|
|
@@ -40346,6 +40684,105 @@ class InternalApi extends base_1.BaseAPI {
|
|
|
40346
40684
|
}
|
|
40347
40685
|
}
|
|
40348
40686
|
exports.InternalApi = InternalApi;
|
|
40687
|
+
/**
|
|
40688
|
+
* InternalConnectorWebhooksApi - axios parameter creator
|
|
40689
|
+
* @export
|
|
40690
|
+
*/
|
|
40691
|
+
const InternalConnectorWebhooksApiAxiosParamCreator = function (configuration) {
|
|
40692
|
+
return {
|
|
40693
|
+
/**
|
|
40694
|
+
* Walks every connector_authentications row whose org is soft-deleted and credentials_encrypted is still populated. For each, decrypts the credentials, invokes the registrar\'s RevokeAuthorization (Shopify implements this; other connectors return NoRevoker counted), and NULLs the blob on success. Idempotent — re-runs converge on the empty set.
|
|
40695
|
+
* @summary Revoke orphan connector authorizations
|
|
40696
|
+
* @param {*} [options] Override http request option.
|
|
40697
|
+
* @throws {RequiredError}
|
|
40698
|
+
*/
|
|
40699
|
+
internalConnectorWebhooksRevokeOrphanAuthorizationsPost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
40700
|
+
const localVarPath = `/internal/connector-webhooks/revoke-orphan-authorizations`;
|
|
40701
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40702
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
40703
|
+
let baseOptions;
|
|
40704
|
+
if (configuration) {
|
|
40705
|
+
baseOptions = configuration.baseOptions;
|
|
40706
|
+
}
|
|
40707
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
40708
|
+
const localVarHeaderParameter = {};
|
|
40709
|
+
const localVarQueryParameter = {};
|
|
40710
|
+
// authentication BearerAuth required
|
|
40711
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
40712
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
40713
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40714
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
40715
|
+
return {
|
|
40716
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
40717
|
+
options: localVarRequestOptions,
|
|
40718
|
+
};
|
|
40719
|
+
}),
|
|
40720
|
+
};
|
|
40721
|
+
};
|
|
40722
|
+
exports.InternalConnectorWebhooksApiAxiosParamCreator = InternalConnectorWebhooksApiAxiosParamCreator;
|
|
40723
|
+
/**
|
|
40724
|
+
* InternalConnectorWebhooksApi - functional programming interface
|
|
40725
|
+
* @export
|
|
40726
|
+
*/
|
|
40727
|
+
const InternalConnectorWebhooksApiFp = function (configuration) {
|
|
40728
|
+
const localVarAxiosParamCreator = (0, exports.InternalConnectorWebhooksApiAxiosParamCreator)(configuration);
|
|
40729
|
+
return {
|
|
40730
|
+
/**
|
|
40731
|
+
* Walks every connector_authentications row whose org is soft-deleted and credentials_encrypted is still populated. For each, decrypts the credentials, invokes the registrar\'s RevokeAuthorization (Shopify implements this; other connectors return NoRevoker counted), and NULLs the blob on success. Idempotent — re-runs converge on the empty set.
|
|
40732
|
+
* @summary Revoke orphan connector authorizations
|
|
40733
|
+
* @param {*} [options] Override http request option.
|
|
40734
|
+
* @throws {RequiredError}
|
|
40735
|
+
*/
|
|
40736
|
+
internalConnectorWebhooksRevokeOrphanAuthorizationsPost(options) {
|
|
40737
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
40738
|
+
var _a, _b, _c;
|
|
40739
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.internalConnectorWebhooksRevokeOrphanAuthorizationsPost(options);
|
|
40740
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
40741
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InternalConnectorWebhooksApi.internalConnectorWebhooksRevokeOrphanAuthorizationsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
40742
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40743
|
+
});
|
|
40744
|
+
},
|
|
40745
|
+
};
|
|
40746
|
+
};
|
|
40747
|
+
exports.InternalConnectorWebhooksApiFp = InternalConnectorWebhooksApiFp;
|
|
40748
|
+
/**
|
|
40749
|
+
* InternalConnectorWebhooksApi - factory interface
|
|
40750
|
+
* @export
|
|
40751
|
+
*/
|
|
40752
|
+
const InternalConnectorWebhooksApiFactory = function (configuration, basePath, axios) {
|
|
40753
|
+
const localVarFp = (0, exports.InternalConnectorWebhooksApiFp)(configuration);
|
|
40754
|
+
return {
|
|
40755
|
+
/**
|
|
40756
|
+
* Walks every connector_authentications row whose org is soft-deleted and credentials_encrypted is still populated. For each, decrypts the credentials, invokes the registrar\'s RevokeAuthorization (Shopify implements this; other connectors return NoRevoker counted), and NULLs the blob on success. Idempotent — re-runs converge on the empty set.
|
|
40757
|
+
* @summary Revoke orphan connector authorizations
|
|
40758
|
+
* @param {*} [options] Override http request option.
|
|
40759
|
+
* @throws {RequiredError}
|
|
40760
|
+
*/
|
|
40761
|
+
internalConnectorWebhooksRevokeOrphanAuthorizationsPost(options) {
|
|
40762
|
+
return localVarFp.internalConnectorWebhooksRevokeOrphanAuthorizationsPost(options).then((request) => request(axios, basePath));
|
|
40763
|
+
},
|
|
40764
|
+
};
|
|
40765
|
+
};
|
|
40766
|
+
exports.InternalConnectorWebhooksApiFactory = InternalConnectorWebhooksApiFactory;
|
|
40767
|
+
/**
|
|
40768
|
+
* InternalConnectorWebhooksApi - object-oriented interface
|
|
40769
|
+
* @export
|
|
40770
|
+
* @class InternalConnectorWebhooksApi
|
|
40771
|
+
* @extends {BaseAPI}
|
|
40772
|
+
*/
|
|
40773
|
+
class InternalConnectorWebhooksApi extends base_1.BaseAPI {
|
|
40774
|
+
/**
|
|
40775
|
+
* Walks every connector_authentications row whose org is soft-deleted and credentials_encrypted is still populated. For each, decrypts the credentials, invokes the registrar\'s RevokeAuthorization (Shopify implements this; other connectors return NoRevoker counted), and NULLs the blob on success. Idempotent — re-runs converge on the empty set.
|
|
40776
|
+
* @summary Revoke orphan connector authorizations
|
|
40777
|
+
* @param {*} [options] Override http request option.
|
|
40778
|
+
* @throws {RequiredError}
|
|
40779
|
+
* @memberof InternalConnectorWebhooksApi
|
|
40780
|
+
*/
|
|
40781
|
+
internalConnectorWebhooksRevokeOrphanAuthorizationsPost(options) {
|
|
40782
|
+
return (0, exports.InternalConnectorWebhooksApiFp)(this.configuration).internalConnectorWebhooksRevokeOrphanAuthorizationsPost(options).then((request) => request(this.axios, this.basePath));
|
|
40783
|
+
}
|
|
40784
|
+
}
|
|
40785
|
+
exports.InternalConnectorWebhooksApi = InternalConnectorWebhooksApi;
|
|
40349
40786
|
/**
|
|
40350
40787
|
* ItemAnalyticsApi - axios parameter creator
|
|
40351
40788
|
* @export
|
|
@@ -50303,6 +50740,119 @@ class PlansApi extends base_1.BaseAPI {
|
|
|
50303
50740
|
}
|
|
50304
50741
|
}
|
|
50305
50742
|
exports.PlansApi = PlansApi;
|
|
50743
|
+
/**
|
|
50744
|
+
* PlatformPublicConnectorRunsApi - axios parameter creator
|
|
50745
|
+
* @export
|
|
50746
|
+
*/
|
|
50747
|
+
const PlatformPublicConnectorRunsApiAxiosParamCreator = function (configuration) {
|
|
50748
|
+
return {
|
|
50749
|
+
/**
|
|
50750
|
+
* Accepts a batched envelope of run-lifecycle events (backfill_complete, backfill_failed, progress) signed via HMAC-SHA256 with the connector\'s API key. Per-event idempotency via connector_run_events_dedup. Successful events transition the run phase (B7).
|
|
50751
|
+
* @summary Submit control-plane lifecycle events for a connector run
|
|
50752
|
+
* @param {number} runId connector_runs.id
|
|
50753
|
+
* @param {string} xSeekoraSignature sha256=<hex(hmac_sha256(body, api_key))>
|
|
50754
|
+
* @param {*} [options] Override http request option.
|
|
50755
|
+
* @throws {RequiredError}
|
|
50756
|
+
*/
|
|
50757
|
+
v3PublicConnectorRunsRunIdEventsPost: (runId_1, xSeekoraSignature_1, ...args_1) => __awaiter(this, [runId_1, xSeekoraSignature_1, ...args_1], void 0, function* (runId, xSeekoraSignature, options = {}) {
|
|
50758
|
+
// verify required parameter 'runId' is not null or undefined
|
|
50759
|
+
(0, common_1.assertParamExists)('v3PublicConnectorRunsRunIdEventsPost', 'runId', runId);
|
|
50760
|
+
// verify required parameter 'xSeekoraSignature' is not null or undefined
|
|
50761
|
+
(0, common_1.assertParamExists)('v3PublicConnectorRunsRunIdEventsPost', 'xSeekoraSignature', xSeekoraSignature);
|
|
50762
|
+
const localVarPath = `/v3/public/connector-runs/{run_id}/events`
|
|
50763
|
+
.replace(`{${"run_id"}}`, encodeURIComponent(String(runId)));
|
|
50764
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50765
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
50766
|
+
let baseOptions;
|
|
50767
|
+
if (configuration) {
|
|
50768
|
+
baseOptions = configuration.baseOptions;
|
|
50769
|
+
}
|
|
50770
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
50771
|
+
const localVarHeaderParameter = {};
|
|
50772
|
+
const localVarQueryParameter = {};
|
|
50773
|
+
if (xSeekoraSignature != null) {
|
|
50774
|
+
localVarHeaderParameter['X-Seekora-Signature'] = String(xSeekoraSignature);
|
|
50775
|
+
}
|
|
50776
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
50777
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
50778
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
50779
|
+
return {
|
|
50780
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
50781
|
+
options: localVarRequestOptions,
|
|
50782
|
+
};
|
|
50783
|
+
}),
|
|
50784
|
+
};
|
|
50785
|
+
};
|
|
50786
|
+
exports.PlatformPublicConnectorRunsApiAxiosParamCreator = PlatformPublicConnectorRunsApiAxiosParamCreator;
|
|
50787
|
+
/**
|
|
50788
|
+
* PlatformPublicConnectorRunsApi - functional programming interface
|
|
50789
|
+
* @export
|
|
50790
|
+
*/
|
|
50791
|
+
const PlatformPublicConnectorRunsApiFp = function (configuration) {
|
|
50792
|
+
const localVarAxiosParamCreator = (0, exports.PlatformPublicConnectorRunsApiAxiosParamCreator)(configuration);
|
|
50793
|
+
return {
|
|
50794
|
+
/**
|
|
50795
|
+
* Accepts a batched envelope of run-lifecycle events (backfill_complete, backfill_failed, progress) signed via HMAC-SHA256 with the connector\'s API key. Per-event idempotency via connector_run_events_dedup. Successful events transition the run phase (B7).
|
|
50796
|
+
* @summary Submit control-plane lifecycle events for a connector run
|
|
50797
|
+
* @param {number} runId connector_runs.id
|
|
50798
|
+
* @param {string} xSeekoraSignature sha256=<hex(hmac_sha256(body, api_key))>
|
|
50799
|
+
* @param {*} [options] Override http request option.
|
|
50800
|
+
* @throws {RequiredError}
|
|
50801
|
+
*/
|
|
50802
|
+
v3PublicConnectorRunsRunIdEventsPost(runId, xSeekoraSignature, options) {
|
|
50803
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
50804
|
+
var _a, _b, _c;
|
|
50805
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v3PublicConnectorRunsRunIdEventsPost(runId, xSeekoraSignature, options);
|
|
50806
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
50807
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlatformPublicConnectorRunsApi.v3PublicConnectorRunsRunIdEventsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
50808
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
50809
|
+
});
|
|
50810
|
+
},
|
|
50811
|
+
};
|
|
50812
|
+
};
|
|
50813
|
+
exports.PlatformPublicConnectorRunsApiFp = PlatformPublicConnectorRunsApiFp;
|
|
50814
|
+
/**
|
|
50815
|
+
* PlatformPublicConnectorRunsApi - factory interface
|
|
50816
|
+
* @export
|
|
50817
|
+
*/
|
|
50818
|
+
const PlatformPublicConnectorRunsApiFactory = function (configuration, basePath, axios) {
|
|
50819
|
+
const localVarFp = (0, exports.PlatformPublicConnectorRunsApiFp)(configuration);
|
|
50820
|
+
return {
|
|
50821
|
+
/**
|
|
50822
|
+
* Accepts a batched envelope of run-lifecycle events (backfill_complete, backfill_failed, progress) signed via HMAC-SHA256 with the connector\'s API key. Per-event idempotency via connector_run_events_dedup. Successful events transition the run phase (B7).
|
|
50823
|
+
* @summary Submit control-plane lifecycle events for a connector run
|
|
50824
|
+
* @param {number} runId connector_runs.id
|
|
50825
|
+
* @param {string} xSeekoraSignature sha256=<hex(hmac_sha256(body, api_key))>
|
|
50826
|
+
* @param {*} [options] Override http request option.
|
|
50827
|
+
* @throws {RequiredError}
|
|
50828
|
+
*/
|
|
50829
|
+
v3PublicConnectorRunsRunIdEventsPost(runId, xSeekoraSignature, options) {
|
|
50830
|
+
return localVarFp.v3PublicConnectorRunsRunIdEventsPost(runId, xSeekoraSignature, options).then((request) => request(axios, basePath));
|
|
50831
|
+
},
|
|
50832
|
+
};
|
|
50833
|
+
};
|
|
50834
|
+
exports.PlatformPublicConnectorRunsApiFactory = PlatformPublicConnectorRunsApiFactory;
|
|
50835
|
+
/**
|
|
50836
|
+
* PlatformPublicConnectorRunsApi - object-oriented interface
|
|
50837
|
+
* @export
|
|
50838
|
+
* @class PlatformPublicConnectorRunsApi
|
|
50839
|
+
* @extends {BaseAPI}
|
|
50840
|
+
*/
|
|
50841
|
+
class PlatformPublicConnectorRunsApi extends base_1.BaseAPI {
|
|
50842
|
+
/**
|
|
50843
|
+
* Accepts a batched envelope of run-lifecycle events (backfill_complete, backfill_failed, progress) signed via HMAC-SHA256 with the connector\'s API key. Per-event idempotency via connector_run_events_dedup. Successful events transition the run phase (B7).
|
|
50844
|
+
* @summary Submit control-plane lifecycle events for a connector run
|
|
50845
|
+
* @param {number} runId connector_runs.id
|
|
50846
|
+
* @param {string} xSeekoraSignature sha256=<hex(hmac_sha256(body, api_key))>
|
|
50847
|
+
* @param {*} [options] Override http request option.
|
|
50848
|
+
* @throws {RequiredError}
|
|
50849
|
+
* @memberof PlatformPublicConnectorRunsApi
|
|
50850
|
+
*/
|
|
50851
|
+
v3PublicConnectorRunsRunIdEventsPost(runId, xSeekoraSignature, options) {
|
|
50852
|
+
return (0, exports.PlatformPublicConnectorRunsApiFp)(this.configuration).v3PublicConnectorRunsRunIdEventsPost(runId, xSeekoraSignature, options).then((request) => request(this.axios, this.basePath));
|
|
50853
|
+
}
|
|
50854
|
+
}
|
|
50855
|
+
exports.PlatformPublicConnectorRunsApi = PlatformPublicConnectorRunsApi;
|
|
50306
50856
|
/**
|
|
50307
50857
|
* PlatformPublicOnboardingApi - axios parameter creator
|
|
50308
50858
|
* @export
|
|
@@ -50422,6 +50972,118 @@ class PlatformPublicOnboardingApi extends base_1.BaseAPI {
|
|
|
50422
50972
|
}
|
|
50423
50973
|
}
|
|
50424
50974
|
exports.PlatformPublicOnboardingApi = PlatformPublicOnboardingApi;
|
|
50975
|
+
/**
|
|
50976
|
+
* PlatformPublicSessionApi - axios parameter creator
|
|
50977
|
+
* @export
|
|
50978
|
+
*/
|
|
50979
|
+
const PlatformPublicSessionApiAxiosParamCreator = function (configuration) {
|
|
50980
|
+
return {
|
|
50981
|
+
/**
|
|
50982
|
+
* Returns a Seekora JWT without running the full provisioning pipeline. Use this for token-refresh after the initial /onboarding/:provider call has provisioned the tenant. shopify-app\'s auto-mint helper hits this on every stale-localStorage page load.
|
|
50983
|
+
* @summary Mint a session JWT for an already-provisioned tenant
|
|
50984
|
+
* @param {string} provider Connector provider slug (e.g. shopify)
|
|
50985
|
+
* @param {OnboardingMintRequest} onboardingMintRequest Mint payload — external_id + access_token only
|
|
50986
|
+
* @param {*} [options] Override http request option.
|
|
50987
|
+
* @throws {RequiredError}
|
|
50988
|
+
*/
|
|
50989
|
+
v3PublicSessionProviderPost: (provider_1, onboardingMintRequest_1, ...args_1) => __awaiter(this, [provider_1, onboardingMintRequest_1, ...args_1], void 0, function* (provider, onboardingMintRequest, options = {}) {
|
|
50990
|
+
// verify required parameter 'provider' is not null or undefined
|
|
50991
|
+
(0, common_1.assertParamExists)('v3PublicSessionProviderPost', 'provider', provider);
|
|
50992
|
+
// verify required parameter 'onboardingMintRequest' is not null or undefined
|
|
50993
|
+
(0, common_1.assertParamExists)('v3PublicSessionProviderPost', 'onboardingMintRequest', onboardingMintRequest);
|
|
50994
|
+
const localVarPath = `/v3/public/session/{provider}`
|
|
50995
|
+
.replace(`{${"provider"}}`, encodeURIComponent(String(provider)));
|
|
50996
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50997
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
50998
|
+
let baseOptions;
|
|
50999
|
+
if (configuration) {
|
|
51000
|
+
baseOptions = configuration.baseOptions;
|
|
51001
|
+
}
|
|
51002
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
51003
|
+
const localVarHeaderParameter = {};
|
|
51004
|
+
const localVarQueryParameter = {};
|
|
51005
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
51006
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
51007
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
51008
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
51009
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(onboardingMintRequest, localVarRequestOptions, configuration);
|
|
51010
|
+
return {
|
|
51011
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
51012
|
+
options: localVarRequestOptions,
|
|
51013
|
+
};
|
|
51014
|
+
}),
|
|
51015
|
+
};
|
|
51016
|
+
};
|
|
51017
|
+
exports.PlatformPublicSessionApiAxiosParamCreator = PlatformPublicSessionApiAxiosParamCreator;
|
|
51018
|
+
/**
|
|
51019
|
+
* PlatformPublicSessionApi - functional programming interface
|
|
51020
|
+
* @export
|
|
51021
|
+
*/
|
|
51022
|
+
const PlatformPublicSessionApiFp = function (configuration) {
|
|
51023
|
+
const localVarAxiosParamCreator = (0, exports.PlatformPublicSessionApiAxiosParamCreator)(configuration);
|
|
51024
|
+
return {
|
|
51025
|
+
/**
|
|
51026
|
+
* Returns a Seekora JWT without running the full provisioning pipeline. Use this for token-refresh after the initial /onboarding/:provider call has provisioned the tenant. shopify-app\'s auto-mint helper hits this on every stale-localStorage page load.
|
|
51027
|
+
* @summary Mint a session JWT for an already-provisioned tenant
|
|
51028
|
+
* @param {string} provider Connector provider slug (e.g. shopify)
|
|
51029
|
+
* @param {OnboardingMintRequest} onboardingMintRequest Mint payload — external_id + access_token only
|
|
51030
|
+
* @param {*} [options] Override http request option.
|
|
51031
|
+
* @throws {RequiredError}
|
|
51032
|
+
*/
|
|
51033
|
+
v3PublicSessionProviderPost(provider, onboardingMintRequest, options) {
|
|
51034
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51035
|
+
var _a, _b, _c;
|
|
51036
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v3PublicSessionProviderPost(provider, onboardingMintRequest, options);
|
|
51037
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
51038
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlatformPublicSessionApi.v3PublicSessionProviderPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
51039
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
51040
|
+
});
|
|
51041
|
+
},
|
|
51042
|
+
};
|
|
51043
|
+
};
|
|
51044
|
+
exports.PlatformPublicSessionApiFp = PlatformPublicSessionApiFp;
|
|
51045
|
+
/**
|
|
51046
|
+
* PlatformPublicSessionApi - factory interface
|
|
51047
|
+
* @export
|
|
51048
|
+
*/
|
|
51049
|
+
const PlatformPublicSessionApiFactory = function (configuration, basePath, axios) {
|
|
51050
|
+
const localVarFp = (0, exports.PlatformPublicSessionApiFp)(configuration);
|
|
51051
|
+
return {
|
|
51052
|
+
/**
|
|
51053
|
+
* Returns a Seekora JWT without running the full provisioning pipeline. Use this for token-refresh after the initial /onboarding/:provider call has provisioned the tenant. shopify-app\'s auto-mint helper hits this on every stale-localStorage page load.
|
|
51054
|
+
* @summary Mint a session JWT for an already-provisioned tenant
|
|
51055
|
+
* @param {string} provider Connector provider slug (e.g. shopify)
|
|
51056
|
+
* @param {OnboardingMintRequest} onboardingMintRequest Mint payload — external_id + access_token only
|
|
51057
|
+
* @param {*} [options] Override http request option.
|
|
51058
|
+
* @throws {RequiredError}
|
|
51059
|
+
*/
|
|
51060
|
+
v3PublicSessionProviderPost(provider, onboardingMintRequest, options) {
|
|
51061
|
+
return localVarFp.v3PublicSessionProviderPost(provider, onboardingMintRequest, options).then((request) => request(axios, basePath));
|
|
51062
|
+
},
|
|
51063
|
+
};
|
|
51064
|
+
};
|
|
51065
|
+
exports.PlatformPublicSessionApiFactory = PlatformPublicSessionApiFactory;
|
|
51066
|
+
/**
|
|
51067
|
+
* PlatformPublicSessionApi - object-oriented interface
|
|
51068
|
+
* @export
|
|
51069
|
+
* @class PlatformPublicSessionApi
|
|
51070
|
+
* @extends {BaseAPI}
|
|
51071
|
+
*/
|
|
51072
|
+
class PlatformPublicSessionApi extends base_1.BaseAPI {
|
|
51073
|
+
/**
|
|
51074
|
+
* Returns a Seekora JWT without running the full provisioning pipeline. Use this for token-refresh after the initial /onboarding/:provider call has provisioned the tenant. shopify-app\'s auto-mint helper hits this on every stale-localStorage page load.
|
|
51075
|
+
* @summary Mint a session JWT for an already-provisioned tenant
|
|
51076
|
+
* @param {string} provider Connector provider slug (e.g. shopify)
|
|
51077
|
+
* @param {OnboardingMintRequest} onboardingMintRequest Mint payload — external_id + access_token only
|
|
51078
|
+
* @param {*} [options] Override http request option.
|
|
51079
|
+
* @throws {RequiredError}
|
|
51080
|
+
* @memberof PlatformPublicSessionApi
|
|
51081
|
+
*/
|
|
51082
|
+
v3PublicSessionProviderPost(provider, onboardingMintRequest, options) {
|
|
51083
|
+
return (0, exports.PlatformPublicSessionApiFp)(this.configuration).v3PublicSessionProviderPost(provider, onboardingMintRequest, options).then((request) => request(this.axios, this.basePath));
|
|
51084
|
+
}
|
|
51085
|
+
}
|
|
51086
|
+
exports.PlatformPublicSessionApi = PlatformPublicSessionApi;
|
|
50425
51087
|
/**
|
|
50426
51088
|
* PluralsDeclensionsApi - axios parameter creator
|
|
50427
51089
|
* @export
|