@unified-api/typescript-sdk 2.4.1 → 2.5.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/README.md +41 -3
- package/funcs/apicallListUnifiedApicalls.js +1 -1
- package/funcs/apicallListUnifiedApicalls.js.map +1 -1
- package/funcs/connectionListUnifiedConnections.js +1 -1
- package/funcs/connectionListUnifiedConnections.js.map +1 -1
- package/funcs/integrationListUnifiedIntegrations.js +1 -1
- package/funcs/integrationListUnifiedIntegrations.js.map +1 -1
- package/funcs/issueListUnifiedIssues.js +1 -1
- package/funcs/issueListUnifiedIssues.js.map +1 -1
- package/funcs/passthroughCreatePassthroughJson.d.ts +19 -0
- package/funcs/passthroughCreatePassthroughJson.d.ts.map +1 -0
- package/funcs/{passthroughCreatePassthrough.js → passthroughCreatePassthroughJson.js} +18 -8
- package/funcs/passthroughCreatePassthroughJson.js.map +1 -0
- package/funcs/passthroughCreatePassthroughRaw.d.ts +19 -0
- package/funcs/passthroughCreatePassthroughRaw.d.ts.map +1 -0
- package/funcs/passthroughCreatePassthroughRaw.js +109 -0
- package/funcs/passthroughCreatePassthroughRaw.js.map +1 -0
- package/funcs/passthroughListPassthroughs.d.ts +8 -3
- package/funcs/passthroughListPassthroughs.d.ts.map +1 -1
- package/funcs/passthroughListPassthroughs.js +13 -3
- package/funcs/passthroughListPassthroughs.js.map +1 -1
- package/funcs/passthroughPatchPassthroughJson.d.ts +19 -0
- package/funcs/passthroughPatchPassthroughJson.d.ts.map +1 -0
- package/funcs/{passthroughPatchPassthrough.js → passthroughPatchPassthroughJson.js} +18 -8
- package/funcs/passthroughPatchPassthroughJson.js.map +1 -0
- package/funcs/passthroughPatchPassthroughRaw.d.ts +19 -0
- package/funcs/passthroughPatchPassthroughRaw.d.ts.map +1 -0
- package/funcs/passthroughPatchPassthroughRaw.js +109 -0
- package/funcs/passthroughPatchPassthroughRaw.js.map +1 -0
- package/funcs/passthroughRemovePassthrough.d.ts +8 -3
- package/funcs/passthroughRemovePassthrough.d.ts.map +1 -1
- package/funcs/passthroughRemovePassthrough.js +13 -3
- package/funcs/passthroughRemovePassthrough.js.map +1 -1
- package/funcs/passthroughUpdatePassthroughJson.d.ts +19 -0
- package/funcs/passthroughUpdatePassthroughJson.d.ts.map +1 -0
- package/funcs/{passthroughUpdatePassthrough.js → passthroughUpdatePassthroughJson.js} +18 -8
- package/funcs/passthroughUpdatePassthroughJson.js.map +1 -0
- package/funcs/passthroughUpdatePassthroughRaw.d.ts +19 -0
- package/funcs/passthroughUpdatePassthroughRaw.d.ts.map +1 -0
- package/funcs/passthroughUpdatePassthroughRaw.js +109 -0
- package/funcs/passthroughUpdatePassthroughRaw.js.map +1 -0
- package/funcs/unifiedCreateUnifiedWebhook.js +1 -1
- package/funcs/unifiedCreateUnifiedWebhook.js.map +1 -1
- package/funcs/unifiedListUnifiedApicalls.js +1 -1
- package/funcs/unifiedListUnifiedApicalls.js.map +1 -1
- package/funcs/unifiedListUnifiedConnections.js +1 -1
- package/funcs/unifiedListUnifiedConnections.js.map +1 -1
- package/funcs/unifiedListUnifiedIntegrations.js +1 -1
- package/funcs/unifiedListUnifiedIntegrations.js.map +1 -1
- package/funcs/unifiedListUnifiedIssues.js +1 -1
- package/funcs/unifiedListUnifiedIssues.js.map +1 -1
- package/funcs/unifiedListUnifiedWebhooks.js +1 -1
- package/funcs/unifiedListUnifiedWebhooks.js.map +1 -1
- package/funcs/webhookCreateUnifiedWebhook.js +1 -1
- package/funcs/webhookCreateUnifiedWebhook.js.map +1 -1
- package/funcs/webhookListUnifiedWebhooks.js +1 -1
- package/funcs/webhookListUnifiedWebhooks.js.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/package.json +2 -2
- package/sdk/models/operations/createpassthroughjson.d.ts +83 -0
- package/sdk/models/operations/createpassthroughjson.d.ts.map +1 -0
- package/sdk/models/operations/createpassthroughjson.js +112 -0
- package/sdk/models/operations/createpassthroughjson.js.map +1 -0
- package/sdk/models/operations/createpassthroughraw.d.ts +83 -0
- package/sdk/models/operations/createpassthroughraw.d.ts.map +1 -0
- package/sdk/models/operations/createpassthroughraw.js +122 -0
- package/sdk/models/operations/createpassthroughraw.js.map +1 -0
- package/sdk/models/operations/index.d.ts +6 -3
- package/sdk/models/operations/index.d.ts.map +1 -1
- package/sdk/models/operations/index.js +6 -3
- package/sdk/models/operations/index.js.map +1 -1
- package/sdk/models/operations/listpassthroughs.d.ts +48 -0
- package/sdk/models/operations/listpassthroughs.d.ts.map +1 -1
- package/sdk/models/operations/listpassthroughs.js +48 -1
- package/sdk/models/operations/listpassthroughs.js.map +1 -1
- package/sdk/models/operations/patchpassthroughjson.d.ts +83 -0
- package/sdk/models/operations/patchpassthroughjson.d.ts.map +1 -0
- package/sdk/models/operations/patchpassthroughjson.js +112 -0
- package/sdk/models/operations/patchpassthroughjson.js.map +1 -0
- package/sdk/models/operations/patchpassthroughraw.d.ts +83 -0
- package/sdk/models/operations/patchpassthroughraw.d.ts.map +1 -0
- package/sdk/models/operations/patchpassthroughraw.js +122 -0
- package/sdk/models/operations/patchpassthroughraw.js.map +1 -0
- package/sdk/models/operations/removepassthrough.d.ts +48 -0
- package/sdk/models/operations/removepassthrough.d.ts.map +1 -1
- package/sdk/models/operations/removepassthrough.js +48 -1
- package/sdk/models/operations/removepassthrough.js.map +1 -1
- package/sdk/models/operations/updatepassthroughjson.d.ts +83 -0
- package/sdk/models/operations/updatepassthroughjson.d.ts.map +1 -0
- package/sdk/models/operations/updatepassthroughjson.js +112 -0
- package/sdk/models/operations/updatepassthroughjson.js.map +1 -0
- package/sdk/models/operations/updatepassthroughraw.d.ts +83 -0
- package/sdk/models/operations/updatepassthroughraw.d.ts.map +1 -0
- package/sdk/models/operations/updatepassthroughraw.js +122 -0
- package/sdk/models/operations/updatepassthroughraw.js.map +1 -0
- package/sdk/passthrough.d.ts +49 -15
- package/sdk/passthrough.d.ts.map +1 -1
- package/sdk/passthrough.js +47 -10
- package/sdk/passthrough.js.map +1 -1
- package/src/funcs/apicallListUnifiedApicalls.ts +1 -1
- package/src/funcs/connectionListUnifiedConnections.ts +1 -1
- package/src/funcs/integrationListUnifiedIntegrations.ts +1 -1
- package/src/funcs/issueListUnifiedIssues.ts +1 -1
- package/src/funcs/{passthroughCreatePassthrough.ts → passthroughCreatePassthroughJson.ts} +42 -11
- package/src/funcs/passthroughCreatePassthroughRaw.ts +158 -0
- package/src/funcs/passthroughListPassthroughs.ts +38 -7
- package/src/funcs/{passthroughPatchPassthrough.ts → passthroughPatchPassthroughJson.ts} +43 -11
- package/src/funcs/passthroughPatchPassthroughRaw.ts +158 -0
- package/src/funcs/passthroughRemovePassthrough.ts +38 -7
- package/src/funcs/{passthroughUpdatePassthrough.ts → passthroughUpdatePassthroughJson.ts} +42 -11
- package/src/funcs/passthroughUpdatePassthroughRaw.ts +158 -0
- package/src/funcs/unifiedCreateUnifiedWebhook.ts +1 -1
- package/src/funcs/unifiedListUnifiedApicalls.ts +1 -1
- package/src/funcs/unifiedListUnifiedConnections.ts +1 -1
- package/src/funcs/unifiedListUnifiedIntegrations.ts +1 -1
- package/src/funcs/unifiedListUnifiedIssues.ts +1 -1
- package/src/funcs/unifiedListUnifiedWebhooks.ts +1 -1
- package/src/funcs/webhookCreateUnifiedWebhook.ts +1 -1
- package/src/funcs/webhookListUnifiedWebhooks.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/sdk/models/operations/createpassthroughjson.ts +166 -0
- package/src/sdk/models/operations/createpassthroughraw.ts +185 -0
- package/src/sdk/models/operations/index.ts +6 -3
- package/src/sdk/models/operations/listpassthroughs.ts +87 -0
- package/src/sdk/models/operations/patchpassthroughjson.ts +165 -0
- package/src/sdk/models/operations/patchpassthroughraw.ts +185 -0
- package/src/sdk/models/operations/removepassthrough.ts +94 -0
- package/src/sdk/models/operations/updatepassthroughjson.ts +166 -0
- package/src/sdk/models/operations/updatepassthroughraw.ts +185 -0
- package/src/sdk/passthrough.ts +125 -24
- package/funcs/passthroughCreatePassthrough.d.ts +0 -14
- package/funcs/passthroughCreatePassthrough.d.ts.map +0 -1
- package/funcs/passthroughCreatePassthrough.js.map +0 -1
- package/funcs/passthroughPatchPassthrough.d.ts +0 -14
- package/funcs/passthroughPatchPassthrough.d.ts.map +0 -1
- package/funcs/passthroughPatchPassthrough.js.map +0 -1
- package/funcs/passthroughUpdatePassthrough.d.ts +0 -14
- package/funcs/passthroughUpdatePassthrough.d.ts.map +0 -1
- package/funcs/passthroughUpdatePassthrough.js.map +0 -1
- package/sdk/models/operations/createpassthrough.d.ts +0 -39
- package/sdk/models/operations/createpassthrough.d.ts.map +0 -1
- package/sdk/models/operations/createpassthrough.js +0 -65
- package/sdk/models/operations/createpassthrough.js.map +0 -1
- package/sdk/models/operations/patchpassthrough.d.ts +0 -39
- package/sdk/models/operations/patchpassthrough.d.ts.map +0 -1
- package/sdk/models/operations/patchpassthrough.js +0 -65
- package/sdk/models/operations/patchpassthrough.js.map +0 -1
- package/sdk/models/operations/updatepassthrough.d.ts +0 -39
- package/sdk/models/operations/updatepassthrough.d.ts.map +0 -1
- package/sdk/models/operations/updatepassthrough.js +0 -65
- package/sdk/models/operations/updatepassthrough.js.map +0 -1
- package/src/sdk/models/operations/createpassthrough.ts +0 -70
- package/src/sdk/models/operations/patchpassthrough.ts +0 -70
- package/src/sdk/models/operations/updatepassthrough.ts +0 -70
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
-
|
|
8
|
-
export type CreatePassthroughRequest = {
|
|
9
|
-
/**
|
|
10
|
-
* integration-specific payload
|
|
11
|
-
*/
|
|
12
|
-
requestBody?: { [k: string]: any } | undefined;
|
|
13
|
-
/**
|
|
14
|
-
* ID of the connection
|
|
15
|
-
*/
|
|
16
|
-
connectionId: string;
|
|
17
|
-
path: string;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
/** @internal */
|
|
21
|
-
export const CreatePassthroughRequest$inboundSchema: z.ZodType<
|
|
22
|
-
CreatePassthroughRequest,
|
|
23
|
-
z.ZodTypeDef,
|
|
24
|
-
unknown
|
|
25
|
-
> = z.object({
|
|
26
|
-
RequestBody: z.record(z.any()).optional(),
|
|
27
|
-
connection_id: z.string(),
|
|
28
|
-
path: z.string(),
|
|
29
|
-
}).transform((v) => {
|
|
30
|
-
return remap$(v, {
|
|
31
|
-
"RequestBody": "requestBody",
|
|
32
|
-
"connection_id": "connectionId",
|
|
33
|
-
});
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
/** @internal */
|
|
37
|
-
export type CreatePassthroughRequest$Outbound = {
|
|
38
|
-
RequestBody?: { [k: string]: any } | undefined;
|
|
39
|
-
connection_id: string;
|
|
40
|
-
path: string;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
/** @internal */
|
|
44
|
-
export const CreatePassthroughRequest$outboundSchema: z.ZodType<
|
|
45
|
-
CreatePassthroughRequest$Outbound,
|
|
46
|
-
z.ZodTypeDef,
|
|
47
|
-
CreatePassthroughRequest
|
|
48
|
-
> = z.object({
|
|
49
|
-
requestBody: z.record(z.any()).optional(),
|
|
50
|
-
connectionId: z.string(),
|
|
51
|
-
path: z.string(),
|
|
52
|
-
}).transform((v) => {
|
|
53
|
-
return remap$(v, {
|
|
54
|
-
requestBody: "RequestBody",
|
|
55
|
-
connectionId: "connection_id",
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
62
|
-
*/
|
|
63
|
-
export namespace CreatePassthroughRequest$ {
|
|
64
|
-
/** @deprecated use `CreatePassthroughRequest$inboundSchema` instead. */
|
|
65
|
-
export const inboundSchema = CreatePassthroughRequest$inboundSchema;
|
|
66
|
-
/** @deprecated use `CreatePassthroughRequest$outboundSchema` instead. */
|
|
67
|
-
export const outboundSchema = CreatePassthroughRequest$outboundSchema;
|
|
68
|
-
/** @deprecated use `CreatePassthroughRequest$Outbound` instead. */
|
|
69
|
-
export type Outbound = CreatePassthroughRequest$Outbound;
|
|
70
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
-
|
|
8
|
-
export type PatchPassthroughRequest = {
|
|
9
|
-
/**
|
|
10
|
-
* integration-specific payload
|
|
11
|
-
*/
|
|
12
|
-
requestBody?: { [k: string]: any } | undefined;
|
|
13
|
-
/**
|
|
14
|
-
* ID of the connection
|
|
15
|
-
*/
|
|
16
|
-
connectionId: string;
|
|
17
|
-
path: string;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
/** @internal */
|
|
21
|
-
export const PatchPassthroughRequest$inboundSchema: z.ZodType<
|
|
22
|
-
PatchPassthroughRequest,
|
|
23
|
-
z.ZodTypeDef,
|
|
24
|
-
unknown
|
|
25
|
-
> = z.object({
|
|
26
|
-
RequestBody: z.record(z.any()).optional(),
|
|
27
|
-
connection_id: z.string(),
|
|
28
|
-
path: z.string(),
|
|
29
|
-
}).transform((v) => {
|
|
30
|
-
return remap$(v, {
|
|
31
|
-
"RequestBody": "requestBody",
|
|
32
|
-
"connection_id": "connectionId",
|
|
33
|
-
});
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
/** @internal */
|
|
37
|
-
export type PatchPassthroughRequest$Outbound = {
|
|
38
|
-
RequestBody?: { [k: string]: any } | undefined;
|
|
39
|
-
connection_id: string;
|
|
40
|
-
path: string;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
/** @internal */
|
|
44
|
-
export const PatchPassthroughRequest$outboundSchema: z.ZodType<
|
|
45
|
-
PatchPassthroughRequest$Outbound,
|
|
46
|
-
z.ZodTypeDef,
|
|
47
|
-
PatchPassthroughRequest
|
|
48
|
-
> = z.object({
|
|
49
|
-
requestBody: z.record(z.any()).optional(),
|
|
50
|
-
connectionId: z.string(),
|
|
51
|
-
path: z.string(),
|
|
52
|
-
}).transform((v) => {
|
|
53
|
-
return remap$(v, {
|
|
54
|
-
requestBody: "RequestBody",
|
|
55
|
-
connectionId: "connection_id",
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
62
|
-
*/
|
|
63
|
-
export namespace PatchPassthroughRequest$ {
|
|
64
|
-
/** @deprecated use `PatchPassthroughRequest$inboundSchema` instead. */
|
|
65
|
-
export const inboundSchema = PatchPassthroughRequest$inboundSchema;
|
|
66
|
-
/** @deprecated use `PatchPassthroughRequest$outboundSchema` instead. */
|
|
67
|
-
export const outboundSchema = PatchPassthroughRequest$outboundSchema;
|
|
68
|
-
/** @deprecated use `PatchPassthroughRequest$Outbound` instead. */
|
|
69
|
-
export type Outbound = PatchPassthroughRequest$Outbound;
|
|
70
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
-
|
|
8
|
-
export type UpdatePassthroughRequest = {
|
|
9
|
-
/**
|
|
10
|
-
* integration-specific payload
|
|
11
|
-
*/
|
|
12
|
-
requestBody?: { [k: string]: any } | undefined;
|
|
13
|
-
/**
|
|
14
|
-
* ID of the connection
|
|
15
|
-
*/
|
|
16
|
-
connectionId: string;
|
|
17
|
-
path: string;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
/** @internal */
|
|
21
|
-
export const UpdatePassthroughRequest$inboundSchema: z.ZodType<
|
|
22
|
-
UpdatePassthroughRequest,
|
|
23
|
-
z.ZodTypeDef,
|
|
24
|
-
unknown
|
|
25
|
-
> = z.object({
|
|
26
|
-
RequestBody: z.record(z.any()).optional(),
|
|
27
|
-
connection_id: z.string(),
|
|
28
|
-
path: z.string(),
|
|
29
|
-
}).transform((v) => {
|
|
30
|
-
return remap$(v, {
|
|
31
|
-
"RequestBody": "requestBody",
|
|
32
|
-
"connection_id": "connectionId",
|
|
33
|
-
});
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
/** @internal */
|
|
37
|
-
export type UpdatePassthroughRequest$Outbound = {
|
|
38
|
-
RequestBody?: { [k: string]: any } | undefined;
|
|
39
|
-
connection_id: string;
|
|
40
|
-
path: string;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
/** @internal */
|
|
44
|
-
export const UpdatePassthroughRequest$outboundSchema: z.ZodType<
|
|
45
|
-
UpdatePassthroughRequest$Outbound,
|
|
46
|
-
z.ZodTypeDef,
|
|
47
|
-
UpdatePassthroughRequest
|
|
48
|
-
> = z.object({
|
|
49
|
-
requestBody: z.record(z.any()).optional(),
|
|
50
|
-
connectionId: z.string(),
|
|
51
|
-
path: z.string(),
|
|
52
|
-
}).transform((v) => {
|
|
53
|
-
return remap$(v, {
|
|
54
|
-
requestBody: "RequestBody",
|
|
55
|
-
connectionId: "connection_id",
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
62
|
-
*/
|
|
63
|
-
export namespace UpdatePassthroughRequest$ {
|
|
64
|
-
/** @deprecated use `UpdatePassthroughRequest$inboundSchema` instead. */
|
|
65
|
-
export const inboundSchema = UpdatePassthroughRequest$inboundSchema;
|
|
66
|
-
/** @deprecated use `UpdatePassthroughRequest$outboundSchema` instead. */
|
|
67
|
-
export const outboundSchema = UpdatePassthroughRequest$outboundSchema;
|
|
68
|
-
/** @deprecated use `UpdatePassthroughRequest$Outbound` instead. */
|
|
69
|
-
export type Outbound = UpdatePassthroughRequest$Outbound;
|
|
70
|
-
}
|