@sentry/api 0.335.0 → 0.337.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.
package/dist/zod.js CHANGED
@@ -5511,7 +5511,19 @@ var zListOrgTeamResponse = z.array(z.object({
5511
5511
  })).optional()
5512
5512
  }));
5513
5513
  var zListOrganizationAiConversationsResponse = z.array(z.object({
5514
+ endTimestamp: z.number().int(),
5515
+ generationDuration: z.number(),
5516
+ inputTokens: z.number().int(),
5517
+ llmCalls: z.number().int(),
5518
+ outputTokens: z.number().int(),
5519
+ startTimestamp: z.number().int(),
5520
+ toolCalls: z.number().int(),
5521
+ toolErrors: z.number().int(),
5522
+ toolNames: z.array(z.string()),
5523
+ totalCost: z.number(),
5524
+ totalTokens: z.number().int(),
5514
5525
  conversationId: z.string(),
5526
+ errors: z.number().int(),
5515
5527
  title: z.union([
5516
5528
  z.string(),
5517
5529
  z.null()
@@ -5521,16 +5533,6 @@ var zListOrganizationAiConversationsResponse = z.array(z.object({
5521
5533
  z.null()
5522
5534
  ]),
5523
5535
  flow: z.array(z.string()),
5524
- errors: z.number().int(),
5525
- llmCalls: z.number().int(),
5526
- toolCalls: z.number().int(),
5527
- totalTokens: z.number().int(),
5528
- inputTokens: z.number().int(),
5529
- outputTokens: z.number().int(),
5530
- totalCost: z.number(),
5531
- generationDuration: z.number(),
5532
- startTimestamp: z.number().int(),
5533
- endTimestamp: z.number().int(),
5534
5536
  traceCount: z.number().int(),
5535
5537
  traceIds: z.array(z.string()),
5536
5538
  firstInput: z.union([
@@ -5562,8 +5564,6 @@ var zListOrganizationAiConversationsResponse = z.array(z.object({
5562
5564
  }),
5563
5565
  z.null()
5564
5566
  ]),
5565
- toolNames: z.array(z.string()),
5566
- toolErrors: z.number().int(),
5567
5567
  projects: z.array(z.object({
5568
5568
  id: z.number().int(),
5569
5569
  name: z.string(),
@@ -11532,7 +11532,35 @@ var zRetrieveOrganizationAiConversationResponse = z.object({
11532
11532
  slug: z.string()
11533
11533
  })),
11534
11534
  webUrl: z.string(),
11535
- spans: z.array(z.record(z.unknown()))
11535
+ spans: z.array(z.record(z.unknown())),
11536
+ stats: z.object({
11537
+ endTimestamp: z.number().int(),
11538
+ generationDuration: z.number(),
11539
+ inputTokens: z.number().int(),
11540
+ llmCalls: z.number().int(),
11541
+ outputTokens: z.number().int(),
11542
+ startTimestamp: z.number().int(),
11543
+ toolCalls: z.number().int(),
11544
+ toolErrors: z.number().int(),
11545
+ toolNames: z.array(z.string()),
11546
+ totalCost: z.number(),
11547
+ totalTokens: z.number().int(),
11548
+ usageByModel: z.array(z.object({
11549
+ model: z.union([
11550
+ z.string(),
11551
+ z.null()
11552
+ ]),
11553
+ inputTokens: z.number().int(),
11554
+ outputTokens: z.number().int(),
11555
+ totalTokens: z.number().int(),
11556
+ cacheReadTokens: z.number().int(),
11557
+ cacheWriteTokens: z.number().int(),
11558
+ reasoningTokens: z.number().int(),
11559
+ inputCost: z.number(),
11560
+ outputCost: z.number(),
11561
+ totalCost: z.number()
11562
+ }))
11563
+ })
11536
11564
  });
11537
11565
  var zScimListResponseEnvelopeScimMemberIndexResponse = z.object({
11538
11566
  schemas: z.array(z.string()),
@@ -12650,7 +12678,8 @@ var zSource = z.object({
12650
12678
  type: z.enum([
12651
12679
  "http",
12652
12680
  "gcs",
12653
- "s3"
12681
+ "s3",
12682
+ "azure"
12654
12683
  ]),
12655
12684
  name: z.string(),
12656
12685
  id: z.string().optional(),
@@ -12723,7 +12752,12 @@ var zSource = z.object({
12723
12752
  secret_key: z.string().optional(),
12724
12753
  prefix: z.string().optional(),
12725
12754
  client_email: z.string().optional(),
12726
- private_key: z.string().optional()
12755
+ private_key: z.string().optional(),
12756
+ account: z.string().optional(),
12757
+ container: z.string().optional(),
12758
+ tenant_id: z.string().optional(),
12759
+ client_id: z.string().optional(),
12760
+ client_secret: z.string().optional()
12727
12761
  });
12728
12762
  var zSourceMapDebug = z.object({
12729
12763
  dist: z.union([
@@ -13925,7 +13959,19 @@ var zListOrganizationAiConversationsData = z.object({
13925
13959
  }).optional()
13926
13960
  });
13927
13961
  var zListOrganizationAiConversationsResponse2 = z.array(z.object({
13962
+ endTimestamp: z.number().int(),
13963
+ generationDuration: z.number(),
13964
+ inputTokens: z.number().int(),
13965
+ llmCalls: z.number().int(),
13966
+ outputTokens: z.number().int(),
13967
+ startTimestamp: z.number().int(),
13968
+ toolCalls: z.number().int(),
13969
+ toolErrors: z.number().int(),
13970
+ toolNames: z.array(z.string()),
13971
+ totalCost: z.number(),
13972
+ totalTokens: z.number().int(),
13928
13973
  conversationId: z.string(),
13974
+ errors: z.number().int(),
13929
13975
  title: z.union([
13930
13976
  z.string(),
13931
13977
  z.null()
@@ -13935,16 +13981,6 @@ var zListOrganizationAiConversationsResponse2 = z.array(z.object({
13935
13981
  z.null()
13936
13982
  ]),
13937
13983
  flow: z.array(z.string()),
13938
- errors: z.number().int(),
13939
- llmCalls: z.number().int(),
13940
- toolCalls: z.number().int(),
13941
- totalTokens: z.number().int(),
13942
- inputTokens: z.number().int(),
13943
- outputTokens: z.number().int(),
13944
- totalCost: z.number(),
13945
- generationDuration: z.number(),
13946
- startTimestamp: z.number().int(),
13947
- endTimestamp: z.number().int(),
13948
13984
  traceCount: z.number().int(),
13949
13985
  traceIds: z.array(z.string()),
13950
13986
  firstInput: z.union([
@@ -13976,8 +14012,6 @@ var zListOrganizationAiConversationsResponse2 = z.array(z.object({
13976
14012
  }),
13977
14013
  z.null()
13978
14014
  ]),
13979
- toolNames: z.array(z.string()),
13980
- toolErrors: z.number().int(),
13981
14015
  projects: z.array(z.object({
13982
14016
  id: z.number().int(),
13983
14017
  name: z.string(),
@@ -14013,7 +14047,35 @@ var zRetrieveOrganizationAiConversationResponse2 = z.object({
14013
14047
  slug: z.string()
14014
14048
  })),
14015
14049
  webUrl: z.string(),
14016
- spans: z.array(z.record(z.unknown()))
14050
+ spans: z.array(z.record(z.unknown())),
14051
+ stats: z.object({
14052
+ endTimestamp: z.number().int(),
14053
+ generationDuration: z.number(),
14054
+ inputTokens: z.number().int(),
14055
+ llmCalls: z.number().int(),
14056
+ outputTokens: z.number().int(),
14057
+ startTimestamp: z.number().int(),
14058
+ toolCalls: z.number().int(),
14059
+ toolErrors: z.number().int(),
14060
+ toolNames: z.array(z.string()),
14061
+ totalCost: z.number(),
14062
+ totalTokens: z.number().int(),
14063
+ usageByModel: z.array(z.object({
14064
+ model: z.union([
14065
+ z.string(),
14066
+ z.null()
14067
+ ]),
14068
+ inputTokens: z.number().int(),
14069
+ outputTokens: z.number().int(),
14070
+ totalTokens: z.number().int(),
14071
+ cacheReadTokens: z.number().int(),
14072
+ cacheWriteTokens: z.number().int(),
14073
+ reasoningTokens: z.number().int(),
14074
+ inputCost: z.number(),
14075
+ outputCost: z.number(),
14076
+ totalCost: z.number()
14077
+ }))
14078
+ })
14017
14079
  });
14018
14080
  var zGetOrganizationConfigIntegrationsData = z.object({
14019
14081
  body: z.never().optional(),
@@ -30546,6 +30608,60 @@ var zListProjectSymbolSourcesResponse = z.array(z.union([
30546
30608
  has_index: z.boolean().optional(),
30547
30609
  platforms: z.array(z.string()).optional()
30548
30610
  }),
30611
+ z.object({
30612
+ type: z.enum(["azure"]),
30613
+ account: z.string().regex(/^[a-z0-9]{3,24}$/),
30614
+ container: z.string(),
30615
+ tenant_id: z.string(),
30616
+ client_id: z.string(),
30617
+ client_secret: z.object({
30618
+ "hidden-secret": z.literal(true).optional()
30619
+ }),
30620
+ prefix: z.string().optional(),
30621
+ id: z.string().min(1),
30622
+ name: z.string().optional(),
30623
+ layout: z.object({
30624
+ type: z.enum([
30625
+ "native",
30626
+ "symstore",
30627
+ "symstore_index2",
30628
+ "ssqp",
30629
+ "unified",
30630
+ "debuginfod",
30631
+ "slashsymbols"
30632
+ ]),
30633
+ casing: z.enum([
30634
+ "lowercase",
30635
+ "uppercase",
30636
+ "default"
30637
+ ]).optional()
30638
+ }),
30639
+ filters: z.object({
30640
+ filetypes: z.array(z.enum([
30641
+ "pe",
30642
+ "pdb",
30643
+ "portablepdb",
30644
+ "mach_debug",
30645
+ "mach_code",
30646
+ "elf_debug",
30647
+ "elf_code",
30648
+ "wasm_debug",
30649
+ "wasm_code",
30650
+ "breakpad",
30651
+ "sourcebundle",
30652
+ "uuidmap",
30653
+ "bcsymbolmap",
30654
+ "il2cpp",
30655
+ "proguard",
30656
+ "dartsymbolmap"
30657
+ ])).optional(),
30658
+ path_patterns: z.array(z.string()).optional(),
30659
+ requires_checksum: z.boolean().optional()
30660
+ }).optional(),
30661
+ is_public: z.boolean().optional(),
30662
+ has_index: z.boolean().optional(),
30663
+ platforms: z.array(z.string()).optional()
30664
+ }),
30549
30665
  z.object({
30550
30666
  type: z.enum(["appStoreConnect"]),
30551
30667
  id: z.string().min(1),
@@ -30563,7 +30679,8 @@ var zAddProjectSymbolSourceData = z.object({
30563
30679
  type: z.enum([
30564
30680
  "http",
30565
30681
  "gcs",
30566
- "s3"
30682
+ "s3",
30683
+ "azure"
30567
30684
  ]),
30568
30685
  name: z.string(),
30569
30686
  id: z.string().optional(),
@@ -30636,7 +30753,12 @@ var zAddProjectSymbolSourceData = z.object({
30636
30753
  secret_key: z.string().optional(),
30637
30754
  prefix: z.string().optional(),
30638
30755
  client_email: z.string().optional(),
30639
- private_key: z.string().optional()
30756
+ private_key: z.string().optional(),
30757
+ account: z.string().optional(),
30758
+ container: z.string().optional(),
30759
+ tenant_id: z.string().optional(),
30760
+ client_id: z.string().optional(),
30761
+ client_secret: z.string().optional()
30640
30762
  }),
30641
30763
  path: z.object({
30642
30764
  organization_id_or_slug: z.string(),
@@ -30801,6 +30923,60 @@ var zAddProjectSymbolSourceResponse = z.union([
30801
30923
  has_index: z.boolean().optional(),
30802
30924
  platforms: z.array(z.string()).optional()
30803
30925
  }),
30926
+ z.object({
30927
+ type: z.enum(["azure"]),
30928
+ account: z.string().regex(/^[a-z0-9]{3,24}$/),
30929
+ container: z.string(),
30930
+ tenant_id: z.string(),
30931
+ client_id: z.string(),
30932
+ client_secret: z.object({
30933
+ "hidden-secret": z.literal(true).optional()
30934
+ }),
30935
+ prefix: z.string().optional(),
30936
+ id: z.string().min(1),
30937
+ name: z.string().optional(),
30938
+ layout: z.object({
30939
+ type: z.enum([
30940
+ "native",
30941
+ "symstore",
30942
+ "symstore_index2",
30943
+ "ssqp",
30944
+ "unified",
30945
+ "debuginfod",
30946
+ "slashsymbols"
30947
+ ]),
30948
+ casing: z.enum([
30949
+ "lowercase",
30950
+ "uppercase",
30951
+ "default"
30952
+ ]).optional()
30953
+ }),
30954
+ filters: z.object({
30955
+ filetypes: z.array(z.enum([
30956
+ "pe",
30957
+ "pdb",
30958
+ "portablepdb",
30959
+ "mach_debug",
30960
+ "mach_code",
30961
+ "elf_debug",
30962
+ "elf_code",
30963
+ "wasm_debug",
30964
+ "wasm_code",
30965
+ "breakpad",
30966
+ "sourcebundle",
30967
+ "uuidmap",
30968
+ "bcsymbolmap",
30969
+ "il2cpp",
30970
+ "proguard",
30971
+ "dartsymbolmap"
30972
+ ])).optional(),
30973
+ path_patterns: z.array(z.string()).optional(),
30974
+ requires_checksum: z.boolean().optional()
30975
+ }).optional(),
30976
+ is_public: z.boolean().optional(),
30977
+ has_index: z.boolean().optional(),
30978
+ platforms: z.array(z.string()).optional()
30979
+ }),
30804
30980
  z.object({
30805
30981
  type: z.enum(["appStoreConnect"]),
30806
30982
  id: z.string().min(1),
@@ -30818,7 +30994,8 @@ var zUpdateProjectSymbolSourceData = z.object({
30818
30994
  type: z.enum([
30819
30995
  "http",
30820
30996
  "gcs",
30821
- "s3"
30997
+ "s3",
30998
+ "azure"
30822
30999
  ]),
30823
31000
  name: z.string(),
30824
31001
  id: z.string().optional(),
@@ -30891,7 +31068,12 @@ var zUpdateProjectSymbolSourceData = z.object({
30891
31068
  secret_key: z.string().optional(),
30892
31069
  prefix: z.string().optional(),
30893
31070
  client_email: z.string().optional(),
30894
- private_key: z.string().optional()
31071
+ private_key: z.string().optional(),
31072
+ account: z.string().optional(),
31073
+ container: z.string().optional(),
31074
+ tenant_id: z.string().optional(),
31075
+ client_id: z.string().optional(),
31076
+ client_secret: z.string().optional()
30895
31077
  }),
30896
31078
  path: z.object({
30897
31079
  organization_id_or_slug: z.string(),
@@ -31058,6 +31240,60 @@ var zUpdateProjectSymbolSourceResponse = z.union([
31058
31240
  has_index: z.boolean().optional(),
31059
31241
  platforms: z.array(z.string()).optional()
31060
31242
  }),
31243
+ z.object({
31244
+ type: z.enum(["azure"]),
31245
+ account: z.string().regex(/^[a-z0-9]{3,24}$/),
31246
+ container: z.string(),
31247
+ tenant_id: z.string(),
31248
+ client_id: z.string(),
31249
+ client_secret: z.object({
31250
+ "hidden-secret": z.literal(true).optional()
31251
+ }),
31252
+ prefix: z.string().optional(),
31253
+ id: z.string().min(1),
31254
+ name: z.string().optional(),
31255
+ layout: z.object({
31256
+ type: z.enum([
31257
+ "native",
31258
+ "symstore",
31259
+ "symstore_index2",
31260
+ "ssqp",
31261
+ "unified",
31262
+ "debuginfod",
31263
+ "slashsymbols"
31264
+ ]),
31265
+ casing: z.enum([
31266
+ "lowercase",
31267
+ "uppercase",
31268
+ "default"
31269
+ ]).optional()
31270
+ }),
31271
+ filters: z.object({
31272
+ filetypes: z.array(z.enum([
31273
+ "pe",
31274
+ "pdb",
31275
+ "portablepdb",
31276
+ "mach_debug",
31277
+ "mach_code",
31278
+ "elf_debug",
31279
+ "elf_code",
31280
+ "wasm_debug",
31281
+ "wasm_code",
31282
+ "breakpad",
31283
+ "sourcebundle",
31284
+ "uuidmap",
31285
+ "bcsymbolmap",
31286
+ "il2cpp",
31287
+ "proguard",
31288
+ "dartsymbolmap"
31289
+ ])).optional(),
31290
+ path_patterns: z.array(z.string()).optional(),
31291
+ requires_checksum: z.boolean().optional()
31292
+ }).optional(),
31293
+ is_public: z.boolean().optional(),
31294
+ has_index: z.boolean().optional(),
31295
+ platforms: z.array(z.string()).optional()
31296
+ }),
31061
31297
  z.object({
31062
31298
  type: z.enum(["appStoreConnect"]),
31063
31299
  id: z.string().min(1),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.335.0",
3
+ "version": "0.337.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",