@coveo/platform-client 59.1.0 → 59.1.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.
@@ -1,5 +1,5 @@
1
1
  import { GranularResource, PrivilegeModel } from '../BaseInterfaces.js';
2
- import { ApiKeyExposureReportSeverity, ApiKeyPrivacyLevel, ApiKeyReportCreationType, ApiKeyStatus, ApiKeyStatusFilter, ApiKeyExposureReportReasonSource } from '../Enums.js';
2
+ import { ApiKeyExposureReportReasonSource, ApiKeyExposureReportSeverity, ApiKeyPrivacyLevel, ApiKeyReportCreationType, ApiKeyStatus, ApiKeyStatusFilter } from '../Enums.js';
3
3
  import { UserModel } from '../Users/UserInterfaces.js';
4
4
  export interface ApiKeyBaseModel extends GranularResource {
5
5
  /**
@@ -115,11 +115,6 @@ export interface ExposureReport {
115
115
  * The severity of the exposure
116
116
  */
117
117
  severity: ApiKeyExposureReportSeverity;
118
- /**
119
- * The reason behind the exposure report for a given API key
120
- * @deprecated This field is deprecated and will be removed in a future version. Use the reasons field instead.
121
- */
122
- reason: string;
123
118
  /**
124
119
  * The reasons behind the exposure report for a given API key
125
120
  */
@@ -146,7 +141,7 @@ export interface ApiKeyExposureReportReasonModel {
146
141
  /**
147
142
  * The reason behind the exposure report for a given API key
148
143
  */
149
- reason: string;
144
+ reason?: string;
150
145
  /**
151
146
  * The source of which the exposure comes from
152
147
  */
@@ -154,7 +149,7 @@ export interface ApiKeyExposureReportReasonModel {
154
149
  /**
155
150
  * The url where the api key could be found
156
151
  */
157
- url: string;
152
+ url?: string;
158
153
  /**
159
154
  * The date the exposure report was created
160
155
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coveo/platform-client",
3
- "version": "59.1.0",
3
+ "version": "59.1.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {