@sentry/api 0.146.0 → 0.147.0

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.
@@ -1946,7 +1946,7 @@ export type DataForwarderResponse = {
1946
1946
  provider: string;
1947
1947
  config: {
1948
1948
  [key: string]: string;
1949
- };
1949
+ } | null;
1950
1950
  projectConfigs: Array<{
1951
1951
  id: string;
1952
1952
  isEnabled: boolean;
@@ -3292,7 +3292,7 @@ export type ListDataForwarderResponse = Array<{
3292
3292
  provider: string;
3293
3293
  config: {
3294
3294
  [key: string]: string;
3295
- };
3295
+ } | null;
3296
3296
  projectConfigs: Array<{
3297
3297
  id: string;
3298
3298
  isEnabled: boolean;
@@ -13527,7 +13527,7 @@ export type RetrieveDataForwardersForAnOrganizationResponses = {
13527
13527
  provider: string;
13528
13528
  config: {
13529
13529
  [key: string]: string;
13530
- };
13530
+ } | null;
13531
13531
  projectConfigs: Array<{
13532
13532
  id: string;
13533
13533
  isEnabled: boolean;
@@ -13620,7 +13620,7 @@ export type CreateADataForwarderForAnOrganizationResponses = {
13620
13620
  provider: string;
13621
13621
  config: {
13622
13622
  [key: string]: string;
13623
- };
13623
+ } | null;
13624
13624
  projectConfigs: Array<{
13625
13625
  id: string;
13626
13626
  isEnabled: boolean;
@@ -13745,7 +13745,7 @@ export type UpdateADataForwarderForAnOrganizationResponses = {
13745
13745
  provider: string;
13746
13746
  config: {
13747
13747
  [key: string]: string;
13748
- };
13748
+ } | null;
13749
13749
  projectConfigs: Array<{
13750
13750
  id: string;
13751
13751
  isEnabled: boolean;
package/dist/zod.gen.d.ts CHANGED
@@ -3431,7 +3431,7 @@ export declare const zDataForwarderResponse: z.ZodObject<{
3431
3431
  slug: string;
3432
3432
  }>, "many">;
3433
3433
  provider: z.ZodString;
3434
- config: z.ZodRecord<z.ZodString, z.ZodString>;
3434
+ config: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>;
3435
3435
  projectConfigs: z.ZodArray<z.ZodObject<{
3436
3436
  id: z.ZodString;
3437
3437
  isEnabled: z.ZodBoolean;
@@ -3485,7 +3485,7 @@ export declare const zDataForwarderResponse: z.ZodObject<{
3485
3485
  }, "strip", z.ZodTypeAny, {
3486
3486
  id: string;
3487
3487
  organizationId: string;
3488
- config: Record<string, string>;
3488
+ config: Record<string, string> | null;
3489
3489
  dateAdded: string;
3490
3490
  dateUpdated: string;
3491
3491
  provider: string;
@@ -3513,7 +3513,7 @@ export declare const zDataForwarderResponse: z.ZodObject<{
3513
3513
  }, {
3514
3514
  id: string;
3515
3515
  organizationId: string;
3516
- config: Record<string, string>;
3516
+ config: Record<string, string> | null;
3517
3517
  dateAdded: string;
3518
3518
  dateUpdated: string;
3519
3519
  provider: string;
@@ -7368,7 +7368,7 @@ export declare const zListDataForwarderResponse: z.ZodArray<z.ZodObject<{
7368
7368
  slug: string;
7369
7369
  }>, "many">;
7370
7370
  provider: z.ZodString;
7371
- config: z.ZodRecord<z.ZodString, z.ZodString>;
7371
+ config: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>;
7372
7372
  projectConfigs: z.ZodArray<z.ZodObject<{
7373
7373
  id: z.ZodString;
7374
7374
  isEnabled: z.ZodBoolean;
@@ -7422,7 +7422,7 @@ export declare const zListDataForwarderResponse: z.ZodArray<z.ZodObject<{
7422
7422
  }, "strip", z.ZodTypeAny, {
7423
7423
  id: string;
7424
7424
  organizationId: string;
7425
- config: Record<string, string>;
7425
+ config: Record<string, string> | null;
7426
7426
  dateAdded: string;
7427
7427
  dateUpdated: string;
7428
7428
  provider: string;
@@ -7450,7 +7450,7 @@ export declare const zListDataForwarderResponse: z.ZodArray<z.ZodObject<{
7450
7450
  }, {
7451
7451
  id: string;
7452
7452
  organizationId: string;
7453
- config: Record<string, string>;
7453
+ config: Record<string, string> | null;
7454
7454
  dateAdded: string;
7455
7455
  dateUpdated: string;
7456
7456
  provider: string;
@@ -31074,7 +31074,7 @@ export declare const zRetrieveDataForwardersForAnOrganizationResponse: z.ZodArra
31074
31074
  slug: string;
31075
31075
  }>, "many">;
31076
31076
  provider: z.ZodString;
31077
- config: z.ZodRecord<z.ZodString, z.ZodString>;
31077
+ config: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>;
31078
31078
  projectConfigs: z.ZodArray<z.ZodObject<{
31079
31079
  id: z.ZodString;
31080
31080
  isEnabled: z.ZodBoolean;
@@ -31128,7 +31128,7 @@ export declare const zRetrieveDataForwardersForAnOrganizationResponse: z.ZodArra
31128
31128
  }, "strip", z.ZodTypeAny, {
31129
31129
  id: string;
31130
31130
  organizationId: string;
31131
- config: Record<string, string>;
31131
+ config: Record<string, string> | null;
31132
31132
  dateAdded: string;
31133
31133
  dateUpdated: string;
31134
31134
  provider: string;
@@ -31156,7 +31156,7 @@ export declare const zRetrieveDataForwardersForAnOrganizationResponse: z.ZodArra
31156
31156
  }, {
31157
31157
  id: string;
31158
31158
  organizationId: string;
31159
- config: Record<string, string>;
31159
+ config: Record<string, string> | null;
31160
31160
  dateAdded: string;
31161
31161
  dateUpdated: string;
31162
31162
  provider: string;
@@ -31259,7 +31259,7 @@ export declare const zCreateADataForwarderForAnOrganizationResponse: z.ZodObject
31259
31259
  slug: string;
31260
31260
  }>, "many">;
31261
31261
  provider: z.ZodString;
31262
- config: z.ZodRecord<z.ZodString, z.ZodString>;
31262
+ config: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>;
31263
31263
  projectConfigs: z.ZodArray<z.ZodObject<{
31264
31264
  id: z.ZodString;
31265
31265
  isEnabled: z.ZodBoolean;
@@ -31313,7 +31313,7 @@ export declare const zCreateADataForwarderForAnOrganizationResponse: z.ZodObject
31313
31313
  }, "strip", z.ZodTypeAny, {
31314
31314
  id: string;
31315
31315
  organizationId: string;
31316
- config: Record<string, string>;
31316
+ config: Record<string, string> | null;
31317
31317
  dateAdded: string;
31318
31318
  dateUpdated: string;
31319
31319
  provider: string;
@@ -31341,7 +31341,7 @@ export declare const zCreateADataForwarderForAnOrganizationResponse: z.ZodObject
31341
31341
  }, {
31342
31342
  id: string;
31343
31343
  organizationId: string;
31344
- config: Record<string, string>;
31344
+ config: Record<string, string> | null;
31345
31345
  dateAdded: string;
31346
31346
  dateUpdated: string;
31347
31347
  provider: string;
@@ -31481,7 +31481,7 @@ export declare const zUpdateADataForwarderForAnOrganizationResponse: z.ZodObject
31481
31481
  slug: string;
31482
31482
  }>, "many">;
31483
31483
  provider: z.ZodString;
31484
- config: z.ZodRecord<z.ZodString, z.ZodString>;
31484
+ config: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>;
31485
31485
  projectConfigs: z.ZodArray<z.ZodObject<{
31486
31486
  id: z.ZodString;
31487
31487
  isEnabled: z.ZodBoolean;
@@ -31535,7 +31535,7 @@ export declare const zUpdateADataForwarderForAnOrganizationResponse: z.ZodObject
31535
31535
  }, "strip", z.ZodTypeAny, {
31536
31536
  id: string;
31537
31537
  organizationId: string;
31538
- config: Record<string, string>;
31538
+ config: Record<string, string> | null;
31539
31539
  dateAdded: string;
31540
31540
  dateUpdated: string;
31541
31541
  provider: string;
@@ -31563,7 +31563,7 @@ export declare const zUpdateADataForwarderForAnOrganizationResponse: z.ZodObject
31563
31563
  }, {
31564
31564
  id: string;
31565
31565
  organizationId: string;
31566
- config: Record<string, string>;
31566
+ config: Record<string, string> | null;
31567
31567
  dateAdded: string;
31568
31568
  dateUpdated: string;
31569
31569
  provider: string;
package/dist/zod.js CHANGED
@@ -1773,7 +1773,10 @@ var zDataForwarderResponse = z.object({
1773
1773
  ])
1774
1774
  })),
1775
1775
  provider: z.string(),
1776
- config: z.record(z.string()),
1776
+ config: z.union([
1777
+ z.record(z.string()),
1778
+ z.null()
1779
+ ]),
1777
1780
  projectConfigs: z.array(z.object({
1778
1781
  id: z.string(),
1779
1782
  isEnabled: z.boolean(),
@@ -3475,7 +3478,10 @@ var zListDataForwarderResponse = z.array(z.object({
3475
3478
  ])
3476
3479
  })),
3477
3480
  provider: z.string(),
3478
- config: z.record(z.string()),
3481
+ config: z.union([
3482
+ z.record(z.string()),
3483
+ z.null()
3484
+ ]),
3479
3485
  projectConfigs: z.array(z.object({
3480
3486
  id: z.string(),
3481
3487
  isEnabled: z.boolean(),
@@ -11849,7 +11855,10 @@ var zRetrieveDataForwardersForAnOrganizationResponse = z.array(z.object({
11849
11855
  ])
11850
11856
  })),
11851
11857
  provider: z.string(),
11852
- config: z.record(z.string()),
11858
+ config: z.union([
11859
+ z.record(z.string()),
11860
+ z.null()
11861
+ ]),
11853
11862
  projectConfigs: z.array(z.object({
11854
11863
  id: z.string(),
11855
11864
  isEnabled: z.boolean(),
@@ -11902,7 +11911,10 @@ var zCreateADataForwarderForAnOrganizationResponse = z.object({
11902
11911
  ])
11903
11912
  })),
11904
11913
  provider: z.string(),
11905
- config: z.record(z.string()),
11914
+ config: z.union([
11915
+ z.record(z.string()),
11916
+ z.null()
11917
+ ]),
11906
11918
  projectConfigs: z.array(z.object({
11907
11919
  id: z.string(),
11908
11920
  isEnabled: z.boolean(),
@@ -11965,7 +11977,10 @@ var zUpdateADataForwarderForAnOrganizationResponse = z.object({
11965
11977
  ])
11966
11978
  })),
11967
11979
  provider: z.string(),
11968
- config: z.record(z.string()),
11980
+ config: z.union([
11981
+ z.record(z.string()),
11982
+ z.null()
11983
+ ]),
11969
11984
  projectConfigs: z.array(z.object({
11970
11985
  id: z.string(),
11971
11986
  isEnabled: z.boolean(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.146.0",
3
+ "version": "0.147.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",