@seekora-ai/admin-api 1.2.14 → 1.2.15-stage-20260517100714

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/api.ts CHANGED
@@ -11980,6 +11980,62 @@ export interface BillingProviderRefundReq {
11980
11980
  */
11981
11981
  'reason'?: string;
11982
11982
  }
11983
+ /**
11984
+ *
11985
+ * @export
11986
+ * @interface BillingProviderResumeCancelledSubscriptionResponse
11987
+ */
11988
+ export interface BillingProviderResumeCancelledSubscriptionResponse {
11989
+ /**
11990
+ *
11991
+ * @type {string}
11992
+ * @memberof BillingProviderResumeCancelledSubscriptionResponse
11993
+ */
11994
+ 'period_end'?: string;
11995
+ /**
11996
+ *
11997
+ * @type {string}
11998
+ * @memberof BillingProviderResumeCancelledSubscriptionResponse
11999
+ */
12000
+ 'plan_version_id'?: string;
12001
+ }
12002
+ /**
12003
+ *
12004
+ * @export
12005
+ * @interface BillingProviderReturningMerchantSignal
12006
+ */
12007
+ export interface BillingProviderReturningMerchantSignal {
12008
+ /**
12009
+ *
12010
+ * @type {number}
12011
+ * @memberof BillingProviderReturningMerchantSignal
12012
+ */
12013
+ 'days_remaining'?: number;
12014
+ /**
12015
+ *
12016
+ * @type {boolean}
12017
+ * @memberof BillingProviderReturningMerchantSignal
12018
+ */
12019
+ 'has_paid_tenure_remaining'?: boolean;
12020
+ /**
12021
+ *
12022
+ * @type {string}
12023
+ * @memberof BillingProviderReturningMerchantSignal
12024
+ */
12025
+ 'period_end'?: string;
12026
+ /**
12027
+ *
12028
+ * @type {string}
12029
+ * @memberof BillingProviderReturningMerchantSignal
12030
+ */
12031
+ 'plan_name'?: string;
12032
+ /**
12033
+ *
12034
+ * @type {string}
12035
+ * @memberof BillingProviderReturningMerchantSignal
12036
+ */
12037
+ 'plan_version_id'?: string;
12038
+ }
11983
12039
  /**
11984
12040
  *
11985
12041
  * @export
@@ -23645,6 +23701,56 @@ export interface DataTypesGenericResponseBillingProviderCheckoutResp {
23645
23701
  */
23646
23702
  'status'?: number;
23647
23703
  }
23704
+ /**
23705
+ *
23706
+ * @export
23707
+ * @interface DataTypesGenericResponseBillingProviderResumeCancelledSubscriptionResponse
23708
+ */
23709
+ export interface DataTypesGenericResponseBillingProviderResumeCancelledSubscriptionResponse {
23710
+ /**
23711
+ *
23712
+ * @type {BillingProviderResumeCancelledSubscriptionResponse}
23713
+ * @memberof DataTypesGenericResponseBillingProviderResumeCancelledSubscriptionResponse
23714
+ */
23715
+ 'data'?: BillingProviderResumeCancelledSubscriptionResponse;
23716
+ /**
23717
+ *
23718
+ * @type {string}
23719
+ * @memberof DataTypesGenericResponseBillingProviderResumeCancelledSubscriptionResponse
23720
+ */
23721
+ 'message'?: string;
23722
+ /**
23723
+ *
23724
+ * @type {number}
23725
+ * @memberof DataTypesGenericResponseBillingProviderResumeCancelledSubscriptionResponse
23726
+ */
23727
+ 'status'?: number;
23728
+ }
23729
+ /**
23730
+ *
23731
+ * @export
23732
+ * @interface DataTypesGenericResponseBillingProviderReturningMerchantSignal
23733
+ */
23734
+ export interface DataTypesGenericResponseBillingProviderReturningMerchantSignal {
23735
+ /**
23736
+ *
23737
+ * @type {BillingProviderReturningMerchantSignal}
23738
+ * @memberof DataTypesGenericResponseBillingProviderReturningMerchantSignal
23739
+ */
23740
+ 'data'?: BillingProviderReturningMerchantSignal;
23741
+ /**
23742
+ *
23743
+ * @type {string}
23744
+ * @memberof DataTypesGenericResponseBillingProviderReturningMerchantSignal
23745
+ */
23746
+ 'message'?: string;
23747
+ /**
23748
+ *
23749
+ * @type {number}
23750
+ * @memberof DataTypesGenericResponseBillingProviderReturningMerchantSignal
23751
+ */
23752
+ 'status'?: number;
23753
+ }
23648
23754
  /**
23649
23755
  *
23650
23756
  * @export
@@ -32567,6 +32673,12 @@ export interface DataTypesSchemaOptionsResponse {
32567
32673
  * @memberof DataTypesSchemaOptionsResponse
32568
32674
  */
32569
32675
  'nestedPaths'?: Array<string>;
32676
+ /**
32677
+ * NumericFieldOptions is the subset of indexed fields whose Typesense type is numeric (int32 / int64 / float, including their array variants). Surfaced separately so the admin UI\'s range-facet picker can show ONLY range-facetable attributes (price, weight, ratings_count) instead of falling back to the all-fields list and offering string fields like \"title\" that would produce a runtime type-mismatch on the next search.
32678
+ * @type {Array<string>}
32679
+ * @memberof DataTypesSchemaOptionsResponse
32680
+ */
32681
+ 'numericFieldOptions'?: Array<string>;
32570
32682
  /**
32571
32683
  *
32572
32684
  * @type {Array<string>}
@@ -41137,6 +41249,111 @@ export interface ModelsValidatePayloadRequest {
41137
41249
  */
41138
41250
  'payload': { [key: string]: any; };
41139
41251
  }
41252
+ /**
41253
+ *
41254
+ * @export
41255
+ * @interface OnboardingBusinessProfile
41256
+ */
41257
+ export interface OnboardingBusinessProfile {
41258
+ /**
41259
+ * primary street; address1 + \", \" + address2 if both
41260
+ * @type {string}
41261
+ * @memberof OnboardingBusinessProfile
41262
+ */
41263
+ 'address'?: string;
41264
+ /**
41265
+ *
41266
+ * @type {string}
41267
+ * @memberof OnboardingBusinessProfile
41268
+ */
41269
+ 'city'?: string;
41270
+ /**
41271
+ * country name (e.g. \"United States\")
41272
+ * @type {string}
41273
+ * @memberof OnboardingBusinessProfile
41274
+ */
41275
+ 'country'?: string;
41276
+ /**
41277
+ * E.164 or local; goes to morganization.phoneno
41278
+ * @type {string}
41279
+ * @memberof OnboardingBusinessProfile
41280
+ */
41281
+ 'phone'?: string;
41282
+ /**
41283
+ * zip / pin code; goes to morganization.zipcode
41284
+ * @type {string}
41285
+ * @memberof OnboardingBusinessProfile
41286
+ */
41287
+ 'postal_code'?: string;
41288
+ /**
41289
+ * province/region
41290
+ * @type {string}
41291
+ * @memberof OnboardingBusinessProfile
41292
+ */
41293
+ 'state'?: string;
41294
+ /**
41295
+ * primary domain
41296
+ * @type {string}
41297
+ * @memberof OnboardingBusinessProfile
41298
+ */
41299
+ 'website'?: string;
41300
+ }
41301
+ /**
41302
+ *
41303
+ * @export
41304
+ * @interface OnboardingMintRequest
41305
+ */
41306
+ export interface OnboardingMintRequest {
41307
+ /**
41308
+ *
41309
+ * @type {string}
41310
+ * @memberof OnboardingMintRequest
41311
+ */
41312
+ 'access_token'?: string;
41313
+ /**
41314
+ *
41315
+ * @type {string}
41316
+ * @memberof OnboardingMintRequest
41317
+ */
41318
+ 'external_id'?: string;
41319
+ }
41320
+ /**
41321
+ *
41322
+ * @export
41323
+ * @interface OnboardingMintResponse
41324
+ */
41325
+ export interface OnboardingMintResponse {
41326
+ /**
41327
+ *
41328
+ * @type {string}
41329
+ * @memberof OnboardingMintResponse
41330
+ */
41331
+ 'billing_currency'?: string;
41332
+ /**
41333
+ *
41334
+ * @type {number}
41335
+ * @memberof OnboardingMintResponse
41336
+ */
41337
+ 'org_id'?: number;
41338
+ /**
41339
+ *
41340
+ * @type {string}
41341
+ * @memberof OnboardingMintResponse
41342
+ */
41343
+ 'session_token'?: string;
41344
+ /**
41345
+ *
41346
+ * @type {number}
41347
+ * @memberof OnboardingMintResponse
41348
+ */
41349
+ 'store_id'?: number;
41350
+ /**
41351
+ *
41352
+ * @type {number}
41353
+ * @memberof OnboardingMintResponse
41354
+ */
41355
+ 'user_id'?: number;
41356
+ }
41140
41357
  /**
41141
41358
  *
41142
41359
  * @export
@@ -41236,6 +41453,12 @@ export interface OnboardingOnboardingRequest {
41236
41453
  * @memberof OnboardingOnboardingRequest
41237
41454
  */
41238
41455
  'bootstrap'?: OnboardingOnboardingBootstrap;
41456
+ /**
41457
+ *
41458
+ * @type {OnboardingBusinessProfile}
41459
+ * @memberof OnboardingOnboardingRequest
41460
+ */
41461
+ 'business_profile'?: OnboardingBusinessProfile;
41239
41462
  /**
41240
41463
  *
41241
41464
  * @type {string}
@@ -41266,6 +41489,12 @@ export interface OnboardingOnboardingRequest {
41266
41489
  * @memberof OnboardingOnboardingRequest
41267
41490
  */
41268
41491
  'external_id'?: string;
41492
+ /**
41493
+ *
41494
+ * @type {string}
41495
+ * @memberof OnboardingOnboardingRequest
41496
+ */
41497
+ 'owner_name'?: string;
41269
41498
  /**
41270
41499
  *
41271
41500
  * @type {{ [key: string]: any; }}
@@ -41415,12 +41644,24 @@ export interface OnboardingStoreSummary {
41415
41644
  * @memberof OnboardingStoreSummary
41416
41645
  */
41417
41646
  'name'?: string;
41647
+ /**
41648
+ *
41649
+ * @type {string}
41650
+ * @memberof OnboardingStoreSummary
41651
+ */
41652
+ 'public_key'?: string;
41418
41653
  /**
41419
41654
  *
41420
41655
  * @type {string}
41421
41656
  * @memberof OnboardingStoreSummary
41422
41657
  */
41423
41658
  'search_secret'?: string;
41659
+ /**
41660
+ * WriteSecret is mStores.XStoreWriteSecret — the credential the plugin uses for ingestion endpoints (POST /api/v1/stores/schema, POST /api/v1/stores/documents/bulk). Distinct from the Secret field which is the read-side x-storesecret. The plugin stores both.
41661
+ * @type {string}
41662
+ * @memberof OnboardingStoreSummary
41663
+ */
41664
+ 'write_secret'?: string;
41424
41665
  /**
41425
41666
  *
41426
41667
  * @type {string}
@@ -41576,6 +41817,50 @@ export interface PlatformPublicCollisionReq {
41576
41817
  */
41577
41818
  'shop_domain'?: string;
41578
41819
  }
41820
+ /**
41821
+ *
41822
+ * @export
41823
+ * @interface PlatformPublicControlPlaneEventRespRow
41824
+ */
41825
+ export interface PlatformPublicControlPlaneEventRespRow {
41826
+ /**
41827
+ *
41828
+ * @type {string}
41829
+ * @memberof PlatformPublicControlPlaneEventRespRow
41830
+ */
41831
+ 'error'?: string;
41832
+ /**
41833
+ *
41834
+ * @type {string}
41835
+ * @memberof PlatformPublicControlPlaneEventRespRow
41836
+ */
41837
+ 'idempotency_key'?: string;
41838
+ /**
41839
+ *
41840
+ * @type {string}
41841
+ * @memberof PlatformPublicControlPlaneEventRespRow
41842
+ */
41843
+ 'status'?: string;
41844
+ }
41845
+ /**
41846
+ *
41847
+ * @export
41848
+ * @interface PlatformPublicControlPlaneResponseEnvelope
41849
+ */
41850
+ export interface PlatformPublicControlPlaneResponseEnvelope {
41851
+ /**
41852
+ *
41853
+ * @type {string}
41854
+ * @memberof PlatformPublicControlPlaneResponseEnvelope
41855
+ */
41856
+ 'envelope_version'?: string;
41857
+ /**
41858
+ *
41859
+ * @type {Array<PlatformPublicControlPlaneEventRespRow>}
41860
+ * @memberof PlatformPublicControlPlaneResponseEnvelope
41861
+ */
41862
+ 'events'?: Array<PlatformPublicControlPlaneEventRespRow>;
41863
+ }
41579
41864
  /**
41580
41865
  *
41581
41866
  * @export
@@ -45989,6 +46274,43 @@ export class AdminAnalyticsApi extends BaseAPI {
45989
46274
  */
45990
46275
  export const AdminConnectorWebhooksApiAxiosParamCreator = function (configuration?: Configuration) {
45991
46276
  return {
46277
+ /**
46278
+ * 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.
46279
+ * @summary Regenerate provider schema cache for a connector source
46280
+ * @param {string} sourceUuid Connector source UUID
46281
+ * @param {*} [options] Override http request option.
46282
+ * @throws {RequiredError}
46283
+ */
46284
+ adminConnectorsSourcesSourceUuidSchemaRegeneratePost: async (sourceUuid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
46285
+ // verify required parameter 'sourceUuid' is not null or undefined
46286
+ assertParamExists('adminConnectorsSourcesSourceUuidSchemaRegeneratePost', 'sourceUuid', sourceUuid)
46287
+ const localVarPath = `/admin/connectors/sources/{source_uuid}/schema/regenerate`
46288
+ .replace(`{${"source_uuid"}}`, encodeURIComponent(String(sourceUuid)));
46289
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
46290
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
46291
+ let baseOptions;
46292
+ if (configuration) {
46293
+ baseOptions = configuration.baseOptions;
46294
+ }
46295
+
46296
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
46297
+ const localVarHeaderParameter = {} as any;
46298
+ const localVarQueryParameter = {} as any;
46299
+
46300
+ // authentication BearerAuth required
46301
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
46302
+
46303
+
46304
+
46305
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
46306
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
46307
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
46308
+
46309
+ return {
46310
+ url: toPathString(localVarUrlObj),
46311
+ options: localVarRequestOptions,
46312
+ };
46313
+ },
45992
46314
  /**
45993
46315
  * 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.
45994
46316
  * @summary Replay a recorded webhook delivery
@@ -46037,10 +46359,12 @@ export const AdminConnectorWebhooksApiAxiosParamCreator = function (configuratio
46037
46359
  * @param {string} [status] Filter by delivery status (pending, processed, failed)
46038
46360
  * @param {number} [limit] Page size (default 50, max 200)
46039
46361
  * @param {string} [beforeUuid] Cursor: return rows older than the delivery with this UUID
46362
+ * @param {string} [since] Lower bound (inclusive) on received_at, RFC3339 / ISO-8601 (e.g. 2026-05-01T00:00:00Z)
46363
+ * @param {string} [until] Upper bound (exclusive) on received_at, RFC3339 / ISO-8601 (e.g. 2026-05-06T00:00:00Z)
46040
46364
  * @param {*} [options] Override http request option.
46041
46365
  * @throws {RequiredError}
46042
46366
  */
46043
- adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet: async (sourceUuid: string, status?: string, limit?: number, beforeUuid?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
46367
+ adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet: async (sourceUuid: string, status?: string, limit?: number, beforeUuid?: string, since?: string, until?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
46044
46368
  // verify required parameter 'sourceUuid' is not null or undefined
46045
46369
  assertParamExists('adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet', 'sourceUuid', sourceUuid)
46046
46370
  const localVarPath = `/admin/connectors/sources/{source_uuid}/webhooks/deliveries`
@@ -46071,6 +46395,14 @@ export const AdminConnectorWebhooksApiAxiosParamCreator = function (configuratio
46071
46395
  localVarQueryParameter['before_uuid'] = beforeUuid;
46072
46396
  }
46073
46397
 
46398
+ if (since !== undefined) {
46399
+ localVarQueryParameter['since'] = since;
46400
+ }
46401
+
46402
+ if (until !== undefined) {
46403
+ localVarQueryParameter['until'] = until;
46404
+ }
46405
+
46074
46406
 
46075
46407
 
46076
46408
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -46083,16 +46415,16 @@ export const AdminConnectorWebhooksApiAxiosParamCreator = function (configuratio
46083
46415
  };
46084
46416
  },
46085
46417
  /**
46086
- * Re-run the register_webhooks post-install hook for one connector source. Idempotent via ON CONFLICT (source_id, topic) DO UPDATE.
46087
- * @summary Resubscribe webhooks for a connector source
46418
+ * 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.
46419
+ * @summary Reconcile webhook subscriptions against the provider
46088
46420
  * @param {string} sourceUuid Connector source UUID
46089
46421
  * @param {*} [options] Override http request option.
46090
46422
  * @throws {RequiredError}
46091
46423
  */
46092
- adminConnectorsSourcesSourceUuidWebhooksResubscribePost: async (sourceUuid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
46424
+ adminConnectorsSourcesSourceUuidWebhooksReconcilePost: async (sourceUuid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
46093
46425
  // verify required parameter 'sourceUuid' is not null or undefined
46094
- assertParamExists('adminConnectorsSourcesSourceUuidWebhooksResubscribePost', 'sourceUuid', sourceUuid)
46095
- const localVarPath = `/admin/connectors/sources/{source_uuid}/webhooks/resubscribe`
46426
+ assertParamExists('adminConnectorsSourcesSourceUuidWebhooksReconcilePost', 'sourceUuid', sourceUuid)
46427
+ const localVarPath = `/admin/connectors/sources/{source_uuid}/webhooks/reconcile`
46096
46428
  .replace(`{${"source_uuid"}}`, encodeURIComponent(String(sourceUuid)));
46097
46429
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
46098
46430
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -46120,13 +46452,83 @@ export const AdminConnectorWebhooksApiAxiosParamCreator = function (configuratio
46120
46452
  };
46121
46453
  },
46122
46454
  /**
46123
- * 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.
46124
- * @summary Resubscribe webhooks for every connector source
46455
+ * Re-run the register_webhooks post-install hook for one connector source. Idempotent via ON CONFLICT (source_id, topic) DO UPDATE.
46456
+ * @summary Resubscribe webhooks for a connector source
46457
+ * @param {string} sourceUuid Connector source UUID
46125
46458
  * @param {*} [options] Override http request option.
46126
46459
  * @throws {RequiredError}
46127
46460
  */
46128
- adminConnectorsWebhooksResubscribeAllPost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
46129
- const localVarPath = `/admin/connectors/webhooks/resubscribe-all`;
46461
+ adminConnectorsSourcesSourceUuidWebhooksResubscribePost: async (sourceUuid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
46462
+ // verify required parameter 'sourceUuid' is not null or undefined
46463
+ assertParamExists('adminConnectorsSourcesSourceUuidWebhooksResubscribePost', 'sourceUuid', sourceUuid)
46464
+ const localVarPath = `/admin/connectors/sources/{source_uuid}/webhooks/resubscribe`
46465
+ .replace(`{${"source_uuid"}}`, encodeURIComponent(String(sourceUuid)));
46466
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
46467
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
46468
+ let baseOptions;
46469
+ if (configuration) {
46470
+ baseOptions = configuration.baseOptions;
46471
+ }
46472
+
46473
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
46474
+ const localVarHeaderParameter = {} as any;
46475
+ const localVarQueryParameter = {} as any;
46476
+
46477
+ // authentication BearerAuth required
46478
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
46479
+
46480
+
46481
+
46482
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
46483
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
46484
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
46485
+
46486
+ return {
46487
+ url: toPathString(localVarUrlObj),
46488
+ options: localVarRequestOptions,
46489
+ };
46490
+ },
46491
+ /**
46492
+ * 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.
46493
+ * @summary Reconcile webhook subscriptions for every connector source
46494
+ * @param {*} [options] Override http request option.
46495
+ * @throws {RequiredError}
46496
+ */
46497
+ adminConnectorsWebhooksReconcileAllPost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
46498
+ const localVarPath = `/admin/connectors/webhooks/reconcile-all`;
46499
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
46500
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
46501
+ let baseOptions;
46502
+ if (configuration) {
46503
+ baseOptions = configuration.baseOptions;
46504
+ }
46505
+
46506
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
46507
+ const localVarHeaderParameter = {} as any;
46508
+ const localVarQueryParameter = {} as any;
46509
+
46510
+ // authentication BearerAuth required
46511
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
46512
+
46513
+
46514
+
46515
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
46516
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
46517
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
46518
+
46519
+ return {
46520
+ url: toPathString(localVarUrlObj),
46521
+ options: localVarRequestOptions,
46522
+ };
46523
+ },
46524
+ /**
46525
+ * 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.
46526
+ * @summary Resubscribe webhooks for every connector source
46527
+ * @param {*} [options] Override http request option.
46528
+ * @throws {RequiredError}
46529
+ */
46530
+ adminConnectorsWebhooksResubscribeAllPost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
46531
+ const localVarPath = `/admin/connectors/webhooks/resubscribe-all`;
46130
46532
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
46131
46533
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
46132
46534
  let baseOptions;
@@ -46162,6 +46564,19 @@ export const AdminConnectorWebhooksApiAxiosParamCreator = function (configuratio
46162
46564
  export const AdminConnectorWebhooksApiFp = function(configuration?: Configuration) {
46163
46565
  const localVarAxiosParamCreator = AdminConnectorWebhooksApiAxiosParamCreator(configuration)
46164
46566
  return {
46567
+ /**
46568
+ * 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.
46569
+ * @summary Regenerate provider schema cache for a connector source
46570
+ * @param {string} sourceUuid Connector source UUID
46571
+ * @param {*} [options] Override http request option.
46572
+ * @throws {RequiredError}
46573
+ */
46574
+ async adminConnectorsSourcesSourceUuidSchemaRegeneratePost(sourceUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
46575
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminConnectorsSourcesSourceUuidSchemaRegeneratePost(sourceUuid, options);
46576
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
46577
+ const localVarOperationServerBasePath = operationServerMap['AdminConnectorWebhooksApi.adminConnectorsSourcesSourceUuidSchemaRegeneratePost']?.[localVarOperationServerIndex]?.url;
46578
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
46579
+ },
46165
46580
  /**
46166
46581
  * 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.
46167
46582
  * @summary Replay a recorded webhook delivery
@@ -46183,15 +46598,30 @@ export const AdminConnectorWebhooksApiFp = function(configuration?: Configuratio
46183
46598
  * @param {string} [status] Filter by delivery status (pending, processed, failed)
46184
46599
  * @param {number} [limit] Page size (default 50, max 200)
46185
46600
  * @param {string} [beforeUuid] Cursor: return rows older than the delivery with this UUID
46601
+ * @param {string} [since] Lower bound (inclusive) on received_at, RFC3339 / ISO-8601 (e.g. 2026-05-01T00:00:00Z)
46602
+ * @param {string} [until] Upper bound (exclusive) on received_at, RFC3339 / ISO-8601 (e.g. 2026-05-06T00:00:00Z)
46186
46603
  * @param {*} [options] Override http request option.
46187
46604
  * @throws {RequiredError}
46188
46605
  */
46189
- async adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid: string, status?: string, limit?: number, beforeUuid?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorWebhookDeliveriesListResponse>> {
46190
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, options);
46606
+ async adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid: string, status?: string, limit?: number, beforeUuid?: string, since?: string, until?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorWebhookDeliveriesListResponse>> {
46607
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, since, until, options);
46191
46608
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
46192
46609
  const localVarOperationServerBasePath = operationServerMap['AdminConnectorWebhooksApi.adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet']?.[localVarOperationServerIndex]?.url;
46193
46610
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
46194
46611
  },
46612
+ /**
46613
+ * 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.
46614
+ * @summary Reconcile webhook subscriptions against the provider
46615
+ * @param {string} sourceUuid Connector source UUID
46616
+ * @param {*} [options] Override http request option.
46617
+ * @throws {RequiredError}
46618
+ */
46619
+ async adminConnectorsSourcesSourceUuidWebhooksReconcilePost(sourceUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
46620
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminConnectorsSourcesSourceUuidWebhooksReconcilePost(sourceUuid, options);
46621
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
46622
+ const localVarOperationServerBasePath = operationServerMap['AdminConnectorWebhooksApi.adminConnectorsSourcesSourceUuidWebhooksReconcilePost']?.[localVarOperationServerIndex]?.url;
46623
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
46624
+ },
46195
46625
  /**
46196
46626
  * Re-run the register_webhooks post-install hook for one connector source. Idempotent via ON CONFLICT (source_id, topic) DO UPDATE.
46197
46627
  * @summary Resubscribe webhooks for a connector source
@@ -46205,6 +46635,18 @@ export const AdminConnectorWebhooksApiFp = function(configuration?: Configuratio
46205
46635
  const localVarOperationServerBasePath = operationServerMap['AdminConnectorWebhooksApi.adminConnectorsSourcesSourceUuidWebhooksResubscribePost']?.[localVarOperationServerIndex]?.url;
46206
46636
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
46207
46637
  },
46638
+ /**
46639
+ * 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.
46640
+ * @summary Reconcile webhook subscriptions for every connector source
46641
+ * @param {*} [options] Override http request option.
46642
+ * @throws {RequiredError}
46643
+ */
46644
+ async adminConnectorsWebhooksReconcileAllPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
46645
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminConnectorsWebhooksReconcileAllPost(options);
46646
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
46647
+ const localVarOperationServerBasePath = operationServerMap['AdminConnectorWebhooksApi.adminConnectorsWebhooksReconcileAllPost']?.[localVarOperationServerIndex]?.url;
46648
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
46649
+ },
46208
46650
  /**
46209
46651
  * 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.
46210
46652
  * @summary Resubscribe webhooks for every connector source
@@ -46227,6 +46669,16 @@ export const AdminConnectorWebhooksApiFp = function(configuration?: Configuratio
46227
46669
  export const AdminConnectorWebhooksApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
46228
46670
  const localVarFp = AdminConnectorWebhooksApiFp(configuration)
46229
46671
  return {
46672
+ /**
46673
+ * 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.
46674
+ * @summary Regenerate provider schema cache for a connector source
46675
+ * @param {string} sourceUuid Connector source UUID
46676
+ * @param {*} [options] Override http request option.
46677
+ * @throws {RequiredError}
46678
+ */
46679
+ adminConnectorsSourcesSourceUuidSchemaRegeneratePost(sourceUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
46680
+ return localVarFp.adminConnectorsSourcesSourceUuidSchemaRegeneratePost(sourceUuid, options).then((request) => request(axios, basePath));
46681
+ },
46230
46682
  /**
46231
46683
  * 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.
46232
46684
  * @summary Replay a recorded webhook delivery
@@ -46245,11 +46697,23 @@ export const AdminConnectorWebhooksApiFactory = function (configuration?: Config
46245
46697
  * @param {string} [status] Filter by delivery status (pending, processed, failed)
46246
46698
  * @param {number} [limit] Page size (default 50, max 200)
46247
46699
  * @param {string} [beforeUuid] Cursor: return rows older than the delivery with this UUID
46700
+ * @param {string} [since] Lower bound (inclusive) on received_at, RFC3339 / ISO-8601 (e.g. 2026-05-01T00:00:00Z)
46701
+ * @param {string} [until] Upper bound (exclusive) on received_at, RFC3339 / ISO-8601 (e.g. 2026-05-06T00:00:00Z)
46702
+ * @param {*} [options] Override http request option.
46703
+ * @throws {RequiredError}
46704
+ */
46705
+ adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid: string, status?: string, limit?: number, beforeUuid?: string, since?: string, until?: string, options?: RawAxiosRequestConfig): AxiosPromise<ConnectorWebhookDeliveriesListResponse> {
46706
+ return localVarFp.adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, since, until, options).then((request) => request(axios, basePath));
46707
+ },
46708
+ /**
46709
+ * 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.
46710
+ * @summary Reconcile webhook subscriptions against the provider
46711
+ * @param {string} sourceUuid Connector source UUID
46248
46712
  * @param {*} [options] Override http request option.
46249
46713
  * @throws {RequiredError}
46250
46714
  */
46251
- adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid: string, status?: string, limit?: number, beforeUuid?: string, options?: RawAxiosRequestConfig): AxiosPromise<ConnectorWebhookDeliveriesListResponse> {
46252
- return localVarFp.adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, options).then((request) => request(axios, basePath));
46715
+ adminConnectorsSourcesSourceUuidWebhooksReconcilePost(sourceUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
46716
+ return localVarFp.adminConnectorsSourcesSourceUuidWebhooksReconcilePost(sourceUuid, options).then((request) => request(axios, basePath));
46253
46717
  },
46254
46718
  /**
46255
46719
  * Re-run the register_webhooks post-install hook for one connector source. Idempotent via ON CONFLICT (source_id, topic) DO UPDATE.
@@ -46261,6 +46725,15 @@ export const AdminConnectorWebhooksApiFactory = function (configuration?: Config
46261
46725
  adminConnectorsSourcesSourceUuidWebhooksResubscribePost(sourceUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ConnectorWebhookResubscribeResponse> {
46262
46726
  return localVarFp.adminConnectorsSourcesSourceUuidWebhooksResubscribePost(sourceUuid, options).then((request) => request(axios, basePath));
46263
46727
  },
46728
+ /**
46729
+ * 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.
46730
+ * @summary Reconcile webhook subscriptions for every connector source
46731
+ * @param {*} [options] Override http request option.
46732
+ * @throws {RequiredError}
46733
+ */
46734
+ adminConnectorsWebhooksReconcileAllPost(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
46735
+ return localVarFp.adminConnectorsWebhooksReconcileAllPost(options).then((request) => request(axios, basePath));
46736
+ },
46264
46737
  /**
46265
46738
  * 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.
46266
46739
  * @summary Resubscribe webhooks for every connector source
@@ -46280,6 +46753,18 @@ export const AdminConnectorWebhooksApiFactory = function (configuration?: Config
46280
46753
  * @extends {BaseAPI}
46281
46754
  */
46282
46755
  export class AdminConnectorWebhooksApi extends BaseAPI {
46756
+ /**
46757
+ * 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.
46758
+ * @summary Regenerate provider schema cache for a connector source
46759
+ * @param {string} sourceUuid Connector source UUID
46760
+ * @param {*} [options] Override http request option.
46761
+ * @throws {RequiredError}
46762
+ * @memberof AdminConnectorWebhooksApi
46763
+ */
46764
+ public adminConnectorsSourcesSourceUuidSchemaRegeneratePost(sourceUuid: string, options?: RawAxiosRequestConfig) {
46765
+ return AdminConnectorWebhooksApiFp(this.configuration).adminConnectorsSourcesSourceUuidSchemaRegeneratePost(sourceUuid, options).then((request) => request(this.axios, this.basePath));
46766
+ }
46767
+
46283
46768
  /**
46284
46769
  * 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.
46285
46770
  * @summary Replay a recorded webhook delivery
@@ -46300,12 +46785,26 @@ export class AdminConnectorWebhooksApi extends BaseAPI {
46300
46785
  * @param {string} [status] Filter by delivery status (pending, processed, failed)
46301
46786
  * @param {number} [limit] Page size (default 50, max 200)
46302
46787
  * @param {string} [beforeUuid] Cursor: return rows older than the delivery with this UUID
46788
+ * @param {string} [since] Lower bound (inclusive) on received_at, RFC3339 / ISO-8601 (e.g. 2026-05-01T00:00:00Z)
46789
+ * @param {string} [until] Upper bound (exclusive) on received_at, RFC3339 / ISO-8601 (e.g. 2026-05-06T00:00:00Z)
46790
+ * @param {*} [options] Override http request option.
46791
+ * @throws {RequiredError}
46792
+ * @memberof AdminConnectorWebhooksApi
46793
+ */
46794
+ public adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid: string, status?: string, limit?: number, beforeUuid?: string, since?: string, until?: string, options?: RawAxiosRequestConfig) {
46795
+ return AdminConnectorWebhooksApiFp(this.configuration).adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, since, until, options).then((request) => request(this.axios, this.basePath));
46796
+ }
46797
+
46798
+ /**
46799
+ * 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.
46800
+ * @summary Reconcile webhook subscriptions against the provider
46801
+ * @param {string} sourceUuid Connector source UUID
46303
46802
  * @param {*} [options] Override http request option.
46304
46803
  * @throws {RequiredError}
46305
46804
  * @memberof AdminConnectorWebhooksApi
46306
46805
  */
46307
- public adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid: string, status?: string, limit?: number, beforeUuid?: string, options?: RawAxiosRequestConfig) {
46308
- return AdminConnectorWebhooksApiFp(this.configuration).adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, options).then((request) => request(this.axios, this.basePath));
46806
+ public adminConnectorsSourcesSourceUuidWebhooksReconcilePost(sourceUuid: string, options?: RawAxiosRequestConfig) {
46807
+ return AdminConnectorWebhooksApiFp(this.configuration).adminConnectorsSourcesSourceUuidWebhooksReconcilePost(sourceUuid, options).then((request) => request(this.axios, this.basePath));
46309
46808
  }
46310
46809
 
46311
46810
  /**
@@ -46320,6 +46819,17 @@ export class AdminConnectorWebhooksApi extends BaseAPI {
46320
46819
  return AdminConnectorWebhooksApiFp(this.configuration).adminConnectorsSourcesSourceUuidWebhooksResubscribePost(sourceUuid, options).then((request) => request(this.axios, this.basePath));
46321
46820
  }
46322
46821
 
46822
+ /**
46823
+ * 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.
46824
+ * @summary Reconcile webhook subscriptions for every connector source
46825
+ * @param {*} [options] Override http request option.
46826
+ * @throws {RequiredError}
46827
+ * @memberof AdminConnectorWebhooksApi
46828
+ */
46829
+ public adminConnectorsWebhooksReconcileAllPost(options?: RawAxiosRequestConfig) {
46830
+ return AdminConnectorWebhooksApiFp(this.configuration).adminConnectorsWebhooksReconcileAllPost(options).then((request) => request(this.axios, this.basePath));
46831
+ }
46832
+
46323
46833
  /**
46324
46834
  * 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.
46325
46835
  * @summary Resubscribe webhooks for every connector source
@@ -60543,6 +61053,72 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
60543
61053
 
60544
61054
 
60545
61055
 
61056
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
61057
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
61058
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
61059
+
61060
+ return {
61061
+ url: toPathString(localVarUrlObj),
61062
+ options: localVarRequestOptions,
61063
+ };
61064
+ },
61065
+ /**
61066
+ *
61067
+ * @summary Resume a cancelled subscription with remaining tenure (entitlement grant only, no Shopify call)
61068
+ * @param {*} [options] Override http request option.
61069
+ * @throws {RequiredError}
61070
+ */
61071
+ apiV1BillingResumeCancelledSubscriptionPost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
61072
+ const localVarPath = `/api/v1/billing/resume-cancelled-subscription`;
61073
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
61074
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
61075
+ let baseOptions;
61076
+ if (configuration) {
61077
+ baseOptions = configuration.baseOptions;
61078
+ }
61079
+
61080
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
61081
+ const localVarHeaderParameter = {} as any;
61082
+ const localVarQueryParameter = {} as any;
61083
+
61084
+ // authentication BearerAuth required
61085
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
61086
+
61087
+
61088
+
61089
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
61090
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
61091
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
61092
+
61093
+ return {
61094
+ url: toPathString(localVarUrlObj),
61095
+ options: localVarRequestOptions,
61096
+ };
61097
+ },
61098
+ /**
61099
+ *
61100
+ * @summary Returning-merchant signal — does this org have a cancelled paid plan with remaining tenure?
61101
+ * @param {*} [options] Override http request option.
61102
+ * @throws {RequiredError}
61103
+ */
61104
+ apiV1BillingReturningMerchantSignalGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
61105
+ const localVarPath = `/api/v1/billing/returning-merchant-signal`;
61106
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
61107
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
61108
+ let baseOptions;
61109
+ if (configuration) {
61110
+ baseOptions = configuration.baseOptions;
61111
+ }
61112
+
61113
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
61114
+ const localVarHeaderParameter = {} as any;
61115
+ const localVarQueryParameter = {} as any;
61116
+
61117
+ // authentication BearerAuth required
61118
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
61119
+
61120
+
61121
+
60546
61122
  setSearchParams(localVarUrlObj, localVarQueryParameter);
60547
61123
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
60548
61124
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -60783,6 +61359,30 @@ export const BillingApiFp = function(configuration?: Configuration) {
60783
61359
  const localVarOperationServerBasePath = operationServerMap['BillingApi.apiV1BillingPlansGet']?.[localVarOperationServerIndex]?.url;
60784
61360
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
60785
61361
  },
61362
+ /**
61363
+ *
61364
+ * @summary Resume a cancelled subscription with remaining tenure (entitlement grant only, no Shopify call)
61365
+ * @param {*} [options] Override http request option.
61366
+ * @throws {RequiredError}
61367
+ */
61368
+ async apiV1BillingResumeCancelledSubscriptionPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseBillingProviderResumeCancelledSubscriptionResponse>> {
61369
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1BillingResumeCancelledSubscriptionPost(options);
61370
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
61371
+ const localVarOperationServerBasePath = operationServerMap['BillingApi.apiV1BillingResumeCancelledSubscriptionPost']?.[localVarOperationServerIndex]?.url;
61372
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
61373
+ },
61374
+ /**
61375
+ *
61376
+ * @summary Returning-merchant signal — does this org have a cancelled paid plan with remaining tenure?
61377
+ * @param {*} [options] Override http request option.
61378
+ * @throws {RequiredError}
61379
+ */
61380
+ async apiV1BillingReturningMerchantSignalGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseBillingProviderReturningMerchantSignal>> {
61381
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1BillingReturningMerchantSignalGet(options);
61382
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
61383
+ const localVarOperationServerBasePath = operationServerMap['BillingApi.apiV1BillingReturningMerchantSignalGet']?.[localVarOperationServerIndex]?.url;
61384
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
61385
+ },
60786
61386
  /**
60787
61387
  *
60788
61388
  * @summary Create a new subscription
@@ -60903,6 +61503,24 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
60903
61503
  apiV1BillingPlansGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayBillingProviderPlanRow> {
60904
61504
  return localVarFp.apiV1BillingPlansGet(options).then((request) => request(axios, basePath));
60905
61505
  },
61506
+ /**
61507
+ *
61508
+ * @summary Resume a cancelled subscription with remaining tenure (entitlement grant only, no Shopify call)
61509
+ * @param {*} [options] Override http request option.
61510
+ * @throws {RequiredError}
61511
+ */
61512
+ apiV1BillingResumeCancelledSubscriptionPost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseBillingProviderResumeCancelledSubscriptionResponse> {
61513
+ return localVarFp.apiV1BillingResumeCancelledSubscriptionPost(options).then((request) => request(axios, basePath));
61514
+ },
61515
+ /**
61516
+ *
61517
+ * @summary Returning-merchant signal — does this org have a cancelled paid plan with remaining tenure?
61518
+ * @param {*} [options] Override http request option.
61519
+ * @throws {RequiredError}
61520
+ */
61521
+ apiV1BillingReturningMerchantSignalGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseBillingProviderReturningMerchantSignal> {
61522
+ return localVarFp.apiV1BillingReturningMerchantSignalGet(options).then((request) => request(axios, basePath));
61523
+ },
60906
61524
  /**
60907
61525
  *
60908
61526
  * @summary Create a new subscription
@@ -61023,6 +61641,28 @@ export class BillingApi extends BaseAPI {
61023
61641
  return BillingApiFp(this.configuration).apiV1BillingPlansGet(options).then((request) => request(this.axios, this.basePath));
61024
61642
  }
61025
61643
 
61644
+ /**
61645
+ *
61646
+ * @summary Resume a cancelled subscription with remaining tenure (entitlement grant only, no Shopify call)
61647
+ * @param {*} [options] Override http request option.
61648
+ * @throws {RequiredError}
61649
+ * @memberof BillingApi
61650
+ */
61651
+ public apiV1BillingResumeCancelledSubscriptionPost(options?: RawAxiosRequestConfig) {
61652
+ return BillingApiFp(this.configuration).apiV1BillingResumeCancelledSubscriptionPost(options).then((request) => request(this.axios, this.basePath));
61653
+ }
61654
+
61655
+ /**
61656
+ *
61657
+ * @summary Returning-merchant signal — does this org have a cancelled paid plan with remaining tenure?
61658
+ * @param {*} [options] Override http request option.
61659
+ * @throws {RequiredError}
61660
+ * @memberof BillingApi
61661
+ */
61662
+ public apiV1BillingReturningMerchantSignalGet(options?: RawAxiosRequestConfig) {
61663
+ return BillingApiFp(this.configuration).apiV1BillingReturningMerchantSignalGet(options).then((request) => request(this.axios, this.basePath));
61664
+ }
61665
+
61026
61666
  /**
61027
61667
  *
61028
61668
  * @summary Create a new subscription
@@ -87377,6 +88017,110 @@ export class InternalApi extends BaseAPI {
87377
88017
 
87378
88018
 
87379
88019
 
88020
+ /**
88021
+ * InternalConnectorWebhooksApi - axios parameter creator
88022
+ * @export
88023
+ */
88024
+ export const InternalConnectorWebhooksApiAxiosParamCreator = function (configuration?: Configuration) {
88025
+ return {
88026
+ /**
88027
+ * 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.
88028
+ * @summary Revoke orphan connector authorizations
88029
+ * @param {*} [options] Override http request option.
88030
+ * @throws {RequiredError}
88031
+ */
88032
+ internalConnectorWebhooksRevokeOrphanAuthorizationsPost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
88033
+ const localVarPath = `/internal/connector-webhooks/revoke-orphan-authorizations`;
88034
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
88035
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
88036
+ let baseOptions;
88037
+ if (configuration) {
88038
+ baseOptions = configuration.baseOptions;
88039
+ }
88040
+
88041
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
88042
+ const localVarHeaderParameter = {} as any;
88043
+ const localVarQueryParameter = {} as any;
88044
+
88045
+ // authentication BearerAuth required
88046
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
88047
+
88048
+
88049
+
88050
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
88051
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
88052
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
88053
+
88054
+ return {
88055
+ url: toPathString(localVarUrlObj),
88056
+ options: localVarRequestOptions,
88057
+ };
88058
+ },
88059
+ }
88060
+ };
88061
+
88062
+ /**
88063
+ * InternalConnectorWebhooksApi - functional programming interface
88064
+ * @export
88065
+ */
88066
+ export const InternalConnectorWebhooksApiFp = function(configuration?: Configuration) {
88067
+ const localVarAxiosParamCreator = InternalConnectorWebhooksApiAxiosParamCreator(configuration)
88068
+ return {
88069
+ /**
88070
+ * 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.
88071
+ * @summary Revoke orphan connector authorizations
88072
+ * @param {*} [options] Override http request option.
88073
+ * @throws {RequiredError}
88074
+ */
88075
+ async internalConnectorWebhooksRevokeOrphanAuthorizationsPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
88076
+ const localVarAxiosArgs = await localVarAxiosParamCreator.internalConnectorWebhooksRevokeOrphanAuthorizationsPost(options);
88077
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
88078
+ const localVarOperationServerBasePath = operationServerMap['InternalConnectorWebhooksApi.internalConnectorWebhooksRevokeOrphanAuthorizationsPost']?.[localVarOperationServerIndex]?.url;
88079
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
88080
+ },
88081
+ }
88082
+ };
88083
+
88084
+ /**
88085
+ * InternalConnectorWebhooksApi - factory interface
88086
+ * @export
88087
+ */
88088
+ export const InternalConnectorWebhooksApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
88089
+ const localVarFp = InternalConnectorWebhooksApiFp(configuration)
88090
+ return {
88091
+ /**
88092
+ * 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.
88093
+ * @summary Revoke orphan connector authorizations
88094
+ * @param {*} [options] Override http request option.
88095
+ * @throws {RequiredError}
88096
+ */
88097
+ internalConnectorWebhooksRevokeOrphanAuthorizationsPost(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
88098
+ return localVarFp.internalConnectorWebhooksRevokeOrphanAuthorizationsPost(options).then((request) => request(axios, basePath));
88099
+ },
88100
+ };
88101
+ };
88102
+
88103
+ /**
88104
+ * InternalConnectorWebhooksApi - object-oriented interface
88105
+ * @export
88106
+ * @class InternalConnectorWebhooksApi
88107
+ * @extends {BaseAPI}
88108
+ */
88109
+ export class InternalConnectorWebhooksApi extends BaseAPI {
88110
+ /**
88111
+ * 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.
88112
+ * @summary Revoke orphan connector authorizations
88113
+ * @param {*} [options] Override http request option.
88114
+ * @throws {RequiredError}
88115
+ * @memberof InternalConnectorWebhooksApi
88116
+ */
88117
+ public internalConnectorWebhooksRevokeOrphanAuthorizationsPost(options?: RawAxiosRequestConfig) {
88118
+ return InternalConnectorWebhooksApiFp(this.configuration).internalConnectorWebhooksRevokeOrphanAuthorizationsPost(options).then((request) => request(this.axios, this.basePath));
88119
+ }
88120
+ }
88121
+
88122
+
88123
+
87380
88124
  /**
87381
88125
  * ItemAnalyticsApi - axios parameter creator
87382
88126
  * @export
@@ -98011,6 +98755,123 @@ export class PlansApi extends BaseAPI {
98011
98755
 
98012
98756
 
98013
98757
 
98758
+ /**
98759
+ * PlatformPublicConnectorRunsApi - axios parameter creator
98760
+ * @export
98761
+ */
98762
+ export const PlatformPublicConnectorRunsApiAxiosParamCreator = function (configuration?: Configuration) {
98763
+ return {
98764
+ /**
98765
+ * 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).
98766
+ * @summary Submit control-plane lifecycle events for a connector run
98767
+ * @param {number} runId connector_runs.id
98768
+ * @param {string} xSeekoraSignature sha256&#x3D;&lt;hex(hmac_sha256(body, api_key))&gt;
98769
+ * @param {*} [options] Override http request option.
98770
+ * @throws {RequiredError}
98771
+ */
98772
+ v3PublicConnectorRunsRunIdEventsPost: async (runId: number, xSeekoraSignature: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
98773
+ // verify required parameter 'runId' is not null or undefined
98774
+ assertParamExists('v3PublicConnectorRunsRunIdEventsPost', 'runId', runId)
98775
+ // verify required parameter 'xSeekoraSignature' is not null or undefined
98776
+ assertParamExists('v3PublicConnectorRunsRunIdEventsPost', 'xSeekoraSignature', xSeekoraSignature)
98777
+ const localVarPath = `/v3/public/connector-runs/{run_id}/events`
98778
+ .replace(`{${"run_id"}}`, encodeURIComponent(String(runId)));
98779
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
98780
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
98781
+ let baseOptions;
98782
+ if (configuration) {
98783
+ baseOptions = configuration.baseOptions;
98784
+ }
98785
+
98786
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
98787
+ const localVarHeaderParameter = {} as any;
98788
+ const localVarQueryParameter = {} as any;
98789
+
98790
+
98791
+
98792
+ if (xSeekoraSignature != null) {
98793
+ localVarHeaderParameter['X-Seekora-Signature'] = String(xSeekoraSignature);
98794
+ }
98795
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
98796
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
98797
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
98798
+
98799
+ return {
98800
+ url: toPathString(localVarUrlObj),
98801
+ options: localVarRequestOptions,
98802
+ };
98803
+ },
98804
+ }
98805
+ };
98806
+
98807
+ /**
98808
+ * PlatformPublicConnectorRunsApi - functional programming interface
98809
+ * @export
98810
+ */
98811
+ export const PlatformPublicConnectorRunsApiFp = function(configuration?: Configuration) {
98812
+ const localVarAxiosParamCreator = PlatformPublicConnectorRunsApiAxiosParamCreator(configuration)
98813
+ return {
98814
+ /**
98815
+ * 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).
98816
+ * @summary Submit control-plane lifecycle events for a connector run
98817
+ * @param {number} runId connector_runs.id
98818
+ * @param {string} xSeekoraSignature sha256&#x3D;&lt;hex(hmac_sha256(body, api_key))&gt;
98819
+ * @param {*} [options] Override http request option.
98820
+ * @throws {RequiredError}
98821
+ */
98822
+ async v3PublicConnectorRunsRunIdEventsPost(runId: number, xSeekoraSignature: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformPublicControlPlaneResponseEnvelope>> {
98823
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v3PublicConnectorRunsRunIdEventsPost(runId, xSeekoraSignature, options);
98824
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
98825
+ const localVarOperationServerBasePath = operationServerMap['PlatformPublicConnectorRunsApi.v3PublicConnectorRunsRunIdEventsPost']?.[localVarOperationServerIndex]?.url;
98826
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
98827
+ },
98828
+ }
98829
+ };
98830
+
98831
+ /**
98832
+ * PlatformPublicConnectorRunsApi - factory interface
98833
+ * @export
98834
+ */
98835
+ export const PlatformPublicConnectorRunsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
98836
+ const localVarFp = PlatformPublicConnectorRunsApiFp(configuration)
98837
+ return {
98838
+ /**
98839
+ * 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).
98840
+ * @summary Submit control-plane lifecycle events for a connector run
98841
+ * @param {number} runId connector_runs.id
98842
+ * @param {string} xSeekoraSignature sha256&#x3D;&lt;hex(hmac_sha256(body, api_key))&gt;
98843
+ * @param {*} [options] Override http request option.
98844
+ * @throws {RequiredError}
98845
+ */
98846
+ v3PublicConnectorRunsRunIdEventsPost(runId: number, xSeekoraSignature: string, options?: RawAxiosRequestConfig): AxiosPromise<PlatformPublicControlPlaneResponseEnvelope> {
98847
+ return localVarFp.v3PublicConnectorRunsRunIdEventsPost(runId, xSeekoraSignature, options).then((request) => request(axios, basePath));
98848
+ },
98849
+ };
98850
+ };
98851
+
98852
+ /**
98853
+ * PlatformPublicConnectorRunsApi - object-oriented interface
98854
+ * @export
98855
+ * @class PlatformPublicConnectorRunsApi
98856
+ * @extends {BaseAPI}
98857
+ */
98858
+ export class PlatformPublicConnectorRunsApi extends BaseAPI {
98859
+ /**
98860
+ * 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).
98861
+ * @summary Submit control-plane lifecycle events for a connector run
98862
+ * @param {number} runId connector_runs.id
98863
+ * @param {string} xSeekoraSignature sha256&#x3D;&lt;hex(hmac_sha256(body, api_key))&gt;
98864
+ * @param {*} [options] Override http request option.
98865
+ * @throws {RequiredError}
98866
+ * @memberof PlatformPublicConnectorRunsApi
98867
+ */
98868
+ public v3PublicConnectorRunsRunIdEventsPost(runId: number, xSeekoraSignature: string, options?: RawAxiosRequestConfig) {
98869
+ return PlatformPublicConnectorRunsApiFp(this.configuration).v3PublicConnectorRunsRunIdEventsPost(runId, xSeekoraSignature, options).then((request) => request(this.axios, this.basePath));
98870
+ }
98871
+ }
98872
+
98873
+
98874
+
98014
98875
  /**
98015
98876
  * PlatformPublicOnboardingApi - axios parameter creator
98016
98877
  * @export
@@ -98135,6 +98996,123 @@ export class PlatformPublicOnboardingApi extends BaseAPI {
98135
98996
 
98136
98997
 
98137
98998
 
98999
+ /**
99000
+ * PlatformPublicSessionApi - axios parameter creator
99001
+ * @export
99002
+ */
99003
+ export const PlatformPublicSessionApiAxiosParamCreator = function (configuration?: Configuration) {
99004
+ return {
99005
+ /**
99006
+ * 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.
99007
+ * @summary Mint a session JWT for an already-provisioned tenant
99008
+ * @param {string} provider Connector provider slug (e.g. shopify)
99009
+ * @param {OnboardingMintRequest} onboardingMintRequest Mint payload — external_id + access_token only
99010
+ * @param {*} [options] Override http request option.
99011
+ * @throws {RequiredError}
99012
+ */
99013
+ v3PublicSessionProviderPost: async (provider: string, onboardingMintRequest: OnboardingMintRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
99014
+ // verify required parameter 'provider' is not null or undefined
99015
+ assertParamExists('v3PublicSessionProviderPost', 'provider', provider)
99016
+ // verify required parameter 'onboardingMintRequest' is not null or undefined
99017
+ assertParamExists('v3PublicSessionProviderPost', 'onboardingMintRequest', onboardingMintRequest)
99018
+ const localVarPath = `/v3/public/session/{provider}`
99019
+ .replace(`{${"provider"}}`, encodeURIComponent(String(provider)));
99020
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
99021
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
99022
+ let baseOptions;
99023
+ if (configuration) {
99024
+ baseOptions = configuration.baseOptions;
99025
+ }
99026
+
99027
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
99028
+ const localVarHeaderParameter = {} as any;
99029
+ const localVarQueryParameter = {} as any;
99030
+
99031
+
99032
+
99033
+ localVarHeaderParameter['Content-Type'] = 'application/json';
99034
+
99035
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
99036
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
99037
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
99038
+ localVarRequestOptions.data = serializeDataIfNeeded(onboardingMintRequest, localVarRequestOptions, configuration)
99039
+
99040
+ return {
99041
+ url: toPathString(localVarUrlObj),
99042
+ options: localVarRequestOptions,
99043
+ };
99044
+ },
99045
+ }
99046
+ };
99047
+
99048
+ /**
99049
+ * PlatformPublicSessionApi - functional programming interface
99050
+ * @export
99051
+ */
99052
+ export const PlatformPublicSessionApiFp = function(configuration?: Configuration) {
99053
+ const localVarAxiosParamCreator = PlatformPublicSessionApiAxiosParamCreator(configuration)
99054
+ return {
99055
+ /**
99056
+ * 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.
99057
+ * @summary Mint a session JWT for an already-provisioned tenant
99058
+ * @param {string} provider Connector provider slug (e.g. shopify)
99059
+ * @param {OnboardingMintRequest} onboardingMintRequest Mint payload — external_id + access_token only
99060
+ * @param {*} [options] Override http request option.
99061
+ * @throws {RequiredError}
99062
+ */
99063
+ async v3PublicSessionProviderPost(provider: string, onboardingMintRequest: OnboardingMintRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnboardingMintResponse>> {
99064
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v3PublicSessionProviderPost(provider, onboardingMintRequest, options);
99065
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
99066
+ const localVarOperationServerBasePath = operationServerMap['PlatformPublicSessionApi.v3PublicSessionProviderPost']?.[localVarOperationServerIndex]?.url;
99067
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
99068
+ },
99069
+ }
99070
+ };
99071
+
99072
+ /**
99073
+ * PlatformPublicSessionApi - factory interface
99074
+ * @export
99075
+ */
99076
+ export const PlatformPublicSessionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
99077
+ const localVarFp = PlatformPublicSessionApiFp(configuration)
99078
+ return {
99079
+ /**
99080
+ * 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.
99081
+ * @summary Mint a session JWT for an already-provisioned tenant
99082
+ * @param {string} provider Connector provider slug (e.g. shopify)
99083
+ * @param {OnboardingMintRequest} onboardingMintRequest Mint payload — external_id + access_token only
99084
+ * @param {*} [options] Override http request option.
99085
+ * @throws {RequiredError}
99086
+ */
99087
+ v3PublicSessionProviderPost(provider: string, onboardingMintRequest: OnboardingMintRequest, options?: RawAxiosRequestConfig): AxiosPromise<OnboardingMintResponse> {
99088
+ return localVarFp.v3PublicSessionProviderPost(provider, onboardingMintRequest, options).then((request) => request(axios, basePath));
99089
+ },
99090
+ };
99091
+ };
99092
+
99093
+ /**
99094
+ * PlatformPublicSessionApi - object-oriented interface
99095
+ * @export
99096
+ * @class PlatformPublicSessionApi
99097
+ * @extends {BaseAPI}
99098
+ */
99099
+ export class PlatformPublicSessionApi extends BaseAPI {
99100
+ /**
99101
+ * 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.
99102
+ * @summary Mint a session JWT for an already-provisioned tenant
99103
+ * @param {string} provider Connector provider slug (e.g. shopify)
99104
+ * @param {OnboardingMintRequest} onboardingMintRequest Mint payload — external_id + access_token only
99105
+ * @param {*} [options] Override http request option.
99106
+ * @throws {RequiredError}
99107
+ * @memberof PlatformPublicSessionApi
99108
+ */
99109
+ public v3PublicSessionProviderPost(provider: string, onboardingMintRequest: OnboardingMintRequest, options?: RawAxiosRequestConfig) {
99110
+ return PlatformPublicSessionApiFp(this.configuration).v3PublicSessionProviderPost(provider, onboardingMintRequest, options).then((request) => request(this.axios, this.basePath));
99111
+ }
99112
+ }
99113
+
99114
+
99115
+
98138
99116
  /**
98139
99117
  * PluralsDeclensionsApi - axios parameter creator
98140
99118
  * @export