@distilled.cloud/cloudflare 0.22.3 → 0.22.4

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.
Files changed (101) hide show
  1. package/lib/services/abuse-reports.d.ts +39 -11
  2. package/lib/services/abuse-reports.d.ts.map +1 -1
  3. package/lib/services/abuse-reports.js +89 -11
  4. package/lib/services/abuse-reports.js.map +1 -1
  5. package/lib/services/accounts.d.ts +21 -1
  6. package/lib/services/accounts.d.ts.map +1 -1
  7. package/lib/services/accounts.js +33 -1
  8. package/lib/services/accounts.js.map +1 -1
  9. package/lib/services/ai.d.ts +97 -1
  10. package/lib/services/ai.d.ts.map +1 -1
  11. package/lib/services/ai.js +119 -2
  12. package/lib/services/ai.js.map +1 -1
  13. package/lib/services/bot-management.d.ts +16 -0
  14. package/lib/services/bot-management.d.ts.map +1 -1
  15. package/lib/services/bot-management.js +22 -0
  16. package/lib/services/bot-management.js.map +1 -1
  17. package/lib/services/browser-rendering.d.ts +25 -9
  18. package/lib/services/browser-rendering.d.ts.map +1 -1
  19. package/lib/services/browser-rendering.js +18 -9
  20. package/lib/services/browser-rendering.js.map +1 -1
  21. package/lib/services/cache.d.ts +11 -0
  22. package/lib/services/cache.d.ts.map +1 -1
  23. package/lib/services/cache.js +17 -1
  24. package/lib/services/cache.js.map +1 -1
  25. package/lib/services/connectivity.d.ts +18 -32
  26. package/lib/services/connectivity.d.ts.map +1 -1
  27. package/lib/services/connectivity.js +56 -66
  28. package/lib/services/connectivity.js.map +1 -1
  29. package/lib/services/d1.d.ts +18 -4
  30. package/lib/services/d1.d.ts.map +1 -1
  31. package/lib/services/d1.js +23 -5
  32. package/lib/services/d1.js.map +1 -1
  33. package/lib/services/dns.d.ts +129 -3
  34. package/lib/services/dns.d.ts.map +1 -1
  35. package/lib/services/dns.js +330 -6
  36. package/lib/services/dns.js.map +1 -1
  37. package/lib/services/magic-transit.d.ts +7 -1
  38. package/lib/services/magic-transit.d.ts.map +1 -1
  39. package/lib/services/magic-transit.js +7 -1
  40. package/lib/services/magic-transit.js.map +1 -1
  41. package/lib/services/network-interconnects.d.ts +5 -1
  42. package/lib/services/network-interconnects.d.ts.map +1 -1
  43. package/lib/services/network-interconnects.js +21 -1
  44. package/lib/services/network-interconnects.js.map +1 -1
  45. package/lib/services/queues.d.ts +6 -4
  46. package/lib/services/queues.d.ts.map +1 -1
  47. package/lib/services/queues.js +8 -4
  48. package/lib/services/queues.js.map +1 -1
  49. package/lib/services/r2.d.ts +11 -4
  50. package/lib/services/r2.d.ts.map +1 -1
  51. package/lib/services/r2.js +13 -4
  52. package/lib/services/r2.js.map +1 -1
  53. package/lib/services/resource-tagging.d.ts +4 -2
  54. package/lib/services/resource-tagging.d.ts.map +1 -1
  55. package/lib/services/resource-tagging.js +4 -1
  56. package/lib/services/resource-tagging.js.map +1 -1
  57. package/lib/services/rulesets.d.ts +510 -6
  58. package/lib/services/rulesets.d.ts.map +1 -1
  59. package/lib/services/rulesets.js +1298 -36
  60. package/lib/services/rulesets.js.map +1 -1
  61. package/lib/services/spectrum.d.ts +4 -8
  62. package/lib/services/spectrum.d.ts.map +1 -1
  63. package/lib/services/spectrum.js +12 -34
  64. package/lib/services/spectrum.js.map +1 -1
  65. package/lib/services/workers-for-platforms.d.ts +12 -2
  66. package/lib/services/workers-for-platforms.d.ts.map +1 -1
  67. package/lib/services/workers-for-platforms.js +35 -3
  68. package/lib/services/workers-for-platforms.js.map +1 -1
  69. package/lib/services/workers.d.ts +12 -2
  70. package/lib/services/workers.d.ts.map +1 -1
  71. package/lib/services/workers.js +35 -3
  72. package/lib/services/workers.js.map +1 -1
  73. package/lib/services/zero-trust.d.ts +1463 -557
  74. package/lib/services/zero-trust.d.ts.map +1 -1
  75. package/lib/services/zero-trust.js +1654 -93
  76. package/lib/services/zero-trust.js.map +1 -1
  77. package/lib/services/zones.d.ts +2 -0
  78. package/lib/services/zones.d.ts.map +1 -1
  79. package/lib/services/zones.js +1 -0
  80. package/lib/services/zones.js.map +1 -1
  81. package/package.json +2 -2
  82. package/src/services/abuse-reports.ts +173 -22
  83. package/src/services/accounts.ts +66 -2
  84. package/src/services/ai.ts +235 -2
  85. package/src/services/bot-management.ts +48 -0
  86. package/src/services/browser-rendering.ts +43 -18
  87. package/src/services/cache.ts +31 -0
  88. package/src/services/connectivity.ts +78 -70
  89. package/src/services/d1.ts +43 -8
  90. package/src/services/dns.ts +549 -12
  91. package/src/services/magic-transit.ts +14 -2
  92. package/src/services/network-interconnects.ts +41 -2
  93. package/src/services/queues.ts +16 -8
  94. package/src/services/r2.ts +30 -7
  95. package/src/services/resource-tagging.ts +8 -2
  96. package/src/services/rulesets.ts +3283 -963
  97. package/src/services/spectrum.ts +36 -52
  98. package/src/services/workers-for-platforms.ts +63 -4
  99. package/src/services/workers.ts +63 -4
  100. package/src/services/zero-trust.ts +3071 -478
  101. package/src/services/zones.ts +3 -0
@@ -17228,8 +17228,8 @@ export const listAccessApplicationsForZone = /*@__PURE__*/ /*#__PURE__*/ API.mak
17228
17228
  },
17229
17229
  }));
17230
17230
  const CreateAccessApplicationBaseFields = {
17231
- domain: Schema.String,
17232
- type: Schema.Union([
17231
+ domain: Schema.optional(Schema.String),
17232
+ type: Schema.optional(Schema.Union([
17233
17233
  Schema.Literals([
17234
17234
  "self_hosted",
17235
17235
  "saas",
@@ -17247,7 +17247,7 @@ const CreateAccessApplicationBaseFields = {
17247
17247
  "proxy_endpoint",
17248
17248
  ]),
17249
17249
  Schema.String,
17250
- ]),
17250
+ ])),
17251
17251
  allowAuthenticateViaWarp: Schema.optional(Schema.Boolean),
17252
17252
  allowIframe: Schema.optional(Schema.Boolean),
17253
17253
  allowedIdps: Schema.optional(Schema.Array(Schema.String)),
@@ -17357,39 +17357,435 @@ const CreateAccessApplicationBaseFields = {
17357
17357
  }))),
17358
17358
  optionsPreflightBypass: Schema.optional(Schema.Boolean),
17359
17359
  pathCookieAttribute: Schema.optional(Schema.Boolean),
17360
- policies: Schema.optional(Schema.Array(Schema.Union([
17361
- Schema.Struct({
17362
- id: Schema.optional(Schema.String),
17363
- precedence: Schema.optional(Schema.Number),
17364
- }),
17365
- Schema.String,
17366
- Schema.Struct({
17367
- id: Schema.optional(Schema.String),
17368
- approvalGroups: Schema.optional(Schema.Array(Schema.Struct({
17369
- approvalsNeeded: Schema.Number,
17370
- emailAddresses: Schema.optional(Schema.Array(Schema.String)),
17371
- emailListUuid: Schema.optional(Schema.String),
17360
+ policies: Schema.optional(Schema.Union([
17361
+ Schema.Array(Schema.Union([
17362
+ Schema.Struct({
17363
+ id: Schema.optional(Schema.String),
17364
+ precedence: Schema.optional(Schema.Number),
17365
+ }),
17366
+ Schema.String,
17367
+ Schema.Struct({
17368
+ id: Schema.optional(Schema.String),
17369
+ approvalGroups: Schema.optional(Schema.Array(Schema.Struct({
17370
+ approvalsNeeded: Schema.Number,
17371
+ emailAddresses: Schema.optional(Schema.Array(Schema.String)),
17372
+ emailListUuid: Schema.optional(Schema.String),
17373
+ }).pipe(Schema.encodeKeys({
17374
+ approvalsNeeded: "approvals_needed",
17375
+ emailAddresses: "email_addresses",
17376
+ emailListUuid: "email_list_uuid",
17377
+ })))),
17378
+ approvalRequired: Schema.optional(Schema.Boolean),
17379
+ connectionRules: Schema.optional(Schema.Struct({
17380
+ rdp: Schema.optional(Schema.Struct({
17381
+ allowedClipboardLocalToRemoteFormats: Schema.optional(Schema.Array(Schema.Literal("text"))),
17382
+ allowedClipboardRemoteToLocalFormats: Schema.optional(Schema.Array(Schema.Literal("text"))),
17383
+ }).pipe(Schema.encodeKeys({
17384
+ allowedClipboardLocalToRemoteFormats: "allowed_clipboard_local_to_remote_formats",
17385
+ allowedClipboardRemoteToLocalFormats: "allowed_clipboard_remote_to_local_formats",
17386
+ }))),
17387
+ })),
17388
+ isolationRequired: Schema.optional(Schema.Boolean),
17389
+ mfaConfig: Schema.optional(Schema.Struct({
17390
+ allowedAuthenticators: Schema.optional(Schema.Array(Schema.Union([
17391
+ Schema.Literals(["totp", "biometrics", "security_key"]),
17392
+ Schema.String,
17393
+ ]))),
17394
+ mfaDisabled: Schema.optional(Schema.Boolean),
17395
+ sessionDuration: Schema.optional(Schema.String),
17396
+ }).pipe(Schema.encodeKeys({
17397
+ allowedAuthenticators: "allowed_authenticators",
17398
+ mfaDisabled: "mfa_disabled",
17399
+ sessionDuration: "session_duration",
17400
+ }))),
17401
+ precedence: Schema.optional(Schema.Number),
17402
+ purposeJustificationPrompt: Schema.optional(Schema.String),
17403
+ purposeJustificationRequired: Schema.optional(Schema.Boolean),
17404
+ sessionDuration: Schema.optional(Schema.String),
17372
17405
  }).pipe(Schema.encodeKeys({
17373
- approvalsNeeded: "approvals_needed",
17374
- emailAddresses: "email_addresses",
17375
- emailListUuid: "email_list_uuid",
17376
- })))),
17377
- approvalRequired: Schema.optional(Schema.Boolean),
17406
+ id: "id",
17407
+ approvalGroups: "approval_groups",
17408
+ approvalRequired: "approval_required",
17409
+ connectionRules: "connection_rules",
17410
+ isolationRequired: "isolation_required",
17411
+ mfaConfig: "mfa_config",
17412
+ precedence: "precedence",
17413
+ purposeJustificationPrompt: "purpose_justification_prompt",
17414
+ purposeJustificationRequired: "purpose_justification_required",
17415
+ sessionDuration: "session_duration",
17416
+ })),
17417
+ ])),
17418
+ Schema.Array(Schema.Struct({
17419
+ decision: Schema.Union([
17420
+ Schema.Literals(["allow", "deny", "non_identity", "bypass"]),
17421
+ Schema.String,
17422
+ ]),
17423
+ include: Schema.Array(Schema.Union([
17424
+ Schema.Struct({
17425
+ group: Schema.Struct({
17426
+ id: Schema.String,
17427
+ }),
17428
+ }),
17429
+ Schema.Struct({
17430
+ anyValidServiceToken: Schema.Unknown,
17431
+ }).pipe(Schema.encodeKeys({
17432
+ anyValidServiceToken: "any_valid_service_token",
17433
+ })),
17434
+ Schema.Struct({
17435
+ authContext: Schema.Struct({
17436
+ id: Schema.String,
17437
+ acId: Schema.String,
17438
+ identityProviderId: Schema.String,
17439
+ }).pipe(Schema.encodeKeys({
17440
+ id: "id",
17441
+ acId: "ac_id",
17442
+ identityProviderId: "identity_provider_id",
17443
+ })),
17444
+ }).pipe(Schema.encodeKeys({ authContext: "auth_context" })),
17445
+ Schema.Struct({
17446
+ authMethod: Schema.Struct({
17447
+ authMethod: Schema.String,
17448
+ }).pipe(Schema.encodeKeys({ authMethod: "auth_method" })),
17449
+ }).pipe(Schema.encodeKeys({ authMethod: "auth_method" })),
17450
+ Schema.Struct({
17451
+ azureAD: Schema.Struct({
17452
+ id: Schema.String,
17453
+ identityProviderId: Schema.String,
17454
+ }).pipe(Schema.encodeKeys({
17455
+ id: "id",
17456
+ identityProviderId: "identity_provider_id",
17457
+ })),
17458
+ }),
17459
+ Schema.Struct({
17460
+ certificate: Schema.Unknown,
17461
+ }),
17462
+ Schema.Struct({
17463
+ commonName: Schema.Struct({
17464
+ commonName: Schema.String,
17465
+ }).pipe(Schema.encodeKeys({ commonName: "common_name" })),
17466
+ }).pipe(Schema.encodeKeys({ commonName: "common_name" })),
17467
+ Schema.Struct({
17468
+ geo: Schema.Struct({
17469
+ countryCode: Schema.String,
17470
+ }).pipe(Schema.encodeKeys({ countryCode: "country_code" })),
17471
+ }),
17472
+ Schema.Struct({
17473
+ devicePosture: Schema.Struct({
17474
+ integrationUid: Schema.String,
17475
+ }).pipe(Schema.encodeKeys({ integrationUid: "integration_uid" })),
17476
+ }).pipe(Schema.encodeKeys({ devicePosture: "device_posture" })),
17477
+ Schema.Struct({
17478
+ emailDomain: Schema.Struct({
17479
+ domain: Schema.String,
17480
+ }),
17481
+ }).pipe(Schema.encodeKeys({ emailDomain: "email_domain" })),
17482
+ Schema.Struct({
17483
+ emailList: Schema.Struct({
17484
+ id: Schema.String,
17485
+ }),
17486
+ }).pipe(Schema.encodeKeys({ emailList: "email_list" })),
17487
+ Schema.Struct({
17488
+ email: Schema.Struct({
17489
+ email: Schema.String,
17490
+ }),
17491
+ }),
17492
+ Schema.Struct({
17493
+ everyone: Schema.Unknown,
17494
+ }),
17495
+ Schema.Struct({
17496
+ externalEvaluation: Schema.Struct({
17497
+ evaluateUrl: Schema.String,
17498
+ keysUrl: Schema.String,
17499
+ }).pipe(Schema.encodeKeys({
17500
+ evaluateUrl: "evaluate_url",
17501
+ keysUrl: "keys_url",
17502
+ })),
17503
+ }).pipe(Schema.encodeKeys({
17504
+ externalEvaluation: "external_evaluation",
17505
+ })),
17506
+ Schema.Struct({
17507
+ githubOrganization: Schema.Struct({
17508
+ identityProviderId: Schema.String,
17509
+ name: Schema.String,
17510
+ team: Schema.optional(Schema.String),
17511
+ }).pipe(Schema.encodeKeys({
17512
+ identityProviderId: "identity_provider_id",
17513
+ name: "name",
17514
+ team: "team",
17515
+ })),
17516
+ }).pipe(Schema.encodeKeys({
17517
+ githubOrganization: "github-organization",
17518
+ })),
17519
+ Schema.Struct({
17520
+ gsuite: Schema.Struct({
17521
+ email: Schema.String,
17522
+ identityProviderId: Schema.String,
17523
+ }).pipe(Schema.encodeKeys({
17524
+ email: "email",
17525
+ identityProviderId: "identity_provider_id",
17526
+ })),
17527
+ }),
17528
+ Schema.Struct({
17529
+ loginMethod: Schema.Struct({
17530
+ id: Schema.String,
17531
+ }),
17532
+ }).pipe(Schema.encodeKeys({ loginMethod: "login_method" })),
17533
+ Schema.Struct({
17534
+ ipList: Schema.Struct({
17535
+ id: Schema.String,
17536
+ }),
17537
+ }).pipe(Schema.encodeKeys({ ipList: "ip_list" })),
17538
+ Schema.Struct({
17539
+ ip: Schema.Struct({
17540
+ ip: Schema.String,
17541
+ }),
17542
+ }),
17543
+ Schema.Struct({
17544
+ okta: Schema.Struct({
17545
+ identityProviderId: Schema.String,
17546
+ name: Schema.String,
17547
+ }).pipe(Schema.encodeKeys({
17548
+ identityProviderId: "identity_provider_id",
17549
+ name: "name",
17550
+ })),
17551
+ }),
17552
+ Schema.Struct({
17553
+ saml: Schema.Struct({
17554
+ attributeName: Schema.String,
17555
+ attributeValue: Schema.String,
17556
+ identityProviderId: Schema.String,
17557
+ }).pipe(Schema.encodeKeys({
17558
+ attributeName: "attribute_name",
17559
+ attributeValue: "attribute_value",
17560
+ identityProviderId: "identity_provider_id",
17561
+ })),
17562
+ }),
17563
+ Schema.Struct({
17564
+ oidc: Schema.Struct({
17565
+ claimName: Schema.String,
17566
+ claimValue: Schema.String,
17567
+ identityProviderId: Schema.String,
17568
+ }).pipe(Schema.encodeKeys({
17569
+ claimName: "claim_name",
17570
+ claimValue: "claim_value",
17571
+ identityProviderId: "identity_provider_id",
17572
+ })),
17573
+ }),
17574
+ Schema.Struct({
17575
+ serviceToken: Schema.Struct({
17576
+ tokenId: Schema.String,
17577
+ }).pipe(Schema.encodeKeys({ tokenId: "token_id" })),
17578
+ }).pipe(Schema.encodeKeys({ serviceToken: "service_token" })),
17579
+ Schema.Struct({
17580
+ linkedAppToken: Schema.Struct({
17581
+ appUid: Schema.String,
17582
+ }).pipe(Schema.encodeKeys({ appUid: "app_uid" })),
17583
+ }).pipe(Schema.encodeKeys({ linkedAppToken: "linked_app_token" })),
17584
+ Schema.Struct({
17585
+ userRiskScore: Schema.Struct({
17586
+ userRiskScore: Schema.Array(Schema.Union([
17587
+ Schema.Literals(["low", "medium", "high", "unscored"]),
17588
+ Schema.String,
17589
+ ])),
17590
+ }).pipe(Schema.encodeKeys({ userRiskScore: "user_risk_score" })),
17591
+ }).pipe(Schema.encodeKeys({ userRiskScore: "user_risk_score" })),
17592
+ Schema.Struct({
17593
+ cloudflareAccountMember: Schema.Struct({
17594
+ accountId: Schema.optional(Schema.String),
17595
+ }).pipe(Schema.encodeKeys({ accountId: "account_id" })),
17596
+ }).pipe(Schema.encodeKeys({
17597
+ cloudflareAccountMember: "cloudflare_account_member",
17598
+ })),
17599
+ ])),
17600
+ name: Schema.String,
17378
17601
  connectionRules: Schema.optional(Schema.Struct({
17379
- rdp: Schema.optional(Schema.Struct({
17380
- allowedClipboardLocalToRemoteFormats: Schema.optional(Schema.Array(Schema.Literal("text"))),
17381
- allowedClipboardRemoteToLocalFormats: Schema.optional(Schema.Array(Schema.Literal("text"))),
17602
+ ssh: Schema.optional(Schema.Struct({
17603
+ usernames: Schema.Array(Schema.String),
17604
+ allowEmailAlias: Schema.optional(Schema.Boolean),
17382
17605
  }).pipe(Schema.encodeKeys({
17383
- allowedClipboardLocalToRemoteFormats: "allowed_clipboard_local_to_remote_formats",
17384
- allowedClipboardRemoteToLocalFormats: "allowed_clipboard_remote_to_local_formats",
17606
+ usernames: "usernames",
17607
+ allowEmailAlias: "allow_email_alias",
17385
17608
  }))),
17386
17609
  })),
17387
- isolationRequired: Schema.optional(Schema.Boolean),
17610
+ exclude: Schema.optional(Schema.Array(Schema.Union([
17611
+ Schema.Struct({
17612
+ group: Schema.Struct({
17613
+ id: Schema.String,
17614
+ }),
17615
+ }),
17616
+ Schema.Struct({
17617
+ anyValidServiceToken: Schema.Unknown,
17618
+ }).pipe(Schema.encodeKeys({
17619
+ anyValidServiceToken: "any_valid_service_token",
17620
+ })),
17621
+ Schema.Struct({
17622
+ authContext: Schema.Struct({
17623
+ id: Schema.String,
17624
+ acId: Schema.String,
17625
+ identityProviderId: Schema.String,
17626
+ }).pipe(Schema.encodeKeys({
17627
+ id: "id",
17628
+ acId: "ac_id",
17629
+ identityProviderId: "identity_provider_id",
17630
+ })),
17631
+ }).pipe(Schema.encodeKeys({ authContext: "auth_context" })),
17632
+ Schema.Struct({
17633
+ authMethod: Schema.Struct({
17634
+ authMethod: Schema.String,
17635
+ }).pipe(Schema.encodeKeys({ authMethod: "auth_method" })),
17636
+ }).pipe(Schema.encodeKeys({ authMethod: "auth_method" })),
17637
+ Schema.Struct({
17638
+ azureAD: Schema.Struct({
17639
+ id: Schema.String,
17640
+ identityProviderId: Schema.String,
17641
+ }).pipe(Schema.encodeKeys({
17642
+ id: "id",
17643
+ identityProviderId: "identity_provider_id",
17644
+ })),
17645
+ }),
17646
+ Schema.Struct({
17647
+ certificate: Schema.Unknown,
17648
+ }),
17649
+ Schema.Struct({
17650
+ commonName: Schema.Struct({
17651
+ commonName: Schema.String,
17652
+ }).pipe(Schema.encodeKeys({ commonName: "common_name" })),
17653
+ }).pipe(Schema.encodeKeys({ commonName: "common_name" })),
17654
+ Schema.Struct({
17655
+ geo: Schema.Struct({
17656
+ countryCode: Schema.String,
17657
+ }).pipe(Schema.encodeKeys({ countryCode: "country_code" })),
17658
+ }),
17659
+ Schema.Struct({
17660
+ devicePosture: Schema.Struct({
17661
+ integrationUid: Schema.String,
17662
+ }).pipe(Schema.encodeKeys({ integrationUid: "integration_uid" })),
17663
+ }).pipe(Schema.encodeKeys({ devicePosture: "device_posture" })),
17664
+ Schema.Struct({
17665
+ emailDomain: Schema.Struct({
17666
+ domain: Schema.String,
17667
+ }),
17668
+ }).pipe(Schema.encodeKeys({ emailDomain: "email_domain" })),
17669
+ Schema.Struct({
17670
+ emailList: Schema.Struct({
17671
+ id: Schema.String,
17672
+ }),
17673
+ }).pipe(Schema.encodeKeys({ emailList: "email_list" })),
17674
+ Schema.Struct({
17675
+ email: Schema.Struct({
17676
+ email: Schema.String,
17677
+ }),
17678
+ }),
17679
+ Schema.Struct({
17680
+ everyone: Schema.Unknown,
17681
+ }),
17682
+ Schema.Struct({
17683
+ externalEvaluation: Schema.Struct({
17684
+ evaluateUrl: Schema.String,
17685
+ keysUrl: Schema.String,
17686
+ }).pipe(Schema.encodeKeys({
17687
+ evaluateUrl: "evaluate_url",
17688
+ keysUrl: "keys_url",
17689
+ })),
17690
+ }).pipe(Schema.encodeKeys({
17691
+ externalEvaluation: "external_evaluation",
17692
+ })),
17693
+ Schema.Struct({
17694
+ githubOrganization: Schema.Struct({
17695
+ identityProviderId: Schema.String,
17696
+ name: Schema.String,
17697
+ team: Schema.optional(Schema.String),
17698
+ }).pipe(Schema.encodeKeys({
17699
+ identityProviderId: "identity_provider_id",
17700
+ name: "name",
17701
+ team: "team",
17702
+ })),
17703
+ }).pipe(Schema.encodeKeys({
17704
+ githubOrganization: "github-organization",
17705
+ })),
17706
+ Schema.Struct({
17707
+ gsuite: Schema.Struct({
17708
+ email: Schema.String,
17709
+ identityProviderId: Schema.String,
17710
+ }).pipe(Schema.encodeKeys({
17711
+ email: "email",
17712
+ identityProviderId: "identity_provider_id",
17713
+ })),
17714
+ }),
17715
+ Schema.Struct({
17716
+ loginMethod: Schema.Struct({
17717
+ id: Schema.String,
17718
+ }),
17719
+ }).pipe(Schema.encodeKeys({ loginMethod: "login_method" })),
17720
+ Schema.Struct({
17721
+ ipList: Schema.Struct({
17722
+ id: Schema.String,
17723
+ }),
17724
+ }).pipe(Schema.encodeKeys({ ipList: "ip_list" })),
17725
+ Schema.Struct({
17726
+ ip: Schema.Struct({
17727
+ ip: Schema.String,
17728
+ }),
17729
+ }),
17730
+ Schema.Struct({
17731
+ okta: Schema.Struct({
17732
+ identityProviderId: Schema.String,
17733
+ name: Schema.String,
17734
+ }).pipe(Schema.encodeKeys({
17735
+ identityProviderId: "identity_provider_id",
17736
+ name: "name",
17737
+ })),
17738
+ }),
17739
+ Schema.Struct({
17740
+ saml: Schema.Struct({
17741
+ attributeName: Schema.String,
17742
+ attributeValue: Schema.String,
17743
+ identityProviderId: Schema.String,
17744
+ }).pipe(Schema.encodeKeys({
17745
+ attributeName: "attribute_name",
17746
+ attributeValue: "attribute_value",
17747
+ identityProviderId: "identity_provider_id",
17748
+ })),
17749
+ }),
17750
+ Schema.Struct({
17751
+ oidc: Schema.Struct({
17752
+ claimName: Schema.String,
17753
+ claimValue: Schema.String,
17754
+ identityProviderId: Schema.String,
17755
+ }).pipe(Schema.encodeKeys({
17756
+ claimName: "claim_name",
17757
+ claimValue: "claim_value",
17758
+ identityProviderId: "identity_provider_id",
17759
+ })),
17760
+ }),
17761
+ Schema.Struct({
17762
+ serviceToken: Schema.Struct({
17763
+ tokenId: Schema.String,
17764
+ }).pipe(Schema.encodeKeys({ tokenId: "token_id" })),
17765
+ }).pipe(Schema.encodeKeys({ serviceToken: "service_token" })),
17766
+ Schema.Struct({
17767
+ linkedAppToken: Schema.Struct({
17768
+ appUid: Schema.String,
17769
+ }).pipe(Schema.encodeKeys({ appUid: "app_uid" })),
17770
+ }).pipe(Schema.encodeKeys({ linkedAppToken: "linked_app_token" })),
17771
+ Schema.Struct({
17772
+ userRiskScore: Schema.Struct({
17773
+ userRiskScore: Schema.Array(Schema.Union([
17774
+ Schema.Literals(["low", "medium", "high", "unscored"]),
17775
+ Schema.String,
17776
+ ])),
17777
+ }).pipe(Schema.encodeKeys({ userRiskScore: "user_risk_score" })),
17778
+ }).pipe(Schema.encodeKeys({ userRiskScore: "user_risk_score" })),
17779
+ Schema.Struct({
17780
+ cloudflareAccountMember: Schema.Struct({
17781
+ accountId: Schema.optional(Schema.String),
17782
+ }).pipe(Schema.encodeKeys({ accountId: "account_id" })),
17783
+ }).pipe(Schema.encodeKeys({
17784
+ cloudflareAccountMember: "cloudflare_account_member",
17785
+ })),
17786
+ ]))),
17388
17787
  mfaConfig: Schema.optional(Schema.Struct({
17389
- allowedAuthenticators: Schema.optional(Schema.Array(Schema.Union([
17390
- Schema.Literals(["totp", "biometrics", "security_key"]),
17391
- Schema.String,
17392
- ]))),
17788
+ allowedAuthenticators: Schema.optional(Schema.Array(Schema.Literal("ssh_piv_key"))),
17393
17789
  mfaDisabled: Schema.optional(Schema.Boolean),
17394
17790
  sessionDuration: Schema.optional(Schema.String),
17395
17791
  }).pipe(Schema.encodeKeys({
@@ -17397,23 +17793,193 @@ const CreateAccessApplicationBaseFields = {
17397
17793
  mfaDisabled: "mfa_disabled",
17398
17794
  sessionDuration: "session_duration",
17399
17795
  }))),
17400
- precedence: Schema.optional(Schema.Number),
17401
- purposeJustificationPrompt: Schema.optional(Schema.String),
17402
- purposeJustificationRequired: Schema.optional(Schema.Boolean),
17403
- sessionDuration: Schema.optional(Schema.String),
17796
+ require: Schema.optional(Schema.Array(Schema.Union([
17797
+ Schema.Struct({
17798
+ group: Schema.Struct({
17799
+ id: Schema.String,
17800
+ }),
17801
+ }),
17802
+ Schema.Struct({
17803
+ anyValidServiceToken: Schema.Unknown,
17804
+ }).pipe(Schema.encodeKeys({
17805
+ anyValidServiceToken: "any_valid_service_token",
17806
+ })),
17807
+ Schema.Struct({
17808
+ authContext: Schema.Struct({
17809
+ id: Schema.String,
17810
+ acId: Schema.String,
17811
+ identityProviderId: Schema.String,
17812
+ }).pipe(Schema.encodeKeys({
17813
+ id: "id",
17814
+ acId: "ac_id",
17815
+ identityProviderId: "identity_provider_id",
17816
+ })),
17817
+ }).pipe(Schema.encodeKeys({ authContext: "auth_context" })),
17818
+ Schema.Struct({
17819
+ authMethod: Schema.Struct({
17820
+ authMethod: Schema.String,
17821
+ }).pipe(Schema.encodeKeys({ authMethod: "auth_method" })),
17822
+ }).pipe(Schema.encodeKeys({ authMethod: "auth_method" })),
17823
+ Schema.Struct({
17824
+ azureAD: Schema.Struct({
17825
+ id: Schema.String,
17826
+ identityProviderId: Schema.String,
17827
+ }).pipe(Schema.encodeKeys({
17828
+ id: "id",
17829
+ identityProviderId: "identity_provider_id",
17830
+ })),
17831
+ }),
17832
+ Schema.Struct({
17833
+ certificate: Schema.Unknown,
17834
+ }),
17835
+ Schema.Struct({
17836
+ commonName: Schema.Struct({
17837
+ commonName: Schema.String,
17838
+ }).pipe(Schema.encodeKeys({ commonName: "common_name" })),
17839
+ }).pipe(Schema.encodeKeys({ commonName: "common_name" })),
17840
+ Schema.Struct({
17841
+ geo: Schema.Struct({
17842
+ countryCode: Schema.String,
17843
+ }).pipe(Schema.encodeKeys({ countryCode: "country_code" })),
17844
+ }),
17845
+ Schema.Struct({
17846
+ devicePosture: Schema.Struct({
17847
+ integrationUid: Schema.String,
17848
+ }).pipe(Schema.encodeKeys({ integrationUid: "integration_uid" })),
17849
+ }).pipe(Schema.encodeKeys({ devicePosture: "device_posture" })),
17850
+ Schema.Struct({
17851
+ emailDomain: Schema.Struct({
17852
+ domain: Schema.String,
17853
+ }),
17854
+ }).pipe(Schema.encodeKeys({ emailDomain: "email_domain" })),
17855
+ Schema.Struct({
17856
+ emailList: Schema.Struct({
17857
+ id: Schema.String,
17858
+ }),
17859
+ }).pipe(Schema.encodeKeys({ emailList: "email_list" })),
17860
+ Schema.Struct({
17861
+ email: Schema.Struct({
17862
+ email: Schema.String,
17863
+ }),
17864
+ }),
17865
+ Schema.Struct({
17866
+ everyone: Schema.Unknown,
17867
+ }),
17868
+ Schema.Struct({
17869
+ externalEvaluation: Schema.Struct({
17870
+ evaluateUrl: Schema.String,
17871
+ keysUrl: Schema.String,
17872
+ }).pipe(Schema.encodeKeys({
17873
+ evaluateUrl: "evaluate_url",
17874
+ keysUrl: "keys_url",
17875
+ })),
17876
+ }).pipe(Schema.encodeKeys({
17877
+ externalEvaluation: "external_evaluation",
17878
+ })),
17879
+ Schema.Struct({
17880
+ githubOrganization: Schema.Struct({
17881
+ identityProviderId: Schema.String,
17882
+ name: Schema.String,
17883
+ team: Schema.optional(Schema.String),
17884
+ }).pipe(Schema.encodeKeys({
17885
+ identityProviderId: "identity_provider_id",
17886
+ name: "name",
17887
+ team: "team",
17888
+ })),
17889
+ }).pipe(Schema.encodeKeys({
17890
+ githubOrganization: "github-organization",
17891
+ })),
17892
+ Schema.Struct({
17893
+ gsuite: Schema.Struct({
17894
+ email: Schema.String,
17895
+ identityProviderId: Schema.String,
17896
+ }).pipe(Schema.encodeKeys({
17897
+ email: "email",
17898
+ identityProviderId: "identity_provider_id",
17899
+ })),
17900
+ }),
17901
+ Schema.Struct({
17902
+ loginMethod: Schema.Struct({
17903
+ id: Schema.String,
17904
+ }),
17905
+ }).pipe(Schema.encodeKeys({ loginMethod: "login_method" })),
17906
+ Schema.Struct({
17907
+ ipList: Schema.Struct({
17908
+ id: Schema.String,
17909
+ }),
17910
+ }).pipe(Schema.encodeKeys({ ipList: "ip_list" })),
17911
+ Schema.Struct({
17912
+ ip: Schema.Struct({
17913
+ ip: Schema.String,
17914
+ }),
17915
+ }),
17916
+ Schema.Struct({
17917
+ okta: Schema.Struct({
17918
+ identityProviderId: Schema.String,
17919
+ name: Schema.String,
17920
+ }).pipe(Schema.encodeKeys({
17921
+ identityProviderId: "identity_provider_id",
17922
+ name: "name",
17923
+ })),
17924
+ }),
17925
+ Schema.Struct({
17926
+ saml: Schema.Struct({
17927
+ attributeName: Schema.String,
17928
+ attributeValue: Schema.String,
17929
+ identityProviderId: Schema.String,
17930
+ }).pipe(Schema.encodeKeys({
17931
+ attributeName: "attribute_name",
17932
+ attributeValue: "attribute_value",
17933
+ identityProviderId: "identity_provider_id",
17934
+ })),
17935
+ }),
17936
+ Schema.Struct({
17937
+ oidc: Schema.Struct({
17938
+ claimName: Schema.String,
17939
+ claimValue: Schema.String,
17940
+ identityProviderId: Schema.String,
17941
+ }).pipe(Schema.encodeKeys({
17942
+ claimName: "claim_name",
17943
+ claimValue: "claim_value",
17944
+ identityProviderId: "identity_provider_id",
17945
+ })),
17946
+ }),
17947
+ Schema.Struct({
17948
+ serviceToken: Schema.Struct({
17949
+ tokenId: Schema.String,
17950
+ }).pipe(Schema.encodeKeys({ tokenId: "token_id" })),
17951
+ }).pipe(Schema.encodeKeys({ serviceToken: "service_token" })),
17952
+ Schema.Struct({
17953
+ linkedAppToken: Schema.Struct({
17954
+ appUid: Schema.String,
17955
+ }).pipe(Schema.encodeKeys({ appUid: "app_uid" })),
17956
+ }).pipe(Schema.encodeKeys({ linkedAppToken: "linked_app_token" })),
17957
+ Schema.Struct({
17958
+ userRiskScore: Schema.Struct({
17959
+ userRiskScore: Schema.Array(Schema.Union([
17960
+ Schema.Literals(["low", "medium", "high", "unscored"]),
17961
+ Schema.String,
17962
+ ])),
17963
+ }).pipe(Schema.encodeKeys({ userRiskScore: "user_risk_score" })),
17964
+ }).pipe(Schema.encodeKeys({ userRiskScore: "user_risk_score" })),
17965
+ Schema.Struct({
17966
+ cloudflareAccountMember: Schema.Struct({
17967
+ accountId: Schema.optional(Schema.String),
17968
+ }).pipe(Schema.encodeKeys({ accountId: "account_id" })),
17969
+ }).pipe(Schema.encodeKeys({
17970
+ cloudflareAccountMember: "cloudflare_account_member",
17971
+ })),
17972
+ ]))),
17404
17973
  }).pipe(Schema.encodeKeys({
17405
- id: "id",
17406
- approvalGroups: "approval_groups",
17407
- approvalRequired: "approval_required",
17974
+ decision: "decision",
17975
+ include: "include",
17976
+ name: "name",
17408
17977
  connectionRules: "connection_rules",
17409
- isolationRequired: "isolation_required",
17978
+ exclude: "exclude",
17410
17979
  mfaConfig: "mfa_config",
17411
- precedence: "precedence",
17412
- purposeJustificationPrompt: "purpose_justification_prompt",
17413
- purposeJustificationRequired: "purpose_justification_required",
17414
- sessionDuration: "session_duration",
17415
- })),
17416
- ]))),
17980
+ require: "require",
17981
+ }))),
17982
+ ])),
17417
17983
  readServiceTokensFromHeader: Schema.optional(Schema.String),
17418
17984
  sameSiteCookieAttribute: Schema.optional(Schema.String),
17419
17985
  scimConfig: Schema.optional(Schema.Struct({
@@ -17527,6 +18093,155 @@ const CreateAccessApplicationBaseFields = {
17527
18093
  skipInterstitial: Schema.optional(Schema.Boolean),
17528
18094
  tags: Schema.optional(Schema.Array(Schema.String)),
17529
18095
  useClientlessIsolationAppLauncherUrl: Schema.optional(Schema.Boolean),
18096
+ saasApp: Schema.optional(Schema.Struct({
18097
+ authType: Schema.optional(Schema.Union([Schema.Literals(["saml", "oidc"]), Schema.String])),
18098
+ consumerServiceUrl: Schema.optional(Schema.String),
18099
+ customAttributes: Schema.optional(Schema.Array(Schema.Struct({
18100
+ friendlyName: Schema.optional(Schema.String),
18101
+ name: Schema.optional(Schema.String),
18102
+ nameFormat: Schema.optional(Schema.Union([
18103
+ Schema.Literals([
18104
+ "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified",
18105
+ "urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
18106
+ "urn:oasis:names:tc:SAML:2.0:attrname-format:uri",
18107
+ ]),
18108
+ Schema.String,
18109
+ ])),
18110
+ required: Schema.optional(Schema.Boolean),
18111
+ source: Schema.optional(Schema.Struct({
18112
+ name: Schema.optional(Schema.String),
18113
+ nameByIdp: Schema.optional(Schema.Array(Schema.Struct({
18114
+ idpId: Schema.optional(Schema.String),
18115
+ sourceName: Schema.optional(Schema.String),
18116
+ }).pipe(Schema.encodeKeys({
18117
+ idpId: "idp_id",
18118
+ sourceName: "source_name",
18119
+ })))),
18120
+ }).pipe(Schema.encodeKeys({ name: "name", nameByIdp: "name_by_idp" }))),
18121
+ }).pipe(Schema.encodeKeys({
18122
+ friendlyName: "friendly_name",
18123
+ name: "name",
18124
+ nameFormat: "name_format",
18125
+ required: "required",
18126
+ source: "source",
18127
+ })))),
18128
+ defaultRelayState: Schema.optional(Schema.String),
18129
+ idpEntityId: Schema.optional(Schema.String),
18130
+ nameIdFormat: Schema.optional(Schema.Union([Schema.Literals(["id", "email"]), Schema.String])),
18131
+ nameIdTransformJsonata: Schema.optional(Schema.String),
18132
+ publicKey: Schema.optional(Schema.String),
18133
+ samlAttributeTransformJsonata: Schema.optional(Schema.String),
18134
+ spEntityId: Schema.optional(Schema.String),
18135
+ ssoEndpoint: Schema.optional(Schema.String),
18136
+ accessTokenLifetime: Schema.optional(Schema.String),
18137
+ allowPkceWithoutClientSecret: Schema.optional(Schema.Boolean),
18138
+ appLauncherUrl: Schema.optional(Schema.String),
18139
+ clientId: Schema.optional(Schema.String),
18140
+ clientSecret: Schema.optional(SensitiveString),
18141
+ customClaims: Schema.optional(Schema.Array(Schema.Struct({
18142
+ name: Schema.optional(Schema.String),
18143
+ required: Schema.optional(Schema.Boolean),
18144
+ scope: Schema.optional(Schema.Union([
18145
+ Schema.Literals(["groups", "profile", "email", "openid"]),
18146
+ Schema.String,
18147
+ ])),
18148
+ source: Schema.optional(Schema.Struct({
18149
+ name: Schema.optional(Schema.String),
18150
+ nameByIdp: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
18151
+ }).pipe(Schema.encodeKeys({ name: "name", nameByIdp: "name_by_idp" }))),
18152
+ }))),
18153
+ grantTypes: Schema.optional(Schema.Array(Schema.Union([
18154
+ Schema.Literals([
18155
+ "authorization_code",
18156
+ "authorization_code_with_pkce",
18157
+ "refresh_tokens",
18158
+ "hybrid",
18159
+ "implicit",
18160
+ ]),
18161
+ Schema.String,
18162
+ ]))),
18163
+ groupFilterRegex: Schema.optional(Schema.String),
18164
+ hybridAndImplicitOptions: Schema.optional(Schema.Struct({
18165
+ returnAccessTokenFromAuthorizationEndpoint: Schema.optional(Schema.Boolean),
18166
+ returnIdTokenFromAuthorizationEndpoint: Schema.optional(Schema.Boolean),
18167
+ }).pipe(Schema.encodeKeys({
18168
+ returnAccessTokenFromAuthorizationEndpoint: "return_access_token_from_authorization_endpoint",
18169
+ returnIdTokenFromAuthorizationEndpoint: "return_id_token_from_authorization_endpoint",
18170
+ }))),
18171
+ redirectUris: Schema.optional(Schema.Array(Schema.String)),
18172
+ refreshTokenOptions: Schema.optional(Schema.Struct({
18173
+ lifetime: Schema.optional(Schema.String),
18174
+ })),
18175
+ scopes: Schema.optional(Schema.Array(Schema.Union([
18176
+ Schema.Literals(["openid", "groups", "email", "profile"]),
18177
+ Schema.String,
18178
+ ]))),
18179
+ }).pipe(Schema.encodeKeys({
18180
+ authType: "auth_type",
18181
+ consumerServiceUrl: "consumer_service_url",
18182
+ customAttributes: "custom_attributes",
18183
+ defaultRelayState: "default_relay_state",
18184
+ idpEntityId: "idp_entity_id",
18185
+ nameIdFormat: "name_id_format",
18186
+ nameIdTransformJsonata: "name_id_transform_jsonata",
18187
+ publicKey: "public_key",
18188
+ samlAttributeTransformJsonata: "saml_attribute_transform_jsonata",
18189
+ spEntityId: "sp_entity_id",
18190
+ ssoEndpoint: "sso_endpoint",
18191
+ accessTokenLifetime: "access_token_lifetime",
18192
+ allowPkceWithoutClientSecret: "allow_pkce_without_client_secret",
18193
+ appLauncherUrl: "app_launcher_url",
18194
+ clientId: "client_id",
18195
+ clientSecret: "client_secret",
18196
+ customClaims: "custom_claims",
18197
+ grantTypes: "grant_types",
18198
+ groupFilterRegex: "group_filter_regex",
18199
+ hybridAndImplicitOptions: "hybrid_and_implicit_options",
18200
+ redirectUris: "redirect_uris",
18201
+ refreshTokenOptions: "refresh_token_options",
18202
+ scopes: "scopes",
18203
+ }))),
18204
+ appLauncherLogoUrl: Schema.optional(Schema.String),
18205
+ bgColor: Schema.optional(Schema.String),
18206
+ footerLinks: Schema.optional(Schema.Array(Schema.Struct({
18207
+ name: Schema.String,
18208
+ url: Schema.String,
18209
+ }))),
18210
+ headerBgColor: Schema.optional(Schema.String),
18211
+ landingPageDesign: Schema.optional(Schema.Struct({
18212
+ buttonColor: Schema.optional(Schema.String),
18213
+ buttonTextColor: Schema.optional(Schema.String),
18214
+ imageUrl: Schema.optional(Schema.String),
18215
+ message: Schema.optional(Schema.String),
18216
+ title: Schema.optional(Schema.String),
18217
+ }).pipe(Schema.encodeKeys({
18218
+ buttonColor: "button_color",
18219
+ buttonTextColor: "button_text_color",
18220
+ imageUrl: "image_url",
18221
+ message: "message",
18222
+ title: "title",
18223
+ }))),
18224
+ skipAppLauncherLoginPage: Schema.optional(Schema.Boolean),
18225
+ targetCriteria: Schema.optional(Schema.Union([
18226
+ Schema.Array(Schema.Struct({
18227
+ port: Schema.Number,
18228
+ protocol: Schema.Literal("SSH"),
18229
+ targetAttributes: Schema.Record(Schema.String, Schema.Unknown),
18230
+ }).pipe(Schema.encodeKeys({
18231
+ port: "port",
18232
+ protocol: "protocol",
18233
+ targetAttributes: "target_attributes",
18234
+ }))),
18235
+ Schema.Array(Schema.Struct({
18236
+ port: Schema.Number,
18237
+ protocol: Schema.Literal("RDP"),
18238
+ targetAttributes: Schema.Record(Schema.String, Schema.Unknown),
18239
+ }).pipe(Schema.encodeKeys({
18240
+ port: "port",
18241
+ protocol: "protocol",
18242
+ targetAttributes: "target_attributes",
18243
+ }))),
18244
+ ])),
17530
18245
  };
17531
18246
  export const CreateAccessApplicationForAccountRequest =
17532
18247
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
@@ -17564,6 +18279,14 @@ export const CreateAccessApplicationForAccountRequest =
17564
18279
  skipInterstitial: "skip_interstitial",
17565
18280
  tags: "tags",
17566
18281
  useClientlessIsolationAppLauncherUrl: "use_clientless_isolation_app_launcher_url",
18282
+ saasApp: "saas_app",
18283
+ appLauncherLogoUrl: "app_launcher_logo_url",
18284
+ bgColor: "bg_color",
18285
+ footerLinks: "footer_links",
18286
+ headerBgColor: "header_bg_color",
18287
+ landingPageDesign: "landing_page_design",
18288
+ skipAppLauncherLoginPage: "skip_app_launcher_login_page",
18289
+ targetCriteria: "target_criteria",
17567
18290
  }), T.Http({ method: "POST", path: "/accounts/{account_id}/access/apps" }));
17568
18291
  export const CreateAccessApplicationForZoneRequest =
17569
18292
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
@@ -17601,6 +18324,14 @@ export const CreateAccessApplicationForZoneRequest =
17601
18324
  skipInterstitial: "skip_interstitial",
17602
18325
  tags: "tags",
17603
18326
  useClientlessIsolationAppLauncherUrl: "use_clientless_isolation_app_launcher_url",
18327
+ saasApp: "saas_app",
18328
+ appLauncherLogoUrl: "app_launcher_logo_url",
18329
+ bgColor: "bg_color",
18330
+ footerLinks: "footer_links",
18331
+ headerBgColor: "header_bg_color",
18332
+ landingPageDesign: "landing_page_design",
18333
+ skipAppLauncherLoginPage: "skip_app_launcher_login_page",
18334
+ targetCriteria: "target_criteria",
17604
18335
  }), T.Http({ method: "POST", path: "/zones/{zone_id}/access/apps" }));
17605
18336
  export const CreateAccessApplicationResponse =
17606
18337
  /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
@@ -25415,8 +26146,8 @@ export const createAccessApplicationForZone = /*@__PURE__*/ /*#__PURE__*/ API.ma
25415
26146
  }));
25416
26147
  const UpdateAccessApplicationBaseFields = {
25417
26148
  appId: Schema.String.pipe(T.HttpPath("appId")),
25418
- domain: Schema.String,
25419
- type: Schema.Union([
26149
+ domain: Schema.optional(Schema.String),
26150
+ type: Schema.optional(Schema.Union([
25420
26151
  Schema.Literals([
25421
26152
  "self_hosted",
25422
26153
  "saas",
@@ -25434,7 +26165,7 @@ const UpdateAccessApplicationBaseFields = {
25434
26165
  "proxy_endpoint",
25435
26166
  ]),
25436
26167
  Schema.String,
25437
- ]),
26168
+ ])),
25438
26169
  allowAuthenticateViaWarp: Schema.optional(Schema.Boolean),
25439
26170
  allowIframe: Schema.optional(Schema.Boolean),
25440
26171
  allowedIdps: Schema.optional(Schema.Array(Schema.String)),
@@ -25544,39 +26275,435 @@ const UpdateAccessApplicationBaseFields = {
25544
26275
  }))),
25545
26276
  optionsPreflightBypass: Schema.optional(Schema.Boolean),
25546
26277
  pathCookieAttribute: Schema.optional(Schema.Boolean),
25547
- policies: Schema.optional(Schema.Array(Schema.Union([
25548
- Schema.Struct({
25549
- id: Schema.optional(Schema.String),
25550
- precedence: Schema.optional(Schema.Number),
25551
- }),
25552
- Schema.String,
25553
- Schema.Struct({
25554
- id: Schema.optional(Schema.String),
25555
- approvalGroups: Schema.optional(Schema.Array(Schema.Struct({
25556
- approvalsNeeded: Schema.Number,
25557
- emailAddresses: Schema.optional(Schema.Array(Schema.String)),
25558
- emailListUuid: Schema.optional(Schema.String),
26278
+ policies: Schema.optional(Schema.Union([
26279
+ Schema.Array(Schema.Union([
26280
+ Schema.Struct({
26281
+ id: Schema.optional(Schema.String),
26282
+ precedence: Schema.optional(Schema.Number),
26283
+ }),
26284
+ Schema.String,
26285
+ Schema.Struct({
26286
+ id: Schema.optional(Schema.String),
26287
+ approvalGroups: Schema.optional(Schema.Array(Schema.Struct({
26288
+ approvalsNeeded: Schema.Number,
26289
+ emailAddresses: Schema.optional(Schema.Array(Schema.String)),
26290
+ emailListUuid: Schema.optional(Schema.String),
26291
+ }).pipe(Schema.encodeKeys({
26292
+ approvalsNeeded: "approvals_needed",
26293
+ emailAddresses: "email_addresses",
26294
+ emailListUuid: "email_list_uuid",
26295
+ })))),
26296
+ approvalRequired: Schema.optional(Schema.Boolean),
26297
+ connectionRules: Schema.optional(Schema.Struct({
26298
+ rdp: Schema.optional(Schema.Struct({
26299
+ allowedClipboardLocalToRemoteFormats: Schema.optional(Schema.Array(Schema.Literal("text"))),
26300
+ allowedClipboardRemoteToLocalFormats: Schema.optional(Schema.Array(Schema.Literal("text"))),
26301
+ }).pipe(Schema.encodeKeys({
26302
+ allowedClipboardLocalToRemoteFormats: "allowed_clipboard_local_to_remote_formats",
26303
+ allowedClipboardRemoteToLocalFormats: "allowed_clipboard_remote_to_local_formats",
26304
+ }))),
26305
+ })),
26306
+ isolationRequired: Schema.optional(Schema.Boolean),
26307
+ mfaConfig: Schema.optional(Schema.Struct({
26308
+ allowedAuthenticators: Schema.optional(Schema.Array(Schema.Union([
26309
+ Schema.Literals(["totp", "biometrics", "security_key"]),
26310
+ Schema.String,
26311
+ ]))),
26312
+ mfaDisabled: Schema.optional(Schema.Boolean),
26313
+ sessionDuration: Schema.optional(Schema.String),
26314
+ }).pipe(Schema.encodeKeys({
26315
+ allowedAuthenticators: "allowed_authenticators",
26316
+ mfaDisabled: "mfa_disabled",
26317
+ sessionDuration: "session_duration",
26318
+ }))),
26319
+ precedence: Schema.optional(Schema.Number),
26320
+ purposeJustificationPrompt: Schema.optional(Schema.String),
26321
+ purposeJustificationRequired: Schema.optional(Schema.Boolean),
26322
+ sessionDuration: Schema.optional(Schema.String),
25559
26323
  }).pipe(Schema.encodeKeys({
25560
- approvalsNeeded: "approvals_needed",
25561
- emailAddresses: "email_addresses",
25562
- emailListUuid: "email_list_uuid",
25563
- })))),
25564
- approvalRequired: Schema.optional(Schema.Boolean),
26324
+ id: "id",
26325
+ approvalGroups: "approval_groups",
26326
+ approvalRequired: "approval_required",
26327
+ connectionRules: "connection_rules",
26328
+ isolationRequired: "isolation_required",
26329
+ mfaConfig: "mfa_config",
26330
+ precedence: "precedence",
26331
+ purposeJustificationPrompt: "purpose_justification_prompt",
26332
+ purposeJustificationRequired: "purpose_justification_required",
26333
+ sessionDuration: "session_duration",
26334
+ })),
26335
+ ])),
26336
+ Schema.Array(Schema.Struct({
26337
+ decision: Schema.Union([
26338
+ Schema.Literals(["allow", "deny", "non_identity", "bypass"]),
26339
+ Schema.String,
26340
+ ]),
26341
+ include: Schema.Array(Schema.Union([
26342
+ Schema.Struct({
26343
+ group: Schema.Struct({
26344
+ id: Schema.String,
26345
+ }),
26346
+ }),
26347
+ Schema.Struct({
26348
+ anyValidServiceToken: Schema.Unknown,
26349
+ }).pipe(Schema.encodeKeys({
26350
+ anyValidServiceToken: "any_valid_service_token",
26351
+ })),
26352
+ Schema.Struct({
26353
+ authContext: Schema.Struct({
26354
+ id: Schema.String,
26355
+ acId: Schema.String,
26356
+ identityProviderId: Schema.String,
26357
+ }).pipe(Schema.encodeKeys({
26358
+ id: "id",
26359
+ acId: "ac_id",
26360
+ identityProviderId: "identity_provider_id",
26361
+ })),
26362
+ }).pipe(Schema.encodeKeys({ authContext: "auth_context" })),
26363
+ Schema.Struct({
26364
+ authMethod: Schema.Struct({
26365
+ authMethod: Schema.String,
26366
+ }).pipe(Schema.encodeKeys({ authMethod: "auth_method" })),
26367
+ }).pipe(Schema.encodeKeys({ authMethod: "auth_method" })),
26368
+ Schema.Struct({
26369
+ azureAD: Schema.Struct({
26370
+ id: Schema.String,
26371
+ identityProviderId: Schema.String,
26372
+ }).pipe(Schema.encodeKeys({
26373
+ id: "id",
26374
+ identityProviderId: "identity_provider_id",
26375
+ })),
26376
+ }),
26377
+ Schema.Struct({
26378
+ certificate: Schema.Unknown,
26379
+ }),
26380
+ Schema.Struct({
26381
+ commonName: Schema.Struct({
26382
+ commonName: Schema.String,
26383
+ }).pipe(Schema.encodeKeys({ commonName: "common_name" })),
26384
+ }).pipe(Schema.encodeKeys({ commonName: "common_name" })),
26385
+ Schema.Struct({
26386
+ geo: Schema.Struct({
26387
+ countryCode: Schema.String,
26388
+ }).pipe(Schema.encodeKeys({ countryCode: "country_code" })),
26389
+ }),
26390
+ Schema.Struct({
26391
+ devicePosture: Schema.Struct({
26392
+ integrationUid: Schema.String,
26393
+ }).pipe(Schema.encodeKeys({ integrationUid: "integration_uid" })),
26394
+ }).pipe(Schema.encodeKeys({ devicePosture: "device_posture" })),
26395
+ Schema.Struct({
26396
+ emailDomain: Schema.Struct({
26397
+ domain: Schema.String,
26398
+ }),
26399
+ }).pipe(Schema.encodeKeys({ emailDomain: "email_domain" })),
26400
+ Schema.Struct({
26401
+ emailList: Schema.Struct({
26402
+ id: Schema.String,
26403
+ }),
26404
+ }).pipe(Schema.encodeKeys({ emailList: "email_list" })),
26405
+ Schema.Struct({
26406
+ email: Schema.Struct({
26407
+ email: Schema.String,
26408
+ }),
26409
+ }),
26410
+ Schema.Struct({
26411
+ everyone: Schema.Unknown,
26412
+ }),
26413
+ Schema.Struct({
26414
+ externalEvaluation: Schema.Struct({
26415
+ evaluateUrl: Schema.String,
26416
+ keysUrl: Schema.String,
26417
+ }).pipe(Schema.encodeKeys({
26418
+ evaluateUrl: "evaluate_url",
26419
+ keysUrl: "keys_url",
26420
+ })),
26421
+ }).pipe(Schema.encodeKeys({
26422
+ externalEvaluation: "external_evaluation",
26423
+ })),
26424
+ Schema.Struct({
26425
+ githubOrganization: Schema.Struct({
26426
+ identityProviderId: Schema.String,
26427
+ name: Schema.String,
26428
+ team: Schema.optional(Schema.String),
26429
+ }).pipe(Schema.encodeKeys({
26430
+ identityProviderId: "identity_provider_id",
26431
+ name: "name",
26432
+ team: "team",
26433
+ })),
26434
+ }).pipe(Schema.encodeKeys({
26435
+ githubOrganization: "github-organization",
26436
+ })),
26437
+ Schema.Struct({
26438
+ gsuite: Schema.Struct({
26439
+ email: Schema.String,
26440
+ identityProviderId: Schema.String,
26441
+ }).pipe(Schema.encodeKeys({
26442
+ email: "email",
26443
+ identityProviderId: "identity_provider_id",
26444
+ })),
26445
+ }),
26446
+ Schema.Struct({
26447
+ loginMethod: Schema.Struct({
26448
+ id: Schema.String,
26449
+ }),
26450
+ }).pipe(Schema.encodeKeys({ loginMethod: "login_method" })),
26451
+ Schema.Struct({
26452
+ ipList: Schema.Struct({
26453
+ id: Schema.String,
26454
+ }),
26455
+ }).pipe(Schema.encodeKeys({ ipList: "ip_list" })),
26456
+ Schema.Struct({
26457
+ ip: Schema.Struct({
26458
+ ip: Schema.String,
26459
+ }),
26460
+ }),
26461
+ Schema.Struct({
26462
+ okta: Schema.Struct({
26463
+ identityProviderId: Schema.String,
26464
+ name: Schema.String,
26465
+ }).pipe(Schema.encodeKeys({
26466
+ identityProviderId: "identity_provider_id",
26467
+ name: "name",
26468
+ })),
26469
+ }),
26470
+ Schema.Struct({
26471
+ saml: Schema.Struct({
26472
+ attributeName: Schema.String,
26473
+ attributeValue: Schema.String,
26474
+ identityProviderId: Schema.String,
26475
+ }).pipe(Schema.encodeKeys({
26476
+ attributeName: "attribute_name",
26477
+ attributeValue: "attribute_value",
26478
+ identityProviderId: "identity_provider_id",
26479
+ })),
26480
+ }),
26481
+ Schema.Struct({
26482
+ oidc: Schema.Struct({
26483
+ claimName: Schema.String,
26484
+ claimValue: Schema.String,
26485
+ identityProviderId: Schema.String,
26486
+ }).pipe(Schema.encodeKeys({
26487
+ claimName: "claim_name",
26488
+ claimValue: "claim_value",
26489
+ identityProviderId: "identity_provider_id",
26490
+ })),
26491
+ }),
26492
+ Schema.Struct({
26493
+ serviceToken: Schema.Struct({
26494
+ tokenId: Schema.String,
26495
+ }).pipe(Schema.encodeKeys({ tokenId: "token_id" })),
26496
+ }).pipe(Schema.encodeKeys({ serviceToken: "service_token" })),
26497
+ Schema.Struct({
26498
+ linkedAppToken: Schema.Struct({
26499
+ appUid: Schema.String,
26500
+ }).pipe(Schema.encodeKeys({ appUid: "app_uid" })),
26501
+ }).pipe(Schema.encodeKeys({ linkedAppToken: "linked_app_token" })),
26502
+ Schema.Struct({
26503
+ userRiskScore: Schema.Struct({
26504
+ userRiskScore: Schema.Array(Schema.Union([
26505
+ Schema.Literals(["low", "medium", "high", "unscored"]),
26506
+ Schema.String,
26507
+ ])),
26508
+ }).pipe(Schema.encodeKeys({ userRiskScore: "user_risk_score" })),
26509
+ }).pipe(Schema.encodeKeys({ userRiskScore: "user_risk_score" })),
26510
+ Schema.Struct({
26511
+ cloudflareAccountMember: Schema.Struct({
26512
+ accountId: Schema.optional(Schema.String),
26513
+ }).pipe(Schema.encodeKeys({ accountId: "account_id" })),
26514
+ }).pipe(Schema.encodeKeys({
26515
+ cloudflareAccountMember: "cloudflare_account_member",
26516
+ })),
26517
+ ])),
26518
+ name: Schema.String,
25565
26519
  connectionRules: Schema.optional(Schema.Struct({
25566
- rdp: Schema.optional(Schema.Struct({
25567
- allowedClipboardLocalToRemoteFormats: Schema.optional(Schema.Array(Schema.Literal("text"))),
25568
- allowedClipboardRemoteToLocalFormats: Schema.optional(Schema.Array(Schema.Literal("text"))),
26520
+ ssh: Schema.optional(Schema.Struct({
26521
+ usernames: Schema.Array(Schema.String),
26522
+ allowEmailAlias: Schema.optional(Schema.Boolean),
25569
26523
  }).pipe(Schema.encodeKeys({
25570
- allowedClipboardLocalToRemoteFormats: "allowed_clipboard_local_to_remote_formats",
25571
- allowedClipboardRemoteToLocalFormats: "allowed_clipboard_remote_to_local_formats",
26524
+ usernames: "usernames",
26525
+ allowEmailAlias: "allow_email_alias",
25572
26526
  }))),
25573
26527
  })),
25574
- isolationRequired: Schema.optional(Schema.Boolean),
26528
+ exclude: Schema.optional(Schema.Array(Schema.Union([
26529
+ Schema.Struct({
26530
+ group: Schema.Struct({
26531
+ id: Schema.String,
26532
+ }),
26533
+ }),
26534
+ Schema.Struct({
26535
+ anyValidServiceToken: Schema.Unknown,
26536
+ }).pipe(Schema.encodeKeys({
26537
+ anyValidServiceToken: "any_valid_service_token",
26538
+ })),
26539
+ Schema.Struct({
26540
+ authContext: Schema.Struct({
26541
+ id: Schema.String,
26542
+ acId: Schema.String,
26543
+ identityProviderId: Schema.String,
26544
+ }).pipe(Schema.encodeKeys({
26545
+ id: "id",
26546
+ acId: "ac_id",
26547
+ identityProviderId: "identity_provider_id",
26548
+ })),
26549
+ }).pipe(Schema.encodeKeys({ authContext: "auth_context" })),
26550
+ Schema.Struct({
26551
+ authMethod: Schema.Struct({
26552
+ authMethod: Schema.String,
26553
+ }).pipe(Schema.encodeKeys({ authMethod: "auth_method" })),
26554
+ }).pipe(Schema.encodeKeys({ authMethod: "auth_method" })),
26555
+ Schema.Struct({
26556
+ azureAD: Schema.Struct({
26557
+ id: Schema.String,
26558
+ identityProviderId: Schema.String,
26559
+ }).pipe(Schema.encodeKeys({
26560
+ id: "id",
26561
+ identityProviderId: "identity_provider_id",
26562
+ })),
26563
+ }),
26564
+ Schema.Struct({
26565
+ certificate: Schema.Unknown,
26566
+ }),
26567
+ Schema.Struct({
26568
+ commonName: Schema.Struct({
26569
+ commonName: Schema.String,
26570
+ }).pipe(Schema.encodeKeys({ commonName: "common_name" })),
26571
+ }).pipe(Schema.encodeKeys({ commonName: "common_name" })),
26572
+ Schema.Struct({
26573
+ geo: Schema.Struct({
26574
+ countryCode: Schema.String,
26575
+ }).pipe(Schema.encodeKeys({ countryCode: "country_code" })),
26576
+ }),
26577
+ Schema.Struct({
26578
+ devicePosture: Schema.Struct({
26579
+ integrationUid: Schema.String,
26580
+ }).pipe(Schema.encodeKeys({ integrationUid: "integration_uid" })),
26581
+ }).pipe(Schema.encodeKeys({ devicePosture: "device_posture" })),
26582
+ Schema.Struct({
26583
+ emailDomain: Schema.Struct({
26584
+ domain: Schema.String,
26585
+ }),
26586
+ }).pipe(Schema.encodeKeys({ emailDomain: "email_domain" })),
26587
+ Schema.Struct({
26588
+ emailList: Schema.Struct({
26589
+ id: Schema.String,
26590
+ }),
26591
+ }).pipe(Schema.encodeKeys({ emailList: "email_list" })),
26592
+ Schema.Struct({
26593
+ email: Schema.Struct({
26594
+ email: Schema.String,
26595
+ }),
26596
+ }),
26597
+ Schema.Struct({
26598
+ everyone: Schema.Unknown,
26599
+ }),
26600
+ Schema.Struct({
26601
+ externalEvaluation: Schema.Struct({
26602
+ evaluateUrl: Schema.String,
26603
+ keysUrl: Schema.String,
26604
+ }).pipe(Schema.encodeKeys({
26605
+ evaluateUrl: "evaluate_url",
26606
+ keysUrl: "keys_url",
26607
+ })),
26608
+ }).pipe(Schema.encodeKeys({
26609
+ externalEvaluation: "external_evaluation",
26610
+ })),
26611
+ Schema.Struct({
26612
+ githubOrganization: Schema.Struct({
26613
+ identityProviderId: Schema.String,
26614
+ name: Schema.String,
26615
+ team: Schema.optional(Schema.String),
26616
+ }).pipe(Schema.encodeKeys({
26617
+ identityProviderId: "identity_provider_id",
26618
+ name: "name",
26619
+ team: "team",
26620
+ })),
26621
+ }).pipe(Schema.encodeKeys({
26622
+ githubOrganization: "github-organization",
26623
+ })),
26624
+ Schema.Struct({
26625
+ gsuite: Schema.Struct({
26626
+ email: Schema.String,
26627
+ identityProviderId: Schema.String,
26628
+ }).pipe(Schema.encodeKeys({
26629
+ email: "email",
26630
+ identityProviderId: "identity_provider_id",
26631
+ })),
26632
+ }),
26633
+ Schema.Struct({
26634
+ loginMethod: Schema.Struct({
26635
+ id: Schema.String,
26636
+ }),
26637
+ }).pipe(Schema.encodeKeys({ loginMethod: "login_method" })),
26638
+ Schema.Struct({
26639
+ ipList: Schema.Struct({
26640
+ id: Schema.String,
26641
+ }),
26642
+ }).pipe(Schema.encodeKeys({ ipList: "ip_list" })),
26643
+ Schema.Struct({
26644
+ ip: Schema.Struct({
26645
+ ip: Schema.String,
26646
+ }),
26647
+ }),
26648
+ Schema.Struct({
26649
+ okta: Schema.Struct({
26650
+ identityProviderId: Schema.String,
26651
+ name: Schema.String,
26652
+ }).pipe(Schema.encodeKeys({
26653
+ identityProviderId: "identity_provider_id",
26654
+ name: "name",
26655
+ })),
26656
+ }),
26657
+ Schema.Struct({
26658
+ saml: Schema.Struct({
26659
+ attributeName: Schema.String,
26660
+ attributeValue: Schema.String,
26661
+ identityProviderId: Schema.String,
26662
+ }).pipe(Schema.encodeKeys({
26663
+ attributeName: "attribute_name",
26664
+ attributeValue: "attribute_value",
26665
+ identityProviderId: "identity_provider_id",
26666
+ })),
26667
+ }),
26668
+ Schema.Struct({
26669
+ oidc: Schema.Struct({
26670
+ claimName: Schema.String,
26671
+ claimValue: Schema.String,
26672
+ identityProviderId: Schema.String,
26673
+ }).pipe(Schema.encodeKeys({
26674
+ claimName: "claim_name",
26675
+ claimValue: "claim_value",
26676
+ identityProviderId: "identity_provider_id",
26677
+ })),
26678
+ }),
26679
+ Schema.Struct({
26680
+ serviceToken: Schema.Struct({
26681
+ tokenId: Schema.String,
26682
+ }).pipe(Schema.encodeKeys({ tokenId: "token_id" })),
26683
+ }).pipe(Schema.encodeKeys({ serviceToken: "service_token" })),
26684
+ Schema.Struct({
26685
+ linkedAppToken: Schema.Struct({
26686
+ appUid: Schema.String,
26687
+ }).pipe(Schema.encodeKeys({ appUid: "app_uid" })),
26688
+ }).pipe(Schema.encodeKeys({ linkedAppToken: "linked_app_token" })),
26689
+ Schema.Struct({
26690
+ userRiskScore: Schema.Struct({
26691
+ userRiskScore: Schema.Array(Schema.Union([
26692
+ Schema.Literals(["low", "medium", "high", "unscored"]),
26693
+ Schema.String,
26694
+ ])),
26695
+ }).pipe(Schema.encodeKeys({ userRiskScore: "user_risk_score" })),
26696
+ }).pipe(Schema.encodeKeys({ userRiskScore: "user_risk_score" })),
26697
+ Schema.Struct({
26698
+ cloudflareAccountMember: Schema.Struct({
26699
+ accountId: Schema.optional(Schema.String),
26700
+ }).pipe(Schema.encodeKeys({ accountId: "account_id" })),
26701
+ }).pipe(Schema.encodeKeys({
26702
+ cloudflareAccountMember: "cloudflare_account_member",
26703
+ })),
26704
+ ]))),
25575
26705
  mfaConfig: Schema.optional(Schema.Struct({
25576
- allowedAuthenticators: Schema.optional(Schema.Array(Schema.Union([
25577
- Schema.Literals(["totp", "biometrics", "security_key"]),
25578
- Schema.String,
25579
- ]))),
26706
+ allowedAuthenticators: Schema.optional(Schema.Array(Schema.Literal("ssh_piv_key"))),
25580
26707
  mfaDisabled: Schema.optional(Schema.Boolean),
25581
26708
  sessionDuration: Schema.optional(Schema.String),
25582
26709
  }).pipe(Schema.encodeKeys({
@@ -25584,23 +26711,193 @@ const UpdateAccessApplicationBaseFields = {
25584
26711
  mfaDisabled: "mfa_disabled",
25585
26712
  sessionDuration: "session_duration",
25586
26713
  }))),
25587
- precedence: Schema.optional(Schema.Number),
25588
- purposeJustificationPrompt: Schema.optional(Schema.String),
25589
- purposeJustificationRequired: Schema.optional(Schema.Boolean),
25590
- sessionDuration: Schema.optional(Schema.String),
26714
+ require: Schema.optional(Schema.Array(Schema.Union([
26715
+ Schema.Struct({
26716
+ group: Schema.Struct({
26717
+ id: Schema.String,
26718
+ }),
26719
+ }),
26720
+ Schema.Struct({
26721
+ anyValidServiceToken: Schema.Unknown,
26722
+ }).pipe(Schema.encodeKeys({
26723
+ anyValidServiceToken: "any_valid_service_token",
26724
+ })),
26725
+ Schema.Struct({
26726
+ authContext: Schema.Struct({
26727
+ id: Schema.String,
26728
+ acId: Schema.String,
26729
+ identityProviderId: Schema.String,
26730
+ }).pipe(Schema.encodeKeys({
26731
+ id: "id",
26732
+ acId: "ac_id",
26733
+ identityProviderId: "identity_provider_id",
26734
+ })),
26735
+ }).pipe(Schema.encodeKeys({ authContext: "auth_context" })),
26736
+ Schema.Struct({
26737
+ authMethod: Schema.Struct({
26738
+ authMethod: Schema.String,
26739
+ }).pipe(Schema.encodeKeys({ authMethod: "auth_method" })),
26740
+ }).pipe(Schema.encodeKeys({ authMethod: "auth_method" })),
26741
+ Schema.Struct({
26742
+ azureAD: Schema.Struct({
26743
+ id: Schema.String,
26744
+ identityProviderId: Schema.String,
26745
+ }).pipe(Schema.encodeKeys({
26746
+ id: "id",
26747
+ identityProviderId: "identity_provider_id",
26748
+ })),
26749
+ }),
26750
+ Schema.Struct({
26751
+ certificate: Schema.Unknown,
26752
+ }),
26753
+ Schema.Struct({
26754
+ commonName: Schema.Struct({
26755
+ commonName: Schema.String,
26756
+ }).pipe(Schema.encodeKeys({ commonName: "common_name" })),
26757
+ }).pipe(Schema.encodeKeys({ commonName: "common_name" })),
26758
+ Schema.Struct({
26759
+ geo: Schema.Struct({
26760
+ countryCode: Schema.String,
26761
+ }).pipe(Schema.encodeKeys({ countryCode: "country_code" })),
26762
+ }),
26763
+ Schema.Struct({
26764
+ devicePosture: Schema.Struct({
26765
+ integrationUid: Schema.String,
26766
+ }).pipe(Schema.encodeKeys({ integrationUid: "integration_uid" })),
26767
+ }).pipe(Schema.encodeKeys({ devicePosture: "device_posture" })),
26768
+ Schema.Struct({
26769
+ emailDomain: Schema.Struct({
26770
+ domain: Schema.String,
26771
+ }),
26772
+ }).pipe(Schema.encodeKeys({ emailDomain: "email_domain" })),
26773
+ Schema.Struct({
26774
+ emailList: Schema.Struct({
26775
+ id: Schema.String,
26776
+ }),
26777
+ }).pipe(Schema.encodeKeys({ emailList: "email_list" })),
26778
+ Schema.Struct({
26779
+ email: Schema.Struct({
26780
+ email: Schema.String,
26781
+ }),
26782
+ }),
26783
+ Schema.Struct({
26784
+ everyone: Schema.Unknown,
26785
+ }),
26786
+ Schema.Struct({
26787
+ externalEvaluation: Schema.Struct({
26788
+ evaluateUrl: Schema.String,
26789
+ keysUrl: Schema.String,
26790
+ }).pipe(Schema.encodeKeys({
26791
+ evaluateUrl: "evaluate_url",
26792
+ keysUrl: "keys_url",
26793
+ })),
26794
+ }).pipe(Schema.encodeKeys({
26795
+ externalEvaluation: "external_evaluation",
26796
+ })),
26797
+ Schema.Struct({
26798
+ githubOrganization: Schema.Struct({
26799
+ identityProviderId: Schema.String,
26800
+ name: Schema.String,
26801
+ team: Schema.optional(Schema.String),
26802
+ }).pipe(Schema.encodeKeys({
26803
+ identityProviderId: "identity_provider_id",
26804
+ name: "name",
26805
+ team: "team",
26806
+ })),
26807
+ }).pipe(Schema.encodeKeys({
26808
+ githubOrganization: "github-organization",
26809
+ })),
26810
+ Schema.Struct({
26811
+ gsuite: Schema.Struct({
26812
+ email: Schema.String,
26813
+ identityProviderId: Schema.String,
26814
+ }).pipe(Schema.encodeKeys({
26815
+ email: "email",
26816
+ identityProviderId: "identity_provider_id",
26817
+ })),
26818
+ }),
26819
+ Schema.Struct({
26820
+ loginMethod: Schema.Struct({
26821
+ id: Schema.String,
26822
+ }),
26823
+ }).pipe(Schema.encodeKeys({ loginMethod: "login_method" })),
26824
+ Schema.Struct({
26825
+ ipList: Schema.Struct({
26826
+ id: Schema.String,
26827
+ }),
26828
+ }).pipe(Schema.encodeKeys({ ipList: "ip_list" })),
26829
+ Schema.Struct({
26830
+ ip: Schema.Struct({
26831
+ ip: Schema.String,
26832
+ }),
26833
+ }),
26834
+ Schema.Struct({
26835
+ okta: Schema.Struct({
26836
+ identityProviderId: Schema.String,
26837
+ name: Schema.String,
26838
+ }).pipe(Schema.encodeKeys({
26839
+ identityProviderId: "identity_provider_id",
26840
+ name: "name",
26841
+ })),
26842
+ }),
26843
+ Schema.Struct({
26844
+ saml: Schema.Struct({
26845
+ attributeName: Schema.String,
26846
+ attributeValue: Schema.String,
26847
+ identityProviderId: Schema.String,
26848
+ }).pipe(Schema.encodeKeys({
26849
+ attributeName: "attribute_name",
26850
+ attributeValue: "attribute_value",
26851
+ identityProviderId: "identity_provider_id",
26852
+ })),
26853
+ }),
26854
+ Schema.Struct({
26855
+ oidc: Schema.Struct({
26856
+ claimName: Schema.String,
26857
+ claimValue: Schema.String,
26858
+ identityProviderId: Schema.String,
26859
+ }).pipe(Schema.encodeKeys({
26860
+ claimName: "claim_name",
26861
+ claimValue: "claim_value",
26862
+ identityProviderId: "identity_provider_id",
26863
+ })),
26864
+ }),
26865
+ Schema.Struct({
26866
+ serviceToken: Schema.Struct({
26867
+ tokenId: Schema.String,
26868
+ }).pipe(Schema.encodeKeys({ tokenId: "token_id" })),
26869
+ }).pipe(Schema.encodeKeys({ serviceToken: "service_token" })),
26870
+ Schema.Struct({
26871
+ linkedAppToken: Schema.Struct({
26872
+ appUid: Schema.String,
26873
+ }).pipe(Schema.encodeKeys({ appUid: "app_uid" })),
26874
+ }).pipe(Schema.encodeKeys({ linkedAppToken: "linked_app_token" })),
26875
+ Schema.Struct({
26876
+ userRiskScore: Schema.Struct({
26877
+ userRiskScore: Schema.Array(Schema.Union([
26878
+ Schema.Literals(["low", "medium", "high", "unscored"]),
26879
+ Schema.String,
26880
+ ])),
26881
+ }).pipe(Schema.encodeKeys({ userRiskScore: "user_risk_score" })),
26882
+ }).pipe(Schema.encodeKeys({ userRiskScore: "user_risk_score" })),
26883
+ Schema.Struct({
26884
+ cloudflareAccountMember: Schema.Struct({
26885
+ accountId: Schema.optional(Schema.String),
26886
+ }).pipe(Schema.encodeKeys({ accountId: "account_id" })),
26887
+ }).pipe(Schema.encodeKeys({
26888
+ cloudflareAccountMember: "cloudflare_account_member",
26889
+ })),
26890
+ ]))),
25591
26891
  }).pipe(Schema.encodeKeys({
25592
- id: "id",
25593
- approvalGroups: "approval_groups",
25594
- approvalRequired: "approval_required",
26892
+ decision: "decision",
26893
+ include: "include",
26894
+ name: "name",
25595
26895
  connectionRules: "connection_rules",
25596
- isolationRequired: "isolation_required",
26896
+ exclude: "exclude",
25597
26897
  mfaConfig: "mfa_config",
25598
- precedence: "precedence",
25599
- purposeJustificationPrompt: "purpose_justification_prompt",
25600
- purposeJustificationRequired: "purpose_justification_required",
25601
- sessionDuration: "session_duration",
25602
- })),
25603
- ]))),
26898
+ require: "require",
26899
+ }))),
26900
+ ])),
25604
26901
  readServiceTokensFromHeader: Schema.optional(Schema.String),
25605
26902
  sameSiteCookieAttribute: Schema.optional(Schema.String),
25606
26903
  scimConfig: Schema.optional(Schema.Struct({
@@ -25714,6 +27011,155 @@ const UpdateAccessApplicationBaseFields = {
25714
27011
  skipInterstitial: Schema.optional(Schema.Boolean),
25715
27012
  tags: Schema.optional(Schema.Array(Schema.String)),
25716
27013
  useClientlessIsolationAppLauncherUrl: Schema.optional(Schema.Boolean),
27014
+ saasApp: Schema.optional(Schema.Struct({
27015
+ authType: Schema.optional(Schema.Union([Schema.Literals(["saml", "oidc"]), Schema.String])),
27016
+ consumerServiceUrl: Schema.optional(Schema.String),
27017
+ customAttributes: Schema.optional(Schema.Array(Schema.Struct({
27018
+ friendlyName: Schema.optional(Schema.String),
27019
+ name: Schema.optional(Schema.String),
27020
+ nameFormat: Schema.optional(Schema.Union([
27021
+ Schema.Literals([
27022
+ "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified",
27023
+ "urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
27024
+ "urn:oasis:names:tc:SAML:2.0:attrname-format:uri",
27025
+ ]),
27026
+ Schema.String,
27027
+ ])),
27028
+ required: Schema.optional(Schema.Boolean),
27029
+ source: Schema.optional(Schema.Struct({
27030
+ name: Schema.optional(Schema.String),
27031
+ nameByIdp: Schema.optional(Schema.Array(Schema.Struct({
27032
+ idpId: Schema.optional(Schema.String),
27033
+ sourceName: Schema.optional(Schema.String),
27034
+ }).pipe(Schema.encodeKeys({
27035
+ idpId: "idp_id",
27036
+ sourceName: "source_name",
27037
+ })))),
27038
+ }).pipe(Schema.encodeKeys({ name: "name", nameByIdp: "name_by_idp" }))),
27039
+ }).pipe(Schema.encodeKeys({
27040
+ friendlyName: "friendly_name",
27041
+ name: "name",
27042
+ nameFormat: "name_format",
27043
+ required: "required",
27044
+ source: "source",
27045
+ })))),
27046
+ defaultRelayState: Schema.optional(Schema.String),
27047
+ idpEntityId: Schema.optional(Schema.String),
27048
+ nameIdFormat: Schema.optional(Schema.Union([Schema.Literals(["id", "email"]), Schema.String])),
27049
+ nameIdTransformJsonata: Schema.optional(Schema.String),
27050
+ publicKey: Schema.optional(Schema.String),
27051
+ samlAttributeTransformJsonata: Schema.optional(Schema.String),
27052
+ spEntityId: Schema.optional(Schema.String),
27053
+ ssoEndpoint: Schema.optional(Schema.String),
27054
+ accessTokenLifetime: Schema.optional(Schema.String),
27055
+ allowPkceWithoutClientSecret: Schema.optional(Schema.Boolean),
27056
+ appLauncherUrl: Schema.optional(Schema.String),
27057
+ clientId: Schema.optional(Schema.String),
27058
+ clientSecret: Schema.optional(SensitiveString),
27059
+ customClaims: Schema.optional(Schema.Array(Schema.Struct({
27060
+ name: Schema.optional(Schema.String),
27061
+ required: Schema.optional(Schema.Boolean),
27062
+ scope: Schema.optional(Schema.Union([
27063
+ Schema.Literals(["groups", "profile", "email", "openid"]),
27064
+ Schema.String,
27065
+ ])),
27066
+ source: Schema.optional(Schema.Struct({
27067
+ name: Schema.optional(Schema.String),
27068
+ nameByIdp: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
27069
+ }).pipe(Schema.encodeKeys({ name: "name", nameByIdp: "name_by_idp" }))),
27070
+ }))),
27071
+ grantTypes: Schema.optional(Schema.Array(Schema.Union([
27072
+ Schema.Literals([
27073
+ "authorization_code",
27074
+ "authorization_code_with_pkce",
27075
+ "refresh_tokens",
27076
+ "hybrid",
27077
+ "implicit",
27078
+ ]),
27079
+ Schema.String,
27080
+ ]))),
27081
+ groupFilterRegex: Schema.optional(Schema.String),
27082
+ hybridAndImplicitOptions: Schema.optional(Schema.Struct({
27083
+ returnAccessTokenFromAuthorizationEndpoint: Schema.optional(Schema.Boolean),
27084
+ returnIdTokenFromAuthorizationEndpoint: Schema.optional(Schema.Boolean),
27085
+ }).pipe(Schema.encodeKeys({
27086
+ returnAccessTokenFromAuthorizationEndpoint: "return_access_token_from_authorization_endpoint",
27087
+ returnIdTokenFromAuthorizationEndpoint: "return_id_token_from_authorization_endpoint",
27088
+ }))),
27089
+ redirectUris: Schema.optional(Schema.Array(Schema.String)),
27090
+ refreshTokenOptions: Schema.optional(Schema.Struct({
27091
+ lifetime: Schema.optional(Schema.String),
27092
+ })),
27093
+ scopes: Schema.optional(Schema.Array(Schema.Union([
27094
+ Schema.Literals(["openid", "groups", "email", "profile"]),
27095
+ Schema.String,
27096
+ ]))),
27097
+ }).pipe(Schema.encodeKeys({
27098
+ authType: "auth_type",
27099
+ consumerServiceUrl: "consumer_service_url",
27100
+ customAttributes: "custom_attributes",
27101
+ defaultRelayState: "default_relay_state",
27102
+ idpEntityId: "idp_entity_id",
27103
+ nameIdFormat: "name_id_format",
27104
+ nameIdTransformJsonata: "name_id_transform_jsonata",
27105
+ publicKey: "public_key",
27106
+ samlAttributeTransformJsonata: "saml_attribute_transform_jsonata",
27107
+ spEntityId: "sp_entity_id",
27108
+ ssoEndpoint: "sso_endpoint",
27109
+ accessTokenLifetime: "access_token_lifetime",
27110
+ allowPkceWithoutClientSecret: "allow_pkce_without_client_secret",
27111
+ appLauncherUrl: "app_launcher_url",
27112
+ clientId: "client_id",
27113
+ clientSecret: "client_secret",
27114
+ customClaims: "custom_claims",
27115
+ grantTypes: "grant_types",
27116
+ groupFilterRegex: "group_filter_regex",
27117
+ hybridAndImplicitOptions: "hybrid_and_implicit_options",
27118
+ redirectUris: "redirect_uris",
27119
+ refreshTokenOptions: "refresh_token_options",
27120
+ scopes: "scopes",
27121
+ }))),
27122
+ appLauncherLogoUrl: Schema.optional(Schema.String),
27123
+ bgColor: Schema.optional(Schema.String),
27124
+ footerLinks: Schema.optional(Schema.Array(Schema.Struct({
27125
+ name: Schema.String,
27126
+ url: Schema.String,
27127
+ }))),
27128
+ headerBgColor: Schema.optional(Schema.String),
27129
+ landingPageDesign: Schema.optional(Schema.Struct({
27130
+ buttonColor: Schema.optional(Schema.String),
27131
+ buttonTextColor: Schema.optional(Schema.String),
27132
+ imageUrl: Schema.optional(Schema.String),
27133
+ message: Schema.optional(Schema.String),
27134
+ title: Schema.optional(Schema.String),
27135
+ }).pipe(Schema.encodeKeys({
27136
+ buttonColor: "button_color",
27137
+ buttonTextColor: "button_text_color",
27138
+ imageUrl: "image_url",
27139
+ message: "message",
27140
+ title: "title",
27141
+ }))),
27142
+ skipAppLauncherLoginPage: Schema.optional(Schema.Boolean),
27143
+ targetCriteria: Schema.optional(Schema.Union([
27144
+ Schema.Array(Schema.Struct({
27145
+ port: Schema.Number,
27146
+ protocol: Schema.Literal("SSH"),
27147
+ targetAttributes: Schema.Record(Schema.String, Schema.Unknown),
27148
+ }).pipe(Schema.encodeKeys({
27149
+ port: "port",
27150
+ protocol: "protocol",
27151
+ targetAttributes: "target_attributes",
27152
+ }))),
27153
+ Schema.Array(Schema.Struct({
27154
+ port: Schema.Number,
27155
+ protocol: Schema.Literal("RDP"),
27156
+ targetAttributes: Schema.Record(Schema.String, Schema.Unknown),
27157
+ }).pipe(Schema.encodeKeys({
27158
+ port: "port",
27159
+ protocol: "protocol",
27160
+ targetAttributes: "target_attributes",
27161
+ }))),
27162
+ ])),
25717
27163
  };
25718
27164
  export const UpdateAccessApplicationForAccountRequest =
25719
27165
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
@@ -25751,6 +27197,14 @@ export const UpdateAccessApplicationForAccountRequest =
25751
27197
  skipInterstitial: "skip_interstitial",
25752
27198
  tags: "tags",
25753
27199
  useClientlessIsolationAppLauncherUrl: "use_clientless_isolation_app_launcher_url",
27200
+ saasApp: "saas_app",
27201
+ appLauncherLogoUrl: "app_launcher_logo_url",
27202
+ bgColor: "bg_color",
27203
+ footerLinks: "footer_links",
27204
+ headerBgColor: "header_bg_color",
27205
+ landingPageDesign: "landing_page_design",
27206
+ skipAppLauncherLoginPage: "skip_app_launcher_login_page",
27207
+ targetCriteria: "target_criteria",
25754
27208
  }), T.Http({
25755
27209
  method: "PUT",
25756
27210
  path: "/accounts/{account_id}/access/apps/{appId}",
@@ -25791,6 +27245,14 @@ export const UpdateAccessApplicationForZoneRequest =
25791
27245
  skipInterstitial: "skip_interstitial",
25792
27246
  tags: "tags",
25793
27247
  useClientlessIsolationAppLauncherUrl: "use_clientless_isolation_app_launcher_url",
27248
+ saasApp: "saas_app",
27249
+ appLauncherLogoUrl: "app_launcher_logo_url",
27250
+ bgColor: "bg_color",
27251
+ footerLinks: "footer_links",
27252
+ headerBgColor: "header_bg_color",
27253
+ landingPageDesign: "landing_page_design",
27254
+ skipAppLauncherLoginPage: "skip_app_launcher_login_page",
27255
+ targetCriteria: "target_criteria",
25794
27256
  }), T.Http({ method: "PUT", path: "/zones/{zone_id}/access/apps/{appId}" }));
25795
27257
  export const UpdateAccessApplicationResponse =
25796
27258
  /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
@@ -57063,12 +58525,15 @@ export const createDlpEntry = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
57063
58525
  export const UpdateDlpEntryRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
57064
58526
  entryId: Schema.String.pipe(T.HttpPath("entryId")),
57065
58527
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
57066
- name: Schema.String,
57067
- pattern: Schema.Struct({
58528
+ name: Schema.optional(Schema.String),
58529
+ pattern: Schema.optional(Schema.Struct({
57068
58530
  regex: Schema.String,
57069
58531
  validation: Schema.optional(Schema.Literal("luhn")),
57070
- }),
57071
- type: Schema.Literal("custom"),
58532
+ })),
58533
+ type: Schema.Union([
58534
+ Schema.Literals(["custom", "predefined", "integration"]),
58535
+ Schema.String,
58536
+ ]),
57072
58537
  description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
57073
58538
  enabled: Schema.optional(Schema.Boolean),
57074
58539
  }).pipe(T.Http({
@@ -67980,7 +69445,7 @@ export const CreateGatewayProxyEndpointRequest =
67980
69445
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
67981
69446
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
67982
69447
  name: Schema.String,
67983
- kind: Schema.optional(Schema.Literal("ip")),
69448
+ kind: Schema.optional(Schema.Union([Schema.Literals(["ip", "identity"]), Schema.String])),
67984
69449
  }).pipe(T.Http({
67985
69450
  method: "POST",
67986
69451
  path: "/accounts/{account_id}/gateway/proxy_endpoints",
@@ -72856,6 +74321,33 @@ const CreateIdentityProviderBaseFields = {
72856
74321
  Schema.String,
72857
74322
  ])),
72858
74323
  supportGroups: Schema.optional(Schema.Boolean),
74324
+ centrifyAccount: Schema.optional(Schema.String),
74325
+ centrifyAppId: Schema.optional(Schema.String),
74326
+ appsDomain: Schema.optional(Schema.String),
74327
+ authUrl: Schema.optional(Schema.String),
74328
+ certsUrl: Schema.optional(Schema.String),
74329
+ pkceEnabled: Schema.optional(Schema.Boolean),
74330
+ scopes: Schema.optional(Schema.Array(Schema.String)),
74331
+ tokenUrl: Schema.optional(Schema.String),
74332
+ authorizationServerId: Schema.optional(Schema.String),
74333
+ oktaAccount: Schema.optional(Schema.String),
74334
+ oneloginAccount: Schema.optional(Schema.String),
74335
+ pingEnvId: Schema.optional(Schema.String),
74336
+ attributes: Schema.optional(Schema.Array(Schema.String)),
74337
+ emailAttributeName: Schema.optional(Schema.String),
74338
+ enableEncryption: Schema.optional(Schema.Boolean),
74339
+ headerAttributes: Schema.optional(Schema.Array(Schema.Struct({
74340
+ attributeName: Schema.optional(Schema.String),
74341
+ headerName: Schema.optional(Schema.String),
74342
+ }).pipe(Schema.encodeKeys({
74343
+ attributeName: "attribute_name",
74344
+ headerName: "header_name",
74345
+ })))),
74346
+ idpPublicCerts: Schema.optional(Schema.Array(Schema.String)),
74347
+ issuerUrl: Schema.optional(Schema.String),
74348
+ signRequest: Schema.optional(Schema.Boolean),
74349
+ ssoTargetUrl: Schema.optional(Schema.String),
74350
+ restrictToAccountMembers: Schema.optional(Schema.Boolean),
72859
74351
  }).pipe(Schema.encodeKeys({
72860
74352
  claims: "claims",
72861
74353
  clientId: "client_id",
@@ -72865,6 +74357,27 @@ const CreateIdentityProviderBaseFields = {
72865
74357
  emailClaimName: "email_claim_name",
72866
74358
  prompt: "prompt",
72867
74359
  supportGroups: "support_groups",
74360
+ centrifyAccount: "centrify_account",
74361
+ centrifyAppId: "centrify_app_id",
74362
+ appsDomain: "apps_domain",
74363
+ authUrl: "auth_url",
74364
+ certsUrl: "certs_url",
74365
+ pkceEnabled: "pkce_enabled",
74366
+ scopes: "scopes",
74367
+ tokenUrl: "token_url",
74368
+ authorizationServerId: "authorization_server_id",
74369
+ oktaAccount: "okta_account",
74370
+ oneloginAccount: "onelogin_account",
74371
+ pingEnvId: "ping_env_id",
74372
+ attributes: "attributes",
74373
+ emailAttributeName: "email_attribute_name",
74374
+ enableEncryption: "enable_encryption",
74375
+ headerAttributes: "header_attributes",
74376
+ idpPublicCerts: "idp_public_certs",
74377
+ issuerUrl: "issuer_url",
74378
+ signRequest: "sign_request",
74379
+ ssoTargetUrl: "sso_target_url",
74380
+ restrictToAccountMembers: "restrict_to_account_members",
72868
74381
  })),
72869
74382
  name: Schema.String,
72870
74383
  type: Schema.Union([
@@ -74161,6 +75674,33 @@ const UpdateIdentityProviderBaseFields = {
74161
75674
  Schema.String,
74162
75675
  ])),
74163
75676
  supportGroups: Schema.optional(Schema.Boolean),
75677
+ centrifyAccount: Schema.optional(Schema.String),
75678
+ centrifyAppId: Schema.optional(Schema.String),
75679
+ appsDomain: Schema.optional(Schema.String),
75680
+ authUrl: Schema.optional(Schema.String),
75681
+ certsUrl: Schema.optional(Schema.String),
75682
+ pkceEnabled: Schema.optional(Schema.Boolean),
75683
+ scopes: Schema.optional(Schema.Array(Schema.String)),
75684
+ tokenUrl: Schema.optional(Schema.String),
75685
+ authorizationServerId: Schema.optional(Schema.String),
75686
+ oktaAccount: Schema.optional(Schema.String),
75687
+ oneloginAccount: Schema.optional(Schema.String),
75688
+ pingEnvId: Schema.optional(Schema.String),
75689
+ attributes: Schema.optional(Schema.Array(Schema.String)),
75690
+ emailAttributeName: Schema.optional(Schema.String),
75691
+ enableEncryption: Schema.optional(Schema.Boolean),
75692
+ headerAttributes: Schema.optional(Schema.Array(Schema.Struct({
75693
+ attributeName: Schema.optional(Schema.String),
75694
+ headerName: Schema.optional(Schema.String),
75695
+ }).pipe(Schema.encodeKeys({
75696
+ attributeName: "attribute_name",
75697
+ headerName: "header_name",
75698
+ })))),
75699
+ idpPublicCerts: Schema.optional(Schema.Array(Schema.String)),
75700
+ issuerUrl: Schema.optional(Schema.String),
75701
+ signRequest: Schema.optional(Schema.Boolean),
75702
+ ssoTargetUrl: Schema.optional(Schema.String),
75703
+ restrictToAccountMembers: Schema.optional(Schema.Boolean),
74164
75704
  }).pipe(Schema.encodeKeys({
74165
75705
  claims: "claims",
74166
75706
  clientId: "client_id",
@@ -74170,6 +75710,27 @@ const UpdateIdentityProviderBaseFields = {
74170
75710
  emailClaimName: "email_claim_name",
74171
75711
  prompt: "prompt",
74172
75712
  supportGroups: "support_groups",
75713
+ centrifyAccount: "centrify_account",
75714
+ centrifyAppId: "centrify_app_id",
75715
+ appsDomain: "apps_domain",
75716
+ authUrl: "auth_url",
75717
+ certsUrl: "certs_url",
75718
+ pkceEnabled: "pkce_enabled",
75719
+ scopes: "scopes",
75720
+ tokenUrl: "token_url",
75721
+ authorizationServerId: "authorization_server_id",
75722
+ oktaAccount: "okta_account",
75723
+ oneloginAccount: "onelogin_account",
75724
+ pingEnvId: "ping_env_id",
75725
+ attributes: "attributes",
75726
+ emailAttributeName: "email_attribute_name",
75727
+ enableEncryption: "enable_encryption",
75728
+ headerAttributes: "header_attributes",
75729
+ idpPublicCerts: "idp_public_certs",
75730
+ issuerUrl: "issuer_url",
75731
+ signRequest: "sign_request",
75732
+ ssoTargetUrl: "sso_target_url",
75733
+ restrictToAccountMembers: "restrict_to_account_members",
74173
75734
  })),
74174
75735
  name: Schema.String,
74175
75736
  type: Schema.Union([