@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
|
@@ -9050,6 +9050,7 @@ export type ContentListResponses = {
|
|
|
9050
9050
|
id: string;
|
|
9051
9051
|
lookupType?: 'Static' | 'Computed' | 'Connector';
|
|
9052
9052
|
name: string;
|
|
9053
|
+
packLinked?: boolean;
|
|
9053
9054
|
parentFolderId?: string | null;
|
|
9054
9055
|
readOnly?: boolean;
|
|
9055
9056
|
spaceId: string;
|
|
@@ -9131,6 +9132,7 @@ export type ContentPackInstallationsListResponses = {
|
|
|
9131
9132
|
items: Array<{
|
|
9132
9133
|
automaticUpdateFailed: boolean;
|
|
9133
9134
|
automaticUpdatePending: boolean;
|
|
9135
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
9134
9136
|
changesetId: string | null;
|
|
9135
9137
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
9136
9138
|
contentPackId: string;
|
|
@@ -9329,6 +9331,7 @@ export type ContentPackInstallationsInstallResponses = {
|
|
|
9329
9331
|
installation: {
|
|
9330
9332
|
automaticUpdateFailed: boolean;
|
|
9331
9333
|
automaticUpdatePending: boolean;
|
|
9334
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
9332
9335
|
changesetId: string | null;
|
|
9333
9336
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
9334
9337
|
contentPackId: string;
|
|
@@ -9422,6 +9425,7 @@ export type ContentPackInstallationsBatchUpdateResponses = {
|
|
|
9422
9425
|
installations: Array<{
|
|
9423
9426
|
automaticUpdateFailed: boolean;
|
|
9424
9427
|
automaticUpdatePending: boolean;
|
|
9428
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
9425
9429
|
changesetId: string | null;
|
|
9426
9430
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
9427
9431
|
contentPackId: string;
|
|
@@ -9536,6 +9540,7 @@ export type ContentPackInstallationsLinkResponses = {
|
|
|
9536
9540
|
installation: {
|
|
9537
9541
|
automaticUpdateFailed: boolean;
|
|
9538
9542
|
automaticUpdatePending: boolean;
|
|
9543
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
9539
9544
|
changesetId: string | null;
|
|
9540
9545
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
9541
9546
|
contentPackId: string;
|
|
@@ -9572,6 +9577,61 @@ export type ContentPackInstallationsLinkResponses = {
|
|
|
9572
9577
|
|
|
9573
9578
|
export type ContentPackInstallationsLinkResponse = ContentPackInstallationsLinkResponses[keyof ContentPackInstallationsLinkResponses];
|
|
9574
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
|
+
|
|
9575
9635
|
export type ContentPackInstallationsGetByIdData = {
|
|
9576
9636
|
body?: never;
|
|
9577
9637
|
path: {
|
|
@@ -9611,6 +9671,7 @@ export type ContentPackInstallationsGetByIdResponses = {
|
|
|
9611
9671
|
200: {
|
|
9612
9672
|
automaticUpdateFailed: boolean;
|
|
9613
9673
|
automaticUpdatePending: boolean;
|
|
9674
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
9614
9675
|
changesetId: string | null;
|
|
9615
9676
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
9616
9677
|
contentPackId: string;
|
|
@@ -9684,6 +9745,7 @@ export type ContentPackInstallationsUpdateInstallDeployedResponses = {
|
|
|
9684
9745
|
200: {
|
|
9685
9746
|
automaticUpdateFailed: boolean;
|
|
9686
9747
|
automaticUpdatePending: boolean;
|
|
9748
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
9687
9749
|
changesetId: string | null;
|
|
9688
9750
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
9689
9751
|
contentPackId: string;
|
|
@@ -9761,6 +9823,7 @@ export type ContentPackInstallationsUpdateLinkModeResponses = {
|
|
|
9761
9823
|
200: {
|
|
9762
9824
|
automaticUpdateFailed: boolean;
|
|
9763
9825
|
automaticUpdatePending: boolean;
|
|
9826
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
9764
9827
|
changesetId: string | null;
|
|
9765
9828
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
9766
9829
|
contentPackId: string;
|
|
@@ -9984,6 +10047,7 @@ export type ContentPackInstallationsUpdateResponses = {
|
|
|
9984
10047
|
installation: {
|
|
9985
10048
|
automaticUpdateFailed: boolean;
|
|
9986
10049
|
automaticUpdatePending: boolean;
|
|
10050
|
+
blockedOnPackReleaseVersion?: number | null;
|
|
9987
10051
|
changesetId: string | null;
|
|
9988
10052
|
changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
|
|
9989
10053
|
contentPackId: string;
|
|
@@ -10471,6 +10535,7 @@ export type ContentPacksListContentResponses = {
|
|
|
10471
10535
|
id: string;
|
|
10472
10536
|
lookupType?: 'Static' | 'Computed' | 'Connector';
|
|
10473
10537
|
name: string;
|
|
10538
|
+
packLinked?: boolean;
|
|
10474
10539
|
parentFolderId?: string | null;
|
|
10475
10540
|
readOnly?: boolean;
|
|
10476
10541
|
type: 'Folder' | 'Detection' | 'Dashboard' | 'Integration' | 'Lookup' | 'WebhookConfig' | 'HttpToolConfig' | 'McpConfig' | 'Skill';
|
|
@@ -15863,6 +15928,58 @@ export type ContentSetDeployPreviewResponses = {
|
|
|
15863
15928
|
|
|
15864
15929
|
export type ContentSetDeployPreviewResponse = ContentSetDeployPreviewResponses[keyof ContentSetDeployPreviewResponses];
|
|
15865
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
|
+
|
|
15866
15983
|
export type CredentialsListData = {
|
|
15867
15984
|
body?: never;
|
|
15868
15985
|
path: {
|