@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/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
@@ -12506,6 +12562,30 @@ export interface ConnectorAuthResponse {
12506
12562
  * @memberof ConnectorAuthResponse
12507
12563
  */
12508
12564
  'is_valid'?: boolean;
12565
+ /**
12566
+ *
12567
+ * @type {number}
12568
+ * @memberof ConnectorAuthResponse
12569
+ */
12570
+ 'last_check_duration_ms'?: number;
12571
+ /**
12572
+ *
12573
+ * @type {string}
12574
+ * @memberof ConnectorAuthResponse
12575
+ */
12576
+ 'last_check_error_code'?: string;
12577
+ /**
12578
+ *
12579
+ * @type {string}
12580
+ * @memberof ConnectorAuthResponse
12581
+ */
12582
+ 'last_check_error_message'?: string;
12583
+ /**
12584
+ * Spec-2B check-result metadata. Populated by /validate; read by admin-ui to render the \"last verified N minutes ago\" pill and the error banner on the auth card.
12585
+ * @type {string}
12586
+ * @memberof ConnectorAuthResponse
12587
+ */
12588
+ 'last_checked_at'?: string;
12509
12589
  /**
12510
12590
  *
12511
12591
  * @type {string}
@@ -12930,6 +13010,12 @@ export interface ConnectorDestRef {
12930
13010
  * @memberof ConnectorDestRef
12931
13011
  */
12932
13012
  'name'?: string;
13013
+ /**
13014
+ *
13015
+ * @type {string}
13016
+ * @memberof ConnectorDestRef
13017
+ */
13018
+ 'type'?: string;
12933
13019
  /**
12934
13020
  *
12935
13021
  * @type {string}
@@ -13199,6 +13285,43 @@ export interface ConnectorRunListResponse {
13199
13285
  */
13200
13286
  'total'?: number;
13201
13287
  }
13288
+ /**
13289
+ *
13290
+ * @export
13291
+ * @interface ConnectorRunPhaseDTO
13292
+ */
13293
+ export interface ConnectorRunPhaseDTO {
13294
+ /**
13295
+ *
13296
+ * @type {string}
13297
+ * @memberof ConnectorRunPhaseDTO
13298
+ */
13299
+ 'completed_at'?: string;
13300
+ /**
13301
+ *
13302
+ * @type {string}
13303
+ * @memberof ConnectorRunPhaseDTO
13304
+ */
13305
+ 'error_message'?: string;
13306
+ /**
13307
+ *
13308
+ * @type {string}
13309
+ * @memberof ConnectorRunPhaseDTO
13310
+ */
13311
+ 'phase'?: string;
13312
+ /**
13313
+ *
13314
+ * @type {string}
13315
+ * @memberof ConnectorRunPhaseDTO
13316
+ */
13317
+ 'started_at'?: string;
13318
+ /**
13319
+ *
13320
+ * @type {string}
13321
+ * @memberof ConnectorRunPhaseDTO
13322
+ */
13323
+ 'status'?: string;
13324
+ }
13202
13325
  /**
13203
13326
  *
13204
13327
  * @export
@@ -13229,6 +13352,12 @@ export interface ConnectorRunResponse {
13229
13352
  * @memberof ConnectorRunResponse
13230
13353
  */
13231
13354
  'debug_mode'?: boolean;
13355
+ /**
13356
+ *
13357
+ * @type {ConnectorDestRef}
13358
+ * @memberof ConnectorRunResponse
13359
+ */
13360
+ 'destination'?: ConnectorDestRef;
13232
13361
  /**
13233
13362
  *
13234
13363
  * @type {boolean}
@@ -13271,6 +13400,12 @@ export interface ConnectorRunResponse {
13271
13400
  * @memberof ConnectorRunResponse
13272
13401
  */
13273
13402
  'percent_complete'?: number;
13403
+ /**
13404
+ *
13405
+ * @type {Array<ConnectorRunPhaseDTO>}
13406
+ * @memberof ConnectorRunResponse
13407
+ */
13408
+ 'phases'?: Array<ConnectorRunPhaseDTO>;
13274
13409
  /**
13275
13410
  *
13276
13411
  * @type {number}
@@ -13295,6 +13430,12 @@ export interface ConnectorRunResponse {
13295
13430
  * @memberof ConnectorRunResponse
13296
13431
  */
13297
13432
  'records_written'?: number;
13433
+ /**
13434
+ * Source / Destination surface the brand + name of the task\'s source and destination on the admin-ui run-detail page so the operator can see \"json-xyz → Shopify Store\" without a second fetch. Populated by GetRun + ListRunsForStore via JOINs on connector_sources and connector_destinations.
13435
+ * @type {ConnectorSourceRef}
13436
+ * @memberof ConnectorRunResponse
13437
+ */
13438
+ 'source'?: ConnectorSourceRef;
13298
13439
  /**
13299
13440
  *
13300
13441
  * @type {string}
@@ -13438,6 +13579,12 @@ export interface ConnectorSourceRef {
13438
13579
  * @memberof ConnectorSourceRef
13439
13580
  */
13440
13581
  'name'?: string;
13582
+ /**
13583
+ *
13584
+ * @type {string}
13585
+ * @memberof ConnectorSourceRef
13586
+ */
13587
+ 'type'?: string;
13441
13588
  /**
13442
13589
  *
13443
13590
  * @type {string}
@@ -14471,6 +14618,57 @@ export interface ConnectorUpdateTransformationRequest {
14471
14618
  * @memberof ConnectorUpdateTransformationRequest
14472
14619
  */
14473
14620
  'name'?: string;
14621
+ /**
14622
+ *
14623
+ * @type {string}
14624
+ * @memberof ConnectorUpdateTransformationRequest
14625
+ */
14626
+ 'transform_type'?: ConnectorUpdateTransformationRequestTransformTypeEnum;
14627
+ }
14628
+
14629
+ export const ConnectorUpdateTransformationRequestTransformTypeEnum = {
14630
+ Code: 'code',
14631
+ Nocode: 'nocode'
14632
+ } as const;
14633
+
14634
+ export type ConnectorUpdateTransformationRequestTransformTypeEnum = typeof ConnectorUpdateTransformationRequestTransformTypeEnum[keyof typeof ConnectorUpdateTransformationRequestTransformTypeEnum];
14635
+
14636
+ /**
14637
+ *
14638
+ * @export
14639
+ * @interface ConnectorValidateAuthResponse
14640
+ */
14641
+ export interface ConnectorValidateAuthResponse {
14642
+ /**
14643
+ * CheckedAt is the wall-clock time the check completed.
14644
+ * @type {string}
14645
+ * @memberof ConnectorValidateAuthResponse
14646
+ */
14647
+ 'checked_at'?: string;
14648
+ /**
14649
+ * DurationMs is the wall-clock elapsed time of the check.
14650
+ * @type {number}
14651
+ * @memberof ConnectorValidateAuthResponse
14652
+ */
14653
+ 'duration_ms'?: number;
14654
+ /**
14655
+ * ErrorCode is one of the forge CheckErrorCode values when OK is false. Empty when OK. Wire-format stable — admin-ui maps each value to user-facing copy.
14656
+ * @type {string}
14657
+ * @memberof ConnectorValidateAuthResponse
14658
+ */
14659
+ 'error_code'?: string;
14660
+ /**
14661
+ * ErrorMessage is a user-safe description (<=240 chars). Empty when OK. Never contains credentials.
14662
+ * @type {string}
14663
+ * @memberof ConnectorValidateAuthResponse
14664
+ */
14665
+ 'error_message'?: string;
14666
+ /**
14667
+ * OK is true when forge.Source.Check returned no error.
14668
+ * @type {boolean}
14669
+ * @memberof ConnectorValidateAuthResponse
14670
+ */
14671
+ 'ok'?: boolean;
14474
14672
  }
14475
14673
  /**
14476
14674
  *
@@ -23503,6 +23701,56 @@ export interface DataTypesGenericResponseBillingProviderCheckoutResp {
23503
23701
  */
23504
23702
  'status'?: number;
23505
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
+ }
23506
23754
  /**
23507
23755
  *
23508
23756
  * @export
@@ -32425,6 +32673,12 @@ export interface DataTypesSchemaOptionsResponse {
32425
32673
  * @memberof DataTypesSchemaOptionsResponse
32426
32674
  */
32427
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>;
32428
32682
  /**
32429
32683
  *
32430
32684
  * @type {Array<string>}
@@ -40995,6 +41249,111 @@ export interface ModelsValidatePayloadRequest {
40995
41249
  */
40996
41250
  'payload': { [key: string]: any; };
40997
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
+ }
40998
41357
  /**
40999
41358
  *
41000
41359
  * @export
@@ -41094,6 +41453,12 @@ export interface OnboardingOnboardingRequest {
41094
41453
  * @memberof OnboardingOnboardingRequest
41095
41454
  */
41096
41455
  'bootstrap'?: OnboardingOnboardingBootstrap;
41456
+ /**
41457
+ *
41458
+ * @type {OnboardingBusinessProfile}
41459
+ * @memberof OnboardingOnboardingRequest
41460
+ */
41461
+ 'business_profile'?: OnboardingBusinessProfile;
41097
41462
  /**
41098
41463
  *
41099
41464
  * @type {string}
@@ -41124,6 +41489,12 @@ export interface OnboardingOnboardingRequest {
41124
41489
  * @memberof OnboardingOnboardingRequest
41125
41490
  */
41126
41491
  'external_id'?: string;
41492
+ /**
41493
+ *
41494
+ * @type {string}
41495
+ * @memberof OnboardingOnboardingRequest
41496
+ */
41497
+ 'owner_name'?: string;
41127
41498
  /**
41128
41499
  *
41129
41500
  * @type {{ [key: string]: any; }}
@@ -41273,12 +41644,24 @@ export interface OnboardingStoreSummary {
41273
41644
  * @memberof OnboardingStoreSummary
41274
41645
  */
41275
41646
  'name'?: string;
41647
+ /**
41648
+ *
41649
+ * @type {string}
41650
+ * @memberof OnboardingStoreSummary
41651
+ */
41652
+ 'public_key'?: string;
41276
41653
  /**
41277
41654
  *
41278
41655
  * @type {string}
41279
41656
  * @memberof OnboardingStoreSummary
41280
41657
  */
41281
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;
41282
41665
  /**
41283
41666
  *
41284
41667
  * @type {string}
@@ -41434,6 +41817,50 @@ export interface PlatformPublicCollisionReq {
41434
41817
  */
41435
41818
  'shop_domain'?: string;
41436
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
+ }
41437
41864
  /**
41438
41865
  *
41439
41866
  * @export
@@ -45847,6 +46274,43 @@ export class AdminAnalyticsApi extends BaseAPI {
45847
46274
  */
45848
46275
  export const AdminConnectorWebhooksApiAxiosParamCreator = function (configuration?: Configuration) {
45849
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
+ },
45850
46314
  /**
45851
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.
45852
46316
  * @summary Replay a recorded webhook delivery
@@ -45895,10 +46359,12 @@ export const AdminConnectorWebhooksApiAxiosParamCreator = function (configuratio
45895
46359
  * @param {string} [status] Filter by delivery status (pending, processed, failed)
45896
46360
  * @param {number} [limit] Page size (default 50, max 200)
45897
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)
45898
46364
  * @param {*} [options] Override http request option.
45899
46365
  * @throws {RequiredError}
45900
46366
  */
45901
- 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> => {
45902
46368
  // verify required parameter 'sourceUuid' is not null or undefined
45903
46369
  assertParamExists('adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet', 'sourceUuid', sourceUuid)
45904
46370
  const localVarPath = `/admin/connectors/sources/{source_uuid}/webhooks/deliveries`
@@ -45929,6 +46395,51 @@ export const AdminConnectorWebhooksApiAxiosParamCreator = function (configuratio
45929
46395
  localVarQueryParameter['before_uuid'] = beforeUuid;
45930
46396
  }
45931
46397
 
46398
+ if (since !== undefined) {
46399
+ localVarQueryParameter['since'] = since;
46400
+ }
46401
+
46402
+ if (until !== undefined) {
46403
+ localVarQueryParameter['until'] = until;
46404
+ }
46405
+
46406
+
46407
+
46408
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
46409
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
46410
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
46411
+
46412
+ return {
46413
+ url: toPathString(localVarUrlObj),
46414
+ options: localVarRequestOptions,
46415
+ };
46416
+ },
46417
+ /**
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
46420
+ * @param {string} sourceUuid Connector source UUID
46421
+ * @param {*} [options] Override http request option.
46422
+ * @throws {RequiredError}
46423
+ */
46424
+ adminConnectorsSourcesSourceUuidWebhooksReconcilePost: async (sourceUuid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
46425
+ // verify required parameter 'sourceUuid' is not null or undefined
46426
+ assertParamExists('adminConnectorsSourcesSourceUuidWebhooksReconcilePost', 'sourceUuid', sourceUuid)
46427
+ const localVarPath = `/admin/connectors/sources/{source_uuid}/webhooks/reconcile`
46428
+ .replace(`{${"source_uuid"}}`, encodeURIComponent(String(sourceUuid)));
46429
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
46430
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
46431
+ let baseOptions;
46432
+ if (configuration) {
46433
+ baseOptions = configuration.baseOptions;
46434
+ }
46435
+
46436
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
46437
+ const localVarHeaderParameter = {} as any;
46438
+ const localVarQueryParameter = {} as any;
46439
+
46440
+ // authentication BearerAuth required
46441
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
46442
+
45932
46443
 
45933
46444
 
45934
46445
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -45968,6 +46479,39 @@ export const AdminConnectorWebhooksApiAxiosParamCreator = function (configuratio
45968
46479
 
45969
46480
 
45970
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
+
45971
46515
  setSearchParams(localVarUrlObj, localVarQueryParameter);
45972
46516
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
45973
46517
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -46020,6 +46564,19 @@ export const AdminConnectorWebhooksApiAxiosParamCreator = function (configuratio
46020
46564
  export const AdminConnectorWebhooksApiFp = function(configuration?: Configuration) {
46021
46565
  const localVarAxiosParamCreator = AdminConnectorWebhooksApiAxiosParamCreator(configuration)
46022
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
+ },
46023
46580
  /**
46024
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.
46025
46582
  * @summary Replay a recorded webhook delivery
@@ -46041,15 +46598,30 @@ export const AdminConnectorWebhooksApiFp = function(configuration?: Configuratio
46041
46598
  * @param {string} [status] Filter by delivery status (pending, processed, failed)
46042
46599
  * @param {number} [limit] Page size (default 50, max 200)
46043
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)
46044
46603
  * @param {*} [options] Override http request option.
46045
46604
  * @throws {RequiredError}
46046
46605
  */
46047
- async adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid: string, status?: string, limit?: number, beforeUuid?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorWebhookDeliveriesListResponse>> {
46048
- 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);
46049
46608
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
46050
46609
  const localVarOperationServerBasePath = operationServerMap['AdminConnectorWebhooksApi.adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet']?.[localVarOperationServerIndex]?.url;
46051
46610
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
46052
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
+ },
46053
46625
  /**
46054
46626
  * Re-run the register_webhooks post-install hook for one connector source. Idempotent via ON CONFLICT (source_id, topic) DO UPDATE.
46055
46627
  * @summary Resubscribe webhooks for a connector source
@@ -46063,6 +46635,18 @@ export const AdminConnectorWebhooksApiFp = function(configuration?: Configuratio
46063
46635
  const localVarOperationServerBasePath = operationServerMap['AdminConnectorWebhooksApi.adminConnectorsSourcesSourceUuidWebhooksResubscribePost']?.[localVarOperationServerIndex]?.url;
46064
46636
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
46065
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
+ },
46066
46650
  /**
46067
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.
46068
46652
  * @summary Resubscribe webhooks for every connector source
@@ -46085,6 +46669,16 @@ export const AdminConnectorWebhooksApiFp = function(configuration?: Configuratio
46085
46669
  export const AdminConnectorWebhooksApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
46086
46670
  const localVarFp = AdminConnectorWebhooksApiFp(configuration)
46087
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
+ },
46088
46682
  /**
46089
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.
46090
46684
  * @summary Replay a recorded webhook delivery
@@ -46103,11 +46697,23 @@ export const AdminConnectorWebhooksApiFactory = function (configuration?: Config
46103
46697
  * @param {string} [status] Filter by delivery status (pending, processed, failed)
46104
46698
  * @param {number} [limit] Page size (default 50, max 200)
46105
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
46106
46712
  * @param {*} [options] Override http request option.
46107
46713
  * @throws {RequiredError}
46108
46714
  */
46109
- adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid: string, status?: string, limit?: number, beforeUuid?: string, options?: RawAxiosRequestConfig): AxiosPromise<ConnectorWebhookDeliveriesListResponse> {
46110
- 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));
46111
46717
  },
46112
46718
  /**
46113
46719
  * Re-run the register_webhooks post-install hook for one connector source. Idempotent via ON CONFLICT (source_id, topic) DO UPDATE.
@@ -46119,6 +46725,15 @@ export const AdminConnectorWebhooksApiFactory = function (configuration?: Config
46119
46725
  adminConnectorsSourcesSourceUuidWebhooksResubscribePost(sourceUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ConnectorWebhookResubscribeResponse> {
46120
46726
  return localVarFp.adminConnectorsSourcesSourceUuidWebhooksResubscribePost(sourceUuid, options).then((request) => request(axios, basePath));
46121
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
+ },
46122
46737
  /**
46123
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.
46124
46739
  * @summary Resubscribe webhooks for every connector source
@@ -46138,6 +46753,18 @@ export const AdminConnectorWebhooksApiFactory = function (configuration?: Config
46138
46753
  * @extends {BaseAPI}
46139
46754
  */
46140
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
+
46141
46768
  /**
46142
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.
46143
46770
  * @summary Replay a recorded webhook delivery
@@ -46158,12 +46785,26 @@ export class AdminConnectorWebhooksApi extends BaseAPI {
46158
46785
  * @param {string} [status] Filter by delivery status (pending, processed, failed)
46159
46786
  * @param {number} [limit] Page size (default 50, max 200)
46160
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
46161
46802
  * @param {*} [options] Override http request option.
46162
46803
  * @throws {RequiredError}
46163
46804
  * @memberof AdminConnectorWebhooksApi
46164
46805
  */
46165
- public adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid: string, status?: string, limit?: number, beforeUuid?: string, options?: RawAxiosRequestConfig) {
46166
- 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));
46167
46808
  }
46168
46809
 
46169
46810
  /**
@@ -46178,6 +46819,17 @@ export class AdminConnectorWebhooksApi extends BaseAPI {
46178
46819
  return AdminConnectorWebhooksApiFp(this.configuration).adminConnectorsSourcesSourceUuidWebhooksResubscribePost(sourceUuid, options).then((request) => request(this.axios, this.basePath));
46179
46820
  }
46180
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
+
46181
46833
  /**
46182
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.
46183
46835
  * @summary Resubscribe webhooks for every connector source
@@ -60401,6 +61053,72 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
60401
61053
 
60402
61054
 
60403
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
+
60404
61122
  setSearchParams(localVarUrlObj, localVarQueryParameter);
60405
61123
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
60406
61124
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -60641,6 +61359,30 @@ export const BillingApiFp = function(configuration?: Configuration) {
60641
61359
  const localVarOperationServerBasePath = operationServerMap['BillingApi.apiV1BillingPlansGet']?.[localVarOperationServerIndex]?.url;
60642
61360
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
60643
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
+ },
60644
61386
  /**
60645
61387
  *
60646
61388
  * @summary Create a new subscription
@@ -60761,6 +61503,24 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
60761
61503
  apiV1BillingPlansGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayBillingProviderPlanRow> {
60762
61504
  return localVarFp.apiV1BillingPlansGet(options).then((request) => request(axios, basePath));
60763
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
+ },
60764
61524
  /**
60765
61525
  *
60766
61526
  * @summary Create a new subscription
@@ -60881,6 +61641,28 @@ export class BillingApi extends BaseAPI {
60881
61641
  return BillingApiFp(this.configuration).apiV1BillingPlansGet(options).then((request) => request(this.axios, this.basePath));
60882
61642
  }
60883
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
+
60884
61666
  /**
60885
61667
  *
60886
61668
  * @summary Create a new subscription
@@ -66561,7 +67343,7 @@ export const ConnectorAdminAuthApiAxiosParamCreator = function (configuration?:
66561
67343
  };
66562
67344
  },
66563
67345
  /**
66564
- * Decrypts and validates stored credentials. Updates is_valid and last_validated_at.
67346
+ * Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
66565
67347
  * @summary Validate connector authentication credentials
66566
67348
  * @param {string} uuid Authentication UUID
66567
67349
  * @param {*} [options] Override http request option.
@@ -66673,13 +67455,13 @@ export const ConnectorAdminAuthApiFp = function(configuration?: Configuration) {
66673
67455
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
66674
67456
  },
66675
67457
  /**
66676
- * Decrypts and validates stored credentials. Updates is_valid and last_validated_at.
67458
+ * Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
66677
67459
  * @summary Validate connector authentication credentials
66678
67460
  * @param {string} uuid Authentication UUID
66679
67461
  * @param {*} [options] Override http request option.
66680
67462
  * @throws {RequiredError}
66681
67463
  */
66682
- async adminConnectorAuthUuidValidatePost(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorAuthResponse>> {
67464
+ async adminConnectorAuthUuidValidatePost(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorValidateAuthResponse>> {
66683
67465
  const localVarAxiosArgs = await localVarAxiosParamCreator.adminConnectorAuthUuidValidatePost(uuid, options);
66684
67466
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
66685
67467
  const localVarOperationServerBasePath = operationServerMap['ConnectorAdminAuthApi.adminConnectorAuthUuidValidatePost']?.[localVarOperationServerIndex]?.url;
@@ -66746,13 +67528,13 @@ export const ConnectorAdminAuthApiFactory = function (configuration?: Configurat
66746
67528
  return localVarFp.adminConnectorAuthUuidPut(uuid, connectorUpdateAuthRequest, options).then((request) => request(axios, basePath));
66747
67529
  },
66748
67530
  /**
66749
- * Decrypts and validates stored credentials. Updates is_valid and last_validated_at.
67531
+ * Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
66750
67532
  * @summary Validate connector authentication credentials
66751
67533
  * @param {string} uuid Authentication UUID
66752
67534
  * @param {*} [options] Override http request option.
66753
67535
  * @throws {RequiredError}
66754
67536
  */
66755
- adminConnectorAuthUuidValidatePost(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ConnectorAuthResponse> {
67537
+ adminConnectorAuthUuidValidatePost(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ConnectorValidateAuthResponse> {
66756
67538
  return localVarFp.adminConnectorAuthUuidValidatePost(uuid, options).then((request) => request(axios, basePath));
66757
67539
  },
66758
67540
  };
@@ -66826,7 +67608,7 @@ export class ConnectorAdminAuthApi extends BaseAPI {
66826
67608
  }
66827
67609
 
66828
67610
  /**
66829
- * Decrypts and validates stored credentials. Updates is_valid and last_validated_at.
67611
+ * Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
66830
67612
  * @summary Validate connector authentication credentials
66831
67613
  * @param {string} uuid Authentication UUID
66832
67614
  * @param {*} [options] Override http request option.
@@ -68924,7 +69706,7 @@ export const ConnectorAdminSourcesApiAxiosParamCreator = function (configuration
68924
69706
  };
68925
69707
  },
68926
69708
  /**
68927
- * Dispatches a connectivity check to the go-worker. Returns immediately with a job ID.
69709
+ * 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.
68928
69710
  * @summary Check source connectivity
68929
69711
  * @param {string} uuid Source UUID
68930
69712
  * @param {*} [options] Override http request option.
@@ -68998,7 +69780,7 @@ export const ConnectorAdminSourcesApiAxiosParamCreator = function (configuration
68998
69780
  };
68999
69781
  },
69000
69782
  /**
69001
- * Dispatches a catalog discovery job to the go-worker. Returns the pending catalog immediately.
69783
+ * 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.
69002
69784
  * @summary Discover source stream catalog
69003
69785
  * @param {string} uuid Source UUID
69004
69786
  * @param {*} [options] Override http request option.
@@ -69205,13 +69987,13 @@ export const ConnectorAdminSourcesApiFp = function(configuration?: Configuration
69205
69987
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
69206
69988
  },
69207
69989
  /**
69208
- * Dispatches a connectivity check to the go-worker. Returns immediately with a job ID.
69990
+ * 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.
69209
69991
  * @summary Check source connectivity
69210
69992
  * @param {string} uuid Source UUID
69211
69993
  * @param {*} [options] Override http request option.
69212
69994
  * @throws {RequiredError}
69213
69995
  */
69214
- async adminConnectorSourcesUuidCheckPost(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorSourceServiceCheckResult>> {
69996
+ async adminConnectorSourcesUuidCheckPost(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorValidateAuthResponse>> {
69215
69997
  const localVarAxiosArgs = await localVarAxiosParamCreator.adminConnectorSourcesUuidCheckPost(uuid, options);
69216
69998
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
69217
69999
  const localVarOperationServerBasePath = operationServerMap['ConnectorAdminSourcesApi.adminConnectorSourcesUuidCheckPost']?.[localVarOperationServerIndex]?.url;
@@ -69231,7 +70013,7 @@ export const ConnectorAdminSourcesApiFp = function(configuration?: Configuration
69231
70013
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
69232
70014
  },
69233
70015
  /**
69234
- * Dispatches a catalog discovery job to the go-worker. Returns the pending catalog immediately.
70016
+ * 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.
69235
70017
  * @summary Discover source stream catalog
69236
70018
  * @param {string} uuid Source UUID
69237
70019
  * @param {*} [options] Override http request option.
@@ -69324,13 +70106,13 @@ export const ConnectorAdminSourcesApiFactory = function (configuration?: Configu
69324
70106
  return localVarFp.adminConnectorSourcesTestConnectionPost(connectorTestConnectionRequest, options).then((request) => request(axios, basePath));
69325
70107
  },
69326
70108
  /**
69327
- * Dispatches a connectivity check to the go-worker. Returns immediately with a job ID.
70109
+ * 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.
69328
70110
  * @summary Check source connectivity
69329
70111
  * @param {string} uuid Source UUID
69330
70112
  * @param {*} [options] Override http request option.
69331
70113
  * @throws {RequiredError}
69332
70114
  */
69333
- adminConnectorSourcesUuidCheckPost(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ConnectorSourceServiceCheckResult> {
70115
+ adminConnectorSourcesUuidCheckPost(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ConnectorValidateAuthResponse> {
69334
70116
  return localVarFp.adminConnectorSourcesUuidCheckPost(uuid, options).then((request) => request(axios, basePath));
69335
70117
  },
69336
70118
  /**
@@ -69344,7 +70126,7 @@ export const ConnectorAdminSourcesApiFactory = function (configuration?: Configu
69344
70126
  return localVarFp.adminConnectorSourcesUuidDelete(uuid, options).then((request) => request(axios, basePath));
69345
70127
  },
69346
70128
  /**
69347
- * Dispatches a catalog discovery job to the go-worker. Returns the pending catalog immediately.
70129
+ * 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.
69348
70130
  * @summary Discover source stream catalog
69349
70131
  * @param {string} uuid Source UUID
69350
70132
  * @param {*} [options] Override http request option.
@@ -69431,7 +70213,7 @@ export class ConnectorAdminSourcesApi extends BaseAPI {
69431
70213
  }
69432
70214
 
69433
70215
  /**
69434
- * Dispatches a connectivity check to the go-worker. Returns immediately with a job ID.
70216
+ * 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.
69435
70217
  * @summary Check source connectivity
69436
70218
  * @param {string} uuid Source UUID
69437
70219
  * @param {*} [options] Override http request option.
@@ -69455,7 +70237,7 @@ export class ConnectorAdminSourcesApi extends BaseAPI {
69455
70237
  }
69456
70238
 
69457
70239
  /**
69458
- * Dispatches a catalog discovery job to the go-worker. Returns the pending catalog immediately.
70240
+ * 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.
69459
70241
  * @summary Discover source stream catalog
69460
70242
  * @param {string} uuid Source UUID
69461
70243
  * @param {*} [options] Override http request option.
@@ -75534,7 +76316,7 @@ export const ConnectorsApiAxiosParamCreator = function (configuration?: Configur
75534
76316
  };
75535
76317
  },
75536
76318
  /**
75537
- * Decrypts and validates stored credentials. Updates is_valid and last_validated_at.
76319
+ * Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
75538
76320
  * @summary Validate connector authentication credentials
75539
76321
  * @param {string} uuid Authentication UUID
75540
76322
  * @param {*} [options] Override http request option.
@@ -76937,13 +77719,13 @@ export const ConnectorsApiFp = function(configuration?: Configuration) {
76937
77719
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
76938
77720
  },
76939
77721
  /**
76940
- * Decrypts and validates stored credentials. Updates is_valid and last_validated_at.
77722
+ * Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
76941
77723
  * @summary Validate connector authentication credentials
76942
77724
  * @param {string} uuid Authentication UUID
76943
77725
  * @param {*} [options] Override http request option.
76944
77726
  * @throws {RequiredError}
76945
77727
  */
76946
- async v1ConnectorsAuthUuidValidatePost(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorAuthResponse>> {
77728
+ async v1ConnectorsAuthUuidValidatePost(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorValidateAuthResponse>> {
76947
77729
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1ConnectorsAuthUuidValidatePost(uuid, options);
76948
77730
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
76949
77731
  const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.v1ConnectorsAuthUuidValidatePost']?.[localVarOperationServerIndex]?.url;
@@ -77543,13 +78325,13 @@ export const ConnectorsApiFactory = function (configuration?: Configuration, bas
77543
78325
  return localVarFp.v1ConnectorsAuthUuidPut(uuid, connectorUpdateAuthRequest, options).then((request) => request(axios, basePath));
77544
78326
  },
77545
78327
  /**
77546
- * Decrypts and validates stored credentials. Updates is_valid and last_validated_at.
78328
+ * Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
77547
78329
  * @summary Validate connector authentication credentials
77548
78330
  * @param {string} uuid Authentication UUID
77549
78331
  * @param {*} [options] Override http request option.
77550
78332
  * @throws {RequiredError}
77551
78333
  */
77552
- v1ConnectorsAuthUuidValidatePost(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ConnectorAuthResponse> {
78334
+ v1ConnectorsAuthUuidValidatePost(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ConnectorValidateAuthResponse> {
77553
78335
  return localVarFp.v1ConnectorsAuthUuidValidatePost(uuid, options).then((request) => request(axios, basePath));
77554
78336
  },
77555
78337
  /**
@@ -78078,7 +78860,7 @@ export class ConnectorsApi extends BaseAPI {
78078
78860
  }
78079
78861
 
78080
78862
  /**
78081
- * Decrypts and validates stored credentials. Updates is_valid and last_validated_at.
78863
+ * Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
78082
78864
  * @summary Validate connector authentication credentials
78083
78865
  * @param {string} uuid Authentication UUID
78084
78866
  * @param {*} [options] Override http request option.
@@ -87235,6 +88017,110 @@ export class InternalApi extends BaseAPI {
87235
88017
 
87236
88018
 
87237
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
+
87238
88124
  /**
87239
88125
  * ItemAnalyticsApi - axios parameter creator
87240
88126
  * @export
@@ -97869,6 +98755,123 @@ export class PlansApi extends BaseAPI {
97869
98755
 
97870
98756
 
97871
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
+
97872
98875
  /**
97873
98876
  * PlatformPublicOnboardingApi - axios parameter creator
97874
98877
  * @export
@@ -97993,6 +98996,123 @@ export class PlatformPublicOnboardingApi extends BaseAPI {
97993
98996
 
97994
98997
 
97995
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
+
97996
99116
  /**
97997
99117
  * PluralsDeclensionsApi - axios parameter creator
97998
99118
  * @export