@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.
@@ -412,7 +412,7 @@ export type Detection = {
412
412
  createdByUserId: string | null;
413
413
  deleted?: boolean;
414
414
  /**
415
- * Whether to deploy the detection (required). It should only be set to true if the user explicitly asks it to be deployed.
415
+ * Whether to deploy the detection.
416
416
  */
417
417
  deploy: boolean;
418
418
  deploymentStatus: 'UNDEPLOYED' | 'DEPLOYED' | 'FAILED' | 'DEGRADED' | 'DEPLOY_PENDING' | 'DEPLOY_IN_PROGRESS' | 'UPDATE_PENDING' | 'UPDATE_IN_PROGRESS' | 'REFRESH_IN_PROGRESS' | 'ARCHIVED' | 'CLEANUP_PENDING' | 'CLEANUP_IN_PROGRESS';
@@ -5101,7 +5101,7 @@ export type ChangesetsGetResponses = {
5101
5101
  name: string;
5102
5102
  query: string;
5103
5103
  }>;
5104
- query: string;
5104
+ query?: string;
5105
5105
  spec: {
5106
5106
  [key: string]: unknown;
5107
5107
  };
@@ -5480,7 +5480,7 @@ export type ChangesetsGetResponses = {
5480
5480
  createdByUserId: string | null;
5481
5481
  deleted?: boolean;
5482
5482
  /**
5483
- * Whether to deploy the detection (required). It should only be set to true if the user explicitly asks it to be deployed.
5483
+ * Whether to deploy the detection.
5484
5484
  */
5485
5485
  deploy: boolean;
5486
5486
  deploymentStatus: 'UNDEPLOYED' | 'DEPLOYED' | 'FAILED' | 'DEGRADED' | 'DEPLOY_PENDING' | 'DEPLOY_IN_PROGRESS' | 'UPDATE_PENDING' | 'UPDATE_IN_PROGRESS' | 'REFRESH_IN_PROGRESS' | 'ARCHIVED' | 'CLEANUP_PENDING' | 'CLEANUP_IN_PROGRESS';
@@ -8573,6 +8573,8 @@ export type ContentPackInstallationsListResponses = {
8573
8573
  */
8574
8574
  count: number;
8575
8575
  items: Array<{
8576
+ automaticUpdateFailed: boolean;
8577
+ automaticUpdatePending: boolean;
8576
8578
  changesetId: string | null;
8577
8579
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
8578
8580
  contentPackId: string;
@@ -8580,6 +8582,7 @@ export type ContentPackInstallationsListResponses = {
8580
8582
  createdByUserId: string | null;
8581
8583
  deleted?: boolean;
8582
8584
  draftChangesetId: string | null;
8585
+ hasOpenChangesetChange: boolean;
8583
8586
  id: string;
8584
8587
  installDeployed: boolean;
8585
8588
  /**
@@ -8590,6 +8593,7 @@ export type ContentPackInstallationsListResponses = {
8590
8593
  installedReleaseVersion: number;
8591
8594
  linkMode: 'Manual' | 'Copy' | 'Automatic';
8592
8595
  name: string;
8596
+ openChangesetChangeCount: number;
8593
8597
  organizationId: string;
8594
8598
  packMeetsMinHamelinVersion: boolean;
8595
8599
  packMinHamelinVersion: string | null;
@@ -8762,6 +8766,8 @@ export type ContentPackInstallationsInstallResponses = {
8762
8766
  */
8763
8767
  installFolderId: string;
8764
8768
  installation: {
8769
+ automaticUpdateFailed: boolean;
8770
+ automaticUpdatePending: boolean;
8765
8771
  changesetId: string | null;
8766
8772
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
8767
8773
  contentPackId: string;
@@ -8769,6 +8775,7 @@ export type ContentPackInstallationsInstallResponses = {
8769
8775
  createdByUserId: string | null;
8770
8776
  deleted?: boolean;
8771
8777
  draftChangesetId: string | null;
8778
+ hasOpenChangesetChange: boolean;
8772
8779
  id: string;
8773
8780
  installDeployed: boolean;
8774
8781
  /**
@@ -8779,6 +8786,7 @@ export type ContentPackInstallationsInstallResponses = {
8779
8786
  installedReleaseVersion: number;
8780
8787
  linkMode: 'Manual' | 'Copy' | 'Automatic';
8781
8788
  name: string;
8789
+ openChangesetChangeCount: number;
8782
8790
  organizationId: string;
8783
8791
  packMeetsMinHamelinVersion: boolean;
8784
8792
  packMinHamelinVersion: string | null;
@@ -8846,6 +8854,8 @@ export type ContentPackInstallationsBatchUpdateResponses = {
8846
8854
  updatedAt: string;
8847
8855
  } | null;
8848
8856
  installations: Array<{
8857
+ automaticUpdateFailed: boolean;
8858
+ automaticUpdatePending: boolean;
8849
8859
  changesetId: string | null;
8850
8860
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
8851
8861
  contentPackId: string;
@@ -8853,6 +8863,7 @@ export type ContentPackInstallationsBatchUpdateResponses = {
8853
8863
  createdByUserId: string | null;
8854
8864
  deleted?: boolean;
8855
8865
  draftChangesetId: string | null;
8866
+ hasOpenChangesetChange: boolean;
8856
8867
  id: string;
8857
8868
  installDeployed: boolean;
8858
8869
  /**
@@ -8863,6 +8874,7 @@ export type ContentPackInstallationsBatchUpdateResponses = {
8863
8874
  installedReleaseVersion: number;
8864
8875
  linkMode: 'Manual' | 'Copy' | 'Automatic';
8865
8876
  name: string;
8877
+ openChangesetChangeCount: number;
8866
8878
  organizationId: string;
8867
8879
  packMeetsMinHamelinVersion: boolean;
8868
8880
  packMinHamelinVersion: string | null;
@@ -8951,6 +8963,8 @@ export type ContentPackInstallationsLinkResponses = {
8951
8963
  */
8952
8964
  installFolderId: string;
8953
8965
  installation: {
8966
+ automaticUpdateFailed: boolean;
8967
+ automaticUpdatePending: boolean;
8954
8968
  changesetId: string | null;
8955
8969
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
8956
8970
  contentPackId: string;
@@ -8958,6 +8972,7 @@ export type ContentPackInstallationsLinkResponses = {
8958
8972
  createdByUserId: string | null;
8959
8973
  deleted?: boolean;
8960
8974
  draftChangesetId: string | null;
8975
+ hasOpenChangesetChange: boolean;
8961
8976
  id: string;
8962
8977
  installDeployed: boolean;
8963
8978
  /**
@@ -8968,6 +8983,7 @@ export type ContentPackInstallationsLinkResponses = {
8968
8983
  installedReleaseVersion: number;
8969
8984
  linkMode: 'Manual' | 'Copy' | 'Automatic';
8970
8985
  name: string;
8986
+ openChangesetChangeCount: number;
8971
8987
  organizationId: string;
8972
8988
  packMeetsMinHamelinVersion: boolean;
8973
8989
  packMinHamelinVersion: string | null;
@@ -9017,6 +9033,8 @@ export type ContentPackInstallationsGetByIdResponses = {
9017
9033
  * Content Pack Installation
9018
9034
  */
9019
9035
  200: {
9036
+ automaticUpdateFailed: boolean;
9037
+ automaticUpdatePending: boolean;
9020
9038
  changesetId: string | null;
9021
9039
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
9022
9040
  contentPackId: string;
@@ -9024,6 +9042,7 @@ export type ContentPackInstallationsGetByIdResponses = {
9024
9042
  createdByUserId: string | null;
9025
9043
  deleted?: boolean;
9026
9044
  draftChangesetId: string | null;
9045
+ hasOpenChangesetChange: boolean;
9027
9046
  id: string;
9028
9047
  installDeployed: boolean;
9029
9048
  /**
@@ -9034,6 +9053,7 @@ export type ContentPackInstallationsGetByIdResponses = {
9034
9053
  installedReleaseVersion: number;
9035
9054
  linkMode: 'Manual' | 'Copy' | 'Automatic';
9036
9055
  name: string;
9056
+ openChangesetChangeCount: number;
9037
9057
  organizationId: string;
9038
9058
  packMeetsMinHamelinVersion: boolean;
9039
9059
  packMinHamelinVersion: string | null;
@@ -9081,6 +9101,8 @@ export type ContentPackInstallationsUpdateInstallDeployedResponses = {
9081
9101
  * Content Pack Installation
9082
9102
  */
9083
9103
  200: {
9104
+ automaticUpdateFailed: boolean;
9105
+ automaticUpdatePending: boolean;
9084
9106
  changesetId: string | null;
9085
9107
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
9086
9108
  contentPackId: string;
@@ -9088,6 +9110,7 @@ export type ContentPackInstallationsUpdateInstallDeployedResponses = {
9088
9110
  createdByUserId: string | null;
9089
9111
  deleted?: boolean;
9090
9112
  draftChangesetId: string | null;
9113
+ hasOpenChangesetChange: boolean;
9091
9114
  id: string;
9092
9115
  installDeployed: boolean;
9093
9116
  /**
@@ -9098,6 +9121,7 @@ export type ContentPackInstallationsUpdateInstallDeployedResponses = {
9098
9121
  installedReleaseVersion: number;
9099
9122
  linkMode: 'Manual' | 'Copy' | 'Automatic';
9100
9123
  name: string;
9124
+ openChangesetChangeCount: number;
9101
9125
  organizationId: string;
9102
9126
  packMeetsMinHamelinVersion: boolean;
9103
9127
  packMinHamelinVersion: string | null;
@@ -9149,6 +9173,8 @@ export type ContentPackInstallationsUpdateLinkModeResponses = {
9149
9173
  * Content Pack Installation
9150
9174
  */
9151
9175
  200: {
9176
+ automaticUpdateFailed: boolean;
9177
+ automaticUpdatePending: boolean;
9152
9178
  changesetId: string | null;
9153
9179
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
9154
9180
  contentPackId: string;
@@ -9156,6 +9182,7 @@ export type ContentPackInstallationsUpdateLinkModeResponses = {
9156
9182
  createdByUserId: string | null;
9157
9183
  deleted?: boolean;
9158
9184
  draftChangesetId: string | null;
9185
+ hasOpenChangesetChange: boolean;
9159
9186
  id: string;
9160
9187
  installDeployed: boolean;
9161
9188
  /**
@@ -9166,6 +9193,7 @@ export type ContentPackInstallationsUpdateLinkModeResponses = {
9166
9193
  installedReleaseVersion: number;
9167
9194
  linkMode: 'Manual' | 'Copy' | 'Automatic';
9168
9195
  name: string;
9196
+ openChangesetChangeCount: number;
9169
9197
  organizationId: string;
9170
9198
  packMeetsMinHamelinVersion: boolean;
9171
9199
  packMinHamelinVersion: string | null;
@@ -9353,6 +9381,8 @@ export type ContentPackInstallationsUpdateResponses = {
9353
9381
  * Content Pack Installation
9354
9382
  */
9355
9383
  installation: {
9384
+ automaticUpdateFailed: boolean;
9385
+ automaticUpdatePending: boolean;
9356
9386
  changesetId: string | null;
9357
9387
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
9358
9388
  contentPackId: string;
@@ -9360,6 +9390,7 @@ export type ContentPackInstallationsUpdateResponses = {
9360
9390
  createdByUserId: string | null;
9361
9391
  deleted?: boolean;
9362
9392
  draftChangesetId: string | null;
9393
+ hasOpenChangesetChange: boolean;
9363
9394
  id: string;
9364
9395
  installDeployed: boolean;
9365
9396
  /**
@@ -9370,6 +9401,7 @@ export type ContentPackInstallationsUpdateResponses = {
9370
9401
  installedReleaseVersion: number;
9371
9402
  linkMode: 'Manual' | 'Copy' | 'Automatic';
9372
9403
  name: string;
9404
+ openChangesetChangeCount: number;
9373
9405
  organizationId: string;
9374
9406
  packMeetsMinHamelinVersion: boolean;
9375
9407
  packMinHamelinVersion: string | null;
@@ -9832,7 +9864,7 @@ export type ContentPacksDashboardsCreateData = {
9832
9864
  name: string;
9833
9865
  query: string;
9834
9866
  }>;
9835
- query: string;
9867
+ query?: string;
9836
9868
  spec: {
9837
9869
  [key: string]: unknown;
9838
9870
  };
@@ -9981,7 +10013,7 @@ export type ContentPacksDashboardsCreateResponses = {
9981
10013
  name: string;
9982
10014
  query: string;
9983
10015
  }>;
9984
- query: string;
10016
+ query?: string;
9985
10017
  spec: {
9986
10018
  [key: string]: unknown;
9987
10019
  };
@@ -10159,7 +10191,7 @@ export type ContentPacksDashboardsGetByIdResponses = {
10159
10191
  name: string;
10160
10192
  query: string;
10161
10193
  }>;
10162
- query: string;
10194
+ query?: string;
10163
10195
  spec: {
10164
10196
  [key: string]: unknown;
10165
10197
  };
@@ -10262,7 +10294,7 @@ export type ContentPacksDashboardsUpdateData = {
10262
10294
  name: string;
10263
10295
  query: string;
10264
10296
  }>;
10265
- query: string;
10297
+ query?: string;
10266
10298
  spec: {
10267
10299
  [key: string]: unknown;
10268
10300
  };
@@ -10395,7 +10427,7 @@ export type ContentPacksDashboardsUpdateResponses = {
10395
10427
  name: string;
10396
10428
  query: string;
10397
10429
  }>;
10398
- query: string;
10430
+ query?: string;
10399
10431
  spec: {
10400
10432
  [key: string]: unknown;
10401
10433
  };
@@ -13993,7 +14025,7 @@ export type ContentPacksGetContentTemplateResponses = {
13993
14025
  name: string;
13994
14026
  query: string;
13995
14027
  }>;
13996
- query: string;
14028
+ query?: string;
13997
14029
  spec: {
13998
14030
  [key: string]: unknown;
13999
14031
  };
@@ -15944,7 +15976,7 @@ export type DashboardsListResponses = {
15944
15976
  name: string;
15945
15977
  query: string;
15946
15978
  }>;
15947
- query: string;
15979
+ query?: string;
15948
15980
  spec: {
15949
15981
  [key: string]: unknown;
15950
15982
  };
@@ -16056,7 +16088,7 @@ export type DashboardsCreateData = {
16056
16088
  name: string;
16057
16089
  query: string;
16058
16090
  }>;
16059
- query: string;
16091
+ query?: string;
16060
16092
  spec: {
16061
16093
  [key: string]: unknown;
16062
16094
  };
@@ -16217,7 +16249,7 @@ export type DashboardsCreateResponses = {
16217
16249
  name: string;
16218
16250
  query: string;
16219
16251
  }>;
16220
- query: string;
16252
+ query?: string;
16221
16253
  spec: {
16222
16254
  [key: string]: unknown;
16223
16255
  };
@@ -16479,7 +16511,7 @@ export type DashboardsGetByIdResponses = {
16479
16511
  name: string;
16480
16512
  query: string;
16481
16513
  }>;
16482
- query: string;
16514
+ query?: string;
16483
16515
  spec: {
16484
16516
  [key: string]: unknown;
16485
16517
  };
@@ -16582,7 +16614,7 @@ export type DashboardsUpdateData = {
16582
16614
  name: string;
16583
16615
  query: string;
16584
16616
  }>;
16585
- query: string;
16617
+ query?: string;
16586
16618
  spec: {
16587
16619
  [key: string]: unknown;
16588
16620
  };
@@ -16730,7 +16762,7 @@ export type DashboardsUpdateResponses = {
16730
16762
  name: string;
16731
16763
  query: string;
16732
16764
  }>;
16733
- query: string;
16765
+ query?: string;
16734
16766
  spec: {
16735
16767
  [key: string]: unknown;
16736
16768
  };
@@ -17594,7 +17626,7 @@ export type DetectionCreateData = {
17594
17626
  */
17595
17627
  createCase?: boolean;
17596
17628
  /**
17597
- * Whether to deploy the detection (required). It should only be set to true if the user explicitly asks it to be deployed.
17629
+ * Whether to deploy the detection.
17598
17630
  */
17599
17631
  deploy: boolean;
17600
17632
  /**
@@ -17850,7 +17882,7 @@ export type DetectionUpdateData = {
17850
17882
  */
17851
17883
  createCase?: boolean;
17852
17884
  /**
17853
- * Whether to deploy the detection (required). It should only be set to true if the user explicitly asks it to be deployed.
17885
+ * Whether to deploy the detection.
17854
17886
  */
17855
17887
  deploy?: boolean;
17856
17888
  /**