cloudflare-api-js 0.10.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
 
2
- > cloudflare-api-js@0.10.0 build /home/runner/work/openapi-clients/openapi-clients/packages/cloudflare-api
2
+ > cloudflare-api-js@0.10.1 build /home/runner/work/openapi-clients/openapi-clients/packages/cloudflare-api
3
3
  > unbuild
4
4
 
5
5
  [info] Automatically detected entries: src/index [esm] [cjs] [dts]
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # cloudflare-api-js
2
2
 
3
+ ## 0.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 6bef323: [BREAKING] Change type enum values in AaaAuditLogsV2 schema
8
+ - 6cd4bfb: Add x-auditable metadata to various schema fields
9
+
3
10
  ## 0.10.0
4
11
 
5
12
  ### Minor Changes
package/dist/index.d.cts CHANGED
@@ -251,7 +251,7 @@ type AaaAuditLogsV2 = {
251
251
  *
252
252
  * @example user
253
253
  */
254
- type?: 'user' | 'account' | 'cloudflare-admin';
254
+ type?: 'account' | 'cloudflare_admin' | 'system' | 'user';
255
255
  };
256
256
  id?: AaaSchemasIdentifier;
257
257
  /**
@@ -34583,6 +34583,7 @@ type RumApiResponseCommonFailure = {
34583
34583
  * If enabled, the JavaScript snippet is automatically injected for orange-clouded sites.
34584
34584
  *
34585
34585
  * @example true
34586
+ * @x-auditable true
34586
34587
  */
34587
34588
  type RumAutoInstall = boolean;
34588
34589
  type RumCreateRuleRequest = {
@@ -34621,16 +34622,19 @@ type RumEditable = boolean;
34621
34622
  * Enables or disables RUM. This option can be used only when auto_install is set to true.
34622
34623
  *
34623
34624
  * @example true
34625
+ * @x-auditable true
34624
34626
  */
34625
34627
  type RumEnabled = boolean;
34626
34628
  /**
34627
34629
  * The hostname to use for gray-clouded sites.
34628
34630
  *
34629
34631
  * @example example.com
34632
+ * @x-auditable true
34630
34633
  */
34631
34634
  type RumHost = string;
34632
34635
  /**
34633
34636
  * @example rum
34637
+ * @x-auditable true
34634
34638
  */
34635
34639
  type RumId = string;
34636
34640
  /**
@@ -34644,10 +34648,13 @@ type RumIdentifier = string;
34644
34648
  * Whether to match the hostname using a regular expression.
34645
34649
  *
34646
34650
  * @example false
34651
+ * @x-auditable true
34647
34652
  */
34648
34653
  type RumIsHostRegex = boolean;
34649
34654
  /**
34650
34655
  * If enabled, the JavaScript snippet will not be injected for visitors from the EU.
34656
+ *
34657
+ * @x-auditable true
34651
34658
  */
34652
34659
  type RumLite = boolean;
34653
34660
  type RumMessages = {
@@ -34741,6 +34748,7 @@ type RumRule = {
34741
34748
  * The hostname the rule will be applied to.
34742
34749
  *
34743
34750
  * @example example.com
34751
+ * @x-auditable true
34744
34752
  */
34745
34753
  host?: string;
34746
34754
  id?: RumRuleIdentifier;
@@ -34748,12 +34756,14 @@ type RumRule = {
34748
34756
  * Whether the rule includes or excludes traffic from being measured.
34749
34757
  *
34750
34758
  * @example true
34759
+ * @x-auditable true
34751
34760
  */
34752
34761
  inclusive?: boolean;
34753
34762
  /**
34754
34763
  * Whether the rule is paused or not.
34755
34764
  *
34756
34765
  * @example false
34766
+ * @x-auditable true
34757
34767
  */
34758
34768
  is_paused?: boolean;
34759
34769
  /**
@@ -34764,6 +34774,7 @@ type RumRule = {
34764
34774
  paths?: string[];
34765
34775
  /**
34766
34776
  * @example 1000
34777
+ * @x-auditable true
34767
34778
  */
34768
34779
  priority?: number;
34769
34780
  };
@@ -34779,6 +34790,7 @@ type RumRuleResponseSingle = RumApiResponseCommon & {
34779
34790
  * The Web Analytics rule identifier.
34780
34791
  *
34781
34792
  * @example f174e90a-fafe-4643-bbbc-4a0ed4fc8415
34793
+ * @x-auditable true
34782
34794
  */
34783
34795
  type RumRuleIdentifier = string;
34784
34796
  /**
@@ -34809,6 +34821,7 @@ type RumRuleset = {
34809
34821
  * The Web Analytics ruleset identifier.
34810
34822
  *
34811
34823
  * @example f174e90a-fafe-4643-bbbc-4a0ed4fc8415
34824
+ * @x-auditable true
34812
34825
  */
34813
34826
  type RumRulesetIdentifier = string;
34814
34827
  type RumRumSiteResponseSingle = RumApiResponseCommon & {
@@ -34840,12 +34853,14 @@ type RumSiteTagResponseSingle = RumApiResponseCommon & {
34840
34853
  * The Web Analytics site identifier.
34841
34854
  *
34842
34855
  * @example 023e105f4ecef8ad9ca31a8372d0c353
34856
+ * @x-auditable true
34843
34857
  */
34844
34858
  type RumSiteTag = string;
34845
34859
  /**
34846
34860
  * The Web Analytics site token.
34847
34861
  *
34848
34862
  * @example 023e105f4ecef8ad9ca31a8372d0c353
34863
+ * @x-auditable true
34849
34864
  */
34850
34865
  type RumSiteToken = string;
34851
34866
  type RumSitesResponseCollection = RumApiResponseCommon & {
@@ -34856,11 +34871,13 @@ type RumSitesResponseCollection = RumApiResponseCommon & {
34856
34871
  * Encoded JavaScript snippet.
34857
34872
  *
34858
34873
  * @example <!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "bc40a2d1b5834453aba85c1b9a3054da"}'></script><!-- End Cloudflare Web Analytics -->
34874
+ * @x-auditable true
34859
34875
  */
34860
34876
  type RumSnippet = string;
34861
34877
  /**
34862
34878
  * @example 2014-01-01T05:20:00.12345Z
34863
34879
  * @format date-time
34880
+ * @x-auditable true
34864
34881
  */
34865
34882
  type RumTimestamp = string;
34866
34883
  type RumToggleRumRequest = {
@@ -34882,12 +34899,14 @@ type RumUpdateSiteRequest = {
34882
34899
  * Current state of RUM. Returns On, Off, or Manual
34883
34900
  *
34884
34901
  * @example on
34902
+ * @x-auditable true
34885
34903
  */
34886
34904
  type RumValue = string;
34887
34905
  /**
34888
34906
  * The zone identifier.
34889
34907
  *
34890
34908
  * @example 023e105f4ecef8ad9ca31a8372d0c353
34909
+ * @x-auditable true
34891
34910
  */
34892
34911
  type RumZoneTag = string;
34893
34912
  /**
package/dist/index.d.mts CHANGED
@@ -251,7 +251,7 @@ type AaaAuditLogsV2 = {
251
251
  *
252
252
  * @example user
253
253
  */
254
- type?: 'user' | 'account' | 'cloudflare-admin';
254
+ type?: 'account' | 'cloudflare_admin' | 'system' | 'user';
255
255
  };
256
256
  id?: AaaSchemasIdentifier;
257
257
  /**
@@ -34583,6 +34583,7 @@ type RumApiResponseCommonFailure = {
34583
34583
  * If enabled, the JavaScript snippet is automatically injected for orange-clouded sites.
34584
34584
  *
34585
34585
  * @example true
34586
+ * @x-auditable true
34586
34587
  */
34587
34588
  type RumAutoInstall = boolean;
34588
34589
  type RumCreateRuleRequest = {
@@ -34621,16 +34622,19 @@ type RumEditable = boolean;
34621
34622
  * Enables or disables RUM. This option can be used only when auto_install is set to true.
34622
34623
  *
34623
34624
  * @example true
34625
+ * @x-auditable true
34624
34626
  */
34625
34627
  type RumEnabled = boolean;
34626
34628
  /**
34627
34629
  * The hostname to use for gray-clouded sites.
34628
34630
  *
34629
34631
  * @example example.com
34632
+ * @x-auditable true
34630
34633
  */
34631
34634
  type RumHost = string;
34632
34635
  /**
34633
34636
  * @example rum
34637
+ * @x-auditable true
34634
34638
  */
34635
34639
  type RumId = string;
34636
34640
  /**
@@ -34644,10 +34648,13 @@ type RumIdentifier = string;
34644
34648
  * Whether to match the hostname using a regular expression.
34645
34649
  *
34646
34650
  * @example false
34651
+ * @x-auditable true
34647
34652
  */
34648
34653
  type RumIsHostRegex = boolean;
34649
34654
  /**
34650
34655
  * If enabled, the JavaScript snippet will not be injected for visitors from the EU.
34656
+ *
34657
+ * @x-auditable true
34651
34658
  */
34652
34659
  type RumLite = boolean;
34653
34660
  type RumMessages = {
@@ -34741,6 +34748,7 @@ type RumRule = {
34741
34748
  * The hostname the rule will be applied to.
34742
34749
  *
34743
34750
  * @example example.com
34751
+ * @x-auditable true
34744
34752
  */
34745
34753
  host?: string;
34746
34754
  id?: RumRuleIdentifier;
@@ -34748,12 +34756,14 @@ type RumRule = {
34748
34756
  * Whether the rule includes or excludes traffic from being measured.
34749
34757
  *
34750
34758
  * @example true
34759
+ * @x-auditable true
34751
34760
  */
34752
34761
  inclusive?: boolean;
34753
34762
  /**
34754
34763
  * Whether the rule is paused or not.
34755
34764
  *
34756
34765
  * @example false
34766
+ * @x-auditable true
34757
34767
  */
34758
34768
  is_paused?: boolean;
34759
34769
  /**
@@ -34764,6 +34774,7 @@ type RumRule = {
34764
34774
  paths?: string[];
34765
34775
  /**
34766
34776
  * @example 1000
34777
+ * @x-auditable true
34767
34778
  */
34768
34779
  priority?: number;
34769
34780
  };
@@ -34779,6 +34790,7 @@ type RumRuleResponseSingle = RumApiResponseCommon & {
34779
34790
  * The Web Analytics rule identifier.
34780
34791
  *
34781
34792
  * @example f174e90a-fafe-4643-bbbc-4a0ed4fc8415
34793
+ * @x-auditable true
34782
34794
  */
34783
34795
  type RumRuleIdentifier = string;
34784
34796
  /**
@@ -34809,6 +34821,7 @@ type RumRuleset = {
34809
34821
  * The Web Analytics ruleset identifier.
34810
34822
  *
34811
34823
  * @example f174e90a-fafe-4643-bbbc-4a0ed4fc8415
34824
+ * @x-auditable true
34812
34825
  */
34813
34826
  type RumRulesetIdentifier = string;
34814
34827
  type RumRumSiteResponseSingle = RumApiResponseCommon & {
@@ -34840,12 +34853,14 @@ type RumSiteTagResponseSingle = RumApiResponseCommon & {
34840
34853
  * The Web Analytics site identifier.
34841
34854
  *
34842
34855
  * @example 023e105f4ecef8ad9ca31a8372d0c353
34856
+ * @x-auditable true
34843
34857
  */
34844
34858
  type RumSiteTag = string;
34845
34859
  /**
34846
34860
  * The Web Analytics site token.
34847
34861
  *
34848
34862
  * @example 023e105f4ecef8ad9ca31a8372d0c353
34863
+ * @x-auditable true
34849
34864
  */
34850
34865
  type RumSiteToken = string;
34851
34866
  type RumSitesResponseCollection = RumApiResponseCommon & {
@@ -34856,11 +34871,13 @@ type RumSitesResponseCollection = RumApiResponseCommon & {
34856
34871
  * Encoded JavaScript snippet.
34857
34872
  *
34858
34873
  * @example <!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "bc40a2d1b5834453aba85c1b9a3054da"}'></script><!-- End Cloudflare Web Analytics -->
34874
+ * @x-auditable true
34859
34875
  */
34860
34876
  type RumSnippet = string;
34861
34877
  /**
34862
34878
  * @example 2014-01-01T05:20:00.12345Z
34863
34879
  * @format date-time
34880
+ * @x-auditable true
34864
34881
  */
34865
34882
  type RumTimestamp = string;
34866
34883
  type RumToggleRumRequest = {
@@ -34882,12 +34899,14 @@ type RumUpdateSiteRequest = {
34882
34899
  * Current state of RUM. Returns On, Off, or Manual
34883
34900
  *
34884
34901
  * @example on
34902
+ * @x-auditable true
34885
34903
  */
34886
34904
  type RumValue = string;
34887
34905
  /**
34888
34906
  * The zone identifier.
34889
34907
  *
34890
34908
  * @example 023e105f4ecef8ad9ca31a8372d0c353
34909
+ * @x-auditable true
34891
34910
  */
34892
34911
  type RumZoneTag = string;
34893
34912
  /**
package/dist/index.d.ts CHANGED
@@ -251,7 +251,7 @@ type AaaAuditLogsV2 = {
251
251
  *
252
252
  * @example user
253
253
  */
254
- type?: 'user' | 'account' | 'cloudflare-admin';
254
+ type?: 'account' | 'cloudflare_admin' | 'system' | 'user';
255
255
  };
256
256
  id?: AaaSchemasIdentifier;
257
257
  /**
@@ -34583,6 +34583,7 @@ type RumApiResponseCommonFailure = {
34583
34583
  * If enabled, the JavaScript snippet is automatically injected for orange-clouded sites.
34584
34584
  *
34585
34585
  * @example true
34586
+ * @x-auditable true
34586
34587
  */
34587
34588
  type RumAutoInstall = boolean;
34588
34589
  type RumCreateRuleRequest = {
@@ -34621,16 +34622,19 @@ type RumEditable = boolean;
34621
34622
  * Enables or disables RUM. This option can be used only when auto_install is set to true.
34622
34623
  *
34623
34624
  * @example true
34625
+ * @x-auditable true
34624
34626
  */
34625
34627
  type RumEnabled = boolean;
34626
34628
  /**
34627
34629
  * The hostname to use for gray-clouded sites.
34628
34630
  *
34629
34631
  * @example example.com
34632
+ * @x-auditable true
34630
34633
  */
34631
34634
  type RumHost = string;
34632
34635
  /**
34633
34636
  * @example rum
34637
+ * @x-auditable true
34634
34638
  */
34635
34639
  type RumId = string;
34636
34640
  /**
@@ -34644,10 +34648,13 @@ type RumIdentifier = string;
34644
34648
  * Whether to match the hostname using a regular expression.
34645
34649
  *
34646
34650
  * @example false
34651
+ * @x-auditable true
34647
34652
  */
34648
34653
  type RumIsHostRegex = boolean;
34649
34654
  /**
34650
34655
  * If enabled, the JavaScript snippet will not be injected for visitors from the EU.
34656
+ *
34657
+ * @x-auditable true
34651
34658
  */
34652
34659
  type RumLite = boolean;
34653
34660
  type RumMessages = {
@@ -34741,6 +34748,7 @@ type RumRule = {
34741
34748
  * The hostname the rule will be applied to.
34742
34749
  *
34743
34750
  * @example example.com
34751
+ * @x-auditable true
34744
34752
  */
34745
34753
  host?: string;
34746
34754
  id?: RumRuleIdentifier;
@@ -34748,12 +34756,14 @@ type RumRule = {
34748
34756
  * Whether the rule includes or excludes traffic from being measured.
34749
34757
  *
34750
34758
  * @example true
34759
+ * @x-auditable true
34751
34760
  */
34752
34761
  inclusive?: boolean;
34753
34762
  /**
34754
34763
  * Whether the rule is paused or not.
34755
34764
  *
34756
34765
  * @example false
34766
+ * @x-auditable true
34757
34767
  */
34758
34768
  is_paused?: boolean;
34759
34769
  /**
@@ -34764,6 +34774,7 @@ type RumRule = {
34764
34774
  paths?: string[];
34765
34775
  /**
34766
34776
  * @example 1000
34777
+ * @x-auditable true
34767
34778
  */
34768
34779
  priority?: number;
34769
34780
  };
@@ -34779,6 +34790,7 @@ type RumRuleResponseSingle = RumApiResponseCommon & {
34779
34790
  * The Web Analytics rule identifier.
34780
34791
  *
34781
34792
  * @example f174e90a-fafe-4643-bbbc-4a0ed4fc8415
34793
+ * @x-auditable true
34782
34794
  */
34783
34795
  type RumRuleIdentifier = string;
34784
34796
  /**
@@ -34809,6 +34821,7 @@ type RumRuleset = {
34809
34821
  * The Web Analytics ruleset identifier.
34810
34822
  *
34811
34823
  * @example f174e90a-fafe-4643-bbbc-4a0ed4fc8415
34824
+ * @x-auditable true
34812
34825
  */
34813
34826
  type RumRulesetIdentifier = string;
34814
34827
  type RumRumSiteResponseSingle = RumApiResponseCommon & {
@@ -34840,12 +34853,14 @@ type RumSiteTagResponseSingle = RumApiResponseCommon & {
34840
34853
  * The Web Analytics site identifier.
34841
34854
  *
34842
34855
  * @example 023e105f4ecef8ad9ca31a8372d0c353
34856
+ * @x-auditable true
34843
34857
  */
34844
34858
  type RumSiteTag = string;
34845
34859
  /**
34846
34860
  * The Web Analytics site token.
34847
34861
  *
34848
34862
  * @example 023e105f4ecef8ad9ca31a8372d0c353
34863
+ * @x-auditable true
34849
34864
  */
34850
34865
  type RumSiteToken = string;
34851
34866
  type RumSitesResponseCollection = RumApiResponseCommon & {
@@ -34856,11 +34871,13 @@ type RumSitesResponseCollection = RumApiResponseCommon & {
34856
34871
  * Encoded JavaScript snippet.
34857
34872
  *
34858
34873
  * @example <!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "bc40a2d1b5834453aba85c1b9a3054da"}'></script><!-- End Cloudflare Web Analytics -->
34874
+ * @x-auditable true
34859
34875
  */
34860
34876
  type RumSnippet = string;
34861
34877
  /**
34862
34878
  * @example 2014-01-01T05:20:00.12345Z
34863
34879
  * @format date-time
34880
+ * @x-auditable true
34864
34881
  */
34865
34882
  type RumTimestamp = string;
34866
34883
  type RumToggleRumRequest = {
@@ -34882,12 +34899,14 @@ type RumUpdateSiteRequest = {
34882
34899
  * Current state of RUM. Returns On, Off, or Manual
34883
34900
  *
34884
34901
  * @example on
34902
+ * @x-auditable true
34885
34903
  */
34886
34904
  type RumValue = string;
34887
34905
  /**
34888
34906
  * The zone identifier.
34889
34907
  *
34890
34908
  * @example 023e105f4ecef8ad9ca31a8372d0c353
34909
+ * @x-auditable true
34891
34910
  */
34892
34911
  type RumZoneTag = string;
34893
34912
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudflare-api-js",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Cloudflare auto-generated type-safe API client",
5
5
  "author": "SferaDev",
6
6
  "license": "ISC",