@perpetualsystems/typescript-sdk 0.4.2 → 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/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 +107 -0
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/openapi/openapi.json +422 -0
- package/package.json +1 -1
- 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 +117 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const specSource: {
|
|
2
2
|
readonly repository: "perpetualsystems/simba";
|
|
3
3
|
readonly path: "ipc/management-plane/openapi-0.0.1-alpha1.json";
|
|
4
|
-
readonly sha: "
|
|
5
|
-
readonly sha256: "
|
|
6
|
-
readonly fileSchemasSha: "
|
|
4
|
+
readonly sha: "81dd672f7a1f909047f49443b77221b86fe726b7";
|
|
5
|
+
readonly sha256: "7c179925cefbeee83fe759b7ca75154a3d1cb21372181f3d888d1abcdcb690fd";
|
|
6
|
+
readonly fileSchemasSha: "81dd672f7a1f909047f49443b77221b86fe726b7";
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=spec-source.gen.d.ts.map
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
export const specSource = {
|
|
3
3
|
repository: "perpetualsystems/simba",
|
|
4
4
|
path: "ipc/management-plane/openapi-0.0.1-alpha1.json",
|
|
5
|
-
sha: "
|
|
6
|
-
sha256: "
|
|
7
|
-
fileSchemasSha: "
|
|
5
|
+
sha: "81dd672f7a1f909047f49443b77221b86fe726b7",
|
|
6
|
+
sha256: "7c179925cefbeee83fe759b7ca75154a3d1cb21372181f3d888d1abcdcb690fd",
|
|
7
|
+
fileSchemasSha: "81dd672f7a1f909047f49443b77221b86fe726b7",
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=spec-source.gen.js.map
|
|
@@ -8503,6 +8503,7 @@ export type ContentListResponses = {
|
|
|
8503
8503
|
id: string;
|
|
8504
8504
|
lookupType?: 'Static' | 'Computed' | 'Connector';
|
|
8505
8505
|
name: string;
|
|
8506
|
+
packLinked?: boolean;
|
|
8506
8507
|
parentFolderId?: string | null;
|
|
8507
8508
|
readOnly?: boolean;
|
|
8508
8509
|
spaceId: string;
|
|
@@ -8579,6 +8580,7 @@ export type ContentPackInstallationsListResponses = {
|
|
|
8579
8580
|
items: Array<{
|
|
8580
8581
|
automaticUpdateFailed: boolean;
|
|
8581
8582
|
automaticUpdatePending: boolean;
|
|
8583
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
8582
8584
|
changesetId: string | null;
|
|
8583
8585
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
8584
8586
|
contentPackId: string;
|
|
@@ -8772,6 +8774,7 @@ export type ContentPackInstallationsInstallResponses = {
|
|
|
8772
8774
|
installation: {
|
|
8773
8775
|
automaticUpdateFailed: boolean;
|
|
8774
8776
|
automaticUpdatePending: boolean;
|
|
8777
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
8775
8778
|
changesetId: string | null;
|
|
8776
8779
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
8777
8780
|
contentPackId: string;
|
|
@@ -8860,6 +8863,7 @@ export type ContentPackInstallationsBatchUpdateResponses = {
|
|
|
8860
8863
|
installations: Array<{
|
|
8861
8864
|
automaticUpdateFailed: boolean;
|
|
8862
8865
|
automaticUpdatePending: boolean;
|
|
8866
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
8863
8867
|
changesetId: string | null;
|
|
8864
8868
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
8865
8869
|
contentPackId: string;
|
|
@@ -8969,6 +8973,7 @@ export type ContentPackInstallationsLinkResponses = {
|
|
|
8969
8973
|
installation: {
|
|
8970
8974
|
automaticUpdateFailed: boolean;
|
|
8971
8975
|
automaticUpdatePending: boolean;
|
|
8976
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
8972
8977
|
changesetId: string | null;
|
|
8973
8978
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
8974
8979
|
contentPackId: string;
|
|
@@ -9003,6 +9008,56 @@ export type ContentPackInstallationsLinkResponses = {
|
|
|
9003
9008
|
};
|
|
9004
9009
|
};
|
|
9005
9010
|
export type ContentPackInstallationsLinkResponse = ContentPackInstallationsLinkResponses[keyof ContentPackInstallationsLinkResponses];
|
|
9011
|
+
export type ContentPackInstallationsSettlePackUpdateData = {
|
|
9012
|
+
body: {
|
|
9013
|
+
action: 'keep-local' | 'take-pack' | 'delete' | 'detach';
|
|
9014
|
+
changesetId: string;
|
|
9015
|
+
resolvedFields?: {
|
|
9016
|
+
[key: string]: unknown;
|
|
9017
|
+
};
|
|
9018
|
+
resourceId: string;
|
|
9019
|
+
} | {
|
|
9020
|
+
action: 'resolve-fields';
|
|
9021
|
+
changesetId: string;
|
|
9022
|
+
resolvedFields: {
|
|
9023
|
+
[key: string]: unknown;
|
|
9024
|
+
};
|
|
9025
|
+
resourceId: string;
|
|
9026
|
+
};
|
|
9027
|
+
path: {
|
|
9028
|
+
orgId: string;
|
|
9029
|
+
};
|
|
9030
|
+
query?: never;
|
|
9031
|
+
url: '/org/{orgId}/content-pack-installations/settle-pack-update';
|
|
9032
|
+
};
|
|
9033
|
+
export type ContentPackInstallationsSettlePackUpdateErrors = {
|
|
9034
|
+
/**
|
|
9035
|
+
* 400
|
|
9036
|
+
*/
|
|
9037
|
+
400: BadRequestError;
|
|
9038
|
+
/**
|
|
9039
|
+
* 401
|
|
9040
|
+
*/
|
|
9041
|
+
401: UnauthorizedError;
|
|
9042
|
+
/**
|
|
9043
|
+
* 403
|
|
9044
|
+
*/
|
|
9045
|
+
403: ForbiddenError;
|
|
9046
|
+
/**
|
|
9047
|
+
* 404
|
|
9048
|
+
*/
|
|
9049
|
+
404: NotFoundError;
|
|
9050
|
+
};
|
|
9051
|
+
export type ContentPackInstallationsSettlePackUpdateError = ContentPackInstallationsSettlePackUpdateErrors[keyof ContentPackInstallationsSettlePackUpdateErrors];
|
|
9052
|
+
export type ContentPackInstallationsSettlePackUpdateResponses = {
|
|
9053
|
+
/**
|
|
9054
|
+
* OK
|
|
9055
|
+
*/
|
|
9056
|
+
200: {
|
|
9057
|
+
ok: true;
|
|
9058
|
+
};
|
|
9059
|
+
};
|
|
9060
|
+
export type ContentPackInstallationsSettlePackUpdateResponse = ContentPackInstallationsSettlePackUpdateResponses[keyof ContentPackInstallationsSettlePackUpdateResponses];
|
|
9006
9061
|
export type ContentPackInstallationsGetByIdData = {
|
|
9007
9062
|
body?: never;
|
|
9008
9063
|
path: {
|
|
@@ -9039,6 +9094,7 @@ export type ContentPackInstallationsGetByIdResponses = {
|
|
|
9039
9094
|
200: {
|
|
9040
9095
|
automaticUpdateFailed: boolean;
|
|
9041
9096
|
automaticUpdatePending: boolean;
|
|
9097
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
9042
9098
|
changesetId: string | null;
|
|
9043
9099
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
9044
9100
|
contentPackId: string;
|
|
@@ -9107,6 +9163,7 @@ export type ContentPackInstallationsUpdateInstallDeployedResponses = {
|
|
|
9107
9163
|
200: {
|
|
9108
9164
|
automaticUpdateFailed: boolean;
|
|
9109
9165
|
automaticUpdatePending: boolean;
|
|
9166
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
9110
9167
|
changesetId: string | null;
|
|
9111
9168
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
9112
9169
|
contentPackId: string;
|
|
@@ -9179,6 +9236,7 @@ export type ContentPackInstallationsUpdateLinkModeResponses = {
|
|
|
9179
9236
|
200: {
|
|
9180
9237
|
automaticUpdateFailed: boolean;
|
|
9181
9238
|
automaticUpdatePending: boolean;
|
|
9239
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
9182
9240
|
changesetId: string | null;
|
|
9183
9241
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
9184
9242
|
contentPackId: string;
|
|
@@ -9387,6 +9445,7 @@ export type ContentPackInstallationsUpdateResponses = {
|
|
|
9387
9445
|
installation: {
|
|
9388
9446
|
automaticUpdateFailed: boolean;
|
|
9389
9447
|
automaticUpdatePending: boolean;
|
|
9448
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
9390
9449
|
changesetId: string | null;
|
|
9391
9450
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
9392
9451
|
contentPackId: string;
|
|
@@ -9839,6 +9898,7 @@ export type ContentPacksListContentResponses = {
|
|
|
9839
9898
|
id: string;
|
|
9840
9899
|
lookupType?: 'Static' | 'Computed' | 'Connector';
|
|
9841
9900
|
name: string;
|
|
9901
|
+
packLinked?: boolean;
|
|
9842
9902
|
parentFolderId?: string | null;
|
|
9843
9903
|
readOnly?: boolean;
|
|
9844
9904
|
type: 'Folder' | 'Detection' | 'Dashboard' | 'Integration' | 'Lookup' | 'WebhookConfig' | 'HttpToolConfig' | 'McpConfig' | 'Skill';
|
|
@@ -14899,6 +14959,53 @@ export type ContentSetDeployPreviewResponses = {
|
|
|
14899
14959
|
};
|
|
14900
14960
|
};
|
|
14901
14961
|
export type ContentSetDeployPreviewResponse = ContentSetDeployPreviewResponses[keyof ContentSetDeployPreviewResponses];
|
|
14962
|
+
export type ContentEditedPackFieldsData = {
|
|
14963
|
+
body?: never;
|
|
14964
|
+
path: {
|
|
14965
|
+
orgId: string;
|
|
14966
|
+
type: 'Folder' | 'Detection' | 'Dashboard' | 'Integration' | 'Lookup' | 'WebhookConfig' | 'HttpToolConfig' | 'McpConfig' | 'Skill' | 'Parser' | 'Mapper';
|
|
14967
|
+
id: string;
|
|
14968
|
+
};
|
|
14969
|
+
query?: {
|
|
14970
|
+
/**
|
|
14971
|
+
* Optional changeset ID to view proposed changes
|
|
14972
|
+
*/
|
|
14973
|
+
changesetId?: string;
|
|
14974
|
+
};
|
|
14975
|
+
url: '/org/{orgId}/content/{type}/{id}/edited-pack-fields';
|
|
14976
|
+
};
|
|
14977
|
+
export type ContentEditedPackFieldsErrors = {
|
|
14978
|
+
/**
|
|
14979
|
+
* 401
|
|
14980
|
+
*/
|
|
14981
|
+
401: UnauthorizedError;
|
|
14982
|
+
/**
|
|
14983
|
+
* 403
|
|
14984
|
+
*/
|
|
14985
|
+
403: ForbiddenError;
|
|
14986
|
+
/**
|
|
14987
|
+
* 404
|
|
14988
|
+
*/
|
|
14989
|
+
404: NotFoundError;
|
|
14990
|
+
};
|
|
14991
|
+
export type ContentEditedPackFieldsError = ContentEditedPackFieldsErrors[keyof ContentEditedPackFieldsErrors];
|
|
14992
|
+
export type ContentEditedPackFieldsResponses = {
|
|
14993
|
+
/**
|
|
14994
|
+
* OK
|
|
14995
|
+
*/
|
|
14996
|
+
200: {
|
|
14997
|
+
fields: Array<{
|
|
14998
|
+
basisValue?: null | boolean | {
|
|
14999
|
+
[key: string]: unknown;
|
|
15000
|
+
} | Array<unknown> | number | string | null;
|
|
15001
|
+
fieldName: string;
|
|
15002
|
+
installedValue?: null | boolean | {
|
|
15003
|
+
[key: string]: unknown;
|
|
15004
|
+
} | Array<unknown> | number | string | null;
|
|
15005
|
+
}>;
|
|
15006
|
+
};
|
|
15007
|
+
};
|
|
15008
|
+
export type ContentEditedPackFieldsResponse = ContentEditedPackFieldsResponses[keyof ContentEditedPackFieldsResponses];
|
|
14902
15009
|
export type CredentialsListData = {
|
|
14903
15010
|
body?: never;
|
|
14904
15011
|
path: {
|