vanta-auditor-api-mcp 0.1.1 → 0.1.2

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/bin/mcp-server.js CHANGED
@@ -49495,12 +49495,39 @@ var init_auditor_token = __esm(() => {
49495
49495
  FALSE_FLAG_VALUES = new Set(["false", "f", "no", "n", "off", "0"]);
49496
49496
  });
49497
49497
 
49498
+ // src/hooks/error-status.ts
49499
+ class ErrorStatusHook {
49500
+ async afterSuccess(_hookCtx, response) {
49501
+ if (response.ok)
49502
+ return response;
49503
+ let error = null;
49504
+ try {
49505
+ const text = await response.text();
49506
+ try {
49507
+ error = JSON.parse(text);
49508
+ } catch {
49509
+ error = text;
49510
+ }
49511
+ } catch {}
49512
+ const retryAfter = response.headers.get("retry-after");
49513
+ const headers = new Headers(response.headers);
49514
+ headers.set("content-type", "application/json");
49515
+ headers.delete("content-length");
49516
+ return new Response(JSON.stringify({
49517
+ status: response.status,
49518
+ ...retryAfter ? { retryAfter } : {},
49519
+ error
49520
+ }), { status: response.status, statusText: response.statusText, headers });
49521
+ }
49522
+ }
49523
+
49498
49524
  // src/hooks/registration.ts
49499
49525
  function initHooks(hooks) {
49500
49526
  const auditorToken = new AuditorTokenHook;
49501
49527
  hooks.registerBeforeRequestHook(auditorToken);
49502
49528
  hooks.registerAfterSuccessHook(auditorToken);
49503
49529
  hooks.registerAfterErrorHook(auditorToken);
49530
+ hooks.registerAfterSuccessHook(new ErrorStatusHook);
49504
49531
  }
49505
49532
  var init_registration = __esm(() => {
49506
49533
  init_auditor_token();
@@ -49731,9 +49758,9 @@ var init_config = __esm(() => {
49731
49758
  SDK_METADATA = {
49732
49759
  language: "typescript",
49733
49760
  openapiDocVersion: "1.0.0",
49734
- sdkVersion: "0.1.1",
49761
+ sdkVersion: "0.1.2",
49735
49762
  genVersion: "2.968.1",
49736
- userAgent: "speakeasy-sdk/mcp-typescript 0.1.1 2.968.1 1.0.0 vanta-auditor-api-mcp"
49763
+ userAgent: "speakeasy-sdk/mcp-typescript 0.1.2 2.968.1 1.0.0 vanta-auditor-api-mcp"
49737
49764
  };
49738
49765
  });
49739
49766
 
@@ -52095,13 +52122,18 @@ async function $do(client$, request, options) {
52095
52122
  oAuth2Scopes: null,
52096
52123
  resolvedSecurity: requestSecurity,
52097
52124
  securitySource: client$._options.security,
52098
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
52125
+ retryConfig: options?.retries || client$._options.retryConfig || {
52126
+ strategy: "backoff",
52127
+ backoff: {
52128
+ initialInterval: 1000,
52129
+ maxInterval: 1e4,
52130
+ exponent: 2,
52131
+ maxElapsedTime: 25000
52132
+ },
52133
+ retryConnectionErrors: false
52134
+ },
52099
52135
  retryCodes: options?.retryCodes || [
52100
- "429",
52101
- "500",
52102
- "502",
52103
- "503",
52104
- "504"
52136
+ "429"
52105
52137
  ]
52106
52138
  };
52107
52139
  const requestRes = client$._createRequest(context, {
@@ -52244,13 +52276,18 @@ async function $do2(client$, request, options) {
52244
52276
  oAuth2Scopes: null,
52245
52277
  resolvedSecurity: requestSecurity,
52246
52278
  securitySource: client$._options.security,
52247
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
52279
+ retryConfig: options?.retries || client$._options.retryConfig || {
52280
+ strategy: "backoff",
52281
+ backoff: {
52282
+ initialInterval: 1000,
52283
+ maxInterval: 1e4,
52284
+ exponent: 2,
52285
+ maxElapsedTime: 25000
52286
+ },
52287
+ retryConnectionErrors: false
52288
+ },
52248
52289
  retryCodes: options?.retryCodes || [
52249
- "429",
52250
- "500",
52251
- "502",
52252
- "503",
52253
- "504"
52290
+ "429"
52254
52291
  ]
52255
52292
  };
52256
52293
  const requestRes = client$._createRequest(context, {
@@ -52405,13 +52442,18 @@ async function $do3(client$, request, options) {
52405
52442
  oAuth2Scopes: null,
52406
52443
  resolvedSecurity: requestSecurity,
52407
52444
  securitySource: client$._options.security,
52408
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
52445
+ retryConfig: options?.retries || client$._options.retryConfig || {
52446
+ strategy: "backoff",
52447
+ backoff: {
52448
+ initialInterval: 1000,
52449
+ maxInterval: 1e4,
52450
+ exponent: 2,
52451
+ maxElapsedTime: 25000
52452
+ },
52453
+ retryConnectionErrors: false
52454
+ },
52409
52455
  retryCodes: options?.retryCodes || [
52410
- "429",
52411
- "500",
52412
- "502",
52413
- "503",
52414
- "504"
52456
+ "429"
52415
52457
  ]
52416
52458
  };
52417
52459
  const requestRes = client$._createRequest(context, {
@@ -52560,13 +52602,18 @@ async function $do4(client$, request, options) {
52560
52602
  oAuth2Scopes: null,
52561
52603
  resolvedSecurity: requestSecurity,
52562
52604
  securitySource: client$._options.security,
52563
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
52605
+ retryConfig: options?.retries || client$._options.retryConfig || {
52606
+ strategy: "backoff",
52607
+ backoff: {
52608
+ initialInterval: 1000,
52609
+ maxInterval: 1e4,
52610
+ exponent: 2,
52611
+ maxElapsedTime: 25000
52612
+ },
52613
+ retryConnectionErrors: false
52614
+ },
52564
52615
  retryCodes: options?.retryCodes || [
52565
- "429",
52566
- "500",
52567
- "502",
52568
- "503",
52569
- "504"
52616
+ "429"
52570
52617
  ]
52571
52618
  };
52572
52619
  const requestRes = client$._createRequest(context, {
@@ -52720,13 +52767,18 @@ async function $do5(client$, request, options) {
52720
52767
  oAuth2Scopes: null,
52721
52768
  resolvedSecurity: requestSecurity,
52722
52769
  securitySource: client$._options.security,
52723
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
52770
+ retryConfig: options?.retries || client$._options.retryConfig || {
52771
+ strategy: "backoff",
52772
+ backoff: {
52773
+ initialInterval: 1000,
52774
+ maxInterval: 1e4,
52775
+ exponent: 2,
52776
+ maxElapsedTime: 25000
52777
+ },
52778
+ retryConnectionErrors: false
52779
+ },
52724
52780
  retryCodes: options?.retryCodes || [
52725
- "429",
52726
- "500",
52727
- "502",
52728
- "503",
52729
- "504"
52781
+ "429"
52730
52782
  ]
52731
52783
  };
52732
52784
  const requestRes = client$._createRequest(context, {
@@ -52986,13 +53038,18 @@ async function $do6(client$, request, options) {
52986
53038
  oAuth2Scopes: null,
52987
53039
  resolvedSecurity: requestSecurity,
52988
53040
  securitySource: client$._options.security,
52989
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
53041
+ retryConfig: options?.retries || client$._options.retryConfig || {
53042
+ strategy: "backoff",
53043
+ backoff: {
53044
+ initialInterval: 1000,
53045
+ maxInterval: 1e4,
53046
+ exponent: 2,
53047
+ maxElapsedTime: 25000
53048
+ },
53049
+ retryConnectionErrors: false
53050
+ },
52990
53051
  retryCodes: options?.retryCodes || [
52991
- "429",
52992
- "500",
52993
- "502",
52994
- "503",
52995
- "504"
53052
+ "429"
52996
53053
  ]
52997
53054
  };
52998
53055
  const requestRes = client$._createRequest(context, {
@@ -53153,13 +53210,18 @@ async function $do7(client$, request, options) {
53153
53210
  oAuth2Scopes: null,
53154
53211
  resolvedSecurity: requestSecurity,
53155
53212
  securitySource: client$._options.security,
53156
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
53213
+ retryConfig: options?.retries || client$._options.retryConfig || {
53214
+ strategy: "backoff",
53215
+ backoff: {
53216
+ initialInterval: 1000,
53217
+ maxInterval: 1e4,
53218
+ exponent: 2,
53219
+ maxElapsedTime: 25000
53220
+ },
53221
+ retryConnectionErrors: false
53222
+ },
53157
53223
  retryCodes: options?.retryCodes || [
53158
- "429",
53159
- "500",
53160
- "502",
53161
- "503",
53162
- "504"
53224
+ "429"
53163
53225
  ]
53164
53226
  };
53165
53227
  const requestRes = client$._createRequest(context, {
@@ -53340,13 +53402,18 @@ async function $do8(client$, request, options) {
53340
53402
  oAuth2Scopes: null,
53341
53403
  resolvedSecurity: requestSecurity,
53342
53404
  securitySource: client$._options.security,
53343
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
53405
+ retryConfig: options?.retries || client$._options.retryConfig || {
53406
+ strategy: "backoff",
53407
+ backoff: {
53408
+ initialInterval: 1000,
53409
+ maxInterval: 1e4,
53410
+ exponent: 2,
53411
+ maxElapsedTime: 25000
53412
+ },
53413
+ retryConnectionErrors: false
53414
+ },
53344
53415
  retryCodes: options?.retryCodes || [
53345
- "429",
53346
- "500",
53347
- "502",
53348
- "503",
53349
- "504"
53416
+ "429"
53350
53417
  ]
53351
53418
  };
53352
53419
  const requestRes = client$._createRequest(context, {
@@ -53501,13 +53568,18 @@ async function $do9(client$, request, options) {
53501
53568
  oAuth2Scopes: null,
53502
53569
  resolvedSecurity: requestSecurity,
53503
53570
  securitySource: client$._options.security,
53504
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
53571
+ retryConfig: options?.retries || client$._options.retryConfig || {
53572
+ strategy: "backoff",
53573
+ backoff: {
53574
+ initialInterval: 1000,
53575
+ maxInterval: 1e4,
53576
+ exponent: 2,
53577
+ maxElapsedTime: 25000
53578
+ },
53579
+ retryConnectionErrors: false
53580
+ },
53505
53581
  retryCodes: options?.retryCodes || [
53506
- "429",
53507
- "500",
53508
- "502",
53509
- "503",
53510
- "504"
53582
+ "429"
53511
53583
  ]
53512
53584
  };
53513
53585
  const requestRes = client$._createRequest(context, {
@@ -53657,13 +53729,18 @@ async function $do10(client$, request, options) {
53657
53729
  oAuth2Scopes: null,
53658
53730
  resolvedSecurity: requestSecurity,
53659
53731
  securitySource: client$._options.security,
53660
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
53732
+ retryConfig: options?.retries || client$._options.retryConfig || {
53733
+ strategy: "backoff",
53734
+ backoff: {
53735
+ initialInterval: 1000,
53736
+ maxInterval: 1e4,
53737
+ exponent: 2,
53738
+ maxElapsedTime: 25000
53739
+ },
53740
+ retryConnectionErrors: false
53741
+ },
53661
53742
  retryCodes: options?.retryCodes || [
53662
- "429",
53663
- "500",
53664
- "502",
53665
- "503",
53666
- "504"
53743
+ "429"
53667
53744
  ]
53668
53745
  };
53669
53746
  const requestRes = client$._createRequest(context, {
@@ -53793,13 +53870,18 @@ async function $do11(client$, request, options) {
53793
53870
  oAuth2Scopes: null,
53794
53871
  resolvedSecurity: requestSecurity,
53795
53872
  securitySource: client$._options.security,
53796
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
53873
+ retryConfig: options?.retries || client$._options.retryConfig || {
53874
+ strategy: "backoff",
53875
+ backoff: {
53876
+ initialInterval: 1000,
53877
+ maxInterval: 1e4,
53878
+ exponent: 2,
53879
+ maxElapsedTime: 25000
53880
+ },
53881
+ retryConnectionErrors: false
53882
+ },
53797
53883
  retryCodes: options?.retryCodes || [
53798
- "429",
53799
- "500",
53800
- "502",
53801
- "503",
53802
- "504"
53884
+ "429"
53803
53885
  ]
53804
53886
  };
53805
53887
  const requestRes = client$._createRequest(context, {
@@ -53955,13 +54037,18 @@ async function $do12(client$, request, options) {
53955
54037
  oAuth2Scopes: null,
53956
54038
  resolvedSecurity: requestSecurity,
53957
54039
  securitySource: client$._options.security,
53958
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
54040
+ retryConfig: options?.retries || client$._options.retryConfig || {
54041
+ strategy: "backoff",
54042
+ backoff: {
54043
+ initialInterval: 1000,
54044
+ maxInterval: 1e4,
54045
+ exponent: 2,
54046
+ maxElapsedTime: 25000
54047
+ },
54048
+ retryConnectionErrors: false
54049
+ },
53959
54050
  retryCodes: options?.retryCodes || [
53960
- "429",
53961
- "500",
53962
- "502",
53963
- "503",
53964
- "504"
54051
+ "429"
53965
54052
  ]
53966
54053
  };
53967
54054
  const requestRes = client$._createRequest(context, {
@@ -54091,13 +54178,18 @@ async function $do13(client$, request, options) {
54091
54178
  oAuth2Scopes: null,
54092
54179
  resolvedSecurity: requestSecurity,
54093
54180
  securitySource: client$._options.security,
54094
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
54181
+ retryConfig: options?.retries || client$._options.retryConfig || {
54182
+ strategy: "backoff",
54183
+ backoff: {
54184
+ initialInterval: 1000,
54185
+ maxInterval: 1e4,
54186
+ exponent: 2,
54187
+ maxElapsedTime: 25000
54188
+ },
54189
+ retryConnectionErrors: false
54190
+ },
54095
54191
  retryCodes: options?.retryCodes || [
54096
- "429",
54097
- "500",
54098
- "502",
54099
- "503",
54100
- "504"
54192
+ "429"
54101
54193
  ]
54102
54194
  };
54103
54195
  const requestRes = client$._createRequest(context, {
@@ -54281,13 +54373,18 @@ async function $do14(client$, request, options) {
54281
54373
  oAuth2Scopes: null,
54282
54374
  resolvedSecurity: requestSecurity,
54283
54375
  securitySource: client$._options.security,
54284
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
54376
+ retryConfig: options?.retries || client$._options.retryConfig || {
54377
+ strategy: "backoff",
54378
+ backoff: {
54379
+ initialInterval: 1000,
54380
+ maxInterval: 1e4,
54381
+ exponent: 2,
54382
+ maxElapsedTime: 25000
54383
+ },
54384
+ retryConnectionErrors: false
54385
+ },
54285
54386
  retryCodes: options?.retryCodes || [
54286
- "429",
54287
- "500",
54288
- "502",
54289
- "503",
54290
- "504"
54387
+ "429"
54291
54388
  ]
54292
54389
  };
54293
54390
  const requestRes = client$._createRequest(context, {
@@ -54464,13 +54561,18 @@ async function $do15(client$, request, options) {
54464
54561
  oAuth2Scopes: null,
54465
54562
  resolvedSecurity: requestSecurity,
54466
54563
  securitySource: client$._options.security,
54467
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
54564
+ retryConfig: options?.retries || client$._options.retryConfig || {
54565
+ strategy: "backoff",
54566
+ backoff: {
54567
+ initialInterval: 1000,
54568
+ maxInterval: 1e4,
54569
+ exponent: 2,
54570
+ maxElapsedTime: 25000
54571
+ },
54572
+ retryConnectionErrors: false
54573
+ },
54468
54574
  retryCodes: options?.retryCodes || [
54469
- "429",
54470
- "500",
54471
- "502",
54472
- "503",
54473
- "504"
54575
+ "429"
54474
54576
  ]
54475
54577
  };
54476
54578
  const requestRes = client$._createRequest(context, {
@@ -54608,10 +54710,18 @@ async function $do16(client$, request, options) {
54608
54710
  oAuth2Scopes: null,
54609
54711
  resolvedSecurity: requestSecurity,
54610
54712
  securitySource: client$._options.security,
54611
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
54713
+ retryConfig: options?.retries || client$._options.retryConfig || {
54714
+ strategy: "backoff",
54715
+ backoff: {
54716
+ initialInterval: 1000,
54717
+ maxInterval: 1e4,
54718
+ exponent: 2,
54719
+ maxElapsedTime: 25000
54720
+ },
54721
+ retryConnectionErrors: true
54722
+ },
54612
54723
  retryCodes: options?.retryCodes || [
54613
54724
  "429",
54614
- "500",
54615
54725
  "502",
54616
54726
  "503",
54617
54727
  "504"
@@ -54753,10 +54863,18 @@ async function $do17(client$, request, options) {
54753
54863
  oAuth2Scopes: null,
54754
54864
  resolvedSecurity: requestSecurity,
54755
54865
  securitySource: client$._options.security,
54756
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
54866
+ retryConfig: options?.retries || client$._options.retryConfig || {
54867
+ strategy: "backoff",
54868
+ backoff: {
54869
+ initialInterval: 1000,
54870
+ maxInterval: 1e4,
54871
+ exponent: 2,
54872
+ maxElapsedTime: 25000
54873
+ },
54874
+ retryConnectionErrors: true
54875
+ },
54757
54876
  retryCodes: options?.retryCodes || [
54758
54877
  "429",
54759
- "500",
54760
54878
  "502",
54761
54879
  "503",
54762
54880
  "504"
@@ -54901,10 +55019,18 @@ async function $do18(client$, request, options) {
54901
55019
  oAuth2Scopes: null,
54902
55020
  resolvedSecurity: requestSecurity,
54903
55021
  securitySource: client$._options.security,
54904
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
55022
+ retryConfig: options?.retries || client$._options.retryConfig || {
55023
+ strategy: "backoff",
55024
+ backoff: {
55025
+ initialInterval: 1000,
55026
+ maxInterval: 1e4,
55027
+ exponent: 2,
55028
+ maxElapsedTime: 25000
55029
+ },
55030
+ retryConnectionErrors: true
55031
+ },
54905
55032
  retryCodes: options?.retryCodes || [
54906
55033
  "429",
54907
- "500",
54908
55034
  "502",
54909
55035
  "503",
54910
55036
  "504"
@@ -55050,10 +55176,18 @@ async function $do19(client$, request, options) {
55050
55176
  oAuth2Scopes: null,
55051
55177
  resolvedSecurity: requestSecurity,
55052
55178
  securitySource: client$._options.security,
55053
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
55179
+ retryConfig: options?.retries || client$._options.retryConfig || {
55180
+ strategy: "backoff",
55181
+ backoff: {
55182
+ initialInterval: 1000,
55183
+ maxInterval: 1e4,
55184
+ exponent: 2,
55185
+ maxElapsedTime: 25000
55186
+ },
55187
+ retryConnectionErrors: true
55188
+ },
55054
55189
  retryCodes: options?.retryCodes || [
55055
55190
  "429",
55056
- "500",
55057
55191
  "502",
55058
55192
  "503",
55059
55193
  "504"
@@ -55191,10 +55325,18 @@ async function $do20(client$, request, options) {
55191
55325
  oAuth2Scopes: null,
55192
55326
  resolvedSecurity: requestSecurity,
55193
55327
  securitySource: client$._options.security,
55194
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
55328
+ retryConfig: options?.retries || client$._options.retryConfig || {
55329
+ strategy: "backoff",
55330
+ backoff: {
55331
+ initialInterval: 1000,
55332
+ maxInterval: 1e4,
55333
+ exponent: 2,
55334
+ maxElapsedTime: 25000
55335
+ },
55336
+ retryConnectionErrors: true
55337
+ },
55195
55338
  retryCodes: options?.retryCodes || [
55196
55339
  "429",
55197
- "500",
55198
55340
  "502",
55199
55341
  "503",
55200
55342
  "504"
@@ -55330,10 +55472,18 @@ async function $do21(client$, request, options) {
55330
55472
  oAuth2Scopes: null,
55331
55473
  resolvedSecurity: requestSecurity,
55332
55474
  securitySource: client$._options.security,
55333
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
55475
+ retryConfig: options?.retries || client$._options.retryConfig || {
55476
+ strategy: "backoff",
55477
+ backoff: {
55478
+ initialInterval: 1000,
55479
+ maxInterval: 1e4,
55480
+ exponent: 2,
55481
+ maxElapsedTime: 25000
55482
+ },
55483
+ retryConnectionErrors: true
55484
+ },
55334
55485
  retryCodes: options?.retryCodes || [
55335
55486
  "429",
55336
- "500",
55337
55487
  "502",
55338
55488
  "503",
55339
55489
  "504"
@@ -55477,10 +55627,18 @@ async function $do22(client$, request, options) {
55477
55627
  oAuth2Scopes: null,
55478
55628
  resolvedSecurity: requestSecurity,
55479
55629
  securitySource: client$._options.security,
55480
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
55630
+ retryConfig: options?.retries || client$._options.retryConfig || {
55631
+ strategy: "backoff",
55632
+ backoff: {
55633
+ initialInterval: 1000,
55634
+ maxInterval: 1e4,
55635
+ exponent: 2,
55636
+ maxElapsedTime: 25000
55637
+ },
55638
+ retryConnectionErrors: true
55639
+ },
55481
55640
  retryCodes: options?.retryCodes || [
55482
55641
  "429",
55483
- "500",
55484
55642
  "502",
55485
55643
  "503",
55486
55644
  "504"
@@ -55630,10 +55788,18 @@ async function $do23(client$, request, options) {
55630
55788
  oAuth2Scopes: null,
55631
55789
  resolvedSecurity: requestSecurity,
55632
55790
  securitySource: client$._options.security,
55633
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
55791
+ retryConfig: options?.retries || client$._options.retryConfig || {
55792
+ strategy: "backoff",
55793
+ backoff: {
55794
+ initialInterval: 1000,
55795
+ maxInterval: 1e4,
55796
+ exponent: 2,
55797
+ maxElapsedTime: 25000
55798
+ },
55799
+ retryConnectionErrors: true
55800
+ },
55634
55801
  retryCodes: options?.retryCodes || [
55635
55802
  "429",
55636
- "500",
55637
55803
  "502",
55638
55804
  "503",
55639
55805
  "504"
@@ -55772,10 +55938,18 @@ async function $do24(client$, request, options) {
55772
55938
  oAuth2Scopes: null,
55773
55939
  resolvedSecurity: requestSecurity,
55774
55940
  securitySource: client$._options.security,
55775
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
55941
+ retryConfig: options?.retries || client$._options.retryConfig || {
55942
+ strategy: "backoff",
55943
+ backoff: {
55944
+ initialInterval: 1000,
55945
+ maxInterval: 1e4,
55946
+ exponent: 2,
55947
+ maxElapsedTime: 25000
55948
+ },
55949
+ retryConnectionErrors: true
55950
+ },
55776
55951
  retryCodes: options?.retryCodes || [
55777
55952
  "429",
55778
- "500",
55779
55953
  "502",
55780
55954
  "503",
55781
55955
  "504"
@@ -55910,10 +56084,18 @@ async function $do25(client$, request, options) {
55910
56084
  oAuth2Scopes: null,
55911
56085
  resolvedSecurity: requestSecurity,
55912
56086
  securitySource: client$._options.security,
55913
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
56087
+ retryConfig: options?.retries || client$._options.retryConfig || {
56088
+ strategy: "backoff",
56089
+ backoff: {
56090
+ initialInterval: 1000,
56091
+ maxInterval: 1e4,
56092
+ exponent: 2,
56093
+ maxElapsedTime: 25000
56094
+ },
56095
+ retryConnectionErrors: true
56096
+ },
55914
56097
  retryCodes: options?.retryCodes || [
55915
56098
  "429",
55916
- "500",
55917
56099
  "502",
55918
56100
  "503",
55919
56101
  "504"
@@ -56084,10 +56266,18 @@ async function $do26(client$, request, options) {
56084
56266
  oAuth2Scopes: null,
56085
56267
  resolvedSecurity: requestSecurity,
56086
56268
  securitySource: client$._options.security,
56087
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
56269
+ retryConfig: options?.retries || client$._options.retryConfig || {
56270
+ strategy: "backoff",
56271
+ backoff: {
56272
+ initialInterval: 1000,
56273
+ maxInterval: 1e4,
56274
+ exponent: 2,
56275
+ maxElapsedTime: 25000
56276
+ },
56277
+ retryConnectionErrors: true
56278
+ },
56088
56279
  retryCodes: options?.retryCodes || [
56089
56280
  "429",
56090
- "500",
56091
56281
  "502",
56092
56282
  "503",
56093
56283
  "504"
@@ -56258,13 +56448,18 @@ async function $do27(client$, request, options) {
56258
56448
  oAuth2Scopes: null,
56259
56449
  resolvedSecurity: requestSecurity,
56260
56450
  securitySource: client$._options.security,
56261
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
56451
+ retryConfig: options?.retries || client$._options.retryConfig || {
56452
+ strategy: "backoff",
56453
+ backoff: {
56454
+ initialInterval: 1000,
56455
+ maxInterval: 1e4,
56456
+ exponent: 2,
56457
+ maxElapsedTime: 25000
56458
+ },
56459
+ retryConnectionErrors: false
56460
+ },
56262
56461
  retryCodes: options?.retryCodes || [
56263
- "429",
56264
- "500",
56265
- "502",
56266
- "503",
56267
- "504"
56462
+ "429"
56268
56463
  ]
56269
56464
  };
56270
56465
  const requestRes = client$._createRequest(context, {
@@ -56422,10 +56617,18 @@ async function $do28(client$, request, options) {
56422
56617
  oAuth2Scopes: null,
56423
56618
  resolvedSecurity: requestSecurity,
56424
56619
  securitySource: client$._options.security,
56425
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
56620
+ retryConfig: options?.retries || client$._options.retryConfig || {
56621
+ strategy: "backoff",
56622
+ backoff: {
56623
+ initialInterval: 1000,
56624
+ maxInterval: 1e4,
56625
+ exponent: 2,
56626
+ maxElapsedTime: 25000
56627
+ },
56628
+ retryConnectionErrors: true
56629
+ },
56426
56630
  retryCodes: options?.retryCodes || [
56427
56631
  "429",
56428
- "500",
56429
56632
  "502",
56430
56633
  "503",
56431
56634
  "504"
@@ -56584,10 +56787,18 @@ async function $do29(client$, request, options) {
56584
56787
  oAuth2Scopes: null,
56585
56788
  resolvedSecurity: requestSecurity,
56586
56789
  securitySource: client$._options.security,
56587
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
56790
+ retryConfig: options?.retries || client$._options.retryConfig || {
56791
+ strategy: "backoff",
56792
+ backoff: {
56793
+ initialInterval: 1000,
56794
+ maxInterval: 1e4,
56795
+ exponent: 2,
56796
+ maxElapsedTime: 25000
56797
+ },
56798
+ retryConnectionErrors: true
56799
+ },
56588
56800
  retryCodes: options?.retryCodes || [
56589
56801
  "429",
56590
- "500",
56591
56802
  "502",
56592
56803
  "503",
56593
56804
  "504"
@@ -56724,10 +56935,18 @@ async function $do30(client$, request, options) {
56724
56935
  oAuth2Scopes: null,
56725
56936
  resolvedSecurity: requestSecurity,
56726
56937
  securitySource: client$._options.security,
56727
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
56938
+ retryConfig: options?.retries || client$._options.retryConfig || {
56939
+ strategy: "backoff",
56940
+ backoff: {
56941
+ initialInterval: 1000,
56942
+ maxInterval: 1e4,
56943
+ exponent: 2,
56944
+ maxElapsedTime: 25000
56945
+ },
56946
+ retryConnectionErrors: true
56947
+ },
56728
56948
  retryCodes: options?.retryCodes || [
56729
56949
  "429",
56730
- "500",
56731
56950
  "502",
56732
56951
  "503",
56733
56952
  "504"
@@ -56865,10 +57084,18 @@ async function $do31(client$, request, options) {
56865
57084
  oAuth2Scopes: null,
56866
57085
  resolvedSecurity: requestSecurity,
56867
57086
  securitySource: client$._options.security,
56868
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
57087
+ retryConfig: options?.retries || client$._options.retryConfig || {
57088
+ strategy: "backoff",
57089
+ backoff: {
57090
+ initialInterval: 1000,
57091
+ maxInterval: 1e4,
57092
+ exponent: 2,
57093
+ maxElapsedTime: 25000
57094
+ },
57095
+ retryConnectionErrors: true
57096
+ },
56869
57097
  retryCodes: options?.retryCodes || [
56870
57098
  "429",
56871
- "500",
56872
57099
  "502",
56873
57100
  "503",
56874
57101
  "504"
@@ -57046,10 +57273,18 @@ async function $do32(client$, request, options) {
57046
57273
  oAuth2Scopes: null,
57047
57274
  resolvedSecurity: requestSecurity,
57048
57275
  securitySource: client$._options.security,
57049
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
57276
+ retryConfig: options?.retries || client$._options.retryConfig || {
57277
+ strategy: "backoff",
57278
+ backoff: {
57279
+ initialInterval: 1000,
57280
+ maxInterval: 1e4,
57281
+ exponent: 2,
57282
+ maxElapsedTime: 25000
57283
+ },
57284
+ retryConnectionErrors: true
57285
+ },
57050
57286
  retryCodes: options?.retryCodes || [
57051
57287
  "429",
57052
- "500",
57053
57288
  "502",
57054
57289
  "503",
57055
57290
  "504"
@@ -57232,10 +57467,18 @@ async function $do33(client$, request, options) {
57232
57467
  oAuth2Scopes: null,
57233
57468
  resolvedSecurity: requestSecurity,
57234
57469
  securitySource: client$._options.security,
57235
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
57470
+ retryConfig: options?.retries || client$._options.retryConfig || {
57471
+ strategy: "backoff",
57472
+ backoff: {
57473
+ initialInterval: 1000,
57474
+ maxInterval: 1e4,
57475
+ exponent: 2,
57476
+ maxElapsedTime: 25000
57477
+ },
57478
+ retryConnectionErrors: true
57479
+ },
57236
57480
  retryCodes: options?.retryCodes || [
57237
57481
  "429",
57238
- "500",
57239
57482
  "502",
57240
57483
  "503",
57241
57484
  "504"
@@ -57388,10 +57631,18 @@ async function $do34(client$, request, options) {
57388
57631
  oAuth2Scopes: null,
57389
57632
  resolvedSecurity: requestSecurity,
57390
57633
  securitySource: client$._options.security,
57391
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
57634
+ retryConfig: options?.retries || client$._options.retryConfig || {
57635
+ strategy: "backoff",
57636
+ backoff: {
57637
+ initialInterval: 1000,
57638
+ maxInterval: 1e4,
57639
+ exponent: 2,
57640
+ maxElapsedTime: 25000
57641
+ },
57642
+ retryConnectionErrors: true
57643
+ },
57392
57644
  retryCodes: options?.retryCodes || [
57393
57645
  "429",
57394
- "500",
57395
57646
  "502",
57396
57647
  "503",
57397
57648
  "504"
@@ -57539,10 +57790,18 @@ async function $do35(client$, request, options) {
57539
57790
  oAuth2Scopes: null,
57540
57791
  resolvedSecurity: requestSecurity,
57541
57792
  securitySource: client$._options.security,
57542
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
57793
+ retryConfig: options?.retries || client$._options.retryConfig || {
57794
+ strategy: "backoff",
57795
+ backoff: {
57796
+ initialInterval: 1000,
57797
+ maxInterval: 1e4,
57798
+ exponent: 2,
57799
+ maxElapsedTime: 25000
57800
+ },
57801
+ retryConnectionErrors: true
57802
+ },
57543
57803
  retryCodes: options?.retryCodes || [
57544
57804
  "429",
57545
- "500",
57546
57805
  "502",
57547
57806
  "503",
57548
57807
  "504"
@@ -57709,10 +57968,18 @@ async function $do36(client$, request, options) {
57709
57968
  oAuth2Scopes: null,
57710
57969
  resolvedSecurity: requestSecurity,
57711
57970
  securitySource: client$._options.security,
57712
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
57971
+ retryConfig: options?.retries || client$._options.retryConfig || {
57972
+ strategy: "backoff",
57973
+ backoff: {
57974
+ initialInterval: 1000,
57975
+ maxInterval: 1e4,
57976
+ exponent: 2,
57977
+ maxElapsedTime: 25000
57978
+ },
57979
+ retryConnectionErrors: true
57980
+ },
57713
57981
  retryCodes: options?.retryCodes || [
57714
57982
  "429",
57715
- "500",
57716
57983
  "502",
57717
57984
  "503",
57718
57985
  "504"
@@ -57878,10 +58145,18 @@ async function $do37(client$, request, options) {
57878
58145
  oAuth2Scopes: null,
57879
58146
  resolvedSecurity: requestSecurity,
57880
58147
  securitySource: client$._options.security,
57881
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
58148
+ retryConfig: options?.retries || client$._options.retryConfig || {
58149
+ strategy: "backoff",
58150
+ backoff: {
58151
+ initialInterval: 1000,
58152
+ maxInterval: 1e4,
58153
+ exponent: 2,
58154
+ maxElapsedTime: 25000
58155
+ },
58156
+ retryConnectionErrors: true
58157
+ },
57882
58158
  retryCodes: options?.retryCodes || [
57883
58159
  "429",
57884
- "500",
57885
58160
  "502",
57886
58161
  "503",
57887
58162
  "504"
@@ -58045,10 +58320,18 @@ async function $do38(client$, request, options) {
58045
58320
  oAuth2Scopes: null,
58046
58321
  resolvedSecurity: requestSecurity,
58047
58322
  securitySource: client$._options.security,
58048
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
58323
+ retryConfig: options?.retries || client$._options.retryConfig || {
58324
+ strategy: "backoff",
58325
+ backoff: {
58326
+ initialInterval: 1000,
58327
+ maxInterval: 1e4,
58328
+ exponent: 2,
58329
+ maxElapsedTime: 25000
58330
+ },
58331
+ retryConnectionErrors: true
58332
+ },
58049
58333
  retryCodes: options?.retryCodes || [
58050
58334
  "429",
58051
- "500",
58052
58335
  "502",
58053
58336
  "503",
58054
58337
  "504"
@@ -58212,10 +58495,18 @@ async function $do39(client$, request, options) {
58212
58495
  oAuth2Scopes: null,
58213
58496
  resolvedSecurity: requestSecurity,
58214
58497
  securitySource: client$._options.security,
58215
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
58498
+ retryConfig: options?.retries || client$._options.retryConfig || {
58499
+ strategy: "backoff",
58500
+ backoff: {
58501
+ initialInterval: 1000,
58502
+ maxInterval: 1e4,
58503
+ exponent: 2,
58504
+ maxElapsedTime: 25000
58505
+ },
58506
+ retryConnectionErrors: true
58507
+ },
58216
58508
  retryCodes: options?.retryCodes || [
58217
58509
  "429",
58218
- "500",
58219
58510
  "502",
58220
58511
  "503",
58221
58512
  "504"
@@ -58380,10 +58671,18 @@ async function $do40(client$, request, options) {
58380
58671
  oAuth2Scopes: null,
58381
58672
  resolvedSecurity: requestSecurity,
58382
58673
  securitySource: client$._options.security,
58383
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
58674
+ retryConfig: options?.retries || client$._options.retryConfig || {
58675
+ strategy: "backoff",
58676
+ backoff: {
58677
+ initialInterval: 1000,
58678
+ maxInterval: 1e4,
58679
+ exponent: 2,
58680
+ maxElapsedTime: 25000
58681
+ },
58682
+ retryConnectionErrors: true
58683
+ },
58384
58684
  retryCodes: options?.retryCodes || [
58385
58685
  "429",
58386
- "500",
58387
58686
  "502",
58388
58687
  "503",
58389
58688
  "504"
@@ -58549,10 +58848,18 @@ async function $do41(client$, request, options) {
58549
58848
  oAuth2Scopes: null,
58550
58849
  resolvedSecurity: requestSecurity,
58551
58850
  securitySource: client$._options.security,
58552
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
58851
+ retryConfig: options?.retries || client$._options.retryConfig || {
58852
+ strategy: "backoff",
58853
+ backoff: {
58854
+ initialInterval: 1000,
58855
+ maxInterval: 1e4,
58856
+ exponent: 2,
58857
+ maxElapsedTime: 25000
58858
+ },
58859
+ retryConnectionErrors: true
58860
+ },
58553
58861
  retryCodes: options?.retryCodes || [
58554
58862
  "429",
58555
- "500",
58556
58863
  "502",
58557
58864
  "503",
58558
58865
  "504"
@@ -58727,10 +59034,18 @@ async function $do42(client$, request, options) {
58727
59034
  oAuth2Scopes: null,
58728
59035
  resolvedSecurity: requestSecurity,
58729
59036
  securitySource: client$._options.security,
58730
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
59037
+ retryConfig: options?.retries || client$._options.retryConfig || {
59038
+ strategy: "backoff",
59039
+ backoff: {
59040
+ initialInterval: 1000,
59041
+ maxInterval: 1e4,
59042
+ exponent: 2,
59043
+ maxElapsedTime: 25000
59044
+ },
59045
+ retryConnectionErrors: true
59046
+ },
58731
59047
  retryCodes: options?.retryCodes || [
58732
59048
  "429",
58733
- "500",
58734
59049
  "502",
58735
59050
  "503",
58736
59051
  "504"
@@ -58907,10 +59222,18 @@ async function $do43(client$, request, options) {
58907
59222
  oAuth2Scopes: null,
58908
59223
  resolvedSecurity: requestSecurity,
58909
59224
  securitySource: client$._options.security,
58910
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
59225
+ retryConfig: options?.retries || client$._options.retryConfig || {
59226
+ strategy: "backoff",
59227
+ backoff: {
59228
+ initialInterval: 1000,
59229
+ maxInterval: 1e4,
59230
+ exponent: 2,
59231
+ maxElapsedTime: 25000
59232
+ },
59233
+ retryConnectionErrors: true
59234
+ },
58911
59235
  retryCodes: options?.retryCodes || [
58912
59236
  "429",
58913
- "500",
58914
59237
  "502",
58915
59238
  "503",
58916
59239
  "504"
@@ -59068,10 +59391,18 @@ async function $do44(client$, request, options) {
59068
59391
  oAuth2Scopes: null,
59069
59392
  resolvedSecurity: requestSecurity,
59070
59393
  securitySource: client$._options.security,
59071
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
59394
+ retryConfig: options?.retries || client$._options.retryConfig || {
59395
+ strategy: "backoff",
59396
+ backoff: {
59397
+ initialInterval: 1000,
59398
+ maxInterval: 1e4,
59399
+ exponent: 2,
59400
+ maxElapsedTime: 25000
59401
+ },
59402
+ retryConnectionErrors: true
59403
+ },
59072
59404
  retryCodes: options?.retryCodes || [
59073
59405
  "429",
59074
- "500",
59075
59406
  "502",
59076
59407
  "503",
59077
59408
  "504"
@@ -59279,10 +59610,18 @@ async function $do45(client$, request, options) {
59279
59610
  oAuth2Scopes: null,
59280
59611
  resolvedSecurity: requestSecurity,
59281
59612
  securitySource: client$._options.security,
59282
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
59613
+ retryConfig: options?.retries || client$._options.retryConfig || {
59614
+ strategy: "backoff",
59615
+ backoff: {
59616
+ initialInterval: 1000,
59617
+ maxInterval: 1e4,
59618
+ exponent: 2,
59619
+ maxElapsedTime: 25000
59620
+ },
59621
+ retryConnectionErrors: true
59622
+ },
59283
59623
  retryCodes: options?.retryCodes || [
59284
59624
  "429",
59285
- "500",
59286
59625
  "502",
59287
59626
  "503",
59288
59627
  "504"
@@ -59460,10 +59799,18 @@ async function $do46(client$, request, options) {
59460
59799
  oAuth2Scopes: null,
59461
59800
  resolvedSecurity: requestSecurity,
59462
59801
  securitySource: client$._options.security,
59463
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
59802
+ retryConfig: options?.retries || client$._options.retryConfig || {
59803
+ strategy: "backoff",
59804
+ backoff: {
59805
+ initialInterval: 1000,
59806
+ maxInterval: 1e4,
59807
+ exponent: 2,
59808
+ maxElapsedTime: 25000
59809
+ },
59810
+ retryConnectionErrors: true
59811
+ },
59464
59812
  retryCodes: options?.retryCodes || [
59465
59813
  "429",
59466
- "500",
59467
59814
  "502",
59468
59815
  "503",
59469
59816
  "504"
@@ -59675,10 +60022,18 @@ async function $do47(client$, request, options) {
59675
60022
  oAuth2Scopes: null,
59676
60023
  resolvedSecurity: requestSecurity,
59677
60024
  securitySource: client$._options.security,
59678
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
60025
+ retryConfig: options?.retries || client$._options.retryConfig || {
60026
+ strategy: "backoff",
60027
+ backoff: {
60028
+ initialInterval: 1000,
60029
+ maxInterval: 1e4,
60030
+ exponent: 2,
60031
+ maxElapsedTime: 25000
60032
+ },
60033
+ retryConnectionErrors: true
60034
+ },
59679
60035
  retryCodes: options?.retryCodes || [
59680
60036
  "429",
59681
- "500",
59682
60037
  "502",
59683
60038
  "503",
59684
60039
  "504"
@@ -59837,10 +60192,18 @@ async function $do48(client$, request, options) {
59837
60192
  oAuth2Scopes: null,
59838
60193
  resolvedSecurity: requestSecurity,
59839
60194
  securitySource: client$._options.security,
59840
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
60195
+ retryConfig: options?.retries || client$._options.retryConfig || {
60196
+ strategy: "backoff",
60197
+ backoff: {
60198
+ initialInterval: 1000,
60199
+ maxInterval: 1e4,
60200
+ exponent: 2,
60201
+ maxElapsedTime: 25000
60202
+ },
60203
+ retryConnectionErrors: true
60204
+ },
59841
60205
  retryCodes: options?.retryCodes || [
59842
60206
  "429",
59843
- "500",
59844
60207
  "502",
59845
60208
  "503",
59846
60209
  "504"
@@ -60046,10 +60409,18 @@ async function $do49(client$, request, options) {
60046
60409
  oAuth2Scopes: null,
60047
60410
  resolvedSecurity: requestSecurity,
60048
60411
  securitySource: client$._options.security,
60049
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
60412
+ retryConfig: options?.retries || client$._options.retryConfig || {
60413
+ strategy: "backoff",
60414
+ backoff: {
60415
+ initialInterval: 1000,
60416
+ maxInterval: 1e4,
60417
+ exponent: 2,
60418
+ maxElapsedTime: 25000
60419
+ },
60420
+ retryConnectionErrors: true
60421
+ },
60050
60422
  retryCodes: options?.retryCodes || [
60051
60423
  "429",
60052
- "500",
60053
60424
  "502",
60054
60425
  "503",
60055
60426
  "504"
@@ -60244,10 +60615,18 @@ async function $do50(client$, request, options) {
60244
60615
  oAuth2Scopes: null,
60245
60616
  resolvedSecurity: requestSecurity,
60246
60617
  securitySource: client$._options.security,
60247
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
60618
+ retryConfig: options?.retries || client$._options.retryConfig || {
60619
+ strategy: "backoff",
60620
+ backoff: {
60621
+ initialInterval: 1000,
60622
+ maxInterval: 1e4,
60623
+ exponent: 2,
60624
+ maxElapsedTime: 25000
60625
+ },
60626
+ retryConnectionErrors: true
60627
+ },
60248
60628
  retryCodes: options?.retryCodes || [
60249
60629
  "429",
60250
- "500",
60251
60630
  "502",
60252
60631
  "503",
60253
60632
  "504"
@@ -60404,10 +60783,18 @@ async function $do51(client$, request, options) {
60404
60783
  oAuth2Scopes: null,
60405
60784
  resolvedSecurity: requestSecurity,
60406
60785
  securitySource: client$._options.security,
60407
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
60786
+ retryConfig: options?.retries || client$._options.retryConfig || {
60787
+ strategy: "backoff",
60788
+ backoff: {
60789
+ initialInterval: 1000,
60790
+ maxInterval: 1e4,
60791
+ exponent: 2,
60792
+ maxElapsedTime: 25000
60793
+ },
60794
+ retryConnectionErrors: true
60795
+ },
60408
60796
  retryCodes: options?.retryCodes || [
60409
60797
  "429",
60410
- "500",
60411
60798
  "502",
60412
60799
  "503",
60413
60800
  "504"
@@ -60609,10 +60996,18 @@ async function $do52(client$, request, options) {
60609
60996
  oAuth2Scopes: null,
60610
60997
  resolvedSecurity: requestSecurity,
60611
60998
  securitySource: client$._options.security,
60612
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
60999
+ retryConfig: options?.retries || client$._options.retryConfig || {
61000
+ strategy: "backoff",
61001
+ backoff: {
61002
+ initialInterval: 1000,
61003
+ maxInterval: 1e4,
61004
+ exponent: 2,
61005
+ maxElapsedTime: 25000
61006
+ },
61007
+ retryConnectionErrors: true
61008
+ },
60613
61009
  retryCodes: options?.retryCodes || [
60614
61010
  "429",
60615
- "500",
60616
61011
  "502",
60617
61012
  "503",
60618
61013
  "504"
@@ -60769,10 +61164,18 @@ async function $do53(client$, request, options) {
60769
61164
  oAuth2Scopes: null,
60770
61165
  resolvedSecurity: requestSecurity,
60771
61166
  securitySource: client$._options.security,
60772
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
61167
+ retryConfig: options?.retries || client$._options.retryConfig || {
61168
+ strategy: "backoff",
61169
+ backoff: {
61170
+ initialInterval: 1000,
61171
+ maxInterval: 1e4,
61172
+ exponent: 2,
61173
+ maxElapsedTime: 25000
61174
+ },
61175
+ retryConnectionErrors: true
61176
+ },
60773
61177
  retryCodes: options?.retryCodes || [
60774
61178
  "429",
60775
- "500",
60776
61179
  "502",
60777
61180
  "503",
60778
61181
  "504"
@@ -60945,10 +61348,18 @@ async function $do54(client$, request, options) {
60945
61348
  oAuth2Scopes: null,
60946
61349
  resolvedSecurity: requestSecurity,
60947
61350
  securitySource: client$._options.security,
60948
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
61351
+ retryConfig: options?.retries || client$._options.retryConfig || {
61352
+ strategy: "backoff",
61353
+ backoff: {
61354
+ initialInterval: 1000,
61355
+ maxInterval: 1e4,
61356
+ exponent: 2,
61357
+ maxElapsedTime: 25000
61358
+ },
61359
+ retryConnectionErrors: true
61360
+ },
60949
61361
  retryCodes: options?.retryCodes || [
60950
61362
  "429",
60951
- "500",
60952
61363
  "502",
60953
61364
  "503",
60954
61365
  "504"
@@ -61097,10 +61508,18 @@ async function $do55(client$, request, options) {
61097
61508
  oAuth2Scopes: null,
61098
61509
  resolvedSecurity: requestSecurity,
61099
61510
  securitySource: client$._options.security,
61100
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
61511
+ retryConfig: options?.retries || client$._options.retryConfig || {
61512
+ strategy: "backoff",
61513
+ backoff: {
61514
+ initialInterval: 1000,
61515
+ maxInterval: 1e4,
61516
+ exponent: 2,
61517
+ maxElapsedTime: 25000
61518
+ },
61519
+ retryConnectionErrors: true
61520
+ },
61101
61521
  retryCodes: options?.retryCodes || [
61102
61522
  "429",
61103
- "500",
61104
61523
  "502",
61105
61524
  "503",
61106
61525
  "504"
@@ -61234,13 +61653,18 @@ async function $do56(client$, request, options) {
61234
61653
  oAuth2Scopes: null,
61235
61654
  resolvedSecurity: requestSecurity,
61236
61655
  securitySource: client$._options.security,
61237
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
61656
+ retryConfig: options?.retries || client$._options.retryConfig || {
61657
+ strategy: "backoff",
61658
+ backoff: {
61659
+ initialInterval: 1000,
61660
+ maxInterval: 1e4,
61661
+ exponent: 2,
61662
+ maxElapsedTime: 25000
61663
+ },
61664
+ retryConnectionErrors: false
61665
+ },
61238
61666
  retryCodes: options?.retryCodes || [
61239
- "429",
61240
- "500",
61241
- "502",
61242
- "503",
61243
- "504"
61667
+ "429"
61244
61668
  ]
61245
61669
  };
61246
61670
  const requestRes = client$._createRequest(context, {
@@ -61400,13 +61824,18 @@ async function $do57(client$, request, options) {
61400
61824
  oAuth2Scopes: null,
61401
61825
  resolvedSecurity: requestSecurity,
61402
61826
  securitySource: client$._options.security,
61403
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
61827
+ retryConfig: options?.retries || client$._options.retryConfig || {
61828
+ strategy: "backoff",
61829
+ backoff: {
61830
+ initialInterval: 1000,
61831
+ maxInterval: 1e4,
61832
+ exponent: 2,
61833
+ maxElapsedTime: 25000
61834
+ },
61835
+ retryConnectionErrors: false
61836
+ },
61404
61837
  retryCodes: options?.retryCodes || [
61405
- "429",
61406
- "500",
61407
- "502",
61408
- "503",
61409
- "504"
61838
+ "429"
61410
61839
  ]
61411
61840
  };
61412
61841
  const requestRes = client$._createRequest(context, {
@@ -61557,13 +61986,18 @@ async function $do58(client$, request, options) {
61557
61986
  oAuth2Scopes: null,
61558
61987
  resolvedSecurity: requestSecurity,
61559
61988
  securitySource: client$._options.security,
61560
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
61989
+ retryConfig: options?.retries || client$._options.retryConfig || {
61990
+ strategy: "backoff",
61991
+ backoff: {
61992
+ initialInterval: 1000,
61993
+ maxInterval: 1e4,
61994
+ exponent: 2,
61995
+ maxElapsedTime: 25000
61996
+ },
61997
+ retryConnectionErrors: false
61998
+ },
61561
61999
  retryCodes: options?.retryCodes || [
61562
- "429",
61563
- "500",
61564
- "502",
61565
- "503",
61566
- "504"
62000
+ "429"
61567
62001
  ]
61568
62002
  };
61569
62003
  const requestRes = client$._createRequest(context, {
@@ -61716,13 +62150,18 @@ async function $do59(client$, request, options) {
61716
62150
  oAuth2Scopes: null,
61717
62151
  resolvedSecurity: requestSecurity,
61718
62152
  securitySource: client$._options.security,
61719
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
62153
+ retryConfig: options?.retries || client$._options.retryConfig || {
62154
+ strategy: "backoff",
62155
+ backoff: {
62156
+ initialInterval: 1000,
62157
+ maxInterval: 1e4,
62158
+ exponent: 2,
62159
+ maxElapsedTime: 25000
62160
+ },
62161
+ retryConnectionErrors: false
62162
+ },
61720
62163
  retryCodes: options?.retryCodes || [
61721
- "429",
61722
- "500",
61723
- "502",
61724
- "503",
61725
- "504"
62164
+ "429"
61726
62165
  ]
61727
62166
  };
61728
62167
  const requestRes = client$._createRequest(context, {
@@ -61900,13 +62339,18 @@ async function $do60(client$, request, options) {
61900
62339
  oAuth2Scopes: null,
61901
62340
  resolvedSecurity: requestSecurity,
61902
62341
  securitySource: client$._options.security,
61903
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
62342
+ retryConfig: options?.retries || client$._options.retryConfig || {
62343
+ strategy: "backoff",
62344
+ backoff: {
62345
+ initialInterval: 1000,
62346
+ maxInterval: 1e4,
62347
+ exponent: 2,
62348
+ maxElapsedTime: 25000
62349
+ },
62350
+ retryConnectionErrors: false
62351
+ },
61904
62352
  retryCodes: options?.retryCodes || [
61905
- "429",
61906
- "500",
61907
- "502",
61908
- "503",
61909
- "504"
62353
+ "429"
61910
62354
  ]
61911
62355
  };
61912
62356
  const requestRes = client$._createRequest(context, {
@@ -62082,13 +62526,18 @@ async function $do61(client$, request, options) {
62082
62526
  oAuth2Scopes: null,
62083
62527
  resolvedSecurity: requestSecurity,
62084
62528
  securitySource: client$._options.security,
62085
- retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
62529
+ retryConfig: options?.retries || client$._options.retryConfig || {
62530
+ strategy: "backoff",
62531
+ backoff: {
62532
+ initialInterval: 1000,
62533
+ maxInterval: 1e4,
62534
+ exponent: 2,
62535
+ maxElapsedTime: 25000
62536
+ },
62537
+ retryConnectionErrors: false
62538
+ },
62086
62539
  retryCodes: options?.retryCodes || [
62087
- "429",
62088
- "500",
62089
- "502",
62090
- "503",
62091
- "504"
62540
+ "429"
62092
62541
  ]
62093
62542
  };
62094
62543
  const requestRes = client$._createRequest(context, {
@@ -62188,7 +62637,7 @@ Rate limit: 10 requests / minute.`,
62188
62637
  function createMCPServer(deps) {
62189
62638
  const server = new McpServer({
62190
62639
  name: "VantaAuditorAPI",
62191
- version: "0.1.1"
62640
+ version: "0.1.2"
62192
62641
  });
62193
62642
  const getClient = deps.getSDK || (() => new VantaAuditorAPICore({
62194
62643
  security: deps.security,
@@ -64502,7 +64951,7 @@ http_headers = { ${headers.map(({ name, env }) => `${JSON.stringify(name)} = ${J
64502
64951
  <h1>Instructions</h1>
64503
64952
  <p>One-click installation for Claude Desktop users</p>
64504
64953
  <div class="instruction-item">
64505
- <a href="https://github.com/VantaInc/vanta-auditor-api-mcp/releases/download/v0.1.1/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
64954
+ <a href="https://github.com/VantaInc/vanta-auditor-api-mcp/releases/download/v0.1.2/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
64506
64955
  \uD83D\uDCE5 Download MCP Bundle
64507
64956
  </a>
64508
64957
  </div>
@@ -72096,7 +72545,7 @@ var routes = buildRouteMap({
72096
72545
  var app = buildApplication(routes, {
72097
72546
  name: "mcp",
72098
72547
  versionInfo: {
72099
- currentVersion: "0.1.1"
72548
+ currentVersion: "0.1.2"
72100
72549
  }
72101
72550
  });
72102
72551
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -72104,5 +72553,5 @@ export {
72104
72553
  app
72105
72554
  };
72106
72555
 
72107
- //# debugId=EE5F73D54121E2BC64756E2164756E21
72556
+ //# debugId=BACC95341EB29DBE64756E2164756E21
72108
72557
  //# sourceMappingURL=mcp-server.js.map