@magemetrics/core 0.11.1 → 0.11.3
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/index.d.ts +543 -284
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -328,7 +328,34 @@ declare interface components {
|
|
|
328
328
|
}[];
|
|
329
329
|
}[] | null;
|
|
330
330
|
error_message: string | null;
|
|
331
|
+
execution_context?: {
|
|
332
|
+
companyId: number;
|
|
333
|
+
userMetadata: {
|
|
334
|
+
[key: string]: unknown;
|
|
335
|
+
};
|
|
336
|
+
} | null;
|
|
337
|
+
};
|
|
338
|
+
ImpersonateContext: {
|
|
339
|
+
/**
|
|
340
|
+
* @description discriminator enum property added by openapi-typescript
|
|
341
|
+
* @enum {string}
|
|
342
|
+
*/
|
|
343
|
+
mode: "impersonate";
|
|
344
|
+
/** @description The user ID in the customer's system */
|
|
345
|
+
external_user_id: string;
|
|
346
|
+
};
|
|
347
|
+
CustomMetadataContext: {
|
|
348
|
+
/**
|
|
349
|
+
* @description discriminator enum property added by openapi-typescript
|
|
350
|
+
* @enum {string}
|
|
351
|
+
*/
|
|
352
|
+
mode: "custom";
|
|
353
|
+
/** @description Raw metadata key-value pairs for data access rules */
|
|
354
|
+
metadata: {
|
|
355
|
+
[key: string]: unknown;
|
|
356
|
+
};
|
|
331
357
|
};
|
|
358
|
+
ExecutionContextInput: components["schemas"]["ImpersonateContext"] | components["schemas"]["CustomMetadataContext"];
|
|
332
359
|
StartAgentRunRequest: {
|
|
333
360
|
/** Format: uuid */
|
|
334
361
|
agent_id: string;
|
|
@@ -336,6 +363,7 @@ declare interface components {
|
|
|
336
363
|
inputs: {
|
|
337
364
|
[key: string]: unknown;
|
|
338
365
|
};
|
|
366
|
+
execution_context?: components["schemas"]["ExecutionContextInput"];
|
|
339
367
|
};
|
|
340
368
|
Agent: {
|
|
341
369
|
/** Format: uuid */
|
|
@@ -387,6 +415,39 @@ declare interface components {
|
|
|
387
415
|
created_at: string;
|
|
388
416
|
updated_at: string;
|
|
389
417
|
};
|
|
418
|
+
CreateGlobalKnowledgeItem: {
|
|
419
|
+
content: string;
|
|
420
|
+
/** @description Optional identifier from your system, used for lookup and batch operations */
|
|
421
|
+
external_id?: string;
|
|
422
|
+
/** @default true */
|
|
423
|
+
is_active: boolean;
|
|
424
|
+
tags?: string[];
|
|
425
|
+
/** @description IDs of applications this item is scoped to. Empty or omitted means all applications. */
|
|
426
|
+
application_ids?: number[];
|
|
427
|
+
/** @enum {string} */
|
|
428
|
+
type: "global";
|
|
429
|
+
};
|
|
430
|
+
SchemaPath: {
|
|
431
|
+
/** @description Schema or dataset name in the source database */
|
|
432
|
+
dataset: string;
|
|
433
|
+
/** @description Table name in the source database */
|
|
434
|
+
table_name: string;
|
|
435
|
+
/** @description Column name (optional). Omit for table-level items, include for column-level items. */
|
|
436
|
+
column_name?: string;
|
|
437
|
+
};
|
|
438
|
+
CreateSchemaKnowledgeItem: {
|
|
439
|
+
content: string;
|
|
440
|
+
/** @description Optional identifier from your system, used for lookup and batch operations */
|
|
441
|
+
external_id?: string;
|
|
442
|
+
/** @default true */
|
|
443
|
+
is_active: boolean;
|
|
444
|
+
tags?: string[];
|
|
445
|
+
/** @description IDs of applications this item is scoped to. Empty or omitted means all applications. */
|
|
446
|
+
application_ids?: number[];
|
|
447
|
+
/** @enum {string} */
|
|
448
|
+
type: "schema";
|
|
449
|
+
path: components["schemas"]["SchemaPath"];
|
|
450
|
+
};
|
|
390
451
|
};
|
|
391
452
|
responses: never;
|
|
392
453
|
parameters: never;
|
|
@@ -524,8 +585,8 @@ declare const FrontendRecentFlowsSchema: z.ZodObject<{
|
|
|
524
585
|
id: z.ZodString;
|
|
525
586
|
request: z.ZodString;
|
|
526
587
|
created_at: z.ZodString;
|
|
527
|
-
user_id: z.ZodNullable<z.ZodString>;
|
|
528
588
|
application_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
589
|
+
user_id: z.ZodNullable<z.ZodString>;
|
|
529
590
|
}, z.core.$strip>;
|
|
530
591
|
|
|
531
592
|
export declare const getPublicApiClient: (apiUrl: string, apiKey: string) => Client<PublicPaths>;
|
|
@@ -662,7 +723,7 @@ export declare class MageMetricsClient {
|
|
|
662
723
|
last_materialized_at: string | null;
|
|
663
724
|
materialized_error_message: string | null;
|
|
664
725
|
materialized_status: "completed" | "running" | "failed" | null;
|
|
665
|
-
};
|
|
726
|
+
} | undefined;
|
|
666
727
|
configuration: {
|
|
667
728
|
type: "bar";
|
|
668
729
|
title: string;
|
|
@@ -670,7 +731,7 @@ export declare class MageMetricsClient {
|
|
|
670
731
|
xAxisLabel: string;
|
|
671
732
|
yAxisLabel: string;
|
|
672
733
|
categoryColumn: string;
|
|
673
|
-
secondaryCategoryColumn?: string;
|
|
734
|
+
secondaryCategoryColumn?: string | undefined;
|
|
674
735
|
valueColumn: string;
|
|
675
736
|
} | {
|
|
676
737
|
type: "line/area";
|
|
@@ -711,29 +772,27 @@ export declare class MageMetricsClient {
|
|
|
711
772
|
title: string;
|
|
712
773
|
request: string | null;
|
|
713
774
|
data_summary: {
|
|
775
|
+
[x: string]: unknown;
|
|
714
776
|
columns: {
|
|
715
|
-
[
|
|
716
|
-
|
|
777
|
+
[x: string]: {
|
|
778
|
+
[x: string]: unknown;
|
|
779
|
+
position?: number | undefined;
|
|
717
780
|
data_type: string;
|
|
718
781
|
null_count: number | null;
|
|
719
782
|
unique_count: number | null;
|
|
720
783
|
unique_percentage: number | null;
|
|
721
|
-
min_value?: number | null;
|
|
722
|
-
max_value?: number | null;
|
|
723
|
-
avg_value?: number | null;
|
|
724
|
-
median_value?: number | null;
|
|
725
|
-
std_value?: number | null;
|
|
726
|
-
min_date?: string | null;
|
|
727
|
-
max_date?: string | null;
|
|
728
|
-
min_length?: number | null;
|
|
729
|
-
max_length?: number | null;
|
|
730
|
-
avg_length?: number | null;
|
|
731
|
-
} & {
|
|
732
|
-
[key: string]: unknown;
|
|
784
|
+
min_value?: number | null | undefined;
|
|
785
|
+
max_value?: number | null | undefined;
|
|
786
|
+
avg_value?: number | null | undefined;
|
|
787
|
+
median_value?: number | null | undefined;
|
|
788
|
+
std_value?: number | null | undefined;
|
|
789
|
+
min_date?: string | null | undefined;
|
|
790
|
+
max_date?: string | null | undefined;
|
|
791
|
+
min_length?: number | null | undefined;
|
|
792
|
+
max_length?: number | null | undefined;
|
|
793
|
+
avg_length?: number | null | undefined;
|
|
733
794
|
};
|
|
734
795
|
};
|
|
735
|
-
} & {
|
|
736
|
-
[key: string]: unknown;
|
|
737
796
|
};
|
|
738
797
|
status: string | null;
|
|
739
798
|
is_removed: boolean;
|
|
@@ -748,7 +807,7 @@ export declare class MageMetricsClient {
|
|
|
748
807
|
request: string;
|
|
749
808
|
title: string | null;
|
|
750
809
|
user_id: string | null;
|
|
751
|
-
application_id?: number | null;
|
|
810
|
+
application_id?: number | null | undefined;
|
|
752
811
|
}>;
|
|
753
812
|
getRecentFlows: (params?: {
|
|
754
813
|
limit?: number;
|
|
@@ -769,7 +828,7 @@ export declare class MageMetricsClient {
|
|
|
769
828
|
request: string;
|
|
770
829
|
title: string | null;
|
|
771
830
|
user_id: string | null;
|
|
772
|
-
application_id?: number | null;
|
|
831
|
+
application_id?: number | null | undefined;
|
|
773
832
|
}[];
|
|
774
833
|
}[]>;
|
|
775
834
|
get: (canvasId: string) => Promise<{
|
|
@@ -801,7 +860,7 @@ export declare class MageMetricsClient {
|
|
|
801
860
|
getChatTransport: (flowId: string, options?: MageMetricsChatTransportOptions) => MageMetricsChatTransport;
|
|
802
861
|
getChatMessages: (flowId: string) => Promise<MMChatUIMessage[]>;
|
|
803
862
|
fetchReportData: (reportId: number, { columns, limit, sorting, filters, cursor }: ReportDataFilters, signal?: AbortSignal) => Promise<{
|
|
804
|
-
[
|
|
863
|
+
[x: string]: unknown;
|
|
805
864
|
}[]>;
|
|
806
865
|
createSpeechToken: () => Promise<{
|
|
807
866
|
token: string;
|
|
@@ -812,15 +871,15 @@ export declare class MageMetricsClient {
|
|
|
812
871
|
name: string;
|
|
813
872
|
data_type: string;
|
|
814
873
|
dataType: string;
|
|
815
|
-
renderType?: string;
|
|
816
|
-
unit?: string;
|
|
817
|
-
canonicalDataType?: "numeric" | "boolean" | "datetime" | "text" | "array" | "json" | "other";
|
|
874
|
+
renderType?: string | undefined;
|
|
875
|
+
unit?: string | undefined;
|
|
876
|
+
canonicalDataType?: "numeric" | "boolean" | "datetime" | "text" | "array" | "json" | "other" | undefined;
|
|
818
877
|
}[];
|
|
819
878
|
rowCount: {
|
|
820
879
|
count: number;
|
|
821
880
|
};
|
|
822
881
|
data: (reportId: number, { columns, limit, sorting, filters, cursor }: ReportDataFilters, signal?: AbortSignal) => Promise<{
|
|
823
|
-
[
|
|
882
|
+
[x: string]: unknown;
|
|
824
883
|
}[]>;
|
|
825
884
|
}>;
|
|
826
885
|
};
|
|
@@ -3418,9 +3477,7 @@ declare interface operations {
|
|
|
3418
3477
|
content: {
|
|
3419
3478
|
"application/json": {
|
|
3420
3479
|
id: number;
|
|
3421
|
-
company_id: number;
|
|
3422
3480
|
name: string;
|
|
3423
|
-
is_removed: boolean;
|
|
3424
3481
|
created_at: string;
|
|
3425
3482
|
}[];
|
|
3426
3483
|
};
|
|
@@ -3463,9 +3520,7 @@ declare interface operations {
|
|
|
3463
3520
|
content: {
|
|
3464
3521
|
"application/json": {
|
|
3465
3522
|
id: number;
|
|
3466
|
-
company_id: number;
|
|
3467
3523
|
name: string;
|
|
3468
|
-
is_removed: boolean;
|
|
3469
3524
|
created_at: string;
|
|
3470
3525
|
};
|
|
3471
3526
|
};
|
|
@@ -3526,9 +3581,7 @@ declare interface operations {
|
|
|
3526
3581
|
content: {
|
|
3527
3582
|
"application/json": {
|
|
3528
3583
|
id: number;
|
|
3529
|
-
company_id: number;
|
|
3530
3584
|
name: string;
|
|
3531
|
-
is_removed: boolean;
|
|
3532
3585
|
created_at: string;
|
|
3533
3586
|
};
|
|
3534
3587
|
};
|
|
@@ -3632,9 +3685,7 @@ declare interface operations {
|
|
|
3632
3685
|
content: {
|
|
3633
3686
|
"application/json": {
|
|
3634
3687
|
id: number;
|
|
3635
|
-
company_id: number;
|
|
3636
3688
|
name: string;
|
|
3637
|
-
is_removed: boolean;
|
|
3638
3689
|
created_at: string;
|
|
3639
3690
|
};
|
|
3640
3691
|
};
|
|
@@ -3685,7 +3736,7 @@ declare interface operations {
|
|
|
3685
3736
|
};
|
|
3686
3737
|
};
|
|
3687
3738
|
};
|
|
3688
|
-
|
|
3739
|
+
listTables: {
|
|
3689
3740
|
parameters: {
|
|
3690
3741
|
query?: never;
|
|
3691
3742
|
header?: {
|
|
@@ -3696,7 +3747,7 @@ declare interface operations {
|
|
|
3696
3747
|
};
|
|
3697
3748
|
requestBody?: never;
|
|
3698
3749
|
responses: {
|
|
3699
|
-
/** @description All
|
|
3750
|
+
/** @description All tables for the company */
|
|
3700
3751
|
200: {
|
|
3701
3752
|
headers: {
|
|
3702
3753
|
[name: string]: unknown;
|
|
@@ -3704,13 +3755,11 @@ declare interface operations {
|
|
|
3704
3755
|
content: {
|
|
3705
3756
|
"application/json": {
|
|
3706
3757
|
id: number;
|
|
3707
|
-
|
|
3758
|
+
/** @description Schema or dataset name in the source database */
|
|
3708
3759
|
dataset: string;
|
|
3709
3760
|
table_name: string;
|
|
3710
3761
|
description: string | null;
|
|
3711
3762
|
is_visible: boolean;
|
|
3712
|
-
tags: string[];
|
|
3713
|
-
row_count: number | null;
|
|
3714
3763
|
created_at: string;
|
|
3715
3764
|
updated_at: string;
|
|
3716
3765
|
}[];
|
|
@@ -3729,7 +3778,7 @@ declare interface operations {
|
|
|
3729
3778
|
};
|
|
3730
3779
|
};
|
|
3731
3780
|
};
|
|
3732
|
-
|
|
3781
|
+
createTable: {
|
|
3733
3782
|
parameters: {
|
|
3734
3783
|
query?: never;
|
|
3735
3784
|
header?: {
|
|
@@ -3741,13 +3790,37 @@ declare interface operations {
|
|
|
3741
3790
|
requestBody: {
|
|
3742
3791
|
content: {
|
|
3743
3792
|
"application/json": {
|
|
3793
|
+
/** @description Schema or dataset name in the source database */
|
|
3744
3794
|
dataset: string;
|
|
3745
3795
|
table_name: string;
|
|
3796
|
+
/** @default true */
|
|
3797
|
+
is_visible?: boolean;
|
|
3798
|
+
/** @description Optional RLS policy to create alongside the table */
|
|
3799
|
+
rls_policy?: {
|
|
3800
|
+
/** @description SQL condition appended to queries on this table to restrict row access. Use [var:name] for context variables and [table:name] for table references — these are auto-detected and stored as context_variables and depends_on_tables. */
|
|
3801
|
+
condition: string;
|
|
3802
|
+
/** @default true */
|
|
3803
|
+
is_active?: boolean;
|
|
3804
|
+
};
|
|
3805
|
+
/** @description Optional access rules to create alongside the table */
|
|
3806
|
+
access?: {
|
|
3807
|
+
/** @description Top-level field name in the user metadata (e.g., company_id, department_name) */
|
|
3808
|
+
context_variable: string;
|
|
3809
|
+
/**
|
|
3810
|
+
* @description Comparison operator. Must be "=" or "!=".
|
|
3811
|
+
* @enum {string}
|
|
3812
|
+
*/
|
|
3813
|
+
operator: "=" | "!=";
|
|
3814
|
+
/** @description Static value to compare against, e.g. `user_123`. */
|
|
3815
|
+
value: string;
|
|
3816
|
+
/** @default true */
|
|
3817
|
+
is_active?: boolean;
|
|
3818
|
+
}[];
|
|
3746
3819
|
};
|
|
3747
3820
|
};
|
|
3748
3821
|
};
|
|
3749
3822
|
responses: {
|
|
3750
|
-
/** @description The
|
|
3823
|
+
/** @description The created table with auto-discovered columns, RLS policy, and access rules */
|
|
3751
3824
|
201: {
|
|
3752
3825
|
headers: {
|
|
3753
3826
|
[name: string]: unknown;
|
|
@@ -3755,15 +3828,52 @@ declare interface operations {
|
|
|
3755
3828
|
content: {
|
|
3756
3829
|
"application/json": {
|
|
3757
3830
|
id: number;
|
|
3758
|
-
|
|
3831
|
+
/** @description Schema or dataset name in the source database */
|
|
3759
3832
|
dataset: string;
|
|
3760
3833
|
table_name: string;
|
|
3761
3834
|
description: string | null;
|
|
3762
3835
|
is_visible: boolean;
|
|
3763
|
-
tags: string[];
|
|
3764
|
-
row_count: number | null;
|
|
3765
3836
|
created_at: string;
|
|
3766
3837
|
updated_at: string;
|
|
3838
|
+
columns: {
|
|
3839
|
+
id: number;
|
|
3840
|
+
table_id: number;
|
|
3841
|
+
name: string;
|
|
3842
|
+
data_type: string | null;
|
|
3843
|
+
description: string | null;
|
|
3844
|
+
/** @description Whether this column is visible to end users */
|
|
3845
|
+
is_visible: boolean;
|
|
3846
|
+
/** @description Whether this column is indexed for search and filtering */
|
|
3847
|
+
is_indexed: boolean;
|
|
3848
|
+
created_at: string;
|
|
3849
|
+
updated_at: string;
|
|
3850
|
+
}[];
|
|
3851
|
+
rls_policy: {
|
|
3852
|
+
id: number;
|
|
3853
|
+
table_id: number;
|
|
3854
|
+
/** @description SQL condition appended to queries on this table to restrict row access */
|
|
3855
|
+
condition: string;
|
|
3856
|
+
/** @description Variables referenced in the condition, resolved from user context at query time */
|
|
3857
|
+
context_variables: string[];
|
|
3858
|
+
/** @description Other tables referenced by this policy's condition (for query planning) */
|
|
3859
|
+
depends_on_tables: string[];
|
|
3860
|
+
is_active: boolean;
|
|
3861
|
+
created_at: string;
|
|
3862
|
+
updated_at: string;
|
|
3863
|
+
} | null;
|
|
3864
|
+
access: {
|
|
3865
|
+
id: number;
|
|
3866
|
+
table_id: number;
|
|
3867
|
+
/** @description Top-level field name in the user metadata (e.g., company_id, department_name) */
|
|
3868
|
+
context_variable: string;
|
|
3869
|
+
/** @description Comparison operator. Must be "=" or "!=". */
|
|
3870
|
+
operator: string;
|
|
3871
|
+
/** @description Static value to compare against, e.g. `user_123`. */
|
|
3872
|
+
value: string;
|
|
3873
|
+
is_active: boolean;
|
|
3874
|
+
created_at: string;
|
|
3875
|
+
updated_at: string;
|
|
3876
|
+
}[];
|
|
3767
3877
|
};
|
|
3768
3878
|
};
|
|
3769
3879
|
};
|
|
@@ -3778,7 +3888,18 @@ declare interface operations {
|
|
|
3778
3888
|
};
|
|
3779
3889
|
};
|
|
3780
3890
|
};
|
|
3781
|
-
/** @description
|
|
3891
|
+
/** @description Table exists in source database but is not queryable (permission issue) */
|
|
3892
|
+
403: {
|
|
3893
|
+
headers: {
|
|
3894
|
+
[name: string]: unknown;
|
|
3895
|
+
};
|
|
3896
|
+
content: {
|
|
3897
|
+
"application/json": {
|
|
3898
|
+
error: string;
|
|
3899
|
+
};
|
|
3900
|
+
};
|
|
3901
|
+
};
|
|
3902
|
+
/** @description Source connector not found, or table not found in source database */
|
|
3782
3903
|
404: {
|
|
3783
3904
|
headers: {
|
|
3784
3905
|
[name: string]: unknown;
|
|
@@ -3789,7 +3910,7 @@ declare interface operations {
|
|
|
3789
3910
|
};
|
|
3790
3911
|
};
|
|
3791
3912
|
};
|
|
3792
|
-
/** @description
|
|
3913
|
+
/** @description Table with this dataset and table_name already exists */
|
|
3793
3914
|
409: {
|
|
3794
3915
|
headers: {
|
|
3795
3916
|
[name: string]: unknown;
|
|
@@ -3813,7 +3934,7 @@ declare interface operations {
|
|
|
3813
3934
|
};
|
|
3814
3935
|
};
|
|
3815
3936
|
};
|
|
3816
|
-
|
|
3937
|
+
getTable: {
|
|
3817
3938
|
parameters: {
|
|
3818
3939
|
query?: never;
|
|
3819
3940
|
header?: {
|
|
@@ -3826,7 +3947,7 @@ declare interface operations {
|
|
|
3826
3947
|
};
|
|
3827
3948
|
requestBody?: never;
|
|
3828
3949
|
responses: {
|
|
3829
|
-
/** @description The
|
|
3950
|
+
/** @description The table with columns, RLS policy, and access rules */
|
|
3830
3951
|
200: {
|
|
3831
3952
|
headers: {
|
|
3832
3953
|
[name: string]: unknown;
|
|
@@ -3834,19 +3955,56 @@ declare interface operations {
|
|
|
3834
3955
|
content: {
|
|
3835
3956
|
"application/json": {
|
|
3836
3957
|
id: number;
|
|
3837
|
-
|
|
3958
|
+
/** @description Schema or dataset name in the source database */
|
|
3838
3959
|
dataset: string;
|
|
3839
3960
|
table_name: string;
|
|
3840
3961
|
description: string | null;
|
|
3841
3962
|
is_visible: boolean;
|
|
3842
|
-
tags: string[];
|
|
3843
|
-
row_count: number | null;
|
|
3844
3963
|
created_at: string;
|
|
3845
3964
|
updated_at: string;
|
|
3965
|
+
columns: {
|
|
3966
|
+
id: number;
|
|
3967
|
+
table_id: number;
|
|
3968
|
+
name: string;
|
|
3969
|
+
data_type: string | null;
|
|
3970
|
+
description: string | null;
|
|
3971
|
+
/** @description Whether this column is visible to end users */
|
|
3972
|
+
is_visible: boolean;
|
|
3973
|
+
/** @description Whether this column is indexed for search and filtering */
|
|
3974
|
+
is_indexed: boolean;
|
|
3975
|
+
created_at: string;
|
|
3976
|
+
updated_at: string;
|
|
3977
|
+
}[];
|
|
3978
|
+
rls_policy: {
|
|
3979
|
+
id: number;
|
|
3980
|
+
table_id: number;
|
|
3981
|
+
/** @description SQL condition appended to queries on this table to restrict row access */
|
|
3982
|
+
condition: string;
|
|
3983
|
+
/** @description Variables referenced in the condition, resolved from user context at query time */
|
|
3984
|
+
context_variables: string[];
|
|
3985
|
+
/** @description Other tables referenced by this policy's condition (for query planning) */
|
|
3986
|
+
depends_on_tables: string[];
|
|
3987
|
+
is_active: boolean;
|
|
3988
|
+
created_at: string;
|
|
3989
|
+
updated_at: string;
|
|
3990
|
+
} | null;
|
|
3991
|
+
access: {
|
|
3992
|
+
id: number;
|
|
3993
|
+
table_id: number;
|
|
3994
|
+
/** @description Top-level field name in the user metadata (e.g., company_id, department_name) */
|
|
3995
|
+
context_variable: string;
|
|
3996
|
+
/** @description Comparison operator. Must be "=" or "!=". */
|
|
3997
|
+
operator: string;
|
|
3998
|
+
/** @description Static value to compare against, e.g. `user_123`. */
|
|
3999
|
+
value: string;
|
|
4000
|
+
is_active: boolean;
|
|
4001
|
+
created_at: string;
|
|
4002
|
+
updated_at: string;
|
|
4003
|
+
}[];
|
|
3846
4004
|
};
|
|
3847
4005
|
};
|
|
3848
4006
|
};
|
|
3849
|
-
/** @description
|
|
4007
|
+
/** @description Table not found */
|
|
3850
4008
|
404: {
|
|
3851
4009
|
headers: {
|
|
3852
4010
|
[name: string]: unknown;
|
|
@@ -3870,7 +4028,7 @@ declare interface operations {
|
|
|
3870
4028
|
};
|
|
3871
4029
|
};
|
|
3872
4030
|
};
|
|
3873
|
-
|
|
4031
|
+
deleteTable: {
|
|
3874
4032
|
parameters: {
|
|
3875
4033
|
query?: never;
|
|
3876
4034
|
header?: {
|
|
@@ -3883,7 +4041,7 @@ declare interface operations {
|
|
|
3883
4041
|
};
|
|
3884
4042
|
requestBody?: never;
|
|
3885
4043
|
responses: {
|
|
3886
|
-
/** @description
|
|
4044
|
+
/** @description Soft delete: sets is_visible to false. The table remains accessible via GET and LIST. */
|
|
3887
4045
|
200: {
|
|
3888
4046
|
headers: {
|
|
3889
4047
|
[name: string]: unknown;
|
|
@@ -3894,7 +4052,7 @@ declare interface operations {
|
|
|
3894
4052
|
};
|
|
3895
4053
|
};
|
|
3896
4054
|
};
|
|
3897
|
-
/** @description
|
|
4055
|
+
/** @description Table not found */
|
|
3898
4056
|
404: {
|
|
3899
4057
|
headers: {
|
|
3900
4058
|
[name: string]: unknown;
|
|
@@ -3918,7 +4076,7 @@ declare interface operations {
|
|
|
3918
4076
|
};
|
|
3919
4077
|
};
|
|
3920
4078
|
};
|
|
3921
|
-
|
|
4079
|
+
updateTable: {
|
|
3922
4080
|
parameters: {
|
|
3923
4081
|
query?: never;
|
|
3924
4082
|
header?: {
|
|
@@ -3933,13 +4091,34 @@ declare interface operations {
|
|
|
3933
4091
|
content: {
|
|
3934
4092
|
"application/json": {
|
|
3935
4093
|
description?: string;
|
|
4094
|
+
/** @description Toggle table visibility. Prefer this over deleting — hidden tables retain their metadata and can be re-enabled later. */
|
|
3936
4095
|
is_visible?: boolean;
|
|
3937
|
-
|
|
4096
|
+
/** @description Upsert the RLS policy: updates existing if found, creates if not (condition required for create) */
|
|
4097
|
+
rls_policy?: {
|
|
4098
|
+
/** @description SQL condition appended to queries on this table to restrict row access. Use [var:name] for context variables and [table:name] for table references — these are auto-detected and stored as context_variables and depends_on_tables. */
|
|
4099
|
+
condition?: string;
|
|
4100
|
+
/** @default true */
|
|
4101
|
+
is_active?: boolean;
|
|
4102
|
+
};
|
|
4103
|
+
/** @description Replace all access rules — existing rules are removed and replaced with these */
|
|
4104
|
+
access?: {
|
|
4105
|
+
/** @description Top-level field name in the user metadata (e.g., company_id, department_name) */
|
|
4106
|
+
context_variable: string;
|
|
4107
|
+
/**
|
|
4108
|
+
* @description Comparison operator. Must be "=" or "!=".
|
|
4109
|
+
* @enum {string}
|
|
4110
|
+
*/
|
|
4111
|
+
operator: "=" | "!=";
|
|
4112
|
+
/** @description Static value to compare against, e.g. `user_123`. */
|
|
4113
|
+
value: string;
|
|
4114
|
+
/** @default true */
|
|
4115
|
+
is_active?: boolean;
|
|
4116
|
+
}[];
|
|
3938
4117
|
};
|
|
3939
4118
|
};
|
|
3940
4119
|
};
|
|
3941
4120
|
responses: {
|
|
3942
|
-
/** @description Updated
|
|
4121
|
+
/** @description Updated table with columns, RLS policy, and access rules */
|
|
3943
4122
|
200: {
|
|
3944
4123
|
headers: {
|
|
3945
4124
|
[name: string]: unknown;
|
|
@@ -3947,15 +4126,52 @@ declare interface operations {
|
|
|
3947
4126
|
content: {
|
|
3948
4127
|
"application/json": {
|
|
3949
4128
|
id: number;
|
|
3950
|
-
|
|
4129
|
+
/** @description Schema or dataset name in the source database */
|
|
3951
4130
|
dataset: string;
|
|
3952
4131
|
table_name: string;
|
|
3953
4132
|
description: string | null;
|
|
3954
4133
|
is_visible: boolean;
|
|
3955
|
-
tags: string[];
|
|
3956
|
-
row_count: number | null;
|
|
3957
4134
|
created_at: string;
|
|
3958
4135
|
updated_at: string;
|
|
4136
|
+
columns: {
|
|
4137
|
+
id: number;
|
|
4138
|
+
table_id: number;
|
|
4139
|
+
name: string;
|
|
4140
|
+
data_type: string | null;
|
|
4141
|
+
description: string | null;
|
|
4142
|
+
/** @description Whether this column is visible to end users */
|
|
4143
|
+
is_visible: boolean;
|
|
4144
|
+
/** @description Whether this column is indexed for search and filtering */
|
|
4145
|
+
is_indexed: boolean;
|
|
4146
|
+
created_at: string;
|
|
4147
|
+
updated_at: string;
|
|
4148
|
+
}[];
|
|
4149
|
+
rls_policy: {
|
|
4150
|
+
id: number;
|
|
4151
|
+
table_id: number;
|
|
4152
|
+
/** @description SQL condition appended to queries on this table to restrict row access */
|
|
4153
|
+
condition: string;
|
|
4154
|
+
/** @description Variables referenced in the condition, resolved from user context at query time */
|
|
4155
|
+
context_variables: string[];
|
|
4156
|
+
/** @description Other tables referenced by this policy's condition (for query planning) */
|
|
4157
|
+
depends_on_tables: string[];
|
|
4158
|
+
is_active: boolean;
|
|
4159
|
+
created_at: string;
|
|
4160
|
+
updated_at: string;
|
|
4161
|
+
} | null;
|
|
4162
|
+
access: {
|
|
4163
|
+
id: number;
|
|
4164
|
+
table_id: number;
|
|
4165
|
+
/** @description Top-level field name in the user metadata (e.g., company_id, department_name) */
|
|
4166
|
+
context_variable: string;
|
|
4167
|
+
/** @description Comparison operator. Must be "=" or "!=". */
|
|
4168
|
+
operator: string;
|
|
4169
|
+
/** @description Static value to compare against, e.g. `user_123`. */
|
|
4170
|
+
value: string;
|
|
4171
|
+
is_active: boolean;
|
|
4172
|
+
created_at: string;
|
|
4173
|
+
updated_at: string;
|
|
4174
|
+
}[];
|
|
3959
4175
|
};
|
|
3960
4176
|
};
|
|
3961
4177
|
};
|
|
@@ -3970,7 +4186,7 @@ declare interface operations {
|
|
|
3970
4186
|
};
|
|
3971
4187
|
};
|
|
3972
4188
|
};
|
|
3973
|
-
/** @description
|
|
4189
|
+
/** @description Table not found */
|
|
3974
4190
|
404: {
|
|
3975
4191
|
headers: {
|
|
3976
4192
|
[name: string]: unknown;
|
|
@@ -3994,20 +4210,20 @@ declare interface operations {
|
|
|
3994
4210
|
};
|
|
3995
4211
|
};
|
|
3996
4212
|
};
|
|
3997
|
-
|
|
4213
|
+
listTableRls: {
|
|
3998
4214
|
parameters: {
|
|
3999
|
-
query
|
|
4000
|
-
table_id: number;
|
|
4001
|
-
};
|
|
4215
|
+
query?: never;
|
|
4002
4216
|
header?: {
|
|
4003
4217
|
"sp-access-token"?: string;
|
|
4004
4218
|
};
|
|
4005
|
-
path
|
|
4219
|
+
path: {
|
|
4220
|
+
id: number;
|
|
4221
|
+
};
|
|
4006
4222
|
cookie?: never;
|
|
4007
4223
|
};
|
|
4008
4224
|
requestBody?: never;
|
|
4009
4225
|
responses: {
|
|
4010
|
-
/** @description
|
|
4226
|
+
/** @description RLS policies for this table */
|
|
4011
4227
|
200: {
|
|
4012
4228
|
headers: {
|
|
4013
4229
|
[name: string]: unknown;
|
|
@@ -4016,14 +4232,13 @@ declare interface operations {
|
|
|
4016
4232
|
"application/json": {
|
|
4017
4233
|
id: number;
|
|
4018
4234
|
table_id: number;
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
description
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
is_system: boolean;
|
|
4235
|
+
/** @description SQL condition appended to queries on this table to restrict row access */
|
|
4236
|
+
condition: string;
|
|
4237
|
+
/** @description Variables referenced in the condition, resolved from user context at query time */
|
|
4238
|
+
context_variables: string[];
|
|
4239
|
+
/** @description Other tables referenced by this policy's condition (for query planning) */
|
|
4240
|
+
depends_on_tables: string[];
|
|
4241
|
+
is_active: boolean;
|
|
4027
4242
|
created_at: string;
|
|
4028
4243
|
updated_at: string;
|
|
4029
4244
|
}[];
|
|
@@ -4053,7 +4268,7 @@ declare interface operations {
|
|
|
4053
4268
|
};
|
|
4054
4269
|
};
|
|
4055
4270
|
};
|
|
4056
|
-
|
|
4271
|
+
createTableRls: {
|
|
4057
4272
|
parameters: {
|
|
4058
4273
|
query?: never;
|
|
4059
4274
|
header?: {
|
|
@@ -4064,10 +4279,19 @@ declare interface operations {
|
|
|
4064
4279
|
};
|
|
4065
4280
|
cookie?: never;
|
|
4066
4281
|
};
|
|
4067
|
-
requestBody
|
|
4282
|
+
requestBody: {
|
|
4283
|
+
content: {
|
|
4284
|
+
"application/json": {
|
|
4285
|
+
/** @description SQL condition appended to queries on this table to restrict row access. Use [var:name] for context variables and [table:name] for table references — these are auto-detected and stored as context_variables and depends_on_tables. */
|
|
4286
|
+
condition: string;
|
|
4287
|
+
/** @default true */
|
|
4288
|
+
is_active?: boolean;
|
|
4289
|
+
};
|
|
4290
|
+
};
|
|
4291
|
+
};
|
|
4068
4292
|
responses: {
|
|
4069
|
-
/** @description The
|
|
4070
|
-
|
|
4293
|
+
/** @description The created RLS policy */
|
|
4294
|
+
201: {
|
|
4071
4295
|
headers: {
|
|
4072
4296
|
[name: string]: unknown;
|
|
4073
4297
|
};
|
|
@@ -4075,20 +4299,30 @@ declare interface operations {
|
|
|
4075
4299
|
"application/json": {
|
|
4076
4300
|
id: number;
|
|
4077
4301
|
table_id: number;
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
description
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
is_system: boolean;
|
|
4302
|
+
/** @description SQL condition appended to queries on this table to restrict row access */
|
|
4303
|
+
condition: string;
|
|
4304
|
+
/** @description Variables referenced in the condition, resolved from user context at query time */
|
|
4305
|
+
context_variables: string[];
|
|
4306
|
+
/** @description Other tables referenced by this policy's condition (for query planning) */
|
|
4307
|
+
depends_on_tables: string[];
|
|
4308
|
+
is_active: boolean;
|
|
4086
4309
|
created_at: string;
|
|
4087
4310
|
updated_at: string;
|
|
4088
4311
|
};
|
|
4089
4312
|
};
|
|
4090
4313
|
};
|
|
4091
|
-
/** @description
|
|
4314
|
+
/** @description Invalid request */
|
|
4315
|
+
400: {
|
|
4316
|
+
headers: {
|
|
4317
|
+
[name: string]: unknown;
|
|
4318
|
+
};
|
|
4319
|
+
content: {
|
|
4320
|
+
"application/json": {
|
|
4321
|
+
error: string;
|
|
4322
|
+
};
|
|
4323
|
+
};
|
|
4324
|
+
};
|
|
4325
|
+
/** @description Table not found */
|
|
4092
4326
|
404: {
|
|
4093
4327
|
headers: {
|
|
4094
4328
|
[name: string]: unknown;
|
|
@@ -4112,7 +4346,7 @@ declare interface operations {
|
|
|
4112
4346
|
};
|
|
4113
4347
|
};
|
|
4114
4348
|
};
|
|
4115
|
-
|
|
4349
|
+
getTableRls: {
|
|
4116
4350
|
parameters: {
|
|
4117
4351
|
query?: never;
|
|
4118
4352
|
header?: {
|
|
@@ -4120,19 +4354,13 @@ declare interface operations {
|
|
|
4120
4354
|
};
|
|
4121
4355
|
path: {
|
|
4122
4356
|
id: number;
|
|
4357
|
+
rlsId: number;
|
|
4123
4358
|
};
|
|
4124
4359
|
cookie?: never;
|
|
4125
4360
|
};
|
|
4126
|
-
requestBody
|
|
4127
|
-
content: {
|
|
4128
|
-
"application/json": {
|
|
4129
|
-
is_visible?: boolean;
|
|
4130
|
-
is_indexed?: boolean;
|
|
4131
|
-
};
|
|
4132
|
-
};
|
|
4133
|
-
};
|
|
4361
|
+
requestBody?: never;
|
|
4134
4362
|
responses: {
|
|
4135
|
-
/** @description
|
|
4363
|
+
/** @description The RLS policy */
|
|
4136
4364
|
200: {
|
|
4137
4365
|
headers: {
|
|
4138
4366
|
[name: string]: unknown;
|
|
@@ -4141,31 +4369,19 @@ declare interface operations {
|
|
|
4141
4369
|
"application/json": {
|
|
4142
4370
|
id: number;
|
|
4143
4371
|
table_id: number;
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
description
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
is_system: boolean;
|
|
4372
|
+
/** @description SQL condition appended to queries on this table to restrict row access */
|
|
4373
|
+
condition: string;
|
|
4374
|
+
/** @description Variables referenced in the condition, resolved from user context at query time */
|
|
4375
|
+
context_variables: string[];
|
|
4376
|
+
/** @description Other tables referenced by this policy's condition (for query planning) */
|
|
4377
|
+
depends_on_tables: string[];
|
|
4378
|
+
is_active: boolean;
|
|
4152
4379
|
created_at: string;
|
|
4153
4380
|
updated_at: string;
|
|
4154
4381
|
};
|
|
4155
4382
|
};
|
|
4156
4383
|
};
|
|
4157
|
-
/** @description
|
|
4158
|
-
400: {
|
|
4159
|
-
headers: {
|
|
4160
|
-
[name: string]: unknown;
|
|
4161
|
-
};
|
|
4162
|
-
content: {
|
|
4163
|
-
"application/json": {
|
|
4164
|
-
error: string;
|
|
4165
|
-
};
|
|
4166
|
-
};
|
|
4167
|
-
};
|
|
4168
|
-
/** @description Column not found */
|
|
4384
|
+
/** @description RLS policy not found */
|
|
4169
4385
|
404: {
|
|
4170
4386
|
headers: {
|
|
4171
4387
|
[name: string]: unknown;
|
|
@@ -4189,39 +4405,40 @@ declare interface operations {
|
|
|
4189
4405
|
};
|
|
4190
4406
|
};
|
|
4191
4407
|
};
|
|
4192
|
-
|
|
4408
|
+
deleteTableRls: {
|
|
4193
4409
|
parameters: {
|
|
4194
|
-
query?:
|
|
4195
|
-
table_id?: number;
|
|
4196
|
-
};
|
|
4410
|
+
query?: never;
|
|
4197
4411
|
header?: {
|
|
4198
4412
|
"sp-access-token"?: string;
|
|
4199
4413
|
};
|
|
4200
|
-
path
|
|
4414
|
+
path: {
|
|
4415
|
+
id: number;
|
|
4416
|
+
rlsId: number;
|
|
4417
|
+
};
|
|
4201
4418
|
cookie?: never;
|
|
4202
4419
|
};
|
|
4203
4420
|
requestBody?: never;
|
|
4204
4421
|
responses: {
|
|
4205
|
-
/** @description
|
|
4422
|
+
/** @description Deletion result */
|
|
4206
4423
|
200: {
|
|
4207
4424
|
headers: {
|
|
4208
4425
|
[name: string]: unknown;
|
|
4209
4426
|
};
|
|
4210
4427
|
content: {
|
|
4211
4428
|
"application/json": {
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
}
|
|
4429
|
+
deleted: boolean;
|
|
4430
|
+
};
|
|
4431
|
+
};
|
|
4432
|
+
};
|
|
4433
|
+
/** @description RLS policy not found */
|
|
4434
|
+
404: {
|
|
4435
|
+
headers: {
|
|
4436
|
+
[name: string]: unknown;
|
|
4437
|
+
};
|
|
4438
|
+
content: {
|
|
4439
|
+
"application/json": {
|
|
4440
|
+
error: string;
|
|
4441
|
+
};
|
|
4225
4442
|
};
|
|
4226
4443
|
};
|
|
4227
4444
|
/** @description Internal server error */
|
|
@@ -4237,47 +4454,44 @@ declare interface operations {
|
|
|
4237
4454
|
};
|
|
4238
4455
|
};
|
|
4239
4456
|
};
|
|
4240
|
-
|
|
4457
|
+
updateTableRls: {
|
|
4241
4458
|
parameters: {
|
|
4242
4459
|
query?: never;
|
|
4243
4460
|
header?: {
|
|
4244
4461
|
"sp-access-token"?: string;
|
|
4245
4462
|
};
|
|
4246
|
-
path
|
|
4463
|
+
path: {
|
|
4464
|
+
id: number;
|
|
4465
|
+
rlsId: number;
|
|
4466
|
+
};
|
|
4247
4467
|
cookie?: never;
|
|
4248
4468
|
};
|
|
4249
4469
|
requestBody: {
|
|
4250
4470
|
content: {
|
|
4251
4471
|
"application/json": {
|
|
4252
|
-
|
|
4253
|
-
condition
|
|
4254
|
-
/** @default [] */
|
|
4255
|
-
context_variables?: string[];
|
|
4256
|
-
/** @default [] */
|
|
4257
|
-
depends_on_tables?: string[];
|
|
4258
|
-
/** @default true */
|
|
4472
|
+
/** @description SQL condition appended to queries on this table to restrict row access. Use [var:name] for context variables and [table:name] for table references — these are auto-detected and stored as context_variables and depends_on_tables. */
|
|
4473
|
+
condition?: string;
|
|
4259
4474
|
is_active?: boolean;
|
|
4260
4475
|
};
|
|
4261
4476
|
};
|
|
4262
4477
|
};
|
|
4263
4478
|
responses: {
|
|
4264
|
-
/** @description
|
|
4265
|
-
|
|
4479
|
+
/** @description Updated RLS policy */
|
|
4480
|
+
200: {
|
|
4266
4481
|
headers: {
|
|
4267
4482
|
[name: string]: unknown;
|
|
4268
4483
|
};
|
|
4269
4484
|
content: {
|
|
4270
4485
|
"application/json": {
|
|
4271
4486
|
id: number;
|
|
4272
|
-
company_id: number;
|
|
4273
4487
|
table_id: number;
|
|
4274
|
-
|
|
4275
|
-
schema_name: string;
|
|
4488
|
+
/** @description SQL condition appended to queries on this table to restrict row access */
|
|
4276
4489
|
condition: string;
|
|
4490
|
+
/** @description Variables referenced in the condition, resolved from user context at query time */
|
|
4277
4491
|
context_variables: string[];
|
|
4492
|
+
/** @description Other tables referenced by this policy's condition (for query planning) */
|
|
4278
4493
|
depends_on_tables: string[];
|
|
4279
4494
|
is_active: boolean;
|
|
4280
|
-
is_removed: boolean;
|
|
4281
4495
|
created_at: string;
|
|
4282
4496
|
updated_at: string;
|
|
4283
4497
|
};
|
|
@@ -4294,7 +4508,7 @@ declare interface operations {
|
|
|
4294
4508
|
};
|
|
4295
4509
|
};
|
|
4296
4510
|
};
|
|
4297
|
-
/** @description
|
|
4511
|
+
/** @description RLS policy not found */
|
|
4298
4512
|
404: {
|
|
4299
4513
|
headers: {
|
|
4300
4514
|
[name: string]: unknown;
|
|
@@ -4318,7 +4532,7 @@ declare interface operations {
|
|
|
4318
4532
|
};
|
|
4319
4533
|
};
|
|
4320
4534
|
};
|
|
4321
|
-
|
|
4535
|
+
listTableAccess: {
|
|
4322
4536
|
parameters: {
|
|
4323
4537
|
query?: never;
|
|
4324
4538
|
header?: {
|
|
@@ -4331,7 +4545,7 @@ declare interface operations {
|
|
|
4331
4545
|
};
|
|
4332
4546
|
requestBody?: never;
|
|
4333
4547
|
responses: {
|
|
4334
|
-
/** @description
|
|
4548
|
+
/** @description Access rules for this table */
|
|
4335
4549
|
200: {
|
|
4336
4550
|
headers: {
|
|
4337
4551
|
[name: string]: unknown;
|
|
@@ -4339,21 +4553,20 @@ declare interface operations {
|
|
|
4339
4553
|
content: {
|
|
4340
4554
|
"application/json": {
|
|
4341
4555
|
id: number;
|
|
4342
|
-
company_id: number;
|
|
4343
4556
|
table_id: number;
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4557
|
+
/** @description Top-level field name in the user metadata (e.g., company_id, department_name) */
|
|
4558
|
+
context_variable: string;
|
|
4559
|
+
/** @description Comparison operator. Must be "=" or "!=". */
|
|
4560
|
+
operator: string;
|
|
4561
|
+
/** @description Static value to compare against, e.g. `user_123`. */
|
|
4562
|
+
value: string;
|
|
4349
4563
|
is_active: boolean;
|
|
4350
|
-
is_removed: boolean;
|
|
4351
4564
|
created_at: string;
|
|
4352
4565
|
updated_at: string;
|
|
4353
|
-
};
|
|
4566
|
+
}[];
|
|
4354
4567
|
};
|
|
4355
4568
|
};
|
|
4356
|
-
/** @description
|
|
4569
|
+
/** @description Table not found */
|
|
4357
4570
|
404: {
|
|
4358
4571
|
headers: {
|
|
4359
4572
|
[name: string]: unknown;
|
|
@@ -4377,7 +4590,7 @@ declare interface operations {
|
|
|
4377
4590
|
};
|
|
4378
4591
|
};
|
|
4379
4592
|
};
|
|
4380
|
-
|
|
4593
|
+
createTableAccess: {
|
|
4381
4594
|
parameters: {
|
|
4382
4595
|
query?: never;
|
|
4383
4596
|
header?: {
|
|
@@ -4388,20 +4601,57 @@ declare interface operations {
|
|
|
4388
4601
|
};
|
|
4389
4602
|
cookie?: never;
|
|
4390
4603
|
};
|
|
4391
|
-
requestBody
|
|
4604
|
+
requestBody: {
|
|
4605
|
+
content: {
|
|
4606
|
+
"application/json": {
|
|
4607
|
+
/** @description Top-level field name in the user metadata (e.g., company_id, department_name) */
|
|
4608
|
+
context_variable: string;
|
|
4609
|
+
/**
|
|
4610
|
+
* @description Comparison operator. Must be "=" or "!=".
|
|
4611
|
+
* @enum {string}
|
|
4612
|
+
*/
|
|
4613
|
+
operator: "=" | "!=";
|
|
4614
|
+
/** @description Static value to compare against, e.g. `user_123`. */
|
|
4615
|
+
value: string;
|
|
4616
|
+
/** @default true */
|
|
4617
|
+
is_active?: boolean;
|
|
4618
|
+
};
|
|
4619
|
+
};
|
|
4620
|
+
};
|
|
4392
4621
|
responses: {
|
|
4393
|
-
/** @description
|
|
4394
|
-
|
|
4622
|
+
/** @description The created access rule */
|
|
4623
|
+
201: {
|
|
4395
4624
|
headers: {
|
|
4396
4625
|
[name: string]: unknown;
|
|
4397
4626
|
};
|
|
4398
4627
|
content: {
|
|
4399
4628
|
"application/json": {
|
|
4400
|
-
|
|
4629
|
+
id: number;
|
|
4630
|
+
table_id: number;
|
|
4631
|
+
/** @description Top-level field name in the user metadata (e.g., company_id, department_name) */
|
|
4632
|
+
context_variable: string;
|
|
4633
|
+
/** @description Comparison operator. Must be "=" or "!=". */
|
|
4634
|
+
operator: string;
|
|
4635
|
+
/** @description Static value to compare against, e.g. `user_123`. */
|
|
4636
|
+
value: string;
|
|
4637
|
+
is_active: boolean;
|
|
4638
|
+
created_at: string;
|
|
4639
|
+
updated_at: string;
|
|
4401
4640
|
};
|
|
4402
4641
|
};
|
|
4403
4642
|
};
|
|
4404
|
-
/** @description
|
|
4643
|
+
/** @description Invalid request */
|
|
4644
|
+
400: {
|
|
4645
|
+
headers: {
|
|
4646
|
+
[name: string]: unknown;
|
|
4647
|
+
};
|
|
4648
|
+
content: {
|
|
4649
|
+
"application/json": {
|
|
4650
|
+
error: string;
|
|
4651
|
+
};
|
|
4652
|
+
};
|
|
4653
|
+
};
|
|
4654
|
+
/** @description Table not found */
|
|
4405
4655
|
404: {
|
|
4406
4656
|
headers: {
|
|
4407
4657
|
[name: string]: unknown;
|
|
@@ -4425,7 +4675,7 @@ declare interface operations {
|
|
|
4425
4675
|
};
|
|
4426
4676
|
};
|
|
4427
4677
|
};
|
|
4428
|
-
|
|
4678
|
+
getTableAccess: {
|
|
4429
4679
|
parameters: {
|
|
4430
4680
|
query?: never;
|
|
4431
4681
|
header?: {
|
|
@@ -4433,21 +4683,13 @@ declare interface operations {
|
|
|
4433
4683
|
};
|
|
4434
4684
|
path: {
|
|
4435
4685
|
id: number;
|
|
4686
|
+
accessId: number;
|
|
4436
4687
|
};
|
|
4437
4688
|
cookie?: never;
|
|
4438
4689
|
};
|
|
4439
|
-
requestBody
|
|
4440
|
-
content: {
|
|
4441
|
-
"application/json": {
|
|
4442
|
-
condition?: string;
|
|
4443
|
-
context_variables?: string[];
|
|
4444
|
-
depends_on_tables?: string[];
|
|
4445
|
-
is_active?: boolean;
|
|
4446
|
-
};
|
|
4447
|
-
};
|
|
4448
|
-
};
|
|
4690
|
+
requestBody?: never;
|
|
4449
4691
|
responses: {
|
|
4450
|
-
/** @description
|
|
4692
|
+
/** @description The access rule */
|
|
4451
4693
|
200: {
|
|
4452
4694
|
headers: {
|
|
4453
4695
|
[name: string]: unknown;
|
|
@@ -4455,32 +4697,20 @@ declare interface operations {
|
|
|
4455
4697
|
content: {
|
|
4456
4698
|
"application/json": {
|
|
4457
4699
|
id: number;
|
|
4458
|
-
company_id: number;
|
|
4459
4700
|
table_id: number;
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4701
|
+
/** @description Top-level field name in the user metadata (e.g., company_id, department_name) */
|
|
4702
|
+
context_variable: string;
|
|
4703
|
+
/** @description Comparison operator. Must be "=" or "!=". */
|
|
4704
|
+
operator: string;
|
|
4705
|
+
/** @description Static value to compare against, e.g. `user_123`. */
|
|
4706
|
+
value: string;
|
|
4465
4707
|
is_active: boolean;
|
|
4466
|
-
is_removed: boolean;
|
|
4467
4708
|
created_at: string;
|
|
4468
4709
|
updated_at: string;
|
|
4469
4710
|
};
|
|
4470
4711
|
};
|
|
4471
4712
|
};
|
|
4472
|
-
/** @description
|
|
4473
|
-
400: {
|
|
4474
|
-
headers: {
|
|
4475
|
-
[name: string]: unknown;
|
|
4476
|
-
};
|
|
4477
|
-
content: {
|
|
4478
|
-
"application/json": {
|
|
4479
|
-
error: string;
|
|
4480
|
-
};
|
|
4481
|
-
};
|
|
4482
|
-
};
|
|
4483
|
-
/** @description RLS policy not found */
|
|
4713
|
+
/** @description Access rule not found */
|
|
4484
4714
|
404: {
|
|
4485
4715
|
headers: {
|
|
4486
4716
|
[name: string]: unknown;
|
|
@@ -4504,36 +4734,40 @@ declare interface operations {
|
|
|
4504
4734
|
};
|
|
4505
4735
|
};
|
|
4506
4736
|
};
|
|
4507
|
-
|
|
4737
|
+
deleteTableAccess: {
|
|
4508
4738
|
parameters: {
|
|
4509
|
-
query
|
|
4510
|
-
table_id: number;
|
|
4511
|
-
};
|
|
4739
|
+
query?: never;
|
|
4512
4740
|
header?: {
|
|
4513
4741
|
"sp-access-token"?: string;
|
|
4514
4742
|
};
|
|
4515
|
-
path
|
|
4743
|
+
path: {
|
|
4744
|
+
id: number;
|
|
4745
|
+
accessId: number;
|
|
4746
|
+
};
|
|
4516
4747
|
cookie?: never;
|
|
4517
4748
|
};
|
|
4518
4749
|
requestBody?: never;
|
|
4519
4750
|
responses: {
|
|
4520
|
-
/** @description
|
|
4751
|
+
/** @description Deletion result */
|
|
4521
4752
|
200: {
|
|
4522
4753
|
headers: {
|
|
4523
4754
|
[name: string]: unknown;
|
|
4524
4755
|
};
|
|
4525
4756
|
content: {
|
|
4526
4757
|
"application/json": {
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4758
|
+
deleted: boolean;
|
|
4759
|
+
};
|
|
4760
|
+
};
|
|
4761
|
+
};
|
|
4762
|
+
/** @description Access rule not found */
|
|
4763
|
+
404: {
|
|
4764
|
+
headers: {
|
|
4765
|
+
[name: string]: unknown;
|
|
4766
|
+
};
|
|
4767
|
+
content: {
|
|
4768
|
+
"application/json": {
|
|
4769
|
+
error: string;
|
|
4770
|
+
};
|
|
4537
4771
|
};
|
|
4538
4772
|
};
|
|
4539
4773
|
/** @description Internal server error */
|
|
@@ -4549,30 +4783,37 @@ declare interface operations {
|
|
|
4549
4783
|
};
|
|
4550
4784
|
};
|
|
4551
4785
|
};
|
|
4552
|
-
|
|
4786
|
+
updateTableAccess: {
|
|
4553
4787
|
parameters: {
|
|
4554
4788
|
query?: never;
|
|
4555
4789
|
header?: {
|
|
4556
4790
|
"sp-access-token"?: string;
|
|
4557
4791
|
};
|
|
4558
|
-
path
|
|
4792
|
+
path: {
|
|
4793
|
+
id: number;
|
|
4794
|
+
accessId: number;
|
|
4795
|
+
};
|
|
4559
4796
|
cookie?: never;
|
|
4560
4797
|
};
|
|
4561
4798
|
requestBody: {
|
|
4562
4799
|
content: {
|
|
4563
4800
|
"application/json": {
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4801
|
+
/** @description Top-level field name in the user metadata (e.g., company_id, department_name) */
|
|
4802
|
+
context_variable?: string;
|
|
4803
|
+
/**
|
|
4804
|
+
* @description Comparison operator. Must be "=" or "!=".
|
|
4805
|
+
* @enum {string}
|
|
4806
|
+
*/
|
|
4807
|
+
operator?: "=" | "!=";
|
|
4808
|
+
/** @description Static value to compare against, e.g. `user_123`. */
|
|
4809
|
+
value?: string;
|
|
4569
4810
|
is_active?: boolean;
|
|
4570
4811
|
};
|
|
4571
4812
|
};
|
|
4572
4813
|
};
|
|
4573
4814
|
responses: {
|
|
4574
|
-
/** @description
|
|
4575
|
-
|
|
4815
|
+
/** @description Updated access rule */
|
|
4816
|
+
200: {
|
|
4576
4817
|
headers: {
|
|
4577
4818
|
[name: string]: unknown;
|
|
4578
4819
|
};
|
|
@@ -4580,11 +4821,13 @@ declare interface operations {
|
|
|
4580
4821
|
"application/json": {
|
|
4581
4822
|
id: number;
|
|
4582
4823
|
table_id: number;
|
|
4583
|
-
|
|
4824
|
+
/** @description Top-level field name in the user metadata (e.g., company_id, department_name) */
|
|
4825
|
+
context_variable: string;
|
|
4826
|
+
/** @description Comparison operator. Must be "=" or "!=". */
|
|
4584
4827
|
operator: string;
|
|
4585
|
-
|
|
4828
|
+
/** @description Static value to compare against, e.g. `user_123`. */
|
|
4829
|
+
value: string;
|
|
4586
4830
|
is_active: boolean;
|
|
4587
|
-
is_removed: boolean;
|
|
4588
4831
|
created_at: string;
|
|
4589
4832
|
updated_at: string;
|
|
4590
4833
|
};
|
|
@@ -4601,7 +4844,7 @@ declare interface operations {
|
|
|
4601
4844
|
};
|
|
4602
4845
|
};
|
|
4603
4846
|
};
|
|
4604
|
-
/** @description
|
|
4847
|
+
/** @description Access rule not found */
|
|
4605
4848
|
404: {
|
|
4606
4849
|
headers: {
|
|
4607
4850
|
[name: string]: unknown;
|
|
@@ -4625,7 +4868,7 @@ declare interface operations {
|
|
|
4625
4868
|
};
|
|
4626
4869
|
};
|
|
4627
4870
|
};
|
|
4628
|
-
|
|
4871
|
+
listTableColumns: {
|
|
4629
4872
|
parameters: {
|
|
4630
4873
|
query?: never;
|
|
4631
4874
|
header?: {
|
|
@@ -4638,7 +4881,7 @@ declare interface operations {
|
|
|
4638
4881
|
};
|
|
4639
4882
|
requestBody?: never;
|
|
4640
4883
|
responses: {
|
|
4641
|
-
/** @description
|
|
4884
|
+
/** @description Columns for the given table */
|
|
4642
4885
|
200: {
|
|
4643
4886
|
headers: {
|
|
4644
4887
|
[name: string]: unknown;
|
|
@@ -4647,17 +4890,19 @@ declare interface operations {
|
|
|
4647
4890
|
"application/json": {
|
|
4648
4891
|
id: number;
|
|
4649
4892
|
table_id: number;
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4893
|
+
name: string;
|
|
4894
|
+
data_type: string | null;
|
|
4895
|
+
description: string | null;
|
|
4896
|
+
/** @description Whether this column is visible to end users */
|
|
4897
|
+
is_visible: boolean;
|
|
4898
|
+
/** @description Whether this column is indexed for search and filtering */
|
|
4899
|
+
is_indexed: boolean;
|
|
4655
4900
|
created_at: string;
|
|
4656
4901
|
updated_at: string;
|
|
4657
|
-
};
|
|
4902
|
+
}[];
|
|
4658
4903
|
};
|
|
4659
4904
|
};
|
|
4660
|
-
/** @description
|
|
4905
|
+
/** @description Table not found */
|
|
4661
4906
|
404: {
|
|
4662
4907
|
headers: {
|
|
4663
4908
|
[name: string]: unknown;
|
|
@@ -4681,7 +4926,7 @@ declare interface operations {
|
|
|
4681
4926
|
};
|
|
4682
4927
|
};
|
|
4683
4928
|
};
|
|
4684
|
-
|
|
4929
|
+
getTableColumn: {
|
|
4685
4930
|
parameters: {
|
|
4686
4931
|
query?: never;
|
|
4687
4932
|
header?: {
|
|
@@ -4689,23 +4934,34 @@ declare interface operations {
|
|
|
4689
4934
|
};
|
|
4690
4935
|
path: {
|
|
4691
4936
|
id: number;
|
|
4937
|
+
columnId: number;
|
|
4692
4938
|
};
|
|
4693
4939
|
cookie?: never;
|
|
4694
4940
|
};
|
|
4695
4941
|
requestBody?: never;
|
|
4696
4942
|
responses: {
|
|
4697
|
-
/** @description
|
|
4943
|
+
/** @description The column */
|
|
4698
4944
|
200: {
|
|
4699
4945
|
headers: {
|
|
4700
4946
|
[name: string]: unknown;
|
|
4701
4947
|
};
|
|
4702
4948
|
content: {
|
|
4703
4949
|
"application/json": {
|
|
4704
|
-
|
|
4950
|
+
id: number;
|
|
4951
|
+
table_id: number;
|
|
4952
|
+
name: string;
|
|
4953
|
+
data_type: string | null;
|
|
4954
|
+
description: string | null;
|
|
4955
|
+
/** @description Whether this column is visible to end users */
|
|
4956
|
+
is_visible: boolean;
|
|
4957
|
+
/** @description Whether this column is indexed for search and filtering */
|
|
4958
|
+
is_indexed: boolean;
|
|
4959
|
+
created_at: string;
|
|
4960
|
+
updated_at: string;
|
|
4705
4961
|
};
|
|
4706
4962
|
};
|
|
4707
4963
|
};
|
|
4708
|
-
/** @description
|
|
4964
|
+
/** @description Column not found */
|
|
4709
4965
|
404: {
|
|
4710
4966
|
headers: {
|
|
4711
4967
|
[name: string]: unknown;
|
|
@@ -4729,7 +4985,7 @@ declare interface operations {
|
|
|
4729
4985
|
};
|
|
4730
4986
|
};
|
|
4731
4987
|
};
|
|
4732
|
-
|
|
4988
|
+
updateTableColumn: {
|
|
4733
4989
|
parameters: {
|
|
4734
4990
|
query?: never;
|
|
4735
4991
|
header?: {
|
|
@@ -4737,21 +4993,22 @@ declare interface operations {
|
|
|
4737
4993
|
};
|
|
4738
4994
|
path: {
|
|
4739
4995
|
id: number;
|
|
4996
|
+
columnId: number;
|
|
4740
4997
|
};
|
|
4741
4998
|
cookie?: never;
|
|
4742
4999
|
};
|
|
4743
5000
|
requestBody: {
|
|
4744
5001
|
content: {
|
|
4745
5002
|
"application/json": {
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
5003
|
+
/** @description Whether this column is visible to end users */
|
|
5004
|
+
is_visible?: boolean;
|
|
5005
|
+
/** @description Whether this column is indexed for search and filtering */
|
|
5006
|
+
is_indexed?: boolean;
|
|
4750
5007
|
};
|
|
4751
5008
|
};
|
|
4752
5009
|
};
|
|
4753
5010
|
responses: {
|
|
4754
|
-
/** @description Updated
|
|
5011
|
+
/** @description Updated column */
|
|
4755
5012
|
200: {
|
|
4756
5013
|
headers: {
|
|
4757
5014
|
[name: string]: unknown;
|
|
@@ -4760,11 +5017,13 @@ declare interface operations {
|
|
|
4760
5017
|
"application/json": {
|
|
4761
5018
|
id: number;
|
|
4762
5019
|
table_id: number;
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
5020
|
+
name: string;
|
|
5021
|
+
data_type: string | null;
|
|
5022
|
+
description: string | null;
|
|
5023
|
+
/** @description Whether this column is visible to end users */
|
|
5024
|
+
is_visible: boolean;
|
|
5025
|
+
/** @description Whether this column is indexed for search and filtering */
|
|
5026
|
+
is_indexed: boolean;
|
|
4768
5027
|
created_at: string;
|
|
4769
5028
|
updated_at: string;
|
|
4770
5029
|
};
|
|
@@ -4781,7 +5040,7 @@ declare interface operations {
|
|
|
4781
5040
|
};
|
|
4782
5041
|
};
|
|
4783
5042
|
};
|
|
4784
|
-
/** @description
|
|
5043
|
+
/** @description Column not found */
|
|
4785
5044
|
404: {
|
|
4786
5045
|
headers: {
|
|
4787
5046
|
[name: string]: unknown;
|
|
@@ -5441,132 +5700,132 @@ declare interface paths {
|
|
|
5441
5700
|
patch: operations["updateApplication"];
|
|
5442
5701
|
trace?: never;
|
|
5443
5702
|
};
|
|
5444
|
-
"/api/v1/
|
|
5703
|
+
"/api/v1/tables": {
|
|
5445
5704
|
parameters: {
|
|
5446
5705
|
query?: never;
|
|
5447
5706
|
header?: never;
|
|
5448
5707
|
path?: never;
|
|
5449
5708
|
cookie?: never;
|
|
5450
5709
|
};
|
|
5451
|
-
get: operations["
|
|
5710
|
+
get: operations["listTables"];
|
|
5452
5711
|
put?: never;
|
|
5453
|
-
post: operations["
|
|
5712
|
+
post: operations["createTable"];
|
|
5454
5713
|
delete?: never;
|
|
5455
5714
|
options?: never;
|
|
5456
5715
|
head?: never;
|
|
5457
5716
|
patch?: never;
|
|
5458
5717
|
trace?: never;
|
|
5459
5718
|
};
|
|
5460
|
-
"/api/v1/
|
|
5719
|
+
"/api/v1/tables/{id}": {
|
|
5461
5720
|
parameters: {
|
|
5462
5721
|
query?: never;
|
|
5463
5722
|
header?: never;
|
|
5464
5723
|
path?: never;
|
|
5465
5724
|
cookie?: never;
|
|
5466
5725
|
};
|
|
5467
|
-
get: operations["
|
|
5726
|
+
get: operations["getTable"];
|
|
5468
5727
|
put?: never;
|
|
5469
5728
|
post?: never;
|
|
5470
|
-
delete: operations["
|
|
5729
|
+
delete: operations["deleteTable"];
|
|
5471
5730
|
options?: never;
|
|
5472
5731
|
head?: never;
|
|
5473
|
-
patch: operations["
|
|
5732
|
+
patch: operations["updateTable"];
|
|
5474
5733
|
trace?: never;
|
|
5475
5734
|
};
|
|
5476
|
-
"/api/v1/
|
|
5735
|
+
"/api/v1/tables/{id}/rls": {
|
|
5477
5736
|
parameters: {
|
|
5478
5737
|
query?: never;
|
|
5479
5738
|
header?: never;
|
|
5480
5739
|
path?: never;
|
|
5481
5740
|
cookie?: never;
|
|
5482
5741
|
};
|
|
5483
|
-
get: operations["
|
|
5742
|
+
get: operations["listTableRls"];
|
|
5484
5743
|
put?: never;
|
|
5485
|
-
post
|
|
5744
|
+
post: operations["createTableRls"];
|
|
5486
5745
|
delete?: never;
|
|
5487
5746
|
options?: never;
|
|
5488
5747
|
head?: never;
|
|
5489
5748
|
patch?: never;
|
|
5490
5749
|
trace?: never;
|
|
5491
5750
|
};
|
|
5492
|
-
"/api/v1/
|
|
5751
|
+
"/api/v1/tables/{id}/rls/{rlsId}": {
|
|
5493
5752
|
parameters: {
|
|
5494
5753
|
query?: never;
|
|
5495
5754
|
header?: never;
|
|
5496
5755
|
path?: never;
|
|
5497
5756
|
cookie?: never;
|
|
5498
5757
|
};
|
|
5499
|
-
get: operations["
|
|
5758
|
+
get: operations["getTableRls"];
|
|
5500
5759
|
put?: never;
|
|
5501
5760
|
post?: never;
|
|
5502
|
-
delete
|
|
5761
|
+
delete: operations["deleteTableRls"];
|
|
5503
5762
|
options?: never;
|
|
5504
5763
|
head?: never;
|
|
5505
|
-
patch: operations["
|
|
5764
|
+
patch: operations["updateTableRls"];
|
|
5506
5765
|
trace?: never;
|
|
5507
5766
|
};
|
|
5508
|
-
"/api/v1/
|
|
5767
|
+
"/api/v1/tables/{id}/access": {
|
|
5509
5768
|
parameters: {
|
|
5510
5769
|
query?: never;
|
|
5511
5770
|
header?: never;
|
|
5512
5771
|
path?: never;
|
|
5513
5772
|
cookie?: never;
|
|
5514
5773
|
};
|
|
5515
|
-
get: operations["
|
|
5774
|
+
get: operations["listTableAccess"];
|
|
5516
5775
|
put?: never;
|
|
5517
|
-
post: operations["
|
|
5776
|
+
post: operations["createTableAccess"];
|
|
5518
5777
|
delete?: never;
|
|
5519
5778
|
options?: never;
|
|
5520
5779
|
head?: never;
|
|
5521
5780
|
patch?: never;
|
|
5522
5781
|
trace?: never;
|
|
5523
5782
|
};
|
|
5524
|
-
"/api/v1/
|
|
5783
|
+
"/api/v1/tables/{id}/access/{accessId}": {
|
|
5525
5784
|
parameters: {
|
|
5526
5785
|
query?: never;
|
|
5527
5786
|
header?: never;
|
|
5528
5787
|
path?: never;
|
|
5529
5788
|
cookie?: never;
|
|
5530
5789
|
};
|
|
5531
|
-
get: operations["
|
|
5790
|
+
get: operations["getTableAccess"];
|
|
5532
5791
|
put?: never;
|
|
5533
5792
|
post?: never;
|
|
5534
|
-
delete: operations["
|
|
5793
|
+
delete: operations["deleteTableAccess"];
|
|
5535
5794
|
options?: never;
|
|
5536
5795
|
head?: never;
|
|
5537
|
-
patch: operations["
|
|
5796
|
+
patch: operations["updateTableAccess"];
|
|
5538
5797
|
trace?: never;
|
|
5539
5798
|
};
|
|
5540
|
-
"/api/v1/
|
|
5799
|
+
"/api/v1/tables/{id}/columns": {
|
|
5541
5800
|
parameters: {
|
|
5542
5801
|
query?: never;
|
|
5543
5802
|
header?: never;
|
|
5544
5803
|
path?: never;
|
|
5545
5804
|
cookie?: never;
|
|
5546
5805
|
};
|
|
5547
|
-
get: operations["
|
|
5806
|
+
get: operations["listTableColumns"];
|
|
5548
5807
|
put?: never;
|
|
5549
|
-
post
|
|
5808
|
+
post?: never;
|
|
5550
5809
|
delete?: never;
|
|
5551
5810
|
options?: never;
|
|
5552
5811
|
head?: never;
|
|
5553
5812
|
patch?: never;
|
|
5554
5813
|
trace?: never;
|
|
5555
5814
|
};
|
|
5556
|
-
"/api/v1/
|
|
5815
|
+
"/api/v1/tables/{id}/columns/{columnId}": {
|
|
5557
5816
|
parameters: {
|
|
5558
5817
|
query?: never;
|
|
5559
5818
|
header?: never;
|
|
5560
5819
|
path?: never;
|
|
5561
5820
|
cookie?: never;
|
|
5562
5821
|
};
|
|
5563
|
-
get: operations["
|
|
5822
|
+
get: operations["getTableColumn"];
|
|
5564
5823
|
put?: never;
|
|
5565
5824
|
post?: never;
|
|
5566
|
-
delete
|
|
5825
|
+
delete?: never;
|
|
5567
5826
|
options?: never;
|
|
5568
5827
|
head?: never;
|
|
5569
|
-
patch: operations["
|
|
5828
|
+
patch: operations["updateTableColumn"];
|
|
5570
5829
|
trace?: never;
|
|
5571
5830
|
};
|
|
5572
5831
|
}
|