@seekora-ai/admin-api 1.2.12 → 1.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -2
- package/api.ts +825 -22
- package/dist/api.d.ts +644 -25
- package/dist/api.js +363 -28
- package/dist/esm/api.d.ts +644 -25
- package/dist/esm/api.js +347 -16
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.2.14.tgz +0 -0
- package/seekora-ai-admin-api-1.2.12.tgz +0 -0
package/api.ts
CHANGED
|
@@ -12506,6 +12506,30 @@ export interface ConnectorAuthResponse {
|
|
|
12506
12506
|
* @memberof ConnectorAuthResponse
|
|
12507
12507
|
*/
|
|
12508
12508
|
'is_valid'?: boolean;
|
|
12509
|
+
/**
|
|
12510
|
+
*
|
|
12511
|
+
* @type {number}
|
|
12512
|
+
* @memberof ConnectorAuthResponse
|
|
12513
|
+
*/
|
|
12514
|
+
'last_check_duration_ms'?: number;
|
|
12515
|
+
/**
|
|
12516
|
+
*
|
|
12517
|
+
* @type {string}
|
|
12518
|
+
* @memberof ConnectorAuthResponse
|
|
12519
|
+
*/
|
|
12520
|
+
'last_check_error_code'?: string;
|
|
12521
|
+
/**
|
|
12522
|
+
*
|
|
12523
|
+
* @type {string}
|
|
12524
|
+
* @memberof ConnectorAuthResponse
|
|
12525
|
+
*/
|
|
12526
|
+
'last_check_error_message'?: string;
|
|
12527
|
+
/**
|
|
12528
|
+
* 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.
|
|
12529
|
+
* @type {string}
|
|
12530
|
+
* @memberof ConnectorAuthResponse
|
|
12531
|
+
*/
|
|
12532
|
+
'last_checked_at'?: string;
|
|
12509
12533
|
/**
|
|
12510
12534
|
*
|
|
12511
12535
|
* @type {string}
|
|
@@ -12930,6 +12954,12 @@ export interface ConnectorDestRef {
|
|
|
12930
12954
|
* @memberof ConnectorDestRef
|
|
12931
12955
|
*/
|
|
12932
12956
|
'name'?: string;
|
|
12957
|
+
/**
|
|
12958
|
+
*
|
|
12959
|
+
* @type {string}
|
|
12960
|
+
* @memberof ConnectorDestRef
|
|
12961
|
+
*/
|
|
12962
|
+
'type'?: string;
|
|
12933
12963
|
/**
|
|
12934
12964
|
*
|
|
12935
12965
|
* @type {string}
|
|
@@ -13199,6 +13229,43 @@ export interface ConnectorRunListResponse {
|
|
|
13199
13229
|
*/
|
|
13200
13230
|
'total'?: number;
|
|
13201
13231
|
}
|
|
13232
|
+
/**
|
|
13233
|
+
*
|
|
13234
|
+
* @export
|
|
13235
|
+
* @interface ConnectorRunPhaseDTO
|
|
13236
|
+
*/
|
|
13237
|
+
export interface ConnectorRunPhaseDTO {
|
|
13238
|
+
/**
|
|
13239
|
+
*
|
|
13240
|
+
* @type {string}
|
|
13241
|
+
* @memberof ConnectorRunPhaseDTO
|
|
13242
|
+
*/
|
|
13243
|
+
'completed_at'?: string;
|
|
13244
|
+
/**
|
|
13245
|
+
*
|
|
13246
|
+
* @type {string}
|
|
13247
|
+
* @memberof ConnectorRunPhaseDTO
|
|
13248
|
+
*/
|
|
13249
|
+
'error_message'?: string;
|
|
13250
|
+
/**
|
|
13251
|
+
*
|
|
13252
|
+
* @type {string}
|
|
13253
|
+
* @memberof ConnectorRunPhaseDTO
|
|
13254
|
+
*/
|
|
13255
|
+
'phase'?: string;
|
|
13256
|
+
/**
|
|
13257
|
+
*
|
|
13258
|
+
* @type {string}
|
|
13259
|
+
* @memberof ConnectorRunPhaseDTO
|
|
13260
|
+
*/
|
|
13261
|
+
'started_at'?: string;
|
|
13262
|
+
/**
|
|
13263
|
+
*
|
|
13264
|
+
* @type {string}
|
|
13265
|
+
* @memberof ConnectorRunPhaseDTO
|
|
13266
|
+
*/
|
|
13267
|
+
'status'?: string;
|
|
13268
|
+
}
|
|
13202
13269
|
/**
|
|
13203
13270
|
*
|
|
13204
13271
|
* @export
|
|
@@ -13229,6 +13296,12 @@ export interface ConnectorRunResponse {
|
|
|
13229
13296
|
* @memberof ConnectorRunResponse
|
|
13230
13297
|
*/
|
|
13231
13298
|
'debug_mode'?: boolean;
|
|
13299
|
+
/**
|
|
13300
|
+
*
|
|
13301
|
+
* @type {ConnectorDestRef}
|
|
13302
|
+
* @memberof ConnectorRunResponse
|
|
13303
|
+
*/
|
|
13304
|
+
'destination'?: ConnectorDestRef;
|
|
13232
13305
|
/**
|
|
13233
13306
|
*
|
|
13234
13307
|
* @type {boolean}
|
|
@@ -13271,6 +13344,12 @@ export interface ConnectorRunResponse {
|
|
|
13271
13344
|
* @memberof ConnectorRunResponse
|
|
13272
13345
|
*/
|
|
13273
13346
|
'percent_complete'?: number;
|
|
13347
|
+
/**
|
|
13348
|
+
*
|
|
13349
|
+
* @type {Array<ConnectorRunPhaseDTO>}
|
|
13350
|
+
* @memberof ConnectorRunResponse
|
|
13351
|
+
*/
|
|
13352
|
+
'phases'?: Array<ConnectorRunPhaseDTO>;
|
|
13274
13353
|
/**
|
|
13275
13354
|
*
|
|
13276
13355
|
* @type {number}
|
|
@@ -13295,6 +13374,12 @@ export interface ConnectorRunResponse {
|
|
|
13295
13374
|
* @memberof ConnectorRunResponse
|
|
13296
13375
|
*/
|
|
13297
13376
|
'records_written'?: number;
|
|
13377
|
+
/**
|
|
13378
|
+
* 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.
|
|
13379
|
+
* @type {ConnectorSourceRef}
|
|
13380
|
+
* @memberof ConnectorRunResponse
|
|
13381
|
+
*/
|
|
13382
|
+
'source'?: ConnectorSourceRef;
|
|
13298
13383
|
/**
|
|
13299
13384
|
*
|
|
13300
13385
|
* @type {string}
|
|
@@ -13438,6 +13523,12 @@ export interface ConnectorSourceRef {
|
|
|
13438
13523
|
* @memberof ConnectorSourceRef
|
|
13439
13524
|
*/
|
|
13440
13525
|
'name'?: string;
|
|
13526
|
+
/**
|
|
13527
|
+
*
|
|
13528
|
+
* @type {string}
|
|
13529
|
+
* @memberof ConnectorSourceRef
|
|
13530
|
+
*/
|
|
13531
|
+
'type'?: string;
|
|
13441
13532
|
/**
|
|
13442
13533
|
*
|
|
13443
13534
|
* @type {string}
|
|
@@ -14471,6 +14562,367 @@ export interface ConnectorUpdateTransformationRequest {
|
|
|
14471
14562
|
* @memberof ConnectorUpdateTransformationRequest
|
|
14472
14563
|
*/
|
|
14473
14564
|
'name'?: string;
|
|
14565
|
+
/**
|
|
14566
|
+
*
|
|
14567
|
+
* @type {string}
|
|
14568
|
+
* @memberof ConnectorUpdateTransformationRequest
|
|
14569
|
+
*/
|
|
14570
|
+
'transform_type'?: ConnectorUpdateTransformationRequestTransformTypeEnum;
|
|
14571
|
+
}
|
|
14572
|
+
|
|
14573
|
+
export const ConnectorUpdateTransformationRequestTransformTypeEnum = {
|
|
14574
|
+
Code: 'code',
|
|
14575
|
+
Nocode: 'nocode'
|
|
14576
|
+
} as const;
|
|
14577
|
+
|
|
14578
|
+
export type ConnectorUpdateTransformationRequestTransformTypeEnum = typeof ConnectorUpdateTransformationRequestTransformTypeEnum[keyof typeof ConnectorUpdateTransformationRequestTransformTypeEnum];
|
|
14579
|
+
|
|
14580
|
+
/**
|
|
14581
|
+
*
|
|
14582
|
+
* @export
|
|
14583
|
+
* @interface ConnectorValidateAuthResponse
|
|
14584
|
+
*/
|
|
14585
|
+
export interface ConnectorValidateAuthResponse {
|
|
14586
|
+
/**
|
|
14587
|
+
* CheckedAt is the wall-clock time the check completed.
|
|
14588
|
+
* @type {string}
|
|
14589
|
+
* @memberof ConnectorValidateAuthResponse
|
|
14590
|
+
*/
|
|
14591
|
+
'checked_at'?: string;
|
|
14592
|
+
/**
|
|
14593
|
+
* DurationMs is the wall-clock elapsed time of the check.
|
|
14594
|
+
* @type {number}
|
|
14595
|
+
* @memberof ConnectorValidateAuthResponse
|
|
14596
|
+
*/
|
|
14597
|
+
'duration_ms'?: number;
|
|
14598
|
+
/**
|
|
14599
|
+
* 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.
|
|
14600
|
+
* @type {string}
|
|
14601
|
+
* @memberof ConnectorValidateAuthResponse
|
|
14602
|
+
*/
|
|
14603
|
+
'error_code'?: string;
|
|
14604
|
+
/**
|
|
14605
|
+
* ErrorMessage is a user-safe description (<=240 chars). Empty when OK. Never contains credentials.
|
|
14606
|
+
* @type {string}
|
|
14607
|
+
* @memberof ConnectorValidateAuthResponse
|
|
14608
|
+
*/
|
|
14609
|
+
'error_message'?: string;
|
|
14610
|
+
/**
|
|
14611
|
+
* OK is true when forge.Source.Check returned no error.
|
|
14612
|
+
* @type {boolean}
|
|
14613
|
+
* @memberof ConnectorValidateAuthResponse
|
|
14614
|
+
*/
|
|
14615
|
+
'ok'?: boolean;
|
|
14616
|
+
}
|
|
14617
|
+
/**
|
|
14618
|
+
*
|
|
14619
|
+
* @export
|
|
14620
|
+
* @interface ConnectorWebhookDeliveriesListData
|
|
14621
|
+
*/
|
|
14622
|
+
export interface ConnectorWebhookDeliveriesListData {
|
|
14623
|
+
/**
|
|
14624
|
+
*
|
|
14625
|
+
* @type {number}
|
|
14626
|
+
* @memberof ConnectorWebhookDeliveriesListData
|
|
14627
|
+
*/
|
|
14628
|
+
'count'?: number;
|
|
14629
|
+
/**
|
|
14630
|
+
*
|
|
14631
|
+
* @type {Array<ConnectorWebhookDeliveryItem>}
|
|
14632
|
+
* @memberof ConnectorWebhookDeliveriesListData
|
|
14633
|
+
*/
|
|
14634
|
+
'deliveries'?: Array<ConnectorWebhookDeliveryItem>;
|
|
14635
|
+
/**
|
|
14636
|
+
*
|
|
14637
|
+
* @type {string}
|
|
14638
|
+
* @memberof ConnectorWebhookDeliveriesListData
|
|
14639
|
+
*/
|
|
14640
|
+
'next_cursor'?: string;
|
|
14641
|
+
}
|
|
14642
|
+
/**
|
|
14643
|
+
*
|
|
14644
|
+
* @export
|
|
14645
|
+
* @interface ConnectorWebhookDeliveriesListResponse
|
|
14646
|
+
*/
|
|
14647
|
+
export interface ConnectorWebhookDeliveriesListResponse {
|
|
14648
|
+
/**
|
|
14649
|
+
*
|
|
14650
|
+
* @type {ConnectorWebhookDeliveriesListData}
|
|
14651
|
+
* @memberof ConnectorWebhookDeliveriesListResponse
|
|
14652
|
+
*/
|
|
14653
|
+
'data'?: ConnectorWebhookDeliveriesListData;
|
|
14654
|
+
/**
|
|
14655
|
+
*
|
|
14656
|
+
* @type {string}
|
|
14657
|
+
* @memberof ConnectorWebhookDeliveriesListResponse
|
|
14658
|
+
*/
|
|
14659
|
+
'message'?: string;
|
|
14660
|
+
/**
|
|
14661
|
+
*
|
|
14662
|
+
* @type {number}
|
|
14663
|
+
* @memberof ConnectorWebhookDeliveriesListResponse
|
|
14664
|
+
*/
|
|
14665
|
+
'status'?: number;
|
|
14666
|
+
/**
|
|
14667
|
+
*
|
|
14668
|
+
* @type {string}
|
|
14669
|
+
* @memberof ConnectorWebhookDeliveriesListResponse
|
|
14670
|
+
*/
|
|
14671
|
+
'timestamp'?: string;
|
|
14672
|
+
}
|
|
14673
|
+
/**
|
|
14674
|
+
*
|
|
14675
|
+
* @export
|
|
14676
|
+
* @interface ConnectorWebhookDeliveryItem
|
|
14677
|
+
*/
|
|
14678
|
+
export interface ConnectorWebhookDeliveryItem {
|
|
14679
|
+
/**
|
|
14680
|
+
*
|
|
14681
|
+
* @type {string}
|
|
14682
|
+
* @memberof ConnectorWebhookDeliveryItem
|
|
14683
|
+
*/
|
|
14684
|
+
'connector_type'?: string;
|
|
14685
|
+
/**
|
|
14686
|
+
*
|
|
14687
|
+
* @type {string}
|
|
14688
|
+
* @memberof ConnectorWebhookDeliveryItem
|
|
14689
|
+
*/
|
|
14690
|
+
'error_message'?: string;
|
|
14691
|
+
/**
|
|
14692
|
+
*
|
|
14693
|
+
* @type {string}
|
|
14694
|
+
* @memberof ConnectorWebhookDeliveryItem
|
|
14695
|
+
*/
|
|
14696
|
+
'external_id'?: string;
|
|
14697
|
+
/**
|
|
14698
|
+
*
|
|
14699
|
+
* @type {boolean}
|
|
14700
|
+
* @memberof ConnectorWebhookDeliveryItem
|
|
14701
|
+
*/
|
|
14702
|
+
'has_body'?: boolean;
|
|
14703
|
+
/**
|
|
14704
|
+
*
|
|
14705
|
+
* @type {object}
|
|
14706
|
+
* @memberof ConnectorWebhookDeliveryItem
|
|
14707
|
+
*/
|
|
14708
|
+
'headers'?: object;
|
|
14709
|
+
/**
|
|
14710
|
+
*
|
|
14711
|
+
* @type {string}
|
|
14712
|
+
* @memberof ConnectorWebhookDeliveryItem
|
|
14713
|
+
*/
|
|
14714
|
+
'processed_at'?: string;
|
|
14715
|
+
/**
|
|
14716
|
+
*
|
|
14717
|
+
* @type {string}
|
|
14718
|
+
* @memberof ConnectorWebhookDeliveryItem
|
|
14719
|
+
*/
|
|
14720
|
+
'received_at'?: string;
|
|
14721
|
+
/**
|
|
14722
|
+
*
|
|
14723
|
+
* @type {string}
|
|
14724
|
+
* @memberof ConnectorWebhookDeliveryItem
|
|
14725
|
+
*/
|
|
14726
|
+
'status'?: string;
|
|
14727
|
+
/**
|
|
14728
|
+
*
|
|
14729
|
+
* @type {string}
|
|
14730
|
+
* @memberof ConnectorWebhookDeliveryItem
|
|
14731
|
+
*/
|
|
14732
|
+
'stream'?: string;
|
|
14733
|
+
/**
|
|
14734
|
+
*
|
|
14735
|
+
* @type {string}
|
|
14736
|
+
* @memberof ConnectorWebhookDeliveryItem
|
|
14737
|
+
*/
|
|
14738
|
+
'uuid'?: string;
|
|
14739
|
+
}
|
|
14740
|
+
/**
|
|
14741
|
+
*
|
|
14742
|
+
* @export
|
|
14743
|
+
* @interface ConnectorWebhookReplayResponse
|
|
14744
|
+
*/
|
|
14745
|
+
export interface ConnectorWebhookReplayResponse {
|
|
14746
|
+
/**
|
|
14747
|
+
*
|
|
14748
|
+
* @type {ConnectorWebhookReplayResult}
|
|
14749
|
+
* @memberof ConnectorWebhookReplayResponse
|
|
14750
|
+
*/
|
|
14751
|
+
'data'?: ConnectorWebhookReplayResult;
|
|
14752
|
+
/**
|
|
14753
|
+
*
|
|
14754
|
+
* @type {string}
|
|
14755
|
+
* @memberof ConnectorWebhookReplayResponse
|
|
14756
|
+
*/
|
|
14757
|
+
'message'?: string;
|
|
14758
|
+
/**
|
|
14759
|
+
*
|
|
14760
|
+
* @type {number}
|
|
14761
|
+
* @memberof ConnectorWebhookReplayResponse
|
|
14762
|
+
*/
|
|
14763
|
+
'status'?: number;
|
|
14764
|
+
/**
|
|
14765
|
+
*
|
|
14766
|
+
* @type {string}
|
|
14767
|
+
* @memberof ConnectorWebhookReplayResponse
|
|
14768
|
+
*/
|
|
14769
|
+
'timestamp'?: string;
|
|
14770
|
+
}
|
|
14771
|
+
/**
|
|
14772
|
+
*
|
|
14773
|
+
* @export
|
|
14774
|
+
* @interface ConnectorWebhookReplayResult
|
|
14775
|
+
*/
|
|
14776
|
+
export interface ConnectorWebhookReplayResult {
|
|
14777
|
+
/**
|
|
14778
|
+
*
|
|
14779
|
+
* @type {string}
|
|
14780
|
+
* @memberof ConnectorWebhookReplayResult
|
|
14781
|
+
*/
|
|
14782
|
+
'original_delivery_uuid'?: string;
|
|
14783
|
+
/**
|
|
14784
|
+
*
|
|
14785
|
+
* @type {string}
|
|
14786
|
+
* @memberof ConnectorWebhookReplayResult
|
|
14787
|
+
*/
|
|
14788
|
+
'replay_delivery_uuid'?: string;
|
|
14789
|
+
}
|
|
14790
|
+
/**
|
|
14791
|
+
*
|
|
14792
|
+
* @export
|
|
14793
|
+
* @interface ConnectorWebhookResubscribeAllFailure
|
|
14794
|
+
*/
|
|
14795
|
+
export interface ConnectorWebhookResubscribeAllFailure {
|
|
14796
|
+
/**
|
|
14797
|
+
*
|
|
14798
|
+
* @type {string}
|
|
14799
|
+
* @memberof ConnectorWebhookResubscribeAllFailure
|
|
14800
|
+
*/
|
|
14801
|
+
'error'?: string;
|
|
14802
|
+
/**
|
|
14803
|
+
*
|
|
14804
|
+
* @type {string}
|
|
14805
|
+
* @memberof ConnectorWebhookResubscribeAllFailure
|
|
14806
|
+
*/
|
|
14807
|
+
'source_uuid'?: string;
|
|
14808
|
+
}
|
|
14809
|
+
/**
|
|
14810
|
+
*
|
|
14811
|
+
* @export
|
|
14812
|
+
* @interface ConnectorWebhookResubscribeAllResponse
|
|
14813
|
+
*/
|
|
14814
|
+
export interface ConnectorWebhookResubscribeAllResponse {
|
|
14815
|
+
/**
|
|
14816
|
+
*
|
|
14817
|
+
* @type {ConnectorWebhookResubscribeAllResult}
|
|
14818
|
+
* @memberof ConnectorWebhookResubscribeAllResponse
|
|
14819
|
+
*/
|
|
14820
|
+
'data'?: ConnectorWebhookResubscribeAllResult;
|
|
14821
|
+
/**
|
|
14822
|
+
*
|
|
14823
|
+
* @type {string}
|
|
14824
|
+
* @memberof ConnectorWebhookResubscribeAllResponse
|
|
14825
|
+
*/
|
|
14826
|
+
'message'?: string;
|
|
14827
|
+
/**
|
|
14828
|
+
*
|
|
14829
|
+
* @type {number}
|
|
14830
|
+
* @memberof ConnectorWebhookResubscribeAllResponse
|
|
14831
|
+
*/
|
|
14832
|
+
'status'?: number;
|
|
14833
|
+
/**
|
|
14834
|
+
*
|
|
14835
|
+
* @type {string}
|
|
14836
|
+
* @memberof ConnectorWebhookResubscribeAllResponse
|
|
14837
|
+
*/
|
|
14838
|
+
'timestamp'?: string;
|
|
14839
|
+
}
|
|
14840
|
+
/**
|
|
14841
|
+
*
|
|
14842
|
+
* @export
|
|
14843
|
+
* @interface ConnectorWebhookResubscribeAllResult
|
|
14844
|
+
*/
|
|
14845
|
+
export interface ConnectorWebhookResubscribeAllResult {
|
|
14846
|
+
/**
|
|
14847
|
+
*
|
|
14848
|
+
* @type {Array<ConnectorWebhookResubscribeAllFailure>}
|
|
14849
|
+
* @memberof ConnectorWebhookResubscribeAllResult
|
|
14850
|
+
*/
|
|
14851
|
+
'errors'?: Array<ConnectorWebhookResubscribeAllFailure>;
|
|
14852
|
+
/**
|
|
14853
|
+
*
|
|
14854
|
+
* @type {number}
|
|
14855
|
+
* @memberof ConnectorWebhookResubscribeAllResult
|
|
14856
|
+
*/
|
|
14857
|
+
'failed'?: number;
|
|
14858
|
+
/**
|
|
14859
|
+
*
|
|
14860
|
+
* @type {number}
|
|
14861
|
+
* @memberof ConnectorWebhookResubscribeAllResult
|
|
14862
|
+
*/
|
|
14863
|
+
'succeeded'?: number;
|
|
14864
|
+
/**
|
|
14865
|
+
*
|
|
14866
|
+
* @type {number}
|
|
14867
|
+
* @memberof ConnectorWebhookResubscribeAllResult
|
|
14868
|
+
*/
|
|
14869
|
+
'total'?: number;
|
|
14870
|
+
}
|
|
14871
|
+
/**
|
|
14872
|
+
*
|
|
14873
|
+
* @export
|
|
14874
|
+
* @interface ConnectorWebhookResubscribeResponse
|
|
14875
|
+
*/
|
|
14876
|
+
export interface ConnectorWebhookResubscribeResponse {
|
|
14877
|
+
/**
|
|
14878
|
+
*
|
|
14879
|
+
* @type {ConnectorWebhookResubscribeResult}
|
|
14880
|
+
* @memberof ConnectorWebhookResubscribeResponse
|
|
14881
|
+
*/
|
|
14882
|
+
'data'?: ConnectorWebhookResubscribeResult;
|
|
14883
|
+
/**
|
|
14884
|
+
*
|
|
14885
|
+
* @type {string}
|
|
14886
|
+
* @memberof ConnectorWebhookResubscribeResponse
|
|
14887
|
+
*/
|
|
14888
|
+
'message'?: string;
|
|
14889
|
+
/**
|
|
14890
|
+
*
|
|
14891
|
+
* @type {number}
|
|
14892
|
+
* @memberof ConnectorWebhookResubscribeResponse
|
|
14893
|
+
*/
|
|
14894
|
+
'status'?: number;
|
|
14895
|
+
/**
|
|
14896
|
+
*
|
|
14897
|
+
* @type {string}
|
|
14898
|
+
* @memberof ConnectorWebhookResubscribeResponse
|
|
14899
|
+
*/
|
|
14900
|
+
'timestamp'?: string;
|
|
14901
|
+
}
|
|
14902
|
+
/**
|
|
14903
|
+
*
|
|
14904
|
+
* @export
|
|
14905
|
+
* @interface ConnectorWebhookResubscribeResult
|
|
14906
|
+
*/
|
|
14907
|
+
export interface ConnectorWebhookResubscribeResult {
|
|
14908
|
+
/**
|
|
14909
|
+
*
|
|
14910
|
+
* @type {string}
|
|
14911
|
+
* @memberof ConnectorWebhookResubscribeResult
|
|
14912
|
+
*/
|
|
14913
|
+
'connector_type'?: string;
|
|
14914
|
+
/**
|
|
14915
|
+
*
|
|
14916
|
+
* @type {string}
|
|
14917
|
+
* @memberof ConnectorWebhookResubscribeResult
|
|
14918
|
+
*/
|
|
14919
|
+
'source_uuid'?: string;
|
|
14920
|
+
/**
|
|
14921
|
+
*
|
|
14922
|
+
* @type {number}
|
|
14923
|
+
* @memberof ConnectorWebhookResubscribeResult
|
|
14924
|
+
*/
|
|
14925
|
+
'topics_subscribed'?: number;
|
|
14474
14926
|
}
|
|
14475
14927
|
/**
|
|
14476
14928
|
*
|
|
@@ -45531,6 +45983,357 @@ export class AdminAnalyticsApi extends BaseAPI {
|
|
|
45531
45983
|
|
|
45532
45984
|
|
|
45533
45985
|
|
|
45986
|
+
/**
|
|
45987
|
+
* AdminConnectorWebhooksApi - axios parameter creator
|
|
45988
|
+
* @export
|
|
45989
|
+
*/
|
|
45990
|
+
export const AdminConnectorWebhooksApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
45991
|
+
return {
|
|
45992
|
+
/**
|
|
45993
|
+
* Re-publish a previously recorded delivery through the forge.webhook exchange. A new external_id is minted so the worker processes the replay end-to-end.
|
|
45994
|
+
* @summary Replay a recorded webhook delivery
|
|
45995
|
+
* @param {string} sourceUuid Connector source UUID
|
|
45996
|
+
* @param {string} deliveryUuid Delivery UUID to replay
|
|
45997
|
+
* @param {*} [options] Override http request option.
|
|
45998
|
+
* @throws {RequiredError}
|
|
45999
|
+
*/
|
|
46000
|
+
adminConnectorsSourcesSourceUuidWebhooksDeliveriesDeliveryUuidReplayPost: async (sourceUuid: string, deliveryUuid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46001
|
+
// verify required parameter 'sourceUuid' is not null or undefined
|
|
46002
|
+
assertParamExists('adminConnectorsSourcesSourceUuidWebhooksDeliveriesDeliveryUuidReplayPost', 'sourceUuid', sourceUuid)
|
|
46003
|
+
// verify required parameter 'deliveryUuid' is not null or undefined
|
|
46004
|
+
assertParamExists('adminConnectorsSourcesSourceUuidWebhooksDeliveriesDeliveryUuidReplayPost', 'deliveryUuid', deliveryUuid)
|
|
46005
|
+
const localVarPath = `/admin/connectors/sources/{source_uuid}/webhooks/deliveries/{delivery_uuid}/replay`
|
|
46006
|
+
.replace(`{${"source_uuid"}}`, encodeURIComponent(String(sourceUuid)))
|
|
46007
|
+
.replace(`{${"delivery_uuid"}}`, encodeURIComponent(String(deliveryUuid)));
|
|
46008
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46009
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
46010
|
+
let baseOptions;
|
|
46011
|
+
if (configuration) {
|
|
46012
|
+
baseOptions = configuration.baseOptions;
|
|
46013
|
+
}
|
|
46014
|
+
|
|
46015
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
46016
|
+
const localVarHeaderParameter = {} as any;
|
|
46017
|
+
const localVarQueryParameter = {} as any;
|
|
46018
|
+
|
|
46019
|
+
// authentication BearerAuth required
|
|
46020
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
46021
|
+
|
|
46022
|
+
|
|
46023
|
+
|
|
46024
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
46025
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
46026
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
46027
|
+
|
|
46028
|
+
return {
|
|
46029
|
+
url: toPathString(localVarUrlObj),
|
|
46030
|
+
options: localVarRequestOptions,
|
|
46031
|
+
};
|
|
46032
|
+
},
|
|
46033
|
+
/**
|
|
46034
|
+
* Paginated list of recent webhook deliveries for a connector source. body_base64 is redacted; use replay to send a delivery through the pipeline again.
|
|
46035
|
+
* @summary List recent webhook deliveries
|
|
46036
|
+
* @param {string} sourceUuid Connector source UUID
|
|
46037
|
+
* @param {string} [status] Filter by delivery status (pending, processed, failed)
|
|
46038
|
+
* @param {number} [limit] Page size (default 50, max 200)
|
|
46039
|
+
* @param {string} [beforeUuid] Cursor: return rows older than the delivery with this UUID
|
|
46040
|
+
* @param {*} [options] Override http request option.
|
|
46041
|
+
* @throws {RequiredError}
|
|
46042
|
+
*/
|
|
46043
|
+
adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet: async (sourceUuid: string, status?: string, limit?: number, beforeUuid?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46044
|
+
// verify required parameter 'sourceUuid' is not null or undefined
|
|
46045
|
+
assertParamExists('adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet', 'sourceUuid', sourceUuid)
|
|
46046
|
+
const localVarPath = `/admin/connectors/sources/{source_uuid}/webhooks/deliveries`
|
|
46047
|
+
.replace(`{${"source_uuid"}}`, encodeURIComponent(String(sourceUuid)));
|
|
46048
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46049
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
46050
|
+
let baseOptions;
|
|
46051
|
+
if (configuration) {
|
|
46052
|
+
baseOptions = configuration.baseOptions;
|
|
46053
|
+
}
|
|
46054
|
+
|
|
46055
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
46056
|
+
const localVarHeaderParameter = {} as any;
|
|
46057
|
+
const localVarQueryParameter = {} as any;
|
|
46058
|
+
|
|
46059
|
+
// authentication BearerAuth required
|
|
46060
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
46061
|
+
|
|
46062
|
+
if (status !== undefined) {
|
|
46063
|
+
localVarQueryParameter['status'] = status;
|
|
46064
|
+
}
|
|
46065
|
+
|
|
46066
|
+
if (limit !== undefined) {
|
|
46067
|
+
localVarQueryParameter['limit'] = limit;
|
|
46068
|
+
}
|
|
46069
|
+
|
|
46070
|
+
if (beforeUuid !== undefined) {
|
|
46071
|
+
localVarQueryParameter['before_uuid'] = beforeUuid;
|
|
46072
|
+
}
|
|
46073
|
+
|
|
46074
|
+
|
|
46075
|
+
|
|
46076
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
46077
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
46078
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
46079
|
+
|
|
46080
|
+
return {
|
|
46081
|
+
url: toPathString(localVarUrlObj),
|
|
46082
|
+
options: localVarRequestOptions,
|
|
46083
|
+
};
|
|
46084
|
+
},
|
|
46085
|
+
/**
|
|
46086
|
+
* Re-run the register_webhooks post-install hook for one connector source. Idempotent via ON CONFLICT (source_id, topic) DO UPDATE.
|
|
46087
|
+
* @summary Resubscribe webhooks for a connector source
|
|
46088
|
+
* @param {string} sourceUuid Connector source UUID
|
|
46089
|
+
* @param {*} [options] Override http request option.
|
|
46090
|
+
* @throws {RequiredError}
|
|
46091
|
+
*/
|
|
46092
|
+
adminConnectorsSourcesSourceUuidWebhooksResubscribePost: async (sourceUuid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46093
|
+
// verify required parameter 'sourceUuid' is not null or undefined
|
|
46094
|
+
assertParamExists('adminConnectorsSourcesSourceUuidWebhooksResubscribePost', 'sourceUuid', sourceUuid)
|
|
46095
|
+
const localVarPath = `/admin/connectors/sources/{source_uuid}/webhooks/resubscribe`
|
|
46096
|
+
.replace(`{${"source_uuid"}}`, encodeURIComponent(String(sourceUuid)));
|
|
46097
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46098
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
46099
|
+
let baseOptions;
|
|
46100
|
+
if (configuration) {
|
|
46101
|
+
baseOptions = configuration.baseOptions;
|
|
46102
|
+
}
|
|
46103
|
+
|
|
46104
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
46105
|
+
const localVarHeaderParameter = {} as any;
|
|
46106
|
+
const localVarQueryParameter = {} as any;
|
|
46107
|
+
|
|
46108
|
+
// authentication BearerAuth required
|
|
46109
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
46110
|
+
|
|
46111
|
+
|
|
46112
|
+
|
|
46113
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
46114
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
46115
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
46116
|
+
|
|
46117
|
+
return {
|
|
46118
|
+
url: toPathString(localVarUrlObj),
|
|
46119
|
+
options: localVarRequestOptions,
|
|
46120
|
+
};
|
|
46121
|
+
},
|
|
46122
|
+
/**
|
|
46123
|
+
* Iterates every active connector source in the org and re-runs register_webhooks for each. Per-source errors are captured individually — one failure does not block the others.
|
|
46124
|
+
* @summary Resubscribe webhooks for every connector source
|
|
46125
|
+
* @param {*} [options] Override http request option.
|
|
46126
|
+
* @throws {RequiredError}
|
|
46127
|
+
*/
|
|
46128
|
+
adminConnectorsWebhooksResubscribeAllPost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46129
|
+
const localVarPath = `/admin/connectors/webhooks/resubscribe-all`;
|
|
46130
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46131
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
46132
|
+
let baseOptions;
|
|
46133
|
+
if (configuration) {
|
|
46134
|
+
baseOptions = configuration.baseOptions;
|
|
46135
|
+
}
|
|
46136
|
+
|
|
46137
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
46138
|
+
const localVarHeaderParameter = {} as any;
|
|
46139
|
+
const localVarQueryParameter = {} as any;
|
|
46140
|
+
|
|
46141
|
+
// authentication BearerAuth required
|
|
46142
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
46143
|
+
|
|
46144
|
+
|
|
46145
|
+
|
|
46146
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
46147
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
46148
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
46149
|
+
|
|
46150
|
+
return {
|
|
46151
|
+
url: toPathString(localVarUrlObj),
|
|
46152
|
+
options: localVarRequestOptions,
|
|
46153
|
+
};
|
|
46154
|
+
},
|
|
46155
|
+
}
|
|
46156
|
+
};
|
|
46157
|
+
|
|
46158
|
+
/**
|
|
46159
|
+
* AdminConnectorWebhooksApi - functional programming interface
|
|
46160
|
+
* @export
|
|
46161
|
+
*/
|
|
46162
|
+
export const AdminConnectorWebhooksApiFp = function(configuration?: Configuration) {
|
|
46163
|
+
const localVarAxiosParamCreator = AdminConnectorWebhooksApiAxiosParamCreator(configuration)
|
|
46164
|
+
return {
|
|
46165
|
+
/**
|
|
46166
|
+
* Re-publish a previously recorded delivery through the forge.webhook exchange. A new external_id is minted so the worker processes the replay end-to-end.
|
|
46167
|
+
* @summary Replay a recorded webhook delivery
|
|
46168
|
+
* @param {string} sourceUuid Connector source UUID
|
|
46169
|
+
* @param {string} deliveryUuid Delivery UUID to replay
|
|
46170
|
+
* @param {*} [options] Override http request option.
|
|
46171
|
+
* @throws {RequiredError}
|
|
46172
|
+
*/
|
|
46173
|
+
async adminConnectorsSourcesSourceUuidWebhooksDeliveriesDeliveryUuidReplayPost(sourceUuid: string, deliveryUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorWebhookReplayResponse>> {
|
|
46174
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminConnectorsSourcesSourceUuidWebhooksDeliveriesDeliveryUuidReplayPost(sourceUuid, deliveryUuid, options);
|
|
46175
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
46176
|
+
const localVarOperationServerBasePath = operationServerMap['AdminConnectorWebhooksApi.adminConnectorsSourcesSourceUuidWebhooksDeliveriesDeliveryUuidReplayPost']?.[localVarOperationServerIndex]?.url;
|
|
46177
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
46178
|
+
},
|
|
46179
|
+
/**
|
|
46180
|
+
* Paginated list of recent webhook deliveries for a connector source. body_base64 is redacted; use replay to send a delivery through the pipeline again.
|
|
46181
|
+
* @summary List recent webhook deliveries
|
|
46182
|
+
* @param {string} sourceUuid Connector source UUID
|
|
46183
|
+
* @param {string} [status] Filter by delivery status (pending, processed, failed)
|
|
46184
|
+
* @param {number} [limit] Page size (default 50, max 200)
|
|
46185
|
+
* @param {string} [beforeUuid] Cursor: return rows older than the delivery with this UUID
|
|
46186
|
+
* @param {*} [options] Override http request option.
|
|
46187
|
+
* @throws {RequiredError}
|
|
46188
|
+
*/
|
|
46189
|
+
async adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid: string, status?: string, limit?: number, beforeUuid?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorWebhookDeliveriesListResponse>> {
|
|
46190
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, options);
|
|
46191
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
46192
|
+
const localVarOperationServerBasePath = operationServerMap['AdminConnectorWebhooksApi.adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet']?.[localVarOperationServerIndex]?.url;
|
|
46193
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
46194
|
+
},
|
|
46195
|
+
/**
|
|
46196
|
+
* Re-run the register_webhooks post-install hook for one connector source. Idempotent via ON CONFLICT (source_id, topic) DO UPDATE.
|
|
46197
|
+
* @summary Resubscribe webhooks for a connector source
|
|
46198
|
+
* @param {string} sourceUuid Connector source UUID
|
|
46199
|
+
* @param {*} [options] Override http request option.
|
|
46200
|
+
* @throws {RequiredError}
|
|
46201
|
+
*/
|
|
46202
|
+
async adminConnectorsSourcesSourceUuidWebhooksResubscribePost(sourceUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorWebhookResubscribeResponse>> {
|
|
46203
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminConnectorsSourcesSourceUuidWebhooksResubscribePost(sourceUuid, options);
|
|
46204
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
46205
|
+
const localVarOperationServerBasePath = operationServerMap['AdminConnectorWebhooksApi.adminConnectorsSourcesSourceUuidWebhooksResubscribePost']?.[localVarOperationServerIndex]?.url;
|
|
46206
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
46207
|
+
},
|
|
46208
|
+
/**
|
|
46209
|
+
* Iterates every active connector source in the org and re-runs register_webhooks for each. Per-source errors are captured individually — one failure does not block the others.
|
|
46210
|
+
* @summary Resubscribe webhooks for every connector source
|
|
46211
|
+
* @param {*} [options] Override http request option.
|
|
46212
|
+
* @throws {RequiredError}
|
|
46213
|
+
*/
|
|
46214
|
+
async adminConnectorsWebhooksResubscribeAllPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorWebhookResubscribeAllResponse>> {
|
|
46215
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminConnectorsWebhooksResubscribeAllPost(options);
|
|
46216
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
46217
|
+
const localVarOperationServerBasePath = operationServerMap['AdminConnectorWebhooksApi.adminConnectorsWebhooksResubscribeAllPost']?.[localVarOperationServerIndex]?.url;
|
|
46218
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
46219
|
+
},
|
|
46220
|
+
}
|
|
46221
|
+
};
|
|
46222
|
+
|
|
46223
|
+
/**
|
|
46224
|
+
* AdminConnectorWebhooksApi - factory interface
|
|
46225
|
+
* @export
|
|
46226
|
+
*/
|
|
46227
|
+
export const AdminConnectorWebhooksApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
46228
|
+
const localVarFp = AdminConnectorWebhooksApiFp(configuration)
|
|
46229
|
+
return {
|
|
46230
|
+
/**
|
|
46231
|
+
* Re-publish a previously recorded delivery through the forge.webhook exchange. A new external_id is minted so the worker processes the replay end-to-end.
|
|
46232
|
+
* @summary Replay a recorded webhook delivery
|
|
46233
|
+
* @param {string} sourceUuid Connector source UUID
|
|
46234
|
+
* @param {string} deliveryUuid Delivery UUID to replay
|
|
46235
|
+
* @param {*} [options] Override http request option.
|
|
46236
|
+
* @throws {RequiredError}
|
|
46237
|
+
*/
|
|
46238
|
+
adminConnectorsSourcesSourceUuidWebhooksDeliveriesDeliveryUuidReplayPost(sourceUuid: string, deliveryUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ConnectorWebhookReplayResponse> {
|
|
46239
|
+
return localVarFp.adminConnectorsSourcesSourceUuidWebhooksDeliveriesDeliveryUuidReplayPost(sourceUuid, deliveryUuid, options).then((request) => request(axios, basePath));
|
|
46240
|
+
},
|
|
46241
|
+
/**
|
|
46242
|
+
* Paginated list of recent webhook deliveries for a connector source. body_base64 is redacted; use replay to send a delivery through the pipeline again.
|
|
46243
|
+
* @summary List recent webhook deliveries
|
|
46244
|
+
* @param {string} sourceUuid Connector source UUID
|
|
46245
|
+
* @param {string} [status] Filter by delivery status (pending, processed, failed)
|
|
46246
|
+
* @param {number} [limit] Page size (default 50, max 200)
|
|
46247
|
+
* @param {string} [beforeUuid] Cursor: return rows older than the delivery with this UUID
|
|
46248
|
+
* @param {*} [options] Override http request option.
|
|
46249
|
+
* @throws {RequiredError}
|
|
46250
|
+
*/
|
|
46251
|
+
adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid: string, status?: string, limit?: number, beforeUuid?: string, options?: RawAxiosRequestConfig): AxiosPromise<ConnectorWebhookDeliveriesListResponse> {
|
|
46252
|
+
return localVarFp.adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, options).then((request) => request(axios, basePath));
|
|
46253
|
+
},
|
|
46254
|
+
/**
|
|
46255
|
+
* Re-run the register_webhooks post-install hook for one connector source. Idempotent via ON CONFLICT (source_id, topic) DO UPDATE.
|
|
46256
|
+
* @summary Resubscribe webhooks for a connector source
|
|
46257
|
+
* @param {string} sourceUuid Connector source UUID
|
|
46258
|
+
* @param {*} [options] Override http request option.
|
|
46259
|
+
* @throws {RequiredError}
|
|
46260
|
+
*/
|
|
46261
|
+
adminConnectorsSourcesSourceUuidWebhooksResubscribePost(sourceUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ConnectorWebhookResubscribeResponse> {
|
|
46262
|
+
return localVarFp.adminConnectorsSourcesSourceUuidWebhooksResubscribePost(sourceUuid, options).then((request) => request(axios, basePath));
|
|
46263
|
+
},
|
|
46264
|
+
/**
|
|
46265
|
+
* Iterates every active connector source in the org and re-runs register_webhooks for each. Per-source errors are captured individually — one failure does not block the others.
|
|
46266
|
+
* @summary Resubscribe webhooks for every connector source
|
|
46267
|
+
* @param {*} [options] Override http request option.
|
|
46268
|
+
* @throws {RequiredError}
|
|
46269
|
+
*/
|
|
46270
|
+
adminConnectorsWebhooksResubscribeAllPost(options?: RawAxiosRequestConfig): AxiosPromise<ConnectorWebhookResubscribeAllResponse> {
|
|
46271
|
+
return localVarFp.adminConnectorsWebhooksResubscribeAllPost(options).then((request) => request(axios, basePath));
|
|
46272
|
+
},
|
|
46273
|
+
};
|
|
46274
|
+
};
|
|
46275
|
+
|
|
46276
|
+
/**
|
|
46277
|
+
* AdminConnectorWebhooksApi - object-oriented interface
|
|
46278
|
+
* @export
|
|
46279
|
+
* @class AdminConnectorWebhooksApi
|
|
46280
|
+
* @extends {BaseAPI}
|
|
46281
|
+
*/
|
|
46282
|
+
export class AdminConnectorWebhooksApi extends BaseAPI {
|
|
46283
|
+
/**
|
|
46284
|
+
* Re-publish a previously recorded delivery through the forge.webhook exchange. A new external_id is minted so the worker processes the replay end-to-end.
|
|
46285
|
+
* @summary Replay a recorded webhook delivery
|
|
46286
|
+
* @param {string} sourceUuid Connector source UUID
|
|
46287
|
+
* @param {string} deliveryUuid Delivery UUID to replay
|
|
46288
|
+
* @param {*} [options] Override http request option.
|
|
46289
|
+
* @throws {RequiredError}
|
|
46290
|
+
* @memberof AdminConnectorWebhooksApi
|
|
46291
|
+
*/
|
|
46292
|
+
public adminConnectorsSourcesSourceUuidWebhooksDeliveriesDeliveryUuidReplayPost(sourceUuid: string, deliveryUuid: string, options?: RawAxiosRequestConfig) {
|
|
46293
|
+
return AdminConnectorWebhooksApiFp(this.configuration).adminConnectorsSourcesSourceUuidWebhooksDeliveriesDeliveryUuidReplayPost(sourceUuid, deliveryUuid, options).then((request) => request(this.axios, this.basePath));
|
|
46294
|
+
}
|
|
46295
|
+
|
|
46296
|
+
/**
|
|
46297
|
+
* Paginated list of recent webhook deliveries for a connector source. body_base64 is redacted; use replay to send a delivery through the pipeline again.
|
|
46298
|
+
* @summary List recent webhook deliveries
|
|
46299
|
+
* @param {string} sourceUuid Connector source UUID
|
|
46300
|
+
* @param {string} [status] Filter by delivery status (pending, processed, failed)
|
|
46301
|
+
* @param {number} [limit] Page size (default 50, max 200)
|
|
46302
|
+
* @param {string} [beforeUuid] Cursor: return rows older than the delivery with this UUID
|
|
46303
|
+
* @param {*} [options] Override http request option.
|
|
46304
|
+
* @throws {RequiredError}
|
|
46305
|
+
* @memberof AdminConnectorWebhooksApi
|
|
46306
|
+
*/
|
|
46307
|
+
public adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid: string, status?: string, limit?: number, beforeUuid?: string, options?: RawAxiosRequestConfig) {
|
|
46308
|
+
return AdminConnectorWebhooksApiFp(this.configuration).adminConnectorsSourcesSourceUuidWebhooksDeliveriesGet(sourceUuid, status, limit, beforeUuid, options).then((request) => request(this.axios, this.basePath));
|
|
46309
|
+
}
|
|
46310
|
+
|
|
46311
|
+
/**
|
|
46312
|
+
* Re-run the register_webhooks post-install hook for one connector source. Idempotent via ON CONFLICT (source_id, topic) DO UPDATE.
|
|
46313
|
+
* @summary Resubscribe webhooks for a connector source
|
|
46314
|
+
* @param {string} sourceUuid Connector source UUID
|
|
46315
|
+
* @param {*} [options] Override http request option.
|
|
46316
|
+
* @throws {RequiredError}
|
|
46317
|
+
* @memberof AdminConnectorWebhooksApi
|
|
46318
|
+
*/
|
|
46319
|
+
public adminConnectorsSourcesSourceUuidWebhooksResubscribePost(sourceUuid: string, options?: RawAxiosRequestConfig) {
|
|
46320
|
+
return AdminConnectorWebhooksApiFp(this.configuration).adminConnectorsSourcesSourceUuidWebhooksResubscribePost(sourceUuid, options).then((request) => request(this.axios, this.basePath));
|
|
46321
|
+
}
|
|
46322
|
+
|
|
46323
|
+
/**
|
|
46324
|
+
* Iterates every active connector source in the org and re-runs register_webhooks for each. Per-source errors are captured individually — one failure does not block the others.
|
|
46325
|
+
* @summary Resubscribe webhooks for every connector source
|
|
46326
|
+
* @param {*} [options] Override http request option.
|
|
46327
|
+
* @throws {RequiredError}
|
|
46328
|
+
* @memberof AdminConnectorWebhooksApi
|
|
46329
|
+
*/
|
|
46330
|
+
public adminConnectorsWebhooksResubscribeAllPost(options?: RawAxiosRequestConfig) {
|
|
46331
|
+
return AdminConnectorWebhooksApiFp(this.configuration).adminConnectorsWebhooksResubscribeAllPost(options).then((request) => request(this.axios, this.basePath));
|
|
46332
|
+
}
|
|
46333
|
+
}
|
|
46334
|
+
|
|
46335
|
+
|
|
46336
|
+
|
|
45534
46337
|
/**
|
|
45535
46338
|
* AdminNotificationTemplatesApi - axios parameter creator
|
|
45536
46339
|
* @export
|
|
@@ -65900,7 +66703,7 @@ export const ConnectorAdminAuthApiAxiosParamCreator = function (configuration?:
|
|
|
65900
66703
|
};
|
|
65901
66704
|
},
|
|
65902
66705
|
/**
|
|
65903
|
-
*
|
|
66706
|
+
* Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
|
|
65904
66707
|
* @summary Validate connector authentication credentials
|
|
65905
66708
|
* @param {string} uuid Authentication UUID
|
|
65906
66709
|
* @param {*} [options] Override http request option.
|
|
@@ -66012,13 +66815,13 @@ export const ConnectorAdminAuthApiFp = function(configuration?: Configuration) {
|
|
|
66012
66815
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
66013
66816
|
},
|
|
66014
66817
|
/**
|
|
66015
|
-
*
|
|
66818
|
+
* Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
|
|
66016
66819
|
* @summary Validate connector authentication credentials
|
|
66017
66820
|
* @param {string} uuid Authentication UUID
|
|
66018
66821
|
* @param {*} [options] Override http request option.
|
|
66019
66822
|
* @throws {RequiredError}
|
|
66020
66823
|
*/
|
|
66021
|
-
async adminConnectorAuthUuidValidatePost(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
66824
|
+
async adminConnectorAuthUuidValidatePost(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorValidateAuthResponse>> {
|
|
66022
66825
|
const localVarAxiosArgs = await localVarAxiosParamCreator.adminConnectorAuthUuidValidatePost(uuid, options);
|
|
66023
66826
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
66024
66827
|
const localVarOperationServerBasePath = operationServerMap['ConnectorAdminAuthApi.adminConnectorAuthUuidValidatePost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -66085,13 +66888,13 @@ export const ConnectorAdminAuthApiFactory = function (configuration?: Configurat
|
|
|
66085
66888
|
return localVarFp.adminConnectorAuthUuidPut(uuid, connectorUpdateAuthRequest, options).then((request) => request(axios, basePath));
|
|
66086
66889
|
},
|
|
66087
66890
|
/**
|
|
66088
|
-
*
|
|
66891
|
+
* Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
|
|
66089
66892
|
* @summary Validate connector authentication credentials
|
|
66090
66893
|
* @param {string} uuid Authentication UUID
|
|
66091
66894
|
* @param {*} [options] Override http request option.
|
|
66092
66895
|
* @throws {RequiredError}
|
|
66093
66896
|
*/
|
|
66094
|
-
adminConnectorAuthUuidValidatePost(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
66897
|
+
adminConnectorAuthUuidValidatePost(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ConnectorValidateAuthResponse> {
|
|
66095
66898
|
return localVarFp.adminConnectorAuthUuidValidatePost(uuid, options).then((request) => request(axios, basePath));
|
|
66096
66899
|
},
|
|
66097
66900
|
};
|
|
@@ -66165,7 +66968,7 @@ export class ConnectorAdminAuthApi extends BaseAPI {
|
|
|
66165
66968
|
}
|
|
66166
66969
|
|
|
66167
66970
|
/**
|
|
66168
|
-
*
|
|
66971
|
+
* Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
|
|
66169
66972
|
* @summary Validate connector authentication credentials
|
|
66170
66973
|
* @param {string} uuid Authentication UUID
|
|
66171
66974
|
* @param {*} [options] Override http request option.
|
|
@@ -68263,7 +69066,7 @@ export const ConnectorAdminSourcesApiAxiosParamCreator = function (configuration
|
|
|
68263
69066
|
};
|
|
68264
69067
|
},
|
|
68265
69068
|
/**
|
|
68266
|
-
*
|
|
69069
|
+
* 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.
|
|
68267
69070
|
* @summary Check source connectivity
|
|
68268
69071
|
* @param {string} uuid Source UUID
|
|
68269
69072
|
* @param {*} [options] Override http request option.
|
|
@@ -68337,7 +69140,7 @@ export const ConnectorAdminSourcesApiAxiosParamCreator = function (configuration
|
|
|
68337
69140
|
};
|
|
68338
69141
|
},
|
|
68339
69142
|
/**
|
|
68340
|
-
*
|
|
69143
|
+
* 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.
|
|
68341
69144
|
* @summary Discover source stream catalog
|
|
68342
69145
|
* @param {string} uuid Source UUID
|
|
68343
69146
|
* @param {*} [options] Override http request option.
|
|
@@ -68544,13 +69347,13 @@ export const ConnectorAdminSourcesApiFp = function(configuration?: Configuration
|
|
|
68544
69347
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
68545
69348
|
},
|
|
68546
69349
|
/**
|
|
68547
|
-
*
|
|
69350
|
+
* 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.
|
|
68548
69351
|
* @summary Check source connectivity
|
|
68549
69352
|
* @param {string} uuid Source UUID
|
|
68550
69353
|
* @param {*} [options] Override http request option.
|
|
68551
69354
|
* @throws {RequiredError}
|
|
68552
69355
|
*/
|
|
68553
|
-
async adminConnectorSourcesUuidCheckPost(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
69356
|
+
async adminConnectorSourcesUuidCheckPost(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorValidateAuthResponse>> {
|
|
68554
69357
|
const localVarAxiosArgs = await localVarAxiosParamCreator.adminConnectorSourcesUuidCheckPost(uuid, options);
|
|
68555
69358
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
68556
69359
|
const localVarOperationServerBasePath = operationServerMap['ConnectorAdminSourcesApi.adminConnectorSourcesUuidCheckPost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -68570,7 +69373,7 @@ export const ConnectorAdminSourcesApiFp = function(configuration?: Configuration
|
|
|
68570
69373
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
68571
69374
|
},
|
|
68572
69375
|
/**
|
|
68573
|
-
*
|
|
69376
|
+
* 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.
|
|
68574
69377
|
* @summary Discover source stream catalog
|
|
68575
69378
|
* @param {string} uuid Source UUID
|
|
68576
69379
|
* @param {*} [options] Override http request option.
|
|
@@ -68663,13 +69466,13 @@ export const ConnectorAdminSourcesApiFactory = function (configuration?: Configu
|
|
|
68663
69466
|
return localVarFp.adminConnectorSourcesTestConnectionPost(connectorTestConnectionRequest, options).then((request) => request(axios, basePath));
|
|
68664
69467
|
},
|
|
68665
69468
|
/**
|
|
68666
|
-
*
|
|
69469
|
+
* 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.
|
|
68667
69470
|
* @summary Check source connectivity
|
|
68668
69471
|
* @param {string} uuid Source UUID
|
|
68669
69472
|
* @param {*} [options] Override http request option.
|
|
68670
69473
|
* @throws {RequiredError}
|
|
68671
69474
|
*/
|
|
68672
|
-
adminConnectorSourcesUuidCheckPost(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
69475
|
+
adminConnectorSourcesUuidCheckPost(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ConnectorValidateAuthResponse> {
|
|
68673
69476
|
return localVarFp.adminConnectorSourcesUuidCheckPost(uuid, options).then((request) => request(axios, basePath));
|
|
68674
69477
|
},
|
|
68675
69478
|
/**
|
|
@@ -68683,7 +69486,7 @@ export const ConnectorAdminSourcesApiFactory = function (configuration?: Configu
|
|
|
68683
69486
|
return localVarFp.adminConnectorSourcesUuidDelete(uuid, options).then((request) => request(axios, basePath));
|
|
68684
69487
|
},
|
|
68685
69488
|
/**
|
|
68686
|
-
*
|
|
69489
|
+
* 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.
|
|
68687
69490
|
* @summary Discover source stream catalog
|
|
68688
69491
|
* @param {string} uuid Source UUID
|
|
68689
69492
|
* @param {*} [options] Override http request option.
|
|
@@ -68770,7 +69573,7 @@ export class ConnectorAdminSourcesApi extends BaseAPI {
|
|
|
68770
69573
|
}
|
|
68771
69574
|
|
|
68772
69575
|
/**
|
|
68773
|
-
*
|
|
69576
|
+
* 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.
|
|
68774
69577
|
* @summary Check source connectivity
|
|
68775
69578
|
* @param {string} uuid Source UUID
|
|
68776
69579
|
* @param {*} [options] Override http request option.
|
|
@@ -68794,7 +69597,7 @@ export class ConnectorAdminSourcesApi extends BaseAPI {
|
|
|
68794
69597
|
}
|
|
68795
69598
|
|
|
68796
69599
|
/**
|
|
68797
|
-
*
|
|
69600
|
+
* 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.
|
|
68798
69601
|
* @summary Discover source stream catalog
|
|
68799
69602
|
* @param {string} uuid Source UUID
|
|
68800
69603
|
* @param {*} [options] Override http request option.
|
|
@@ -74873,7 +75676,7 @@ export const ConnectorsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
74873
75676
|
};
|
|
74874
75677
|
},
|
|
74875
75678
|
/**
|
|
74876
|
-
*
|
|
75679
|
+
* Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
|
|
74877
75680
|
* @summary Validate connector authentication credentials
|
|
74878
75681
|
* @param {string} uuid Authentication UUID
|
|
74879
75682
|
* @param {*} [options] Override http request option.
|
|
@@ -76276,13 +77079,13 @@ export const ConnectorsApiFp = function(configuration?: Configuration) {
|
|
|
76276
77079
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
76277
77080
|
},
|
|
76278
77081
|
/**
|
|
76279
|
-
*
|
|
77082
|
+
* Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
|
|
76280
77083
|
* @summary Validate connector authentication credentials
|
|
76281
77084
|
* @param {string} uuid Authentication UUID
|
|
76282
77085
|
* @param {*} [options] Override http request option.
|
|
76283
77086
|
* @throws {RequiredError}
|
|
76284
77087
|
*/
|
|
76285
|
-
async v1ConnectorsAuthUuidValidatePost(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
77088
|
+
async v1ConnectorsAuthUuidValidatePost(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectorValidateAuthResponse>> {
|
|
76286
77089
|
const localVarAxiosArgs = await localVarAxiosParamCreator.v1ConnectorsAuthUuidValidatePost(uuid, options);
|
|
76287
77090
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
76288
77091
|
const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.v1ConnectorsAuthUuidValidatePost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -76882,13 +77685,13 @@ export const ConnectorsApiFactory = function (configuration?: Configuration, bas
|
|
|
76882
77685
|
return localVarFp.v1ConnectorsAuthUuidPut(uuid, connectorUpdateAuthRequest, options).then((request) => request(axios, basePath));
|
|
76883
77686
|
},
|
|
76884
77687
|
/**
|
|
76885
|
-
*
|
|
77688
|
+
* Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
|
|
76886
77689
|
* @summary Validate connector authentication credentials
|
|
76887
77690
|
* @param {string} uuid Authentication UUID
|
|
76888
77691
|
* @param {*} [options] Override http request option.
|
|
76889
77692
|
* @throws {RequiredError}
|
|
76890
77693
|
*/
|
|
76891
|
-
v1ConnectorsAuthUuidValidatePost(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
77694
|
+
v1ConnectorsAuthUuidValidatePost(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ConnectorValidateAuthResponse> {
|
|
76892
77695
|
return localVarFp.v1ConnectorsAuthUuidValidatePost(uuid, options).then((request) => request(axios, basePath));
|
|
76893
77696
|
},
|
|
76894
77697
|
/**
|
|
@@ -77417,7 +78220,7 @@ export class ConnectorsApi extends BaseAPI {
|
|
|
77417
78220
|
}
|
|
77418
78221
|
|
|
77419
78222
|
/**
|
|
77420
|
-
*
|
|
78223
|
+
* Runs a live provider probe (forge Source.Check) against stored credentials. Returns a structured CheckResult and persists the outcome to connector_authentications.
|
|
77421
78224
|
* @summary Validate connector authentication credentials
|
|
77422
78225
|
* @param {string} uuid Authentication UUID
|
|
77423
78226
|
* @param {*} [options] Override http request option.
|