@perpetualsystems/typescript-sdk 0.4.0 → 0.4.1

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.
@@ -429,7 +429,7 @@ export type Detection = {
429
429
  createdByUserId: string | null;
430
430
  deleted?: boolean;
431
431
  /**
432
- * Whether to deploy the detection (required). It should only be set to true if the user explicitly asks it to be deployed.
432
+ * Whether to deploy the detection.
433
433
  */
434
434
  deploy: boolean;
435
435
  deploymentStatus: 'UNDEPLOYED' | 'DEPLOYED' | 'FAILED' | 'DEGRADED' | 'DEPLOY_PENDING' | 'DEPLOY_IN_PROGRESS' | 'UPDATE_PENDING' | 'UPDATE_IN_PROGRESS' | 'REFRESH_IN_PROGRESS' | 'ARCHIVED' | 'CLEANUP_PENDING' | 'CLEANUP_IN_PROGRESS';
@@ -5478,7 +5478,7 @@ export type ChangesetsGetResponses = {
5478
5478
  name: string;
5479
5479
  query: string;
5480
5480
  }>;
5481
- query: string;
5481
+ query?: string;
5482
5482
  spec: {
5483
5483
  [key: string]: unknown;
5484
5484
  };
@@ -5857,7 +5857,7 @@ export type ChangesetsGetResponses = {
5857
5857
  createdByUserId: string | null;
5858
5858
  deleted?: boolean;
5859
5859
  /**
5860
- * Whether to deploy the detection (required). It should only be set to true if the user explicitly asks it to be deployed.
5860
+ * Whether to deploy the detection.
5861
5861
  */
5862
5862
  deploy: boolean;
5863
5863
  deploymentStatus: 'UNDEPLOYED' | 'DEPLOYED' | 'FAILED' | 'DEGRADED' | 'DEPLOY_PENDING' | 'DEPLOY_IN_PROGRESS' | 'UPDATE_PENDING' | 'UPDATE_IN_PROGRESS' | 'REFRESH_IN_PROGRESS' | 'ARCHIVED' | 'CLEANUP_PENDING' | 'CLEANUP_IN_PROGRESS';
@@ -9125,6 +9125,8 @@ export type ContentPackInstallationsListResponses = {
9125
9125
  */
9126
9126
  count: number;
9127
9127
  items: Array<{
9128
+ automaticUpdateFailed: boolean;
9129
+ automaticUpdatePending: boolean;
9128
9130
  changesetId: string | null;
9129
9131
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
9130
9132
  contentPackId: string;
@@ -9132,6 +9134,7 @@ export type ContentPackInstallationsListResponses = {
9132
9134
  createdByUserId: string | null;
9133
9135
  deleted?: boolean;
9134
9136
  draftChangesetId: string | null;
9137
+ hasOpenChangesetChange: boolean;
9135
9138
  id: string;
9136
9139
  installDeployed: boolean;
9137
9140
  /**
@@ -9142,6 +9145,7 @@ export type ContentPackInstallationsListResponses = {
9142
9145
  installedReleaseVersion: number;
9143
9146
  linkMode: 'Manual' | 'Copy' | 'Automatic';
9144
9147
  name: string;
9148
+ openChangesetChangeCount: number;
9145
9149
  organizationId: string;
9146
9150
  packMeetsMinHamelinVersion: boolean;
9147
9151
  packMinHamelinVersion: string | null;
@@ -9319,6 +9323,8 @@ export type ContentPackInstallationsInstallResponses = {
9319
9323
  */
9320
9324
  installFolderId: string;
9321
9325
  installation: {
9326
+ automaticUpdateFailed: boolean;
9327
+ automaticUpdatePending: boolean;
9322
9328
  changesetId: string | null;
9323
9329
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
9324
9330
  contentPackId: string;
@@ -9326,6 +9332,7 @@ export type ContentPackInstallationsInstallResponses = {
9326
9332
  createdByUserId: string | null;
9327
9333
  deleted?: boolean;
9328
9334
  draftChangesetId: string | null;
9335
+ hasOpenChangesetChange: boolean;
9329
9336
  id: string;
9330
9337
  installDeployed: boolean;
9331
9338
  /**
@@ -9336,6 +9343,7 @@ export type ContentPackInstallationsInstallResponses = {
9336
9343
  installedReleaseVersion: number;
9337
9344
  linkMode: 'Manual' | 'Copy' | 'Automatic';
9338
9345
  name: string;
9346
+ openChangesetChangeCount: number;
9339
9347
  organizationId: string;
9340
9348
  packMeetsMinHamelinVersion: boolean;
9341
9349
  packMinHamelinVersion: string | null;
@@ -9408,6 +9416,8 @@ export type ContentPackInstallationsBatchUpdateResponses = {
9408
9416
  updatedAt: string;
9409
9417
  } | null;
9410
9418
  installations: Array<{
9419
+ automaticUpdateFailed: boolean;
9420
+ automaticUpdatePending: boolean;
9411
9421
  changesetId: string | null;
9412
9422
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
9413
9423
  contentPackId: string;
@@ -9415,6 +9425,7 @@ export type ContentPackInstallationsBatchUpdateResponses = {
9415
9425
  createdByUserId: string | null;
9416
9426
  deleted?: boolean;
9417
9427
  draftChangesetId: string | null;
9428
+ hasOpenChangesetChange: boolean;
9418
9429
  id: string;
9419
9430
  installDeployed: boolean;
9420
9431
  /**
@@ -9425,6 +9436,7 @@ export type ContentPackInstallationsBatchUpdateResponses = {
9425
9436
  installedReleaseVersion: number;
9426
9437
  linkMode: 'Manual' | 'Copy' | 'Automatic';
9427
9438
  name: string;
9439
+ openChangesetChangeCount: number;
9428
9440
  organizationId: string;
9429
9441
  packMeetsMinHamelinVersion: boolean;
9430
9442
  packMinHamelinVersion: string | null;
@@ -9518,6 +9530,8 @@ export type ContentPackInstallationsLinkResponses = {
9518
9530
  */
9519
9531
  installFolderId: string;
9520
9532
  installation: {
9533
+ automaticUpdateFailed: boolean;
9534
+ automaticUpdatePending: boolean;
9521
9535
  changesetId: string | null;
9522
9536
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
9523
9537
  contentPackId: string;
@@ -9525,6 +9539,7 @@ export type ContentPackInstallationsLinkResponses = {
9525
9539
  createdByUserId: string | null;
9526
9540
  deleted?: boolean;
9527
9541
  draftChangesetId: string | null;
9542
+ hasOpenChangesetChange: boolean;
9528
9543
  id: string;
9529
9544
  installDeployed: boolean;
9530
9545
  /**
@@ -9535,6 +9550,7 @@ export type ContentPackInstallationsLinkResponses = {
9535
9550
  installedReleaseVersion: number;
9536
9551
  linkMode: 'Manual' | 'Copy' | 'Automatic';
9537
9552
  name: string;
9553
+ openChangesetChangeCount: number;
9538
9554
  organizationId: string;
9539
9555
  packMeetsMinHamelinVersion: boolean;
9540
9556
  packMinHamelinVersion: string | null;
@@ -9589,6 +9605,8 @@ export type ContentPackInstallationsGetByIdResponses = {
9589
9605
  * Content Pack Installation
9590
9606
  */
9591
9607
  200: {
9608
+ automaticUpdateFailed: boolean;
9609
+ automaticUpdatePending: boolean;
9592
9610
  changesetId: string | null;
9593
9611
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
9594
9612
  contentPackId: string;
@@ -9596,6 +9614,7 @@ export type ContentPackInstallationsGetByIdResponses = {
9596
9614
  createdByUserId: string | null;
9597
9615
  deleted?: boolean;
9598
9616
  draftChangesetId: string | null;
9617
+ hasOpenChangesetChange: boolean;
9599
9618
  id: string;
9600
9619
  installDeployed: boolean;
9601
9620
  /**
@@ -9606,6 +9625,7 @@ export type ContentPackInstallationsGetByIdResponses = {
9606
9625
  installedReleaseVersion: number;
9607
9626
  linkMode: 'Manual' | 'Copy' | 'Automatic';
9608
9627
  name: string;
9628
+ openChangesetChangeCount: number;
9609
9629
  organizationId: string;
9610
9630
  packMeetsMinHamelinVersion: boolean;
9611
9631
  packMinHamelinVersion: string | null;
@@ -9658,6 +9678,8 @@ export type ContentPackInstallationsUpdateInstallDeployedResponses = {
9658
9678
  * Content Pack Installation
9659
9679
  */
9660
9680
  200: {
9681
+ automaticUpdateFailed: boolean;
9682
+ automaticUpdatePending: boolean;
9661
9683
  changesetId: string | null;
9662
9684
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
9663
9685
  contentPackId: string;
@@ -9665,6 +9687,7 @@ export type ContentPackInstallationsUpdateInstallDeployedResponses = {
9665
9687
  createdByUserId: string | null;
9666
9688
  deleted?: boolean;
9667
9689
  draftChangesetId: string | null;
9690
+ hasOpenChangesetChange: boolean;
9668
9691
  id: string;
9669
9692
  installDeployed: boolean;
9670
9693
  /**
@@ -9675,6 +9698,7 @@ export type ContentPackInstallationsUpdateInstallDeployedResponses = {
9675
9698
  installedReleaseVersion: number;
9676
9699
  linkMode: 'Manual' | 'Copy' | 'Automatic';
9677
9700
  name: string;
9701
+ openChangesetChangeCount: number;
9678
9702
  organizationId: string;
9679
9703
  packMeetsMinHamelinVersion: boolean;
9680
9704
  packMinHamelinVersion: string | null;
@@ -9731,6 +9755,8 @@ export type ContentPackInstallationsUpdateLinkModeResponses = {
9731
9755
  * Content Pack Installation
9732
9756
  */
9733
9757
  200: {
9758
+ automaticUpdateFailed: boolean;
9759
+ automaticUpdatePending: boolean;
9734
9760
  changesetId: string | null;
9735
9761
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
9736
9762
  contentPackId: string;
@@ -9738,6 +9764,7 @@ export type ContentPackInstallationsUpdateLinkModeResponses = {
9738
9764
  createdByUserId: string | null;
9739
9765
  deleted?: boolean;
9740
9766
  draftChangesetId: string | null;
9767
+ hasOpenChangesetChange: boolean;
9741
9768
  id: string;
9742
9769
  installDeployed: boolean;
9743
9770
  /**
@@ -9748,6 +9775,7 @@ export type ContentPackInstallationsUpdateLinkModeResponses = {
9748
9775
  installedReleaseVersion: number;
9749
9776
  linkMode: 'Manual' | 'Copy' | 'Automatic';
9750
9777
  name: string;
9778
+ openChangesetChangeCount: number;
9751
9779
  organizationId: string;
9752
9780
  packMeetsMinHamelinVersion: boolean;
9753
9781
  packMinHamelinVersion: string | null;
@@ -9950,6 +9978,8 @@ export type ContentPackInstallationsUpdateResponses = {
9950
9978
  * Content Pack Installation
9951
9979
  */
9952
9980
  installation: {
9981
+ automaticUpdateFailed: boolean;
9982
+ automaticUpdatePending: boolean;
9953
9983
  changesetId: string | null;
9954
9984
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
9955
9985
  contentPackId: string;
@@ -9957,6 +9987,7 @@ export type ContentPackInstallationsUpdateResponses = {
9957
9987
  createdByUserId: string | null;
9958
9988
  deleted?: boolean;
9959
9989
  draftChangesetId: string | null;
9990
+ hasOpenChangesetChange: boolean;
9960
9991
  id: string;
9961
9992
  installDeployed: boolean;
9962
9993
  /**
@@ -9967,6 +9998,7 @@ export type ContentPackInstallationsUpdateResponses = {
9967
9998
  installedReleaseVersion: number;
9968
9999
  linkMode: 'Manual' | 'Copy' | 'Automatic';
9969
10000
  name: string;
10001
+ openChangesetChangeCount: number;
9970
10002
  organizationId: string;
9971
10003
  packMeetsMinHamelinVersion: boolean;
9972
10004
  packMinHamelinVersion: string | null;
@@ -10466,7 +10498,7 @@ export type ContentPacksDashboardsCreateData = {
10466
10498
  name: string;
10467
10499
  query: string;
10468
10500
  }>;
10469
- query: string;
10501
+ query?: string;
10470
10502
  spec: {
10471
10503
  [key: string]: unknown;
10472
10504
  };
@@ -10618,7 +10650,7 @@ export type ContentPacksDashboardsCreateResponses = {
10618
10650
  name: string;
10619
10651
  query: string;
10620
10652
  }>;
10621
- query: string;
10653
+ query?: string;
10622
10654
  spec: {
10623
10655
  [key: string]: unknown;
10624
10656
  };
@@ -10806,7 +10838,7 @@ export type ContentPacksDashboardsGetByIdResponses = {
10806
10838
  name: string;
10807
10839
  query: string;
10808
10840
  }>;
10809
- query: string;
10841
+ query?: string;
10810
10842
  spec: {
10811
10843
  [key: string]: unknown;
10812
10844
  };
@@ -10911,7 +10943,7 @@ export type ContentPacksDashboardsUpdateData = {
10911
10943
  name: string;
10912
10944
  query: string;
10913
10945
  }>;
10914
- query: string;
10946
+ query?: string;
10915
10947
  spec: {
10916
10948
  [key: string]: unknown;
10917
10949
  };
@@ -11047,7 +11079,7 @@ export type ContentPacksDashboardsUpdateResponses = {
11047
11079
  name: string;
11048
11080
  query: string;
11049
11081
  }>;
11050
- query: string;
11082
+ query?: string;
11051
11083
  spec: {
11052
11084
  [key: string]: unknown;
11053
11085
  };
@@ -14890,7 +14922,7 @@ export type ContentPacksGetContentTemplateResponses = {
14890
14922
  name: string;
14891
14923
  query: string;
14892
14924
  }>;
14893
- query: string;
14925
+ query?: string;
14894
14926
  spec: {
14895
14927
  [key: string]: unknown;
14896
14928
  };
@@ -16961,7 +16993,7 @@ export type DashboardsListResponses = {
16961
16993
  name: string;
16962
16994
  query: string;
16963
16995
  }>;
16964
- query: string;
16996
+ query?: string;
16965
16997
  spec: {
16966
16998
  [key: string]: unknown;
16967
16999
  };
@@ -17075,7 +17107,7 @@ export type DashboardsCreateData = {
17075
17107
  name: string;
17076
17108
  query: string;
17077
17109
  }>;
17078
- query: string;
17110
+ query?: string;
17079
17111
  spec: {
17080
17112
  [key: string]: unknown;
17081
17113
  };
@@ -17239,7 +17271,7 @@ export type DashboardsCreateResponses = {
17239
17271
  name: string;
17240
17272
  query: string;
17241
17273
  }>;
17242
- query: string;
17274
+ query?: string;
17243
17275
  spec: {
17244
17276
  [key: string]: unknown;
17245
17277
  };
@@ -17516,7 +17548,7 @@ export type DashboardsGetByIdResponses = {
17516
17548
  name: string;
17517
17549
  query: string;
17518
17550
  }>;
17519
- query: string;
17551
+ query?: string;
17520
17552
  spec: {
17521
17553
  [key: string]: unknown;
17522
17554
  };
@@ -17621,7 +17653,7 @@ export type DashboardsUpdateData = {
17621
17653
  name: string;
17622
17654
  query: string;
17623
17655
  }>;
17624
- query: string;
17656
+ query?: string;
17625
17657
  spec: {
17626
17658
  [key: string]: unknown;
17627
17659
  };
@@ -17772,7 +17804,7 @@ export type DashboardsUpdateResponses = {
17772
17804
  name: string;
17773
17805
  query: string;
17774
17806
  }>;
17775
- query: string;
17807
+ query?: string;
17776
17808
  spec: {
17777
17809
  [key: string]: unknown;
17778
17810
  };
@@ -18713,7 +18745,7 @@ export type DetectionCreateData = {
18713
18745
  */
18714
18746
  createCase?: boolean;
18715
18747
  /**
18716
- * Whether to deploy the detection (required). It should only be set to true if the user explicitly asks it to be deployed.
18748
+ * Whether to deploy the detection.
18717
18749
  */
18718
18750
  deploy: boolean;
18719
18751
  /**
@@ -18989,7 +19021,7 @@ export type DetectionUpdateData = {
18989
19021
  */
18990
19022
  createCase?: boolean;
18991
19023
  /**
18992
- * Whether to deploy the detection (required). It should only be set to true if the user explicitly asks it to be deployed.
19024
+ * Whether to deploy the detection.
18993
19025
  */
18994
19026
  deploy?: boolean;
18995
19027
  /**