@perpetualsystems/typescript-sdk 0.4.1 → 0.4.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/generated/file-schemas.gen.js +4 -4
- package/dist/generated/file-schemas.gen.js.map +1 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +1 -1
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/sdk.gen.d.ts +13 -1
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/sdk.gen.js +56 -0
- package/dist/generated/sdk.gen.js.map +1 -1
- package/dist/generated/spec-source.gen.d.ts +3 -3
- package/dist/generated/spec-source.gen.js +3 -3
- package/dist/generated/types.gen.d.ts +151 -29
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/openapi/openapi.json +557 -58
- package/package.json +2 -2
- package/src/generated/file-schemas.gen.ts +4 -4
- package/src/generated/index.ts +2 -2
- package/src/generated/sdk.gen.ts +59 -1
- package/src/generated/spec-source.gen.ts +3 -3
- package/src/generated/types.gen.ts +161 -29
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
export const specSource = {
|
|
4
4
|
repository: "perpetualsystems/simba",
|
|
5
5
|
path: "ipc/management-plane/openapi-0.0.1-alpha1.json",
|
|
6
|
-
sha: "
|
|
7
|
-
sha256: "
|
|
8
|
-
fileSchemasSha: "
|
|
6
|
+
sha: "81dd672f7a1f909047f49443b77221b86fe726b7",
|
|
7
|
+
sha256: "7c179925cefbeee83fe759b7ca75154a3d1cb21372181f3d888d1abcdcb690fd",
|
|
8
|
+
fileSchemasSha: "81dd672f7a1f909047f49443b77221b86fe726b7",
|
|
9
9
|
} as const;
|
|
@@ -5473,12 +5473,11 @@ export type ChangesetsGetResponses = {
|
|
|
5473
5473
|
x: number;
|
|
5474
5474
|
y: number;
|
|
5475
5475
|
};
|
|
5476
|
-
queries
|
|
5476
|
+
queries: Array<{
|
|
5477
5477
|
id: string;
|
|
5478
5478
|
name: string;
|
|
5479
5479
|
query: string;
|
|
5480
5480
|
}>;
|
|
5481
|
-
query?: string;
|
|
5482
5481
|
spec: {
|
|
5483
5482
|
[key: string]: unknown;
|
|
5484
5483
|
};
|
|
@@ -5661,6 +5660,10 @@ export type ChangesetsGetResponses = {
|
|
|
5661
5660
|
baseVersion: number | null;
|
|
5662
5661
|
changesetId: string | null;
|
|
5663
5662
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
5663
|
+
/**
|
|
5664
|
+
* The state connector that fills this lookup. Null for a lookup that does not use a connector. Set at create and cannot change.
|
|
5665
|
+
*/
|
|
5666
|
+
connectorId?: string | null;
|
|
5664
5667
|
contentPackId?: string;
|
|
5665
5668
|
createdAt: string;
|
|
5666
5669
|
createdByUserId: string | null;
|
|
@@ -8283,6 +8286,7 @@ export type ConnectorsListBuiltinKindsResponses = {
|
|
|
8283
8286
|
label: string;
|
|
8284
8287
|
required: boolean;
|
|
8285
8288
|
}>;
|
|
8289
|
+
datasetKind?: 'event' | 'state';
|
|
8286
8290
|
description?: string;
|
|
8287
8291
|
displayName: string;
|
|
8288
8292
|
iconUrl?: string;
|
|
@@ -9044,8 +9048,9 @@ export type ContentListResponses = {
|
|
|
9044
9048
|
detectionMaturity?: 'EXPERIMENTAL' | 'TEST' | 'STABLE' | 'DEPRECATED';
|
|
9045
9049
|
folderPath: string;
|
|
9046
9050
|
id: string;
|
|
9047
|
-
lookupType?: 'Static' | 'Computed';
|
|
9051
|
+
lookupType?: 'Static' | 'Computed' | 'Connector';
|
|
9048
9052
|
name: string;
|
|
9053
|
+
packLinked?: boolean;
|
|
9049
9054
|
parentFolderId?: string | null;
|
|
9050
9055
|
readOnly?: boolean;
|
|
9051
9056
|
spaceId: string;
|
|
@@ -9127,6 +9132,7 @@ export type ContentPackInstallationsListResponses = {
|
|
|
9127
9132
|
items: Array<{
|
|
9128
9133
|
automaticUpdateFailed: boolean;
|
|
9129
9134
|
automaticUpdatePending: boolean;
|
|
9135
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
9130
9136
|
changesetId: string | null;
|
|
9131
9137
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
9132
9138
|
contentPackId: string;
|
|
@@ -9325,6 +9331,7 @@ export type ContentPackInstallationsInstallResponses = {
|
|
|
9325
9331
|
installation: {
|
|
9326
9332
|
automaticUpdateFailed: boolean;
|
|
9327
9333
|
automaticUpdatePending: boolean;
|
|
9334
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
9328
9335
|
changesetId: string | null;
|
|
9329
9336
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
9330
9337
|
contentPackId: string;
|
|
@@ -9418,6 +9425,7 @@ export type ContentPackInstallationsBatchUpdateResponses = {
|
|
|
9418
9425
|
installations: Array<{
|
|
9419
9426
|
automaticUpdateFailed: boolean;
|
|
9420
9427
|
automaticUpdatePending: boolean;
|
|
9428
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
9421
9429
|
changesetId: string | null;
|
|
9422
9430
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
9423
9431
|
contentPackId: string;
|
|
@@ -9532,6 +9540,7 @@ export type ContentPackInstallationsLinkResponses = {
|
|
|
9532
9540
|
installation: {
|
|
9533
9541
|
automaticUpdateFailed: boolean;
|
|
9534
9542
|
automaticUpdatePending: boolean;
|
|
9543
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
9535
9544
|
changesetId: string | null;
|
|
9536
9545
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
9537
9546
|
contentPackId: string;
|
|
@@ -9568,6 +9577,61 @@ export type ContentPackInstallationsLinkResponses = {
|
|
|
9568
9577
|
|
|
9569
9578
|
export type ContentPackInstallationsLinkResponse = ContentPackInstallationsLinkResponses[keyof ContentPackInstallationsLinkResponses];
|
|
9570
9579
|
|
|
9580
|
+
export type ContentPackInstallationsSettlePackUpdateData = {
|
|
9581
|
+
body: {
|
|
9582
|
+
action: 'keep-local' | 'take-pack' | 'delete' | 'detach';
|
|
9583
|
+
changesetId: string;
|
|
9584
|
+
resolvedFields?: {
|
|
9585
|
+
[key: string]: unknown;
|
|
9586
|
+
};
|
|
9587
|
+
resourceId: string;
|
|
9588
|
+
} | {
|
|
9589
|
+
action: 'resolve-fields';
|
|
9590
|
+
changesetId: string;
|
|
9591
|
+
resolvedFields: {
|
|
9592
|
+
[key: string]: unknown;
|
|
9593
|
+
};
|
|
9594
|
+
resourceId: string;
|
|
9595
|
+
};
|
|
9596
|
+
path: {
|
|
9597
|
+
orgId: string;
|
|
9598
|
+
};
|
|
9599
|
+
query?: never;
|
|
9600
|
+
url: '/org/{orgId}/content-pack-installations/settle-pack-update';
|
|
9601
|
+
};
|
|
9602
|
+
|
|
9603
|
+
export type ContentPackInstallationsSettlePackUpdateErrors = {
|
|
9604
|
+
/**
|
|
9605
|
+
* 400
|
|
9606
|
+
*/
|
|
9607
|
+
400: BadRequestError;
|
|
9608
|
+
/**
|
|
9609
|
+
* 401
|
|
9610
|
+
*/
|
|
9611
|
+
401: UnauthorizedError;
|
|
9612
|
+
/**
|
|
9613
|
+
* 403
|
|
9614
|
+
*/
|
|
9615
|
+
403: ForbiddenError;
|
|
9616
|
+
/**
|
|
9617
|
+
* 404
|
|
9618
|
+
*/
|
|
9619
|
+
404: NotFoundError;
|
|
9620
|
+
};
|
|
9621
|
+
|
|
9622
|
+
export type ContentPackInstallationsSettlePackUpdateError = ContentPackInstallationsSettlePackUpdateErrors[keyof ContentPackInstallationsSettlePackUpdateErrors];
|
|
9623
|
+
|
|
9624
|
+
export type ContentPackInstallationsSettlePackUpdateResponses = {
|
|
9625
|
+
/**
|
|
9626
|
+
* OK
|
|
9627
|
+
*/
|
|
9628
|
+
200: {
|
|
9629
|
+
ok: true;
|
|
9630
|
+
};
|
|
9631
|
+
};
|
|
9632
|
+
|
|
9633
|
+
export type ContentPackInstallationsSettlePackUpdateResponse = ContentPackInstallationsSettlePackUpdateResponses[keyof ContentPackInstallationsSettlePackUpdateResponses];
|
|
9634
|
+
|
|
9571
9635
|
export type ContentPackInstallationsGetByIdData = {
|
|
9572
9636
|
body?: never;
|
|
9573
9637
|
path: {
|
|
@@ -9607,6 +9671,7 @@ export type ContentPackInstallationsGetByIdResponses = {
|
|
|
9607
9671
|
200: {
|
|
9608
9672
|
automaticUpdateFailed: boolean;
|
|
9609
9673
|
automaticUpdatePending: boolean;
|
|
9674
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
9610
9675
|
changesetId: string | null;
|
|
9611
9676
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
9612
9677
|
contentPackId: string;
|
|
@@ -9680,6 +9745,7 @@ export type ContentPackInstallationsUpdateInstallDeployedResponses = {
|
|
|
9680
9745
|
200: {
|
|
9681
9746
|
automaticUpdateFailed: boolean;
|
|
9682
9747
|
automaticUpdatePending: boolean;
|
|
9748
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
9683
9749
|
changesetId: string | null;
|
|
9684
9750
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
9685
9751
|
contentPackId: string;
|
|
@@ -9757,6 +9823,7 @@ export type ContentPackInstallationsUpdateLinkModeResponses = {
|
|
|
9757
9823
|
200: {
|
|
9758
9824
|
automaticUpdateFailed: boolean;
|
|
9759
9825
|
automaticUpdatePending: boolean;
|
|
9826
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
9760
9827
|
changesetId: string | null;
|
|
9761
9828
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
9762
9829
|
contentPackId: string;
|
|
@@ -9980,6 +10047,7 @@ export type ContentPackInstallationsUpdateResponses = {
|
|
|
9980
10047
|
installation: {
|
|
9981
10048
|
automaticUpdateFailed: boolean;
|
|
9982
10049
|
automaticUpdatePending: boolean;
|
|
10050
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
9983
10051
|
changesetId: string | null;
|
|
9984
10052
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
9985
10053
|
contentPackId: string;
|
|
@@ -10465,8 +10533,9 @@ export type ContentPacksListContentResponses = {
|
|
|
10465
10533
|
detectionMaturity?: 'EXPERIMENTAL' | 'TEST' | 'STABLE' | 'DEPRECATED';
|
|
10466
10534
|
folderPath: string;
|
|
10467
10535
|
id: string;
|
|
10468
|
-
lookupType?: 'Static' | 'Computed';
|
|
10536
|
+
lookupType?: 'Static' | 'Computed' | 'Connector';
|
|
10469
10537
|
name: string;
|
|
10538
|
+
packLinked?: boolean;
|
|
10470
10539
|
parentFolderId?: string | null;
|
|
10471
10540
|
readOnly?: boolean;
|
|
10472
10541
|
type: 'Folder' | 'Detection' | 'Dashboard' | 'Integration' | 'Lookup' | 'WebhookConfig' | 'HttpToolConfig' | 'McpConfig' | 'Skill';
|
|
@@ -10493,12 +10562,11 @@ export type ContentPacksDashboardsCreateData = {
|
|
|
10493
10562
|
x: number;
|
|
10494
10563
|
y: number;
|
|
10495
10564
|
};
|
|
10496
|
-
queries
|
|
10565
|
+
queries: Array<{
|
|
10497
10566
|
id: string;
|
|
10498
10567
|
name: string;
|
|
10499
10568
|
query: string;
|
|
10500
10569
|
}>;
|
|
10501
|
-
query?: string;
|
|
10502
10570
|
spec: {
|
|
10503
10571
|
[key: string]: unknown;
|
|
10504
10572
|
};
|
|
@@ -10645,12 +10713,11 @@ export type ContentPacksDashboardsCreateResponses = {
|
|
|
10645
10713
|
x: number;
|
|
10646
10714
|
y: number;
|
|
10647
10715
|
};
|
|
10648
|
-
queries
|
|
10716
|
+
queries: Array<{
|
|
10649
10717
|
id: string;
|
|
10650
10718
|
name: string;
|
|
10651
10719
|
query: string;
|
|
10652
10720
|
}>;
|
|
10653
|
-
query?: string;
|
|
10654
10721
|
spec: {
|
|
10655
10722
|
[key: string]: unknown;
|
|
10656
10723
|
};
|
|
@@ -10833,12 +10900,11 @@ export type ContentPacksDashboardsGetByIdResponses = {
|
|
|
10833
10900
|
x: number;
|
|
10834
10901
|
y: number;
|
|
10835
10902
|
};
|
|
10836
|
-
queries
|
|
10903
|
+
queries: Array<{
|
|
10837
10904
|
id: string;
|
|
10838
10905
|
name: string;
|
|
10839
10906
|
query: string;
|
|
10840
10907
|
}>;
|
|
10841
|
-
query?: string;
|
|
10842
10908
|
spec: {
|
|
10843
10909
|
[key: string]: unknown;
|
|
10844
10910
|
};
|
|
@@ -10938,12 +11004,11 @@ export type ContentPacksDashboardsUpdateData = {
|
|
|
10938
11004
|
x: number;
|
|
10939
11005
|
y: number;
|
|
10940
11006
|
};
|
|
10941
|
-
queries
|
|
11007
|
+
queries: Array<{
|
|
10942
11008
|
id: string;
|
|
10943
11009
|
name: string;
|
|
10944
11010
|
query: string;
|
|
10945
11011
|
}>;
|
|
10946
|
-
query?: string;
|
|
10947
11012
|
spec: {
|
|
10948
11013
|
[key: string]: unknown;
|
|
10949
11014
|
};
|
|
@@ -11074,12 +11139,11 @@ export type ContentPacksDashboardsUpdateResponses = {
|
|
|
11074
11139
|
x: number;
|
|
11075
11140
|
y: number;
|
|
11076
11141
|
};
|
|
11077
|
-
queries
|
|
11142
|
+
queries: Array<{
|
|
11078
11143
|
id: string;
|
|
11079
11144
|
name: string;
|
|
11080
11145
|
query: string;
|
|
11081
11146
|
}>;
|
|
11082
|
-
query?: string;
|
|
11083
11147
|
spec: {
|
|
11084
11148
|
[key: string]: unknown;
|
|
11085
11149
|
};
|
|
@@ -14917,12 +14981,11 @@ export type ContentPacksGetContentTemplateResponses = {
|
|
|
14917
14981
|
x: number;
|
|
14918
14982
|
y: number;
|
|
14919
14983
|
};
|
|
14920
|
-
queries
|
|
14984
|
+
queries: Array<{
|
|
14921
14985
|
id: string;
|
|
14922
14986
|
name: string;
|
|
14923
14987
|
query: string;
|
|
14924
14988
|
}>;
|
|
14925
|
-
query?: string;
|
|
14926
14989
|
spec: {
|
|
14927
14990
|
[key: string]: unknown;
|
|
14928
14991
|
};
|
|
@@ -15865,6 +15928,58 @@ export type ContentSetDeployPreviewResponses = {
|
|
|
15865
15928
|
|
|
15866
15929
|
export type ContentSetDeployPreviewResponse = ContentSetDeployPreviewResponses[keyof ContentSetDeployPreviewResponses];
|
|
15867
15930
|
|
|
15931
|
+
export type ContentEditedPackFieldsData = {
|
|
15932
|
+
body?: never;
|
|
15933
|
+
path: {
|
|
15934
|
+
orgId: string;
|
|
15935
|
+
type: 'Folder' | 'Detection' | 'Dashboard' | 'Integration' | 'Lookup' | 'WebhookConfig' | 'HttpToolConfig' | 'McpConfig' | 'Skill' | 'Parser' | 'Mapper';
|
|
15936
|
+
id: string;
|
|
15937
|
+
};
|
|
15938
|
+
query?: {
|
|
15939
|
+
/**
|
|
15940
|
+
* Optional changeset ID to view proposed changes
|
|
15941
|
+
*/
|
|
15942
|
+
changesetId?: string;
|
|
15943
|
+
};
|
|
15944
|
+
url: '/org/{orgId}/content/{type}/{id}/edited-pack-fields';
|
|
15945
|
+
};
|
|
15946
|
+
|
|
15947
|
+
export type ContentEditedPackFieldsErrors = {
|
|
15948
|
+
/**
|
|
15949
|
+
* 401
|
|
15950
|
+
*/
|
|
15951
|
+
401: UnauthorizedError;
|
|
15952
|
+
/**
|
|
15953
|
+
* 403
|
|
15954
|
+
*/
|
|
15955
|
+
403: ForbiddenError;
|
|
15956
|
+
/**
|
|
15957
|
+
* 404
|
|
15958
|
+
*/
|
|
15959
|
+
404: NotFoundError;
|
|
15960
|
+
};
|
|
15961
|
+
|
|
15962
|
+
export type ContentEditedPackFieldsError = ContentEditedPackFieldsErrors[keyof ContentEditedPackFieldsErrors];
|
|
15963
|
+
|
|
15964
|
+
export type ContentEditedPackFieldsResponses = {
|
|
15965
|
+
/**
|
|
15966
|
+
* OK
|
|
15967
|
+
*/
|
|
15968
|
+
200: {
|
|
15969
|
+
fields: Array<{
|
|
15970
|
+
basisValue?: null | boolean | {
|
|
15971
|
+
[key: string]: unknown;
|
|
15972
|
+
} | Array<unknown> | number | string | null;
|
|
15973
|
+
fieldName: string;
|
|
15974
|
+
installedValue?: null | boolean | {
|
|
15975
|
+
[key: string]: unknown;
|
|
15976
|
+
} | Array<unknown> | number | string | null;
|
|
15977
|
+
}>;
|
|
15978
|
+
};
|
|
15979
|
+
};
|
|
15980
|
+
|
|
15981
|
+
export type ContentEditedPackFieldsResponse = ContentEditedPackFieldsResponses[keyof ContentEditedPackFieldsResponses];
|
|
15982
|
+
|
|
15868
15983
|
export type CredentialsListData = {
|
|
15869
15984
|
body?: never;
|
|
15870
15985
|
path: {
|
|
@@ -16988,12 +17103,11 @@ export type DashboardsListResponses = {
|
|
|
16988
17103
|
x: number;
|
|
16989
17104
|
y: number;
|
|
16990
17105
|
};
|
|
16991
|
-
queries
|
|
17106
|
+
queries: Array<{
|
|
16992
17107
|
id: string;
|
|
16993
17108
|
name: string;
|
|
16994
17109
|
query: string;
|
|
16995
17110
|
}>;
|
|
16996
|
-
query?: string;
|
|
16997
17111
|
spec: {
|
|
16998
17112
|
[key: string]: unknown;
|
|
16999
17113
|
};
|
|
@@ -17102,12 +17216,11 @@ export type DashboardsCreateData = {
|
|
|
17102
17216
|
x: number;
|
|
17103
17217
|
y: number;
|
|
17104
17218
|
};
|
|
17105
|
-
queries
|
|
17219
|
+
queries: Array<{
|
|
17106
17220
|
id: string;
|
|
17107
17221
|
name: string;
|
|
17108
17222
|
query: string;
|
|
17109
17223
|
}>;
|
|
17110
|
-
query?: string;
|
|
17111
17224
|
spec: {
|
|
17112
17225
|
[key: string]: unknown;
|
|
17113
17226
|
};
|
|
@@ -17266,12 +17379,11 @@ export type DashboardsCreateResponses = {
|
|
|
17266
17379
|
x: number;
|
|
17267
17380
|
y: number;
|
|
17268
17381
|
};
|
|
17269
|
-
queries
|
|
17382
|
+
queries: Array<{
|
|
17270
17383
|
id: string;
|
|
17271
17384
|
name: string;
|
|
17272
17385
|
query: string;
|
|
17273
17386
|
}>;
|
|
17274
|
-
query?: string;
|
|
17275
17387
|
spec: {
|
|
17276
17388
|
[key: string]: unknown;
|
|
17277
17389
|
};
|
|
@@ -17543,12 +17655,11 @@ export type DashboardsGetByIdResponses = {
|
|
|
17543
17655
|
x: number;
|
|
17544
17656
|
y: number;
|
|
17545
17657
|
};
|
|
17546
|
-
queries
|
|
17658
|
+
queries: Array<{
|
|
17547
17659
|
id: string;
|
|
17548
17660
|
name: string;
|
|
17549
17661
|
query: string;
|
|
17550
17662
|
}>;
|
|
17551
|
-
query?: string;
|
|
17552
17663
|
spec: {
|
|
17553
17664
|
[key: string]: unknown;
|
|
17554
17665
|
};
|
|
@@ -17648,12 +17759,11 @@ export type DashboardsUpdateData = {
|
|
|
17648
17759
|
x: number;
|
|
17649
17760
|
y: number;
|
|
17650
17761
|
};
|
|
17651
|
-
queries
|
|
17762
|
+
queries: Array<{
|
|
17652
17763
|
id: string;
|
|
17653
17764
|
name: string;
|
|
17654
17765
|
query: string;
|
|
17655
17766
|
}>;
|
|
17656
|
-
query?: string;
|
|
17657
17767
|
spec: {
|
|
17658
17768
|
[key: string]: unknown;
|
|
17659
17769
|
};
|
|
@@ -17799,12 +17909,11 @@ export type DashboardsUpdateResponses = {
|
|
|
17799
17909
|
x: number;
|
|
17800
17910
|
y: number;
|
|
17801
17911
|
};
|
|
17802
|
-
queries
|
|
17912
|
+
queries: Array<{
|
|
17803
17913
|
id: string;
|
|
17804
17914
|
name: string;
|
|
17805
17915
|
query: string;
|
|
17806
17916
|
}>;
|
|
17807
|
-
query?: string;
|
|
17808
17917
|
spec: {
|
|
17809
17918
|
[key: string]: unknown;
|
|
17810
17919
|
};
|
|
@@ -22332,6 +22441,10 @@ export type LookupsListResponses = {
|
|
|
22332
22441
|
archived: boolean;
|
|
22333
22442
|
changesetId: string | null;
|
|
22334
22443
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
22444
|
+
/**
|
|
22445
|
+
* The state connector that fills this lookup. Null for a lookup that does not use a connector. Set at create and cannot change.
|
|
22446
|
+
*/
|
|
22447
|
+
connectorId?: string | null;
|
|
22335
22448
|
createdAt: string;
|
|
22336
22449
|
createdByUserId: string | null;
|
|
22337
22450
|
deleted?: boolean;
|
|
@@ -22413,6 +22526,10 @@ export type LookupsCreateData = {
|
|
|
22413
22526
|
body: {
|
|
22414
22527
|
archived?: boolean;
|
|
22415
22528
|
changesetId?: string;
|
|
22529
|
+
/**
|
|
22530
|
+
* State connector that fills this lookup. The lookup is deployed and backed by a table that reads the connector. Set at create and cannot change.
|
|
22531
|
+
*/
|
|
22532
|
+
connectorId?: string;
|
|
22416
22533
|
/**
|
|
22417
22534
|
* Whether the lookup is deployed. A deployed lookup has a backing dataset that queries can join against.
|
|
22418
22535
|
*/
|
|
@@ -22421,7 +22538,10 @@ export type LookupsCreateData = {
|
|
|
22421
22538
|
keyColumns?: Array<string>;
|
|
22422
22539
|
name: string;
|
|
22423
22540
|
originKey?: string;
|
|
22424
|
-
|
|
22541
|
+
/**
|
|
22542
|
+
* The Hamelin query. Optional when connectorId is set: the default query is FROM source | SET source_id = state.id. A custom query must start with FROM source and must output a string column source_id.
|
|
22543
|
+
*/
|
|
22544
|
+
query?: string;
|
|
22425
22545
|
sourceFormat?: 'parsed_lines' | 'csv';
|
|
22426
22546
|
spaceId: string;
|
|
22427
22547
|
};
|
|
@@ -22474,6 +22594,10 @@ export type LookupsCreateResponses = {
|
|
|
22474
22594
|
archived: boolean;
|
|
22475
22595
|
changesetId: string | null;
|
|
22476
22596
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
22597
|
+
/**
|
|
22598
|
+
* The state connector that fills this lookup. Null for a lookup that does not use a connector. Set at create and cannot change.
|
|
22599
|
+
*/
|
|
22600
|
+
connectorId?: string | null;
|
|
22477
22601
|
createdAt: string;
|
|
22478
22602
|
createdByUserId: string | null;
|
|
22479
22603
|
deleted?: boolean;
|
|
@@ -22625,6 +22749,10 @@ export type LookupsGetByIdResponses = {
|
|
|
22625
22749
|
archived: boolean;
|
|
22626
22750
|
changesetId: string | null;
|
|
22627
22751
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
22752
|
+
/**
|
|
22753
|
+
* The state connector that fills this lookup. Null for a lookup that does not use a connector. Set at create and cannot change.
|
|
22754
|
+
*/
|
|
22755
|
+
connectorId?: string | null;
|
|
22628
22756
|
createdAt: string;
|
|
22629
22757
|
createdByUserId: string | null;
|
|
22630
22758
|
deleted?: boolean;
|
|
@@ -22749,6 +22877,10 @@ export type LookupsUpdateResponses = {
|
|
|
22749
22877
|
archived: boolean;
|
|
22750
22878
|
changesetId: string | null;
|
|
22751
22879
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
22880
|
+
/**
|
|
22881
|
+
* The state connector that fills this lookup. Null for a lookup that does not use a connector. Set at create and cannot change.
|
|
22882
|
+
*/
|
|
22883
|
+
connectorId?: string | null;
|
|
22752
22884
|
createdAt: string;
|
|
22753
22885
|
createdByUserId: string | null;
|
|
22754
22886
|
deleted?: boolean;
|