@distilled.cloud/cloudflare 0.26.1 → 0.27.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/lib/client/api.d.ts.map +1 -1
- package/lib/client/api.js +15 -7
- package/lib/client/api.js.map +1 -1
- package/lib/services/ai-gateway.d.ts +7 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +3 -1
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/aisearch.d.ts +7 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +6 -0
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/api-gateway.d.ts +1 -1
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +1 -1
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/cache.d.ts +7 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +6 -1
- package/lib/services/cache.js.map +1 -1
- package/lib/services/iam.d.ts +7 -1
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +6 -1
- package/lib/services/iam.js.map +1 -1
- package/lib/services/r2.d.ts +7 -1
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +13 -1
- package/lib/services/r2.js.map +1 -1
- package/lib/services/workers.d.ts +7 -1
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +6 -1
- package/lib/services/workers.js.map +1 -1
- package/lib/services/zero-trust.d.ts +9 -3
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +8 -6
- package/lib/services/zero-trust.js.map +1 -1
- package/package.json +2 -2
- package/src/client/api.ts +15 -8
- package/src/services/ai-gateway.ts +13 -2
- package/src/services/aisearch.ts +10 -0
- package/src/services/api-gateway.ts +2 -2
- package/src/services/cache.ts +11 -2
- package/src/services/iam.ts +13 -2
- package/src/services/r2.ts +20 -2
- package/src/services/workers.ts +11 -2
- package/src/services/zero-trust.ts +23 -9
|
@@ -37,6 +37,8 @@ export class AccessGroupNotFound extends T.applyErrorMatchers(Schema.TaggedError
|
|
|
37
37
|
}
|
|
38
38
|
export class AccessIdentityProviderNotFound extends T.applyErrorMatchers(Schema.TaggedErrorClass()("AccessIdentityProviderNotFound", { code: Schema.Number, message: Schema.String }), [{ code: 12135 }]) {
|
|
39
39
|
}
|
|
40
|
+
export class AccessReferenceNotFound extends T.applyErrorMatchers(Schema.TaggedErrorClass()("AccessReferenceNotFound", { code: Schema.Number, message: Schema.String }), [{ status: 400, message: { includes: "not found" } }]) {
|
|
41
|
+
}
|
|
40
42
|
export class AccessServiceTokenNotFound extends T.applyErrorMatchers(Schema.TaggedErrorClass()("AccessServiceTokenNotFound", { code: Schema.Number, message: Schema.String }), [{ code: 12135 }]) {
|
|
41
43
|
}
|
|
42
44
|
export class AccessTagNotFound extends T.applyErrorMatchers(Schema.TaggedErrorClass()("AccessTagNotFound", {
|
|
@@ -17781,7 +17783,7 @@ export const ListAccessApplicationsResponse =
|
|
|
17781
17783
|
export const listAccessApplicationsForAccount = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
17782
17784
|
input: ListAccessApplicationsForAccountRequest,
|
|
17783
17785
|
output: ListAccessApplicationsResponse,
|
|
17784
|
-
errors: [],
|
|
17786
|
+
errors: [AccessReferenceNotFound],
|
|
17785
17787
|
pagination: {
|
|
17786
17788
|
mode: "page",
|
|
17787
17789
|
inputToken: "page",
|
|
@@ -17793,7 +17795,7 @@ export const listAccessApplicationsForAccount = /*@__PURE__*/ /*#__PURE__*/ API.
|
|
|
17793
17795
|
export const listAccessApplicationsForZone = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
17794
17796
|
input: ListAccessApplicationsForZoneRequest,
|
|
17795
17797
|
output: ListAccessApplicationsResponse,
|
|
17796
|
-
errors: [],
|
|
17798
|
+
errors: [AccessReferenceNotFound],
|
|
17797
17799
|
pagination: {
|
|
17798
17800
|
mode: "page",
|
|
17799
17801
|
inputToken: "page",
|
|
@@ -26840,12 +26842,12 @@ export const CreateAccessApplicationResponse =
|
|
|
26840
26842
|
export const createAccessApplicationForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
26841
26843
|
input: CreateAccessApplicationForAccountRequest,
|
|
26842
26844
|
output: CreateAccessApplicationResponse,
|
|
26843
|
-
errors: [],
|
|
26845
|
+
errors: [AccessReferenceNotFound],
|
|
26844
26846
|
}));
|
|
26845
26847
|
export const createAccessApplicationForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
26846
26848
|
input: CreateAccessApplicationForZoneRequest,
|
|
26847
26849
|
output: CreateAccessApplicationResponse,
|
|
26848
|
-
errors: [],
|
|
26850
|
+
errors: [AccessReferenceNotFound],
|
|
26849
26851
|
}));
|
|
26850
26852
|
const UpdateAccessApplicationBaseFields = {
|
|
26851
26853
|
appId: Schema.String.pipe(T.HttpPath("appId")),
|
|
@@ -35889,12 +35891,12 @@ export const UpdateAccessApplicationResponse =
|
|
|
35889
35891
|
export const updateAccessApplicationForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
35890
35892
|
input: UpdateAccessApplicationForAccountRequest,
|
|
35891
35893
|
output: UpdateAccessApplicationResponse,
|
|
35892
|
-
errors: [],
|
|
35894
|
+
errors: [AccessReferenceNotFound],
|
|
35893
35895
|
}));
|
|
35894
35896
|
export const updateAccessApplicationForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
35895
35897
|
input: UpdateAccessApplicationForZoneRequest,
|
|
35896
35898
|
output: UpdateAccessApplicationResponse,
|
|
35897
|
-
errors: [],
|
|
35899
|
+
errors: [AccessReferenceNotFound],
|
|
35898
35900
|
}));
|
|
35899
35901
|
const DeleteAccessApplicationBaseFields = {
|
|
35900
35902
|
appId: Schema.String.pipe(T.HttpPath("appId")),
|