@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
|
@@ -6,6 +6,13 @@ export type RemovePassthroughRequest = {
|
|
|
6
6
|
connectionId: string;
|
|
7
7
|
path: string;
|
|
8
8
|
};
|
|
9
|
+
export type RemovePassthroughResponseResult = any | string | Uint8Array | string;
|
|
10
|
+
export type RemovePassthroughResponse = {
|
|
11
|
+
headers: {
|
|
12
|
+
[k: string]: Array<string>;
|
|
13
|
+
};
|
|
14
|
+
result?: any | string | Uint8Array | string | undefined;
|
|
15
|
+
};
|
|
9
16
|
/** @internal */
|
|
10
17
|
export declare const RemovePassthroughRequest$inboundSchema: z.ZodType<RemovePassthroughRequest, z.ZodTypeDef, unknown>;
|
|
11
18
|
/** @internal */
|
|
@@ -27,4 +34,45 @@ export declare namespace RemovePassthroughRequest$ {
|
|
|
27
34
|
/** @deprecated use `RemovePassthroughRequest$Outbound` instead. */
|
|
28
35
|
type Outbound = RemovePassthroughRequest$Outbound;
|
|
29
36
|
}
|
|
37
|
+
/** @internal */
|
|
38
|
+
export declare const RemovePassthroughResponseResult$inboundSchema: z.ZodType<RemovePassthroughResponseResult, z.ZodTypeDef, unknown>;
|
|
39
|
+
/** @internal */
|
|
40
|
+
export type RemovePassthroughResponseResult$Outbound = any | string | Uint8Array;
|
|
41
|
+
/** @internal */
|
|
42
|
+
export declare const RemovePassthroughResponseResult$outboundSchema: z.ZodType<RemovePassthroughResponseResult$Outbound, z.ZodTypeDef, RemovePassthroughResponseResult>;
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
46
|
+
*/
|
|
47
|
+
export declare namespace RemovePassthroughResponseResult$ {
|
|
48
|
+
/** @deprecated use `RemovePassthroughResponseResult$inboundSchema` instead. */
|
|
49
|
+
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
50
|
+
/** @deprecated use `RemovePassthroughResponseResult$outboundSchema` instead. */
|
|
51
|
+
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
52
|
+
/** @deprecated use `RemovePassthroughResponseResult$Outbound` instead. */
|
|
53
|
+
type Outbound = RemovePassthroughResponseResult$Outbound;
|
|
54
|
+
}
|
|
55
|
+
/** @internal */
|
|
56
|
+
export declare const RemovePassthroughResponse$inboundSchema: z.ZodType<RemovePassthroughResponse, z.ZodTypeDef, unknown>;
|
|
57
|
+
/** @internal */
|
|
58
|
+
export type RemovePassthroughResponse$Outbound = {
|
|
59
|
+
Headers: {
|
|
60
|
+
[k: string]: Array<string>;
|
|
61
|
+
};
|
|
62
|
+
Result?: any | string | Uint8Array | undefined;
|
|
63
|
+
};
|
|
64
|
+
/** @internal */
|
|
65
|
+
export declare const RemovePassthroughResponse$outboundSchema: z.ZodType<RemovePassthroughResponse$Outbound, z.ZodTypeDef, RemovePassthroughResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
69
|
+
*/
|
|
70
|
+
export declare namespace RemovePassthroughResponse$ {
|
|
71
|
+
/** @deprecated use `RemovePassthroughResponse$inboundSchema` instead. */
|
|
72
|
+
const inboundSchema: z.ZodType<RemovePassthroughResponse, z.ZodTypeDef, unknown>;
|
|
73
|
+
/** @deprecated use `RemovePassthroughResponse$outboundSchema` instead. */
|
|
74
|
+
const outboundSchema: z.ZodType<RemovePassthroughResponse$Outbound, z.ZodTypeDef, RemovePassthroughResponse>;
|
|
75
|
+
/** @deprecated use `RemovePassthroughResponse$Outbound` instead. */
|
|
76
|
+
type Outbound = RemovePassthroughResponse$Outbound;
|
|
77
|
+
}
|
|
30
78
|
//# sourceMappingURL=removepassthrough.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removepassthrough.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/operations/removepassthrough.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"removepassthrough.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/operations/removepassthrough.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,+BAA+B,GACvC,GAAG,GACH,MAAM,GACN,UAAU,GACV,MAAM,CAAC;AAEX,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,EAAE;QAAE,CAAC,CAAC,E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,KAAY,QAAQ,GAAG,wCAAwC,CAAC;CACjE;AAED,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,CAAC,EAAE,GAAG,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;CAChD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CASzB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IAC1C,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC3D"}
|
|
@@ -26,8 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.RemovePassthroughRequest$ = exports.RemovePassthroughRequest$outboundSchema = exports.RemovePassthroughRequest$inboundSchema = void 0;
|
|
29
|
+
exports.RemovePassthroughResponse$ = exports.RemovePassthroughResponse$outboundSchema = exports.RemovePassthroughResponse$inboundSchema = exports.RemovePassthroughResponseResult$ = exports.RemovePassthroughResponseResult$outboundSchema = exports.RemovePassthroughResponseResult$inboundSchema = exports.RemovePassthroughRequest$ = exports.RemovePassthroughRequest$outboundSchema = exports.RemovePassthroughRequest$inboundSchema = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
|
+
const b64$ = __importStar(require("../../../lib/base64.js"));
|
|
31
32
|
const primitives_js_1 = require("../../../lib/primitives.js");
|
|
32
33
|
/** @internal */
|
|
33
34
|
exports.RemovePassthroughRequest$inboundSchema = z.object({
|
|
@@ -58,4 +59,50 @@ var RemovePassthroughRequest$;
|
|
|
58
59
|
/** @deprecated use `RemovePassthroughRequest$outboundSchema` instead. */
|
|
59
60
|
RemovePassthroughRequest$.outboundSchema = exports.RemovePassthroughRequest$outboundSchema;
|
|
60
61
|
})(RemovePassthroughRequest$ || (exports.RemovePassthroughRequest$ = RemovePassthroughRequest$ = {}));
|
|
62
|
+
/** @internal */
|
|
63
|
+
exports.RemovePassthroughResponseResult$inboundSchema = z.union([z.any(), z.string(), b64$.zodInbound]);
|
|
64
|
+
/** @internal */
|
|
65
|
+
exports.RemovePassthroughResponseResult$outboundSchema = z.union([z.any(), z.string(), b64$.zodOutbound]);
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
69
|
+
*/
|
|
70
|
+
var RemovePassthroughResponseResult$;
|
|
71
|
+
(function (RemovePassthroughResponseResult$) {
|
|
72
|
+
/** @deprecated use `RemovePassthroughResponseResult$inboundSchema` instead. */
|
|
73
|
+
RemovePassthroughResponseResult$.inboundSchema = exports.RemovePassthroughResponseResult$inboundSchema;
|
|
74
|
+
/** @deprecated use `RemovePassthroughResponseResult$outboundSchema` instead. */
|
|
75
|
+
RemovePassthroughResponseResult$.outboundSchema = exports.RemovePassthroughResponseResult$outboundSchema;
|
|
76
|
+
})(RemovePassthroughResponseResult$ || (exports.RemovePassthroughResponseResult$ = RemovePassthroughResponseResult$ = {}));
|
|
77
|
+
/** @internal */
|
|
78
|
+
exports.RemovePassthroughResponse$inboundSchema = z.object({
|
|
79
|
+
Headers: z.record(z.array(z.string())),
|
|
80
|
+
Result: z.union([z.any(), z.string(), b64$.zodInbound]).optional(),
|
|
81
|
+
}).transform((v) => {
|
|
82
|
+
return (0, primitives_js_1.remap)(v, {
|
|
83
|
+
"Headers": "headers",
|
|
84
|
+
"Result": "result",
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
/** @internal */
|
|
88
|
+
exports.RemovePassthroughResponse$outboundSchema = z.object({
|
|
89
|
+
headers: z.record(z.array(z.string())),
|
|
90
|
+
result: z.union([z.any(), z.string(), b64$.zodOutbound]).optional(),
|
|
91
|
+
}).transform((v) => {
|
|
92
|
+
return (0, primitives_js_1.remap)(v, {
|
|
93
|
+
headers: "Headers",
|
|
94
|
+
result: "Result",
|
|
95
|
+
});
|
|
96
|
+
});
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
100
|
+
*/
|
|
101
|
+
var RemovePassthroughResponse$;
|
|
102
|
+
(function (RemovePassthroughResponse$) {
|
|
103
|
+
/** @deprecated use `RemovePassthroughResponse$inboundSchema` instead. */
|
|
104
|
+
RemovePassthroughResponse$.inboundSchema = exports.RemovePassthroughResponse$inboundSchema;
|
|
105
|
+
/** @deprecated use `RemovePassthroughResponse$outboundSchema` instead. */
|
|
106
|
+
RemovePassthroughResponse$.outboundSchema = exports.RemovePassthroughResponse$outboundSchema;
|
|
107
|
+
})(RemovePassthroughResponse$ || (exports.RemovePassthroughResponse$ = RemovePassthroughResponse$ = {}));
|
|
61
108
|
//# sourceMappingURL=removepassthrough.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removepassthrough.js","sourceRoot":"","sources":["../../../src/sdk/models/operations/removepassthrough.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,8DAA6D;
|
|
1
|
+
{"version":3,"file":"removepassthrough.js","sourceRoot":"","sources":["../../../src/sdk/models/operations/removepassthrough.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;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;GAGG;AACH,IAAiB,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IACzC,yEAAyE;IAC5D,wCAAa,GAAG,+CAAuC,CAAC;IACrE,0EAA0E;IAC7D,yCAAc,GAAG,gDAAwC,CAAC;AAGzE,CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
export type UpdatePassthroughJsonRequest = {
|
|
3
|
+
/**
|
|
4
|
+
* integration-specific payload
|
|
5
|
+
*/
|
|
6
|
+
requestBody?: any | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* ID of the connection
|
|
9
|
+
*/
|
|
10
|
+
connectionId: string;
|
|
11
|
+
path: string;
|
|
12
|
+
};
|
|
13
|
+
export type UpdatePassthroughJsonResponseResult = any | string | Uint8Array | string;
|
|
14
|
+
export type UpdatePassthroughJsonResponse = {
|
|
15
|
+
headers: {
|
|
16
|
+
[k: string]: Array<string>;
|
|
17
|
+
};
|
|
18
|
+
result?: any | string | Uint8Array | string | undefined;
|
|
19
|
+
};
|
|
20
|
+
/** @internal */
|
|
21
|
+
export declare const UpdatePassthroughJsonRequest$inboundSchema: z.ZodType<UpdatePassthroughJsonRequest, z.ZodTypeDef, unknown>;
|
|
22
|
+
/** @internal */
|
|
23
|
+
export type UpdatePassthroughJsonRequest$Outbound = {
|
|
24
|
+
RequestBody?: any | undefined;
|
|
25
|
+
connection_id: string;
|
|
26
|
+
path: string;
|
|
27
|
+
};
|
|
28
|
+
/** @internal */
|
|
29
|
+
export declare const UpdatePassthroughJsonRequest$outboundSchema: z.ZodType<UpdatePassthroughJsonRequest$Outbound, z.ZodTypeDef, UpdatePassthroughJsonRequest>;
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
33
|
+
*/
|
|
34
|
+
export declare namespace UpdatePassthroughJsonRequest$ {
|
|
35
|
+
/** @deprecated use `UpdatePassthroughJsonRequest$inboundSchema` instead. */
|
|
36
|
+
const inboundSchema: z.ZodType<UpdatePassthroughJsonRequest, z.ZodTypeDef, unknown>;
|
|
37
|
+
/** @deprecated use `UpdatePassthroughJsonRequest$outboundSchema` instead. */
|
|
38
|
+
const outboundSchema: z.ZodType<UpdatePassthroughJsonRequest$Outbound, z.ZodTypeDef, UpdatePassthroughJsonRequest>;
|
|
39
|
+
/** @deprecated use `UpdatePassthroughJsonRequest$Outbound` instead. */
|
|
40
|
+
type Outbound = UpdatePassthroughJsonRequest$Outbound;
|
|
41
|
+
}
|
|
42
|
+
/** @internal */
|
|
43
|
+
export declare const UpdatePassthroughJsonResponseResult$inboundSchema: z.ZodType<UpdatePassthroughJsonResponseResult, z.ZodTypeDef, unknown>;
|
|
44
|
+
/** @internal */
|
|
45
|
+
export type UpdatePassthroughJsonResponseResult$Outbound = any | string | Uint8Array;
|
|
46
|
+
/** @internal */
|
|
47
|
+
export declare const UpdatePassthroughJsonResponseResult$outboundSchema: z.ZodType<UpdatePassthroughJsonResponseResult$Outbound, z.ZodTypeDef, UpdatePassthroughJsonResponseResult>;
|
|
48
|
+
/**
|
|
49
|
+
* @internal
|
|
50
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
51
|
+
*/
|
|
52
|
+
export declare namespace UpdatePassthroughJsonResponseResult$ {
|
|
53
|
+
/** @deprecated use `UpdatePassthroughJsonResponseResult$inboundSchema` instead. */
|
|
54
|
+
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
55
|
+
/** @deprecated use `UpdatePassthroughJsonResponseResult$outboundSchema` instead. */
|
|
56
|
+
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
57
|
+
/** @deprecated use `UpdatePassthroughJsonResponseResult$Outbound` instead. */
|
|
58
|
+
type Outbound = UpdatePassthroughJsonResponseResult$Outbound;
|
|
59
|
+
}
|
|
60
|
+
/** @internal */
|
|
61
|
+
export declare const UpdatePassthroughJsonResponse$inboundSchema: z.ZodType<UpdatePassthroughJsonResponse, z.ZodTypeDef, unknown>;
|
|
62
|
+
/** @internal */
|
|
63
|
+
export type UpdatePassthroughJsonResponse$Outbound = {
|
|
64
|
+
Headers: {
|
|
65
|
+
[k: string]: Array<string>;
|
|
66
|
+
};
|
|
67
|
+
Result?: any | string | Uint8Array | undefined;
|
|
68
|
+
};
|
|
69
|
+
/** @internal */
|
|
70
|
+
export declare const UpdatePassthroughJsonResponse$outboundSchema: z.ZodType<UpdatePassthroughJsonResponse$Outbound, z.ZodTypeDef, UpdatePassthroughJsonResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
74
|
+
*/
|
|
75
|
+
export declare namespace UpdatePassthroughJsonResponse$ {
|
|
76
|
+
/** @deprecated use `UpdatePassthroughJsonResponse$inboundSchema` instead. */
|
|
77
|
+
const inboundSchema: z.ZodType<UpdatePassthroughJsonResponse, z.ZodTypeDef, unknown>;
|
|
78
|
+
/** @deprecated use `UpdatePassthroughJsonResponse$outboundSchema` instead. */
|
|
79
|
+
const outboundSchema: z.ZodType<UpdatePassthroughJsonResponse$Outbound, z.ZodTypeDef, UpdatePassthroughJsonResponse>;
|
|
80
|
+
/** @deprecated use `UpdatePassthroughJsonResponse$Outbound` instead. */
|
|
81
|
+
type Outbound = UpdatePassthroughJsonResponse$Outbound;
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=updatepassthroughjson.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updatepassthroughjson.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/operations/updatepassthroughjson.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,WAAW,CAAC,EAAE,GAAG,GAAG,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AAC;AAEf,gBAAgB;AAChB,eAAO,MAAM,kDAAkD,EAAE,CAAC,CAAC,OAAO,CACxE,4CAA4C,EAC5C,CAAC,CAAC,UAAU,EACZ,mCAAmC,CACe,CAAC;AAErD;;;GAGG;AACH,yBAAiB,oCAAoC,CAAC;IACpD,mFAAmF;IAC5E,MAAM,aAAa,uCACyB,CAAC;IACpD,oFAAoF;IAC7E,MAAM,cAAc,mCACyB,CAAC;IACrD,8EAA8E;IAC9E,KAAY,QAAQ,GAAG,4CAA4C,CAAC;CACrE;AAED,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,sCAAsC,GAAG;IACnD,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,CAAC,EAAE,GAAG,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;CAChD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CAS7B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,8BAA8B,CAAC;IAC9C,6EAA6E;IACtE,MAAM,aAAa,iEAA8C,CAAC;IACzE,8EAA8E;IACvE,MAAM,cAAc,gGAA+C,CAAC;IAC3E,wEAAwE;IACxE,KAAY,QAAQ,GAAG,sCAAsC,CAAC;CAC/D"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.UpdatePassthroughJsonResponse$ = exports.UpdatePassthroughJsonResponse$outboundSchema = exports.UpdatePassthroughJsonResponse$inboundSchema = exports.UpdatePassthroughJsonResponseResult$ = exports.UpdatePassthroughJsonResponseResult$outboundSchema = exports.UpdatePassthroughJsonResponseResult$inboundSchema = exports.UpdatePassthroughJsonRequest$ = exports.UpdatePassthroughJsonRequest$outboundSchema = exports.UpdatePassthroughJsonRequest$inboundSchema = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
const b64$ = __importStar(require("../../../lib/base64.js"));
|
|
32
|
+
const primitives_js_1 = require("../../../lib/primitives.js");
|
|
33
|
+
/** @internal */
|
|
34
|
+
exports.UpdatePassthroughJsonRequest$inboundSchema = z.object({
|
|
35
|
+
RequestBody: z.any().optional(),
|
|
36
|
+
connection_id: z.string(),
|
|
37
|
+
path: z.string(),
|
|
38
|
+
}).transform((v) => {
|
|
39
|
+
return (0, primitives_js_1.remap)(v, {
|
|
40
|
+
"RequestBody": "requestBody",
|
|
41
|
+
"connection_id": "connectionId",
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.UpdatePassthroughJsonRequest$outboundSchema = z.object({
|
|
46
|
+
requestBody: z.any().optional(),
|
|
47
|
+
connectionId: z.string(),
|
|
48
|
+
path: z.string(),
|
|
49
|
+
}).transform((v) => {
|
|
50
|
+
return (0, primitives_js_1.remap)(v, {
|
|
51
|
+
requestBody: "RequestBody",
|
|
52
|
+
connectionId: "connection_id",
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
58
|
+
*/
|
|
59
|
+
var UpdatePassthroughJsonRequest$;
|
|
60
|
+
(function (UpdatePassthroughJsonRequest$) {
|
|
61
|
+
/** @deprecated use `UpdatePassthroughJsonRequest$inboundSchema` instead. */
|
|
62
|
+
UpdatePassthroughJsonRequest$.inboundSchema = exports.UpdatePassthroughJsonRequest$inboundSchema;
|
|
63
|
+
/** @deprecated use `UpdatePassthroughJsonRequest$outboundSchema` instead. */
|
|
64
|
+
UpdatePassthroughJsonRequest$.outboundSchema = exports.UpdatePassthroughJsonRequest$outboundSchema;
|
|
65
|
+
})(UpdatePassthroughJsonRequest$ || (exports.UpdatePassthroughJsonRequest$ = UpdatePassthroughJsonRequest$ = {}));
|
|
66
|
+
/** @internal */
|
|
67
|
+
exports.UpdatePassthroughJsonResponseResult$inboundSchema = z.union([z.any(), z.string(), b64$.zodInbound]);
|
|
68
|
+
/** @internal */
|
|
69
|
+
exports.UpdatePassthroughJsonResponseResult$outboundSchema = z.union([z.any(), z.string(), b64$.zodOutbound]);
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
73
|
+
*/
|
|
74
|
+
var UpdatePassthroughJsonResponseResult$;
|
|
75
|
+
(function (UpdatePassthroughJsonResponseResult$) {
|
|
76
|
+
/** @deprecated use `UpdatePassthroughJsonResponseResult$inboundSchema` instead. */
|
|
77
|
+
UpdatePassthroughJsonResponseResult$.inboundSchema = exports.UpdatePassthroughJsonResponseResult$inboundSchema;
|
|
78
|
+
/** @deprecated use `UpdatePassthroughJsonResponseResult$outboundSchema` instead. */
|
|
79
|
+
UpdatePassthroughJsonResponseResult$.outboundSchema = exports.UpdatePassthroughJsonResponseResult$outboundSchema;
|
|
80
|
+
})(UpdatePassthroughJsonResponseResult$ || (exports.UpdatePassthroughJsonResponseResult$ = UpdatePassthroughJsonResponseResult$ = {}));
|
|
81
|
+
/** @internal */
|
|
82
|
+
exports.UpdatePassthroughJsonResponse$inboundSchema = z.object({
|
|
83
|
+
Headers: z.record(z.array(z.string())),
|
|
84
|
+
Result: z.union([z.any(), z.string(), b64$.zodInbound]).optional(),
|
|
85
|
+
}).transform((v) => {
|
|
86
|
+
return (0, primitives_js_1.remap)(v, {
|
|
87
|
+
"Headers": "headers",
|
|
88
|
+
"Result": "result",
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
/** @internal */
|
|
92
|
+
exports.UpdatePassthroughJsonResponse$outboundSchema = z.object({
|
|
93
|
+
headers: z.record(z.array(z.string())),
|
|
94
|
+
result: z.union([z.any(), z.string(), b64$.zodOutbound]).optional(),
|
|
95
|
+
}).transform((v) => {
|
|
96
|
+
return (0, primitives_js_1.remap)(v, {
|
|
97
|
+
headers: "Headers",
|
|
98
|
+
result: "Result",
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
104
|
+
*/
|
|
105
|
+
var UpdatePassthroughJsonResponse$;
|
|
106
|
+
(function (UpdatePassthroughJsonResponse$) {
|
|
107
|
+
/** @deprecated use `UpdatePassthroughJsonResponse$inboundSchema` instead. */
|
|
108
|
+
UpdatePassthroughJsonResponse$.inboundSchema = exports.UpdatePassthroughJsonResponse$inboundSchema;
|
|
109
|
+
/** @deprecated use `UpdatePassthroughJsonResponse$outboundSchema` instead. */
|
|
110
|
+
UpdatePassthroughJsonResponse$.outboundSchema = exports.UpdatePassthroughJsonResponse$outboundSchema;
|
|
111
|
+
})(UpdatePassthroughJsonResponse$ || (exports.UpdatePassthroughJsonResponse$ = UpdatePassthroughJsonResponse$ = {}));
|
|
112
|
+
//# sourceMappingURL=updatepassthroughjson.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updatepassthroughjson.js","sourceRoot":"","sources":["../../../src/sdk/models/operations/updatepassthroughjson.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,6DAA+C;AAC/C,8DAA6D;AAyB7D,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC/B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,aAAa,EAAE,aAAa;QAC5B,eAAe,EAAE,cAAc;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC/B,YAAY,EAAE,CAA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GAAG,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,EAAE;CACnE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACtC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,EAAE;CACpE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,QAAQ;KACjB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,8BAA8B,CAO9C;AAPD,WAAiB,8BAA8B;IAC7C,6EAA6E;IAChE,4CAAa,GAAG,mDAA2C,CAAC;IACzE,8EAA8E;IACjE,6CAAc,GAAG,oDAA4C,CAAC;AAG7E,CAAC,EAPgB,8BAA8B,8CAA9B,8BAA8B,QAO9C"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
export type UpdatePassthroughRawRequest = {
|
|
3
|
+
/**
|
|
4
|
+
* integration-specific payload
|
|
5
|
+
*/
|
|
6
|
+
requestBody?: ReadableStream<Uint8Array> | Blob | ArrayBuffer | Buffer | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* ID of the connection
|
|
9
|
+
*/
|
|
10
|
+
connectionId: string;
|
|
11
|
+
path: string;
|
|
12
|
+
};
|
|
13
|
+
export type UpdatePassthroughRawResponseResult = any | string | Uint8Array | string;
|
|
14
|
+
export type UpdatePassthroughRawResponse = {
|
|
15
|
+
headers: {
|
|
16
|
+
[k: string]: Array<string>;
|
|
17
|
+
};
|
|
18
|
+
result?: any | string | Uint8Array | string | undefined;
|
|
19
|
+
};
|
|
20
|
+
/** @internal */
|
|
21
|
+
export declare const UpdatePassthroughRawRequest$inboundSchema: z.ZodType<UpdatePassthroughRawRequest, z.ZodTypeDef, unknown>;
|
|
22
|
+
/** @internal */
|
|
23
|
+
export type UpdatePassthroughRawRequest$Outbound = {
|
|
24
|
+
RequestBody?: ReadableStream<Uint8Array> | Blob | ArrayBuffer | Buffer | undefined;
|
|
25
|
+
connection_id: string;
|
|
26
|
+
path: string;
|
|
27
|
+
};
|
|
28
|
+
/** @internal */
|
|
29
|
+
export declare const UpdatePassthroughRawRequest$outboundSchema: z.ZodType<UpdatePassthroughRawRequest$Outbound, z.ZodTypeDef, UpdatePassthroughRawRequest>;
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
33
|
+
*/
|
|
34
|
+
export declare namespace UpdatePassthroughRawRequest$ {
|
|
35
|
+
/** @deprecated use `UpdatePassthroughRawRequest$inboundSchema` instead. */
|
|
36
|
+
const inboundSchema: z.ZodType<UpdatePassthroughRawRequest, z.ZodTypeDef, unknown>;
|
|
37
|
+
/** @deprecated use `UpdatePassthroughRawRequest$outboundSchema` instead. */
|
|
38
|
+
const outboundSchema: z.ZodType<UpdatePassthroughRawRequest$Outbound, z.ZodTypeDef, UpdatePassthroughRawRequest>;
|
|
39
|
+
/** @deprecated use `UpdatePassthroughRawRequest$Outbound` instead. */
|
|
40
|
+
type Outbound = UpdatePassthroughRawRequest$Outbound;
|
|
41
|
+
}
|
|
42
|
+
/** @internal */
|
|
43
|
+
export declare const UpdatePassthroughRawResponseResult$inboundSchema: z.ZodType<UpdatePassthroughRawResponseResult, z.ZodTypeDef, unknown>;
|
|
44
|
+
/** @internal */
|
|
45
|
+
export type UpdatePassthroughRawResponseResult$Outbound = any | string | Uint8Array;
|
|
46
|
+
/** @internal */
|
|
47
|
+
export declare const UpdatePassthroughRawResponseResult$outboundSchema: z.ZodType<UpdatePassthroughRawResponseResult$Outbound, z.ZodTypeDef, UpdatePassthroughRawResponseResult>;
|
|
48
|
+
/**
|
|
49
|
+
* @internal
|
|
50
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
51
|
+
*/
|
|
52
|
+
export declare namespace UpdatePassthroughRawResponseResult$ {
|
|
53
|
+
/** @deprecated use `UpdatePassthroughRawResponseResult$inboundSchema` instead. */
|
|
54
|
+
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
55
|
+
/** @deprecated use `UpdatePassthroughRawResponseResult$outboundSchema` instead. */
|
|
56
|
+
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
57
|
+
/** @deprecated use `UpdatePassthroughRawResponseResult$Outbound` instead. */
|
|
58
|
+
type Outbound = UpdatePassthroughRawResponseResult$Outbound;
|
|
59
|
+
}
|
|
60
|
+
/** @internal */
|
|
61
|
+
export declare const UpdatePassthroughRawResponse$inboundSchema: z.ZodType<UpdatePassthroughRawResponse, z.ZodTypeDef, unknown>;
|
|
62
|
+
/** @internal */
|
|
63
|
+
export type UpdatePassthroughRawResponse$Outbound = {
|
|
64
|
+
Headers: {
|
|
65
|
+
[k: string]: Array<string>;
|
|
66
|
+
};
|
|
67
|
+
Result?: any | string | Uint8Array | undefined;
|
|
68
|
+
};
|
|
69
|
+
/** @internal */
|
|
70
|
+
export declare const UpdatePassthroughRawResponse$outboundSchema: z.ZodType<UpdatePassthroughRawResponse$Outbound, z.ZodTypeDef, UpdatePassthroughRawResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
74
|
+
*/
|
|
75
|
+
export declare namespace UpdatePassthroughRawResponse$ {
|
|
76
|
+
/** @deprecated use `UpdatePassthroughRawResponse$inboundSchema` instead. */
|
|
77
|
+
const inboundSchema: z.ZodType<UpdatePassthroughRawResponse, z.ZodTypeDef, unknown>;
|
|
78
|
+
/** @deprecated use `UpdatePassthroughRawResponse$outboundSchema` instead. */
|
|
79
|
+
const outboundSchema: z.ZodType<UpdatePassthroughRawResponse$Outbound, z.ZodTypeDef, UpdatePassthroughRawResponse>;
|
|
80
|
+
/** @deprecated use `UpdatePassthroughRawResponse$Outbound` instead. */
|
|
81
|
+
type Outbound = UpdatePassthroughRawResponse$Outbound;
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=updatepassthroughraw.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updatepassthroughraw.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/operations/updatepassthroughraw.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,WAAW,CAAC,EACR,cAAc,CAAC,UAAU,CAAC,GAC1B,IAAI,GACJ,WAAW,GACX,MAAM,GACN,SAAS,CAAC;IACd;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAC1C,GAAG,GACH,MAAM,GACN,UAAU,GACV,MAAM,CAAC;AAEX,MAAM,MAAM,4BAA4B,GAAG;IACzC,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,CAAC,EAAE,GAAG,GAAG,MAAM,GAAG,UAAU,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GAAG,2CAA2C,CAAC;CACpE;AAED,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,CAAC,EAAE,GAAG,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;CAChD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,4BAA4B,CAS5B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,6BAA6B,CAAC;IAC7C,4EAA4E;IACrE,MAAM,aAAa,gEAA6C,CAAC;IACxE,6EAA6E;IACtE,MAAM,cAAc,8FAA8C,CAAC;IAC1E,uEAAuE;IACvE,KAAY,QAAQ,GAAG,qCAAqC,CAAC;CAC9D"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.UpdatePassthroughRawResponse$ = exports.UpdatePassthroughRawResponse$outboundSchema = exports.UpdatePassthroughRawResponse$inboundSchema = exports.UpdatePassthroughRawResponseResult$ = exports.UpdatePassthroughRawResponseResult$outboundSchema = exports.UpdatePassthroughRawResponseResult$inboundSchema = exports.UpdatePassthroughRawRequest$ = exports.UpdatePassthroughRawRequest$outboundSchema = exports.UpdatePassthroughRawRequest$inboundSchema = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
const b64$ = __importStar(require("../../../lib/base64.js"));
|
|
32
|
+
const primitives_js_1 = require("../../../lib/primitives.js");
|
|
33
|
+
/** @internal */
|
|
34
|
+
exports.UpdatePassthroughRawRequest$inboundSchema = z.object({
|
|
35
|
+
RequestBody: z.union([
|
|
36
|
+
z.instanceof((ReadableStream)),
|
|
37
|
+
z.instanceof(Blob),
|
|
38
|
+
z.instanceof(ArrayBuffer),
|
|
39
|
+
z.instanceof(Buffer),
|
|
40
|
+
]).optional(),
|
|
41
|
+
connection_id: z.string(),
|
|
42
|
+
path: z.string(),
|
|
43
|
+
}).transform((v) => {
|
|
44
|
+
return (0, primitives_js_1.remap)(v, {
|
|
45
|
+
"RequestBody": "requestBody",
|
|
46
|
+
"connection_id": "connectionId",
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.UpdatePassthroughRawRequest$outboundSchema = z.object({
|
|
51
|
+
requestBody: z.union([
|
|
52
|
+
z.instanceof((ReadableStream)),
|
|
53
|
+
z.instanceof(Blob),
|
|
54
|
+
z.instanceof(ArrayBuffer),
|
|
55
|
+
z.instanceof(Buffer),
|
|
56
|
+
]).optional(),
|
|
57
|
+
connectionId: z.string(),
|
|
58
|
+
path: z.string(),
|
|
59
|
+
}).transform((v) => {
|
|
60
|
+
return (0, primitives_js_1.remap)(v, {
|
|
61
|
+
requestBody: "RequestBody",
|
|
62
|
+
connectionId: "connection_id",
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
68
|
+
*/
|
|
69
|
+
var UpdatePassthroughRawRequest$;
|
|
70
|
+
(function (UpdatePassthroughRawRequest$) {
|
|
71
|
+
/** @deprecated use `UpdatePassthroughRawRequest$inboundSchema` instead. */
|
|
72
|
+
UpdatePassthroughRawRequest$.inboundSchema = exports.UpdatePassthroughRawRequest$inboundSchema;
|
|
73
|
+
/** @deprecated use `UpdatePassthroughRawRequest$outboundSchema` instead. */
|
|
74
|
+
UpdatePassthroughRawRequest$.outboundSchema = exports.UpdatePassthroughRawRequest$outboundSchema;
|
|
75
|
+
})(UpdatePassthroughRawRequest$ || (exports.UpdatePassthroughRawRequest$ = UpdatePassthroughRawRequest$ = {}));
|
|
76
|
+
/** @internal */
|
|
77
|
+
exports.UpdatePassthroughRawResponseResult$inboundSchema = z.union([z.any(), z.string(), b64$.zodInbound]);
|
|
78
|
+
/** @internal */
|
|
79
|
+
exports.UpdatePassthroughRawResponseResult$outboundSchema = z.union([z.any(), z.string(), b64$.zodOutbound]);
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
83
|
+
*/
|
|
84
|
+
var UpdatePassthroughRawResponseResult$;
|
|
85
|
+
(function (UpdatePassthroughRawResponseResult$) {
|
|
86
|
+
/** @deprecated use `UpdatePassthroughRawResponseResult$inboundSchema` instead. */
|
|
87
|
+
UpdatePassthroughRawResponseResult$.inboundSchema = exports.UpdatePassthroughRawResponseResult$inboundSchema;
|
|
88
|
+
/** @deprecated use `UpdatePassthroughRawResponseResult$outboundSchema` instead. */
|
|
89
|
+
UpdatePassthroughRawResponseResult$.outboundSchema = exports.UpdatePassthroughRawResponseResult$outboundSchema;
|
|
90
|
+
})(UpdatePassthroughRawResponseResult$ || (exports.UpdatePassthroughRawResponseResult$ = UpdatePassthroughRawResponseResult$ = {}));
|
|
91
|
+
/** @internal */
|
|
92
|
+
exports.UpdatePassthroughRawResponse$inboundSchema = z.object({
|
|
93
|
+
Headers: z.record(z.array(z.string())),
|
|
94
|
+
Result: z.union([z.any(), z.string(), b64$.zodInbound]).optional(),
|
|
95
|
+
}).transform((v) => {
|
|
96
|
+
return (0, primitives_js_1.remap)(v, {
|
|
97
|
+
"Headers": "headers",
|
|
98
|
+
"Result": "result",
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
/** @internal */
|
|
102
|
+
exports.UpdatePassthroughRawResponse$outboundSchema = z.object({
|
|
103
|
+
headers: z.record(z.array(z.string())),
|
|
104
|
+
result: z.union([z.any(), z.string(), b64$.zodOutbound]).optional(),
|
|
105
|
+
}).transform((v) => {
|
|
106
|
+
return (0, primitives_js_1.remap)(v, {
|
|
107
|
+
headers: "Headers",
|
|
108
|
+
result: "Result",
|
|
109
|
+
});
|
|
110
|
+
});
|
|
111
|
+
/**
|
|
112
|
+
* @internal
|
|
113
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
114
|
+
*/
|
|
115
|
+
var UpdatePassthroughRawResponse$;
|
|
116
|
+
(function (UpdatePassthroughRawResponse$) {
|
|
117
|
+
/** @deprecated use `UpdatePassthroughRawResponse$inboundSchema` instead. */
|
|
118
|
+
UpdatePassthroughRawResponse$.inboundSchema = exports.UpdatePassthroughRawResponse$inboundSchema;
|
|
119
|
+
/** @deprecated use `UpdatePassthroughRawResponse$outboundSchema` instead. */
|
|
120
|
+
UpdatePassthroughRawResponse$.outboundSchema = exports.UpdatePassthroughRawResponse$outboundSchema;
|
|
121
|
+
})(UpdatePassthroughRawResponse$ || (exports.UpdatePassthroughRawResponse$ = UpdatePassthroughRawResponse$ = {}));
|
|
122
|
+
//# sourceMappingURL=updatepassthroughraw.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updatepassthroughraw.js","sourceRoot":"","sources":["../../../src/sdk/models/operations/updatepassthroughraw.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,6DAA+C;AAC/C,8DAA6D;AA8B7D,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC;QACnB,CAAC,CAAC,UAAU,CAAC,CAAA,cAA0B,CAAA,CAAC;QACxC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC;QAClB,CAAC,CAAC,UAAU,CAAC,WAAW,CAAC;QACzB,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC;KACrB,CAAC,CAAC,QAAQ,EAAE;IACb,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,aAAa,EAAE,aAAa;QAC5B,eAAe,EAAE,cAAc;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAcH,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC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