@seekora-ai/admin-api 1.2.12 → 1.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.d.ts CHANGED
@@ -14476,6 +14476,316 @@ export interface ConnectorUpdateTransformationRequest {
14476
14476
  */
14477
14477
  'name'?: string;
14478
14478
  }
14479
+ /**
14480
+ *
14481
+ * @export
14482
+ * @interface ConnectorWebhookDeliveriesListData
14483
+ */
14484
+ export interface ConnectorWebhookDeliveriesListData {
14485
+ /**
14486
+ *
14487
+ * @type {number}
14488
+ * @memberof ConnectorWebhookDeliveriesListData
14489
+ */
14490
+ 'count'?: number;
14491
+ /**
14492
+ *
14493
+ * @type {Array<ConnectorWebhookDeliveryItem>}
14494
+ * @memberof ConnectorWebhookDeliveriesListData
14495
+ */
14496
+ 'deliveries'?: Array<ConnectorWebhookDeliveryItem>;
14497
+ /**
14498
+ *
14499
+ * @type {string}
14500
+ * @memberof ConnectorWebhookDeliveriesListData
14501
+ */
14502
+ 'next_cursor'?: string;
14503
+ }
14504
+ /**
14505
+ *
14506
+ * @export
14507
+ * @interface ConnectorWebhookDeliveriesListResponse
14508
+ */
14509
+ export interface ConnectorWebhookDeliveriesListResponse {
14510
+ /**
14511
+ *
14512
+ * @type {ConnectorWebhookDeliveriesListData}
14513
+ * @memberof ConnectorWebhookDeliveriesListResponse
14514
+ */
14515
+ 'data'?: ConnectorWebhookDeliveriesListData;
14516
+ /**
14517
+ *
14518
+ * @type {string}
14519
+ * @memberof ConnectorWebhookDeliveriesListResponse
14520
+ */
14521
+ 'message'?: string;
14522
+ /**
14523
+ *
14524
+ * @type {number}
14525
+ * @memberof ConnectorWebhookDeliveriesListResponse
14526
+ */
14527
+ 'status'?: number;
14528
+ /**
14529
+ *
14530
+ * @type {string}
14531
+ * @memberof ConnectorWebhookDeliveriesListResponse
14532
+ */
14533
+ 'timestamp'?: string;
14534
+ }
14535
+ /**
14536
+ *
14537
+ * @export
14538
+ * @interface ConnectorWebhookDeliveryItem
14539
+ */
14540
+ export interface ConnectorWebhookDeliveryItem {
14541
+ /**
14542
+ *
14543
+ * @type {string}
14544
+ * @memberof ConnectorWebhookDeliveryItem
14545
+ */
14546
+ 'connector_type'?: string;
14547
+ /**
14548
+ *
14549
+ * @type {string}
14550
+ * @memberof ConnectorWebhookDeliveryItem
14551
+ */
14552
+ 'error_message'?: string;
14553
+ /**
14554
+ *
14555
+ * @type {string}
14556
+ * @memberof ConnectorWebhookDeliveryItem
14557
+ */
14558
+ 'external_id'?: string;
14559
+ /**
14560
+ *
14561
+ * @type {boolean}
14562
+ * @memberof ConnectorWebhookDeliveryItem
14563
+ */
14564
+ 'has_body'?: boolean;
14565
+ /**
14566
+ *
14567
+ * @type {object}
14568
+ * @memberof ConnectorWebhookDeliveryItem
14569
+ */
14570
+ 'headers'?: object;
14571
+ /**
14572
+ *
14573
+ * @type {string}
14574
+ * @memberof ConnectorWebhookDeliveryItem
14575
+ */
14576
+ 'processed_at'?: string;
14577
+ /**
14578
+ *
14579
+ * @type {string}
14580
+ * @memberof ConnectorWebhookDeliveryItem
14581
+ */
14582
+ 'received_at'?: string;
14583
+ /**
14584
+ *
14585
+ * @type {string}
14586
+ * @memberof ConnectorWebhookDeliveryItem
14587
+ */
14588
+ 'status'?: string;
14589
+ /**
14590
+ *
14591
+ * @type {string}
14592
+ * @memberof ConnectorWebhookDeliveryItem
14593
+ */
14594
+ 'stream'?: string;
14595
+ /**
14596
+ *
14597
+ * @type {string}
14598
+ * @memberof ConnectorWebhookDeliveryItem
14599
+ */
14600
+ 'uuid'?: string;
14601
+ }
14602
+ /**
14603
+ *
14604
+ * @export
14605
+ * @interface ConnectorWebhookReplayResponse
14606
+ */
14607
+ export interface ConnectorWebhookReplayResponse {
14608
+ /**
14609
+ *
14610
+ * @type {ConnectorWebhookReplayResult}
14611
+ * @memberof ConnectorWebhookReplayResponse
14612
+ */
14613
+ 'data'?: ConnectorWebhookReplayResult;
14614
+ /**
14615
+ *
14616
+ * @type {string}
14617
+ * @memberof ConnectorWebhookReplayResponse
14618
+ */
14619
+ 'message'?: string;
14620
+ /**
14621
+ *
14622
+ * @type {number}
14623
+ * @memberof ConnectorWebhookReplayResponse
14624
+ */
14625
+ 'status'?: number;
14626
+ /**
14627
+ *
14628
+ * @type {string}
14629
+ * @memberof ConnectorWebhookReplayResponse
14630
+ */
14631
+ 'timestamp'?: string;
14632
+ }
14633
+ /**
14634
+ *
14635
+ * @export
14636
+ * @interface ConnectorWebhookReplayResult
14637
+ */
14638
+ export interface ConnectorWebhookReplayResult {
14639
+ /**
14640
+ *
14641
+ * @type {string}
14642
+ * @memberof ConnectorWebhookReplayResult
14643
+ */
14644
+ 'original_delivery_uuid'?: string;
14645
+ /**
14646
+ *
14647
+ * @type {string}
14648
+ * @memberof ConnectorWebhookReplayResult
14649
+ */
14650
+ 'replay_delivery_uuid'?: string;
14651
+ }
14652
+ /**
14653
+ *
14654
+ * @export
14655
+ * @interface ConnectorWebhookResubscribeAllFailure
14656
+ */
14657
+ export interface ConnectorWebhookResubscribeAllFailure {
14658
+ /**
14659
+ *
14660
+ * @type {string}
14661
+ * @memberof ConnectorWebhookResubscribeAllFailure
14662
+ */
14663
+ 'error'?: string;
14664
+ /**
14665
+ *
14666
+ * @type {string}
14667
+ * @memberof ConnectorWebhookResubscribeAllFailure
14668
+ */
14669
+ 'source_uuid'?: string;
14670
+ }
14671
+ /**
14672
+ *
14673
+ * @export
14674
+ * @interface ConnectorWebhookResubscribeAllResponse
14675
+ */
14676
+ export interface ConnectorWebhookResubscribeAllResponse {
14677
+ /**
14678
+ *
14679
+ * @type {ConnectorWebhookResubscribeAllResult}
14680
+ * @memberof ConnectorWebhookResubscribeAllResponse
14681
+ */
14682
+ 'data'?: ConnectorWebhookResubscribeAllResult;
14683
+ /**
14684
+ *
14685
+ * @type {string}
14686
+ * @memberof ConnectorWebhookResubscribeAllResponse
14687
+ */
14688
+ 'message'?: string;
14689
+ /**
14690
+ *
14691
+ * @type {number}
14692
+ * @memberof ConnectorWebhookResubscribeAllResponse
14693
+ */
14694
+ 'status'?: number;
14695
+ /**
14696
+ *
14697
+ * @type {string}
14698
+ * @memberof ConnectorWebhookResubscribeAllResponse
14699
+ */
14700
+ 'timestamp'?: string;
14701
+ }
14702
+ /**
14703
+ *
14704
+ * @export
14705
+ * @interface ConnectorWebhookResubscribeAllResult
14706
+ */
14707
+ export interface ConnectorWebhookResubscribeAllResult {
14708
+ /**
14709
+ *
14710
+ * @type {Array<ConnectorWebhookResubscribeAllFailure>}
14711
+ * @memberof ConnectorWebhookResubscribeAllResult
14712
+ */
14713
+ 'errors'?: Array<ConnectorWebhookResubscribeAllFailure>;
14714
+ /**
14715
+ *
14716
+ * @type {number}
14717
+ * @memberof ConnectorWebhookResubscribeAllResult
14718
+ */
14719
+ 'failed'?: number;
14720
+ /**
14721
+ *
14722
+ * @type {number}
14723
+ * @memberof ConnectorWebhookResubscribeAllResult
14724
+ */
14725
+ 'succeeded'?: number;
14726
+ /**
14727
+ *
14728
+ * @type {number}
14729
+ * @memberof ConnectorWebhookResubscribeAllResult
14730
+ */
14731
+ 'total'?: number;
14732
+ }
14733
+ /**
14734
+ *
14735
+ * @export
14736
+ * @interface ConnectorWebhookResubscribeResponse
14737
+ */
14738
+ export interface ConnectorWebhookResubscribeResponse {
14739
+ /**
14740
+ *
14741
+ * @type {ConnectorWebhookResubscribeResult}
14742
+ * @memberof ConnectorWebhookResubscribeResponse
14743
+ */
14744
+ 'data'?: ConnectorWebhookResubscribeResult;
14745
+ /**
14746
+ *
14747
+ * @type {string}
14748
+ * @memberof ConnectorWebhookResubscribeResponse
14749
+ */
14750
+ 'message'?: string;
14751
+ /**
14752
+ *
14753
+ * @type {number}
14754
+ * @memberof ConnectorWebhookResubscribeResponse
14755
+ */
14756
+ 'status'?: number;
14757
+ /**
14758
+ *
14759
+ * @type {string}
14760
+ * @memberof ConnectorWebhookResubscribeResponse
14761
+ */
14762
+ 'timestamp'?: string;
14763
+ }
14764
+ /**
14765
+ *
14766
+ * @export
14767
+ * @interface ConnectorWebhookResubscribeResult
14768
+ */
14769
+ export interface ConnectorWebhookResubscribeResult {
14770
+ /**
14771
+ *
14772
+ * @type {string}
14773
+ * @memberof ConnectorWebhookResubscribeResult
14774
+ */
14775
+ 'connector_type'?: string;
14776
+ /**
14777
+ *
14778
+ * @type {string}
14779
+ * @memberof ConnectorWebhookResubscribeResult
14780
+ */
14781
+ 'source_uuid'?: string;
14782
+ /**
14783
+ *
14784
+ * @type {number}
14785
+ * @memberof ConnectorWebhookResubscribeResult
14786
+ */
14787
+ 'topics_subscribed'?: number;
14788
+ }
14479
14789
  /**
14480
14790
  *
14481
14791
  * @export
@@ -44911,6 +45221,176 @@ export declare class AdminAnalyticsApi extends BaseAPI {
44911
45221
  */
44912
45222
  v1AdminAnalyticsTestModePost(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
44913
45223
  }
45224
+ /**
45225
+ * AdminConnectorWebhooksApi - axios parameter creator
45226
+ * @export
45227
+ */
45228
+ export declare const AdminConnectorWebhooksApiAxiosParamCreator: (configuration?: Configuration) => {
45229
+ /**
45230
+ * 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.
45231
+ * @summary Replay a recorded webhook delivery
45232
+ * @param {string} sourceUuid Connector source UUID
45233
+ * @param {string} deliveryUuid Delivery UUID to replay
45234
+ * @param {*} [options] Override http request option.
45235
+ * @throws {RequiredError}
45236
+ */
45237
+ adminConnectorsSourcesSourceUuidWebhooksDeliveriesDeliveryUuidReplayPost: (sourceUuid: string, deliveryUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
45238
+ /**
45239
+ * Paginated list of recent webhook deliveries for a connector source. body_base64 is redacted; use replay to send a delivery through the pipeline again.
45240
+ * @summary List recent webhook deliveries
45241
+ * @param {string} sourceUuid Connector source UUID
45242
+ * @param {string} [status] Filter by delivery status (pending, processed, failed)
45243
+ * @param {number} [limit] Page size (default 50, max 200)
45244
+ * @param {string} [beforeUuid] Cursor: return rows older than the delivery with this UUID
45245
+ * @param {*} [options] Override http request option.
45246
+ * @throws {RequiredError}
45247
+ */
45248
+ adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet: (sourceUuid: string, status?: string, limit?: number, beforeUuid?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
45249
+ /**
45250
+ * Re-run the register_webhooks post-install hook for one connector source. Idempotent via ON CONFLICT (source_id, topic) DO UPDATE.
45251
+ * @summary Resubscribe webhooks for a connector source
45252
+ * @param {string} sourceUuid Connector source UUID
45253
+ * @param {*} [options] Override http request option.
45254
+ * @throws {RequiredError}
45255
+ */
45256
+ adminConnectorsSourcesSourceUuidWebhooksResubscribePost: (sourceUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
45257
+ /**
45258
+ * 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.
45259
+ * @summary Resubscribe webhooks for every connector source
45260
+ * @param {*} [options] Override http request option.
45261
+ * @throws {RequiredError}
45262
+ */
45263
+ adminConnectorsWebhooksResubscribeAllPost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
45264
+ };
45265
+ /**
45266
+ * AdminConnectorWebhooksApi - functional programming interface
45267
+ * @export
45268
+ */
45269
+ export declare const AdminConnectorWebhooksApiFp: (configuration?: Configuration) => {
45270
+ /**
45271
+ * 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.
45272
+ * @summary Replay a recorded webhook delivery
45273
+ * @param {string} sourceUuid Connector source UUID
45274
+ * @param {string} deliveryUuid Delivery UUID to replay
45275
+ * @param {*} [options] Override http request option.
45276
+ * @throws {RequiredError}
45277
+ */
45278
+ adminConnectorsSourcesSourceUuidWebhooksDeliveriesDeliveryUuidReplayPost(sourceUuid: string, deliveryUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorWebhookReplayResponse>>;
45279
+ /**
45280
+ * Paginated list of recent webhook deliveries for a connector source. body_base64 is redacted; use replay to send a delivery through the pipeline again.
45281
+ * @summary List recent webhook deliveries
45282
+ * @param {string} sourceUuid Connector source UUID
45283
+ * @param {string} [status] Filter by delivery status (pending, processed, failed)
45284
+ * @param {number} [limit] Page size (default 50, max 200)
45285
+ * @param {string} [beforeUuid] Cursor: return rows older than the delivery with this UUID
45286
+ * @param {*} [options] Override http request option.
45287
+ * @throws {RequiredError}
45288
+ */
45289
+ adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid: string, status?: string, limit?: number, beforeUuid?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorWebhookDeliveriesListResponse>>;
45290
+ /**
45291
+ * Re-run the register_webhooks post-install hook for one connector source. Idempotent via ON CONFLICT (source_id, topic) DO UPDATE.
45292
+ * @summary Resubscribe webhooks for a connector source
45293
+ * @param {string} sourceUuid Connector source UUID
45294
+ * @param {*} [options] Override http request option.
45295
+ * @throws {RequiredError}
45296
+ */
45297
+ adminConnectorsSourcesSourceUuidWebhooksResubscribePost(sourceUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorWebhookResubscribeResponse>>;
45298
+ /**
45299
+ * 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.
45300
+ * @summary Resubscribe webhooks for every connector source
45301
+ * @param {*} [options] Override http request option.
45302
+ * @throws {RequiredError}
45303
+ */
45304
+ adminConnectorsWebhooksResubscribeAllPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorWebhookResubscribeAllResponse>>;
45305
+ };
45306
+ /**
45307
+ * AdminConnectorWebhooksApi - factory interface
45308
+ * @export
45309
+ */
45310
+ export declare const AdminConnectorWebhooksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
45311
+ /**
45312
+ * 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.
45313
+ * @summary Replay a recorded webhook delivery
45314
+ * @param {string} sourceUuid Connector source UUID
45315
+ * @param {string} deliveryUuid Delivery UUID to replay
45316
+ * @param {*} [options] Override http request option.
45317
+ * @throws {RequiredError}
45318
+ */
45319
+ adminConnectorsSourcesSourceUuidWebhooksDeliveriesDeliveryUuidReplayPost(sourceUuid: string, deliveryUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ConnectorWebhookReplayResponse>;
45320
+ /**
45321
+ * Paginated list of recent webhook deliveries for a connector source. body_base64 is redacted; use replay to send a delivery through the pipeline again.
45322
+ * @summary List recent webhook deliveries
45323
+ * @param {string} sourceUuid Connector source UUID
45324
+ * @param {string} [status] Filter by delivery status (pending, processed, failed)
45325
+ * @param {number} [limit] Page size (default 50, max 200)
45326
+ * @param {string} [beforeUuid] Cursor: return rows older than the delivery with this UUID
45327
+ * @param {*} [options] Override http request option.
45328
+ * @throws {RequiredError}
45329
+ */
45330
+ adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid: string, status?: string, limit?: number, beforeUuid?: string, options?: RawAxiosRequestConfig): AxiosPromise<ConnectorWebhookDeliveriesListResponse>;
45331
+ /**
45332
+ * Re-run the register_webhooks post-install hook for one connector source. Idempotent via ON CONFLICT (source_id, topic) DO UPDATE.
45333
+ * @summary Resubscribe webhooks for a connector source
45334
+ * @param {string} sourceUuid Connector source UUID
45335
+ * @param {*} [options] Override http request option.
45336
+ * @throws {RequiredError}
45337
+ */
45338
+ adminConnectorsSourcesSourceUuidWebhooksResubscribePost(sourceUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ConnectorWebhookResubscribeResponse>;
45339
+ /**
45340
+ * 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.
45341
+ * @summary Resubscribe webhooks for every connector source
45342
+ * @param {*} [options] Override http request option.
45343
+ * @throws {RequiredError}
45344
+ */
45345
+ adminConnectorsWebhooksResubscribeAllPost(options?: RawAxiosRequestConfig): AxiosPromise<ConnectorWebhookResubscribeAllResponse>;
45346
+ };
45347
+ /**
45348
+ * AdminConnectorWebhooksApi - object-oriented interface
45349
+ * @export
45350
+ * @class AdminConnectorWebhooksApi
45351
+ * @extends {BaseAPI}
45352
+ */
45353
+ export declare class AdminConnectorWebhooksApi extends BaseAPI {
45354
+ /**
45355
+ * 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.
45356
+ * @summary Replay a recorded webhook delivery
45357
+ * @param {string} sourceUuid Connector source UUID
45358
+ * @param {string} deliveryUuid Delivery UUID to replay
45359
+ * @param {*} [options] Override http request option.
45360
+ * @throws {RequiredError}
45361
+ * @memberof AdminConnectorWebhooksApi
45362
+ */
45363
+ adminConnectorsSourcesSourceUuidWebhooksDeliveriesDeliveryUuidReplayPost(sourceUuid: string, deliveryUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConnectorWebhookReplayResponse, any, {}>>;
45364
+ /**
45365
+ * Paginated list of recent webhook deliveries for a connector source. body_base64 is redacted; use replay to send a delivery through the pipeline again.
45366
+ * @summary List recent webhook deliveries
45367
+ * @param {string} sourceUuid Connector source UUID
45368
+ * @param {string} [status] Filter by delivery status (pending, processed, failed)
45369
+ * @param {number} [limit] Page size (default 50, max 200)
45370
+ * @param {string} [beforeUuid] Cursor: return rows older than the delivery with this UUID
45371
+ * @param {*} [options] Override http request option.
45372
+ * @throws {RequiredError}
45373
+ * @memberof AdminConnectorWebhooksApi
45374
+ */
45375
+ adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid: string, status?: string, limit?: number, beforeUuid?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConnectorWebhookDeliveriesListResponse, any, {}>>;
45376
+ /**
45377
+ * Re-run the register_webhooks post-install hook for one connector source. Idempotent via ON CONFLICT (source_id, topic) DO UPDATE.
45378
+ * @summary Resubscribe webhooks for a connector source
45379
+ * @param {string} sourceUuid Connector source UUID
45380
+ * @param {*} [options] Override http request option.
45381
+ * @throws {RequiredError}
45382
+ * @memberof AdminConnectorWebhooksApi
45383
+ */
45384
+ adminConnectorsSourcesSourceUuidWebhooksResubscribePost(sourceUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConnectorWebhookResubscribeResponse, any, {}>>;
45385
+ /**
45386
+ * 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.
45387
+ * @summary Resubscribe webhooks for every connector source
45388
+ * @param {*} [options] Override http request option.
45389
+ * @throws {RequiredError}
45390
+ * @memberof AdminConnectorWebhooksApi
45391
+ */
45392
+ adminConnectorsWebhooksResubscribeAllPost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConnectorWebhookResubscribeAllResponse, any, {}>>;
45393
+ }
44914
45394
  /**
44915
45395
  * AdminNotificationTemplatesApi - axios parameter creator
44916
45396
  * @export