cloudflare-api-js 0.16.1 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +6 -0
- package/dist/index.cjs +147 -20
- package/dist/index.d.cts +1797 -63
- package/dist/index.d.mts +1797 -63
- package/dist/index.d.ts +1797 -63
- package/dist/index.mjs +147 -20
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
> cloudflare-api-js@0.
|
|
2
|
+
> cloudflare-api-js@0.17.0 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]
|
|
6
6
|
[info] Building cloudflare-api-js
|
|
7
7
|
[info] Cleaning dist directory: `./dist`
|
|
8
8
|
[success] Build succeeded for cloudflare-api-js
|
|
9
|
-
[log] dist/index.cjs (total size:
|
|
9
|
+
[log] dist/index.cjs (total size: 473 kB, chunk size: 473 kB, exports: CloudflareApi)
|
|
10
10
|
|
|
11
|
-
[log] dist/index.mjs (total size:
|
|
11
|
+
[log] dist/index.mjs (total size: 473 kB, chunk size: 473 kB, exports: CloudflareApi)
|
|
12
12
|
|
|
13
|
-
Σ Total dist size (byte size): 28.
|
|
13
|
+
Σ Total dist size (byte size): 28.5 MB
|
|
14
14
|
[log]
|
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -2020,6 +2020,18 @@ const accountsTurnstileWidgetRotateSecret = (variables, signal) => fetch$1({
|
|
|
2020
2020
|
...variables,
|
|
2021
2021
|
signal
|
|
2022
2022
|
});
|
|
2023
|
+
const postBinDBPost = (variables, signal) => fetch$1({
|
|
2024
|
+
url: "/accounts/{accountId}/cloudforce-one/binary",
|
|
2025
|
+
method: "post",
|
|
2026
|
+
...variables,
|
|
2027
|
+
signal
|
|
2028
|
+
});
|
|
2029
|
+
const getBinDBGetBinary = (variables, signal) => fetch$1({
|
|
2030
|
+
url: "/accounts/{accountId}/cloudforce-one/binary/{hash}",
|
|
2031
|
+
method: "get",
|
|
2032
|
+
...variables,
|
|
2033
|
+
signal
|
|
2034
|
+
});
|
|
2023
2035
|
const getEventListGet = (variables, signal) => fetch$1({
|
|
2024
2036
|
url: "/accounts/{accountId}/cloudforce-one/events",
|
|
2025
2037
|
method: "get",
|
|
@@ -2170,6 +2182,42 @@ const getIndicatorTypesList = (variables, signal) => fetch$1({
|
|
|
2170
2182
|
...variables,
|
|
2171
2183
|
signal
|
|
2172
2184
|
});
|
|
2185
|
+
const getIndicatorList = (variables, signal) => fetch$1({
|
|
2186
|
+
url: "/accounts/{accountId}/cloudforce-one/events/indicators",
|
|
2187
|
+
method: "get",
|
|
2188
|
+
...variables,
|
|
2189
|
+
signal
|
|
2190
|
+
});
|
|
2191
|
+
const postIndicatorCreateBulk = (variables, signal) => fetch$1({
|
|
2192
|
+
url: "/accounts/{accountId}/cloudforce-one/events/indicators/bulk",
|
|
2193
|
+
method: "post",
|
|
2194
|
+
...variables,
|
|
2195
|
+
signal
|
|
2196
|
+
});
|
|
2197
|
+
const postIndicatorCreate = (variables, signal) => fetch$1({
|
|
2198
|
+
url: "/accounts/{accountId}/cloudforce-one/events/indicators/create",
|
|
2199
|
+
method: "post",
|
|
2200
|
+
...variables,
|
|
2201
|
+
signal
|
|
2202
|
+
});
|
|
2203
|
+
const deleteIndicatorDelete = (variables, signal) => fetch$1({
|
|
2204
|
+
url: "/accounts/{accountId}/cloudforce-one/events/indicators/{indicatorId}",
|
|
2205
|
+
method: "delete",
|
|
2206
|
+
...variables,
|
|
2207
|
+
signal
|
|
2208
|
+
});
|
|
2209
|
+
const getIndicatorRead = (variables, signal) => fetch$1({
|
|
2210
|
+
url: "/accounts/{accountId}/cloudforce-one/events/indicators/{indicatorId}",
|
|
2211
|
+
method: "get",
|
|
2212
|
+
...variables,
|
|
2213
|
+
signal
|
|
2214
|
+
});
|
|
2215
|
+
const patchIndicatorUpdate = (variables, signal) => fetch$1({
|
|
2216
|
+
url: "/accounts/{accountId}/cloudforce-one/events/indicators/{indicatorId}",
|
|
2217
|
+
method: "patch",
|
|
2218
|
+
...variables,
|
|
2219
|
+
signal
|
|
2220
|
+
});
|
|
2173
2221
|
const getEventRawReadDS = (variables, signal) => fetch$1({
|
|
2174
2222
|
url: "/accounts/{accountId}/cloudforce-one/events/raw/{datasetId}/{eventId}",
|
|
2175
2223
|
method: "get",
|
|
@@ -2188,6 +2236,12 @@ const postEventReferenceCreate = (variables, signal) => fetch$1({
|
|
|
2188
2236
|
...variables,
|
|
2189
2237
|
signal
|
|
2190
2238
|
});
|
|
2239
|
+
const postCreateEventRelationship = (variables, signal) => fetch$1({
|
|
2240
|
+
url: "/accounts/{accountId}/cloudforce-one/events/relationships/create",
|
|
2241
|
+
method: "post",
|
|
2242
|
+
...variables,
|
|
2243
|
+
signal
|
|
2244
|
+
});
|
|
2191
2245
|
const postTagCreate = (variables, signal) => fetch$1({
|
|
2192
2246
|
url: "/accounts/{accountId}/cloudforce-one/events/tags/create",
|
|
2193
2247
|
method: "post",
|
|
@@ -2248,6 +2302,12 @@ const postEventRawUpdate = (variables, signal) => fetch$1({
|
|
|
2248
2302
|
...variables,
|
|
2249
2303
|
signal
|
|
2250
2304
|
});
|
|
2305
|
+
const getEventRelationships = (variables, signal) => fetch$1({
|
|
2306
|
+
url: "/accounts/{accountId}/cloudforce-one/events/{eventId}/relationships",
|
|
2307
|
+
method: "get",
|
|
2308
|
+
...variables,
|
|
2309
|
+
signal
|
|
2310
|
+
});
|
|
2251
2311
|
const cloudforceOneRequestList = (variables, signal) => fetch$1({
|
|
2252
2312
|
url: "/accounts/{accountId}/cloudforce-one/requests",
|
|
2253
2313
|
method: "post",
|
|
@@ -3568,6 +3628,12 @@ const emailSecurityCreateAllowPolicy = (variables, signal) => fetch$1({
|
|
|
3568
3628
|
...variables,
|
|
3569
3629
|
signal
|
|
3570
3630
|
});
|
|
3631
|
+
const emailSecurityBatchAllowPolicies = (variables, signal) => fetch$1({
|
|
3632
|
+
url: "/accounts/{accountId}/email-security/settings/allow_policies/batch",
|
|
3633
|
+
method: "post",
|
|
3634
|
+
...variables,
|
|
3635
|
+
signal
|
|
3636
|
+
});
|
|
3571
3637
|
const emailSecurityDeleteAllowPolicy = (variables, signal) => fetch$1({
|
|
3572
3638
|
url: "/accounts/{accountId}/email-security/settings/allow_policies/{policyId}",
|
|
3573
3639
|
method: "delete",
|
|
@@ -3598,6 +3664,12 @@ const emailSecurityCreateBlockedSender = (variables, signal) => fetch$1({
|
|
|
3598
3664
|
...variables,
|
|
3599
3665
|
signal
|
|
3600
3666
|
});
|
|
3667
|
+
const emailSecurityBatchBlockedSenders = (variables, signal) => fetch$1({
|
|
3668
|
+
url: "/accounts/{accountId}/email-security/settings/block_senders/batch",
|
|
3669
|
+
method: "post",
|
|
3670
|
+
...variables,
|
|
3671
|
+
signal
|
|
3672
|
+
});
|
|
3601
3673
|
const emailSecurityDeleteBlockedSender = (variables, signal) => fetch$1({
|
|
3602
3674
|
url: "/accounts/{accountId}/email-security/settings/block_senders/{patternId}",
|
|
3603
3675
|
method: "delete",
|
|
@@ -3676,6 +3748,12 @@ const emailSecurityUpdateDisplayName = (variables, signal) => fetch$1({
|
|
|
3676
3748
|
...variables,
|
|
3677
3749
|
signal
|
|
3678
3750
|
});
|
|
3751
|
+
const emailSecurityBatchSendingDomainRestrictions = (variables, signal) => fetch$1({
|
|
3752
|
+
url: "/accounts/{accountId}/email-security/settings/sending_domain_restrictions/batch",
|
|
3753
|
+
method: "post",
|
|
3754
|
+
...variables,
|
|
3755
|
+
signal
|
|
3756
|
+
});
|
|
3679
3757
|
const emailSecurityListTrustedDomains = (variables, signal) => fetch$1({
|
|
3680
3758
|
url: "/accounts/{accountId}/email-security/settings/trusted_domains",
|
|
3681
3759
|
method: "get",
|
|
@@ -3688,6 +3766,12 @@ const emailSecurityCreateTrustedDomain = (variables, signal) => fetch$1({
|
|
|
3688
3766
|
...variables,
|
|
3689
3767
|
signal
|
|
3690
3768
|
});
|
|
3769
|
+
const emailSecurityBatchTrustedDomains = (variables, signal) => fetch$1({
|
|
3770
|
+
url: "/accounts/{accountId}/email-security/settings/trusted_domains/batch",
|
|
3771
|
+
method: "post",
|
|
3772
|
+
...variables,
|
|
3773
|
+
signal
|
|
3774
|
+
});
|
|
3691
3775
|
const emailSecurityDeleteTrustedDomain = (variables, signal) => fetch$1({
|
|
3692
3776
|
url: "/accounts/{accountId}/email-security/settings/trusted_domains/{trustedDomainId}",
|
|
3693
3777
|
method: "delete",
|
|
@@ -3760,6 +3844,30 @@ const r2PutEventNotificationConfig = (variables, signal) => fetch$1({
|
|
|
3760
3844
|
...variables,
|
|
3761
3845
|
signal
|
|
3762
3846
|
});
|
|
3847
|
+
const subscriptionsList = (variables, signal) => fetch$1({
|
|
3848
|
+
url: "/accounts/{accountId}/event_subscriptions/subscriptions",
|
|
3849
|
+
method: "get",
|
|
3850
|
+
...variables,
|
|
3851
|
+
signal
|
|
3852
|
+
});
|
|
3853
|
+
const subscriptionsCreate = (variables, signal) => fetch$1({
|
|
3854
|
+
url: "/accounts/{accountId}/event_subscriptions/subscriptions",
|
|
3855
|
+
method: "post",
|
|
3856
|
+
...variables,
|
|
3857
|
+
signal
|
|
3858
|
+
});
|
|
3859
|
+
const subscriptionsDelete = (variables, signal) => fetch$1({
|
|
3860
|
+
url: "/accounts/{accountId}/event_subscriptions/subscriptions/{subscriptionId}",
|
|
3861
|
+
method: "delete",
|
|
3862
|
+
...variables,
|
|
3863
|
+
signal
|
|
3864
|
+
});
|
|
3865
|
+
const subscriptionsPatch = (variables, signal) => fetch$1({
|
|
3866
|
+
url: "/accounts/{accountId}/event_subscriptions/subscriptions/{subscriptionId}",
|
|
3867
|
+
method: "patch",
|
|
3868
|
+
...variables,
|
|
3869
|
+
signal
|
|
3870
|
+
});
|
|
3763
3871
|
const ipAccessRulesForAnAccountListIpAccessRules = (variables, signal) => fetch$1({
|
|
3764
3872
|
url: "/accounts/{accountId}/firewall/access_rules/rules",
|
|
3765
3873
|
method: "get",
|
|
@@ -12482,6 +12590,7 @@ const operationsByTag = {
|
|
|
12482
12590
|
accountsTurnstileWidgetUpdate,
|
|
12483
12591
|
accountsTurnstileWidgetRotateSecret
|
|
12484
12592
|
},
|
|
12593
|
+
binDB: { postBinDBPost, getBinDBGetBinary },
|
|
12485
12594
|
event: {
|
|
12486
12595
|
getEventListGet,
|
|
12487
12596
|
postEventList,
|
|
@@ -12493,6 +12602,7 @@ const operationsByTag = {
|
|
|
12493
12602
|
getEventRawReadDS,
|
|
12494
12603
|
deleteEventReferenceDelete,
|
|
12495
12604
|
postEventReferenceCreate,
|
|
12605
|
+
postCreateEventRelationship,
|
|
12496
12606
|
deleteEventDeleteDO,
|
|
12497
12607
|
deleteEventDelete,
|
|
12498
12608
|
getEventRead,
|
|
@@ -12500,7 +12610,8 @@ const operationsByTag = {
|
|
|
12500
12610
|
postEventUpdate,
|
|
12501
12611
|
getEventRawRead,
|
|
12502
12612
|
patchEventRawUpdate,
|
|
12503
|
-
postEventRawUpdate
|
|
12613
|
+
postEventRawUpdate,
|
|
12614
|
+
getEventRelationships
|
|
12504
12615
|
},
|
|
12505
12616
|
attacker: { getAttackerList },
|
|
12506
12617
|
category: {
|
|
@@ -12522,6 +12633,14 @@ const operationsByTag = {
|
|
|
12522
12633
|
},
|
|
12523
12634
|
healthCheck: { getDOHealthCheck },
|
|
12524
12635
|
indicatorTypes: { getIndicatorTypesList },
|
|
12636
|
+
indicator: {
|
|
12637
|
+
getIndicatorList,
|
|
12638
|
+
postIndicatorCreateBulk,
|
|
12639
|
+
postIndicatorCreate,
|
|
12640
|
+
deleteIndicatorDelete,
|
|
12641
|
+
getIndicatorRead,
|
|
12642
|
+
patchIndicatorUpdate
|
|
12643
|
+
},
|
|
12525
12644
|
tag: { postTagCreate },
|
|
12526
12645
|
targetIndustry: { getTargetIndustryList },
|
|
12527
12646
|
requestForInformationRFI: {
|
|
@@ -12812,11 +12931,13 @@ const operationsByTag = {
|
|
|
12812
12931
|
emailSecuritySettings: {
|
|
12813
12932
|
emailSecurityListAllowPolicies,
|
|
12814
12933
|
emailSecurityCreateAllowPolicy,
|
|
12934
|
+
emailSecurityBatchAllowPolicies,
|
|
12815
12935
|
emailSecurityDeleteAllowPolicy,
|
|
12816
12936
|
emailSecurityGetAllowPolicy,
|
|
12817
12937
|
emailSecurityUpdateAllowPolicy,
|
|
12818
12938
|
emailSecurityListBlockedSenders,
|
|
12819
12939
|
emailSecurityCreateBlockedSender,
|
|
12940
|
+
emailSecurityBatchBlockedSenders,
|
|
12820
12941
|
emailSecurityDeleteBlockedSender,
|
|
12821
12942
|
emailSecurityGetBlockedSender,
|
|
12822
12943
|
emailSecurityUpdateBlockedSender,
|
|
@@ -12830,8 +12951,10 @@ const operationsByTag = {
|
|
|
12830
12951
|
emailSecurityDeleteDisplayName,
|
|
12831
12952
|
emailSecurityGetDisplayName,
|
|
12832
12953
|
emailSecurityUpdateDisplayName,
|
|
12954
|
+
emailSecurityBatchSendingDomainRestrictions,
|
|
12833
12955
|
emailSecurityListTrustedDomains,
|
|
12834
12956
|
emailSecurityCreateTrustedDomain,
|
|
12957
|
+
emailSecurityBatchTrustedDomains,
|
|
12835
12958
|
emailSecurityDeleteTrustedDomain,
|
|
12836
12959
|
emailSecurityGetTrustedDomain,
|
|
12837
12960
|
emailSecurityUpdateTrustedDomain
|
|
@@ -12871,6 +12994,29 @@ const operationsByTag = {
|
|
|
12871
12994
|
r2PutBucketSippyConfig,
|
|
12872
12995
|
r2CreateTempAccessCredentials
|
|
12873
12996
|
},
|
|
12997
|
+
queue: {
|
|
12998
|
+
subscriptionsList,
|
|
12999
|
+
subscriptionsCreate,
|
|
13000
|
+
subscriptionsDelete,
|
|
13001
|
+
subscriptionsPatch,
|
|
13002
|
+
queuesList,
|
|
13003
|
+
queuesCreate,
|
|
13004
|
+
queuesDelete,
|
|
13005
|
+
queuesGet,
|
|
13006
|
+
queuesUpdatePartial,
|
|
13007
|
+
queuesUpdate,
|
|
13008
|
+
queuesListConsumers,
|
|
13009
|
+
queuesCreateConsumer,
|
|
13010
|
+
queuesDeleteConsumer,
|
|
13011
|
+
queuesGetConsumer,
|
|
13012
|
+
queuesUpdateConsumer,
|
|
13013
|
+
queuesPushMessage,
|
|
13014
|
+
queuesAckMessages,
|
|
13015
|
+
queuesPushMessages,
|
|
13016
|
+
queuesPullMessages,
|
|
13017
|
+
queuesPurgeGet,
|
|
13018
|
+
queuesPurge
|
|
13019
|
+
},
|
|
12874
13020
|
iPAccessRulesForAnAccount: {
|
|
12875
13021
|
ipAccessRulesForAnAccountListIpAccessRules,
|
|
12876
13022
|
ipAccessRulesForAnAccountCreateAnIpAccessRule,
|
|
@@ -13290,25 +13436,6 @@ const operationsByTag = {
|
|
|
13290
13436
|
getV4AccountsByAccountIdPipelinesByPipelineName,
|
|
13291
13437
|
putV4AccountsByAccountIdPipelinesByPipelineName
|
|
13292
13438
|
},
|
|
13293
|
-
queue: {
|
|
13294
|
-
queuesList,
|
|
13295
|
-
queuesCreate,
|
|
13296
|
-
queuesDelete,
|
|
13297
|
-
queuesGet,
|
|
13298
|
-
queuesUpdatePartial,
|
|
13299
|
-
queuesUpdate,
|
|
13300
|
-
queuesListConsumers,
|
|
13301
|
-
queuesCreateConsumer,
|
|
13302
|
-
queuesDeleteConsumer,
|
|
13303
|
-
queuesGetConsumer,
|
|
13304
|
-
queuesUpdateConsumer,
|
|
13305
|
-
queuesPushMessage,
|
|
13306
|
-
queuesAckMessages,
|
|
13307
|
-
queuesPushMessages,
|
|
13308
|
-
queuesPullMessages,
|
|
13309
|
-
queuesPurgeGet,
|
|
13310
|
-
queuesPurge
|
|
13311
|
-
},
|
|
13312
13439
|
r2Account: { r2GetAccountLevelMetrics },
|
|
13313
13440
|
registrarDomains: {
|
|
13314
13441
|
registrarDomainsListDomains,
|