@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.
Files changed (155) hide show
  1. package/README.md +41 -3
  2. package/funcs/apicallListUnifiedApicalls.js +1 -1
  3. package/funcs/apicallListUnifiedApicalls.js.map +1 -1
  4. package/funcs/connectionListUnifiedConnections.js +1 -1
  5. package/funcs/connectionListUnifiedConnections.js.map +1 -1
  6. package/funcs/integrationListUnifiedIntegrations.js +1 -1
  7. package/funcs/integrationListUnifiedIntegrations.js.map +1 -1
  8. package/funcs/issueListUnifiedIssues.js +1 -1
  9. package/funcs/issueListUnifiedIssues.js.map +1 -1
  10. package/funcs/passthroughCreatePassthroughJson.d.ts +19 -0
  11. package/funcs/passthroughCreatePassthroughJson.d.ts.map +1 -0
  12. package/funcs/{passthroughCreatePassthrough.js → passthroughCreatePassthroughJson.js} +18 -8
  13. package/funcs/passthroughCreatePassthroughJson.js.map +1 -0
  14. package/funcs/passthroughCreatePassthroughRaw.d.ts +19 -0
  15. package/funcs/passthroughCreatePassthroughRaw.d.ts.map +1 -0
  16. package/funcs/passthroughCreatePassthroughRaw.js +109 -0
  17. package/funcs/passthroughCreatePassthroughRaw.js.map +1 -0
  18. package/funcs/passthroughListPassthroughs.d.ts +8 -3
  19. package/funcs/passthroughListPassthroughs.d.ts.map +1 -1
  20. package/funcs/passthroughListPassthroughs.js +13 -3
  21. package/funcs/passthroughListPassthroughs.js.map +1 -1
  22. package/funcs/passthroughPatchPassthroughJson.d.ts +19 -0
  23. package/funcs/passthroughPatchPassthroughJson.d.ts.map +1 -0
  24. package/funcs/{passthroughPatchPassthrough.js → passthroughPatchPassthroughJson.js} +18 -8
  25. package/funcs/passthroughPatchPassthroughJson.js.map +1 -0
  26. package/funcs/passthroughPatchPassthroughRaw.d.ts +19 -0
  27. package/funcs/passthroughPatchPassthroughRaw.d.ts.map +1 -0
  28. package/funcs/passthroughPatchPassthroughRaw.js +109 -0
  29. package/funcs/passthroughPatchPassthroughRaw.js.map +1 -0
  30. package/funcs/passthroughRemovePassthrough.d.ts +8 -3
  31. package/funcs/passthroughRemovePassthrough.d.ts.map +1 -1
  32. package/funcs/passthroughRemovePassthrough.js +13 -3
  33. package/funcs/passthroughRemovePassthrough.js.map +1 -1
  34. package/funcs/passthroughUpdatePassthroughJson.d.ts +19 -0
  35. package/funcs/passthroughUpdatePassthroughJson.d.ts.map +1 -0
  36. package/funcs/{passthroughUpdatePassthrough.js → passthroughUpdatePassthroughJson.js} +18 -8
  37. package/funcs/passthroughUpdatePassthroughJson.js.map +1 -0
  38. package/funcs/passthroughUpdatePassthroughRaw.d.ts +19 -0
  39. package/funcs/passthroughUpdatePassthroughRaw.d.ts.map +1 -0
  40. package/funcs/passthroughUpdatePassthroughRaw.js +109 -0
  41. package/funcs/passthroughUpdatePassthroughRaw.js.map +1 -0
  42. package/funcs/unifiedCreateUnifiedWebhook.js +1 -1
  43. package/funcs/unifiedCreateUnifiedWebhook.js.map +1 -1
  44. package/funcs/unifiedListUnifiedApicalls.js +1 -1
  45. package/funcs/unifiedListUnifiedApicalls.js.map +1 -1
  46. package/funcs/unifiedListUnifiedConnections.js +1 -1
  47. package/funcs/unifiedListUnifiedConnections.js.map +1 -1
  48. package/funcs/unifiedListUnifiedIntegrations.js +1 -1
  49. package/funcs/unifiedListUnifiedIntegrations.js.map +1 -1
  50. package/funcs/unifiedListUnifiedIssues.js +1 -1
  51. package/funcs/unifiedListUnifiedIssues.js.map +1 -1
  52. package/funcs/unifiedListUnifiedWebhooks.js +1 -1
  53. package/funcs/unifiedListUnifiedWebhooks.js.map +1 -1
  54. package/funcs/webhookCreateUnifiedWebhook.js +1 -1
  55. package/funcs/webhookCreateUnifiedWebhook.js.map +1 -1
  56. package/funcs/webhookListUnifiedWebhooks.js +1 -1
  57. package/funcs/webhookListUnifiedWebhooks.js.map +1 -1
  58. package/lib/config.d.ts +3 -3
  59. package/lib/config.js +3 -3
  60. package/package.json +2 -2
  61. package/sdk/models/operations/createpassthroughjson.d.ts +83 -0
  62. package/sdk/models/operations/createpassthroughjson.d.ts.map +1 -0
  63. package/sdk/models/operations/createpassthroughjson.js +112 -0
  64. package/sdk/models/operations/createpassthroughjson.js.map +1 -0
  65. package/sdk/models/operations/createpassthroughraw.d.ts +83 -0
  66. package/sdk/models/operations/createpassthroughraw.d.ts.map +1 -0
  67. package/sdk/models/operations/createpassthroughraw.js +122 -0
  68. package/sdk/models/operations/createpassthroughraw.js.map +1 -0
  69. package/sdk/models/operations/index.d.ts +6 -3
  70. package/sdk/models/operations/index.d.ts.map +1 -1
  71. package/sdk/models/operations/index.js +6 -3
  72. package/sdk/models/operations/index.js.map +1 -1
  73. package/sdk/models/operations/listpassthroughs.d.ts +48 -0
  74. package/sdk/models/operations/listpassthroughs.d.ts.map +1 -1
  75. package/sdk/models/operations/listpassthroughs.js +48 -1
  76. package/sdk/models/operations/listpassthroughs.js.map +1 -1
  77. package/sdk/models/operations/patchpassthroughjson.d.ts +83 -0
  78. package/sdk/models/operations/patchpassthroughjson.d.ts.map +1 -0
  79. package/sdk/models/operations/patchpassthroughjson.js +112 -0
  80. package/sdk/models/operations/patchpassthroughjson.js.map +1 -0
  81. package/sdk/models/operations/patchpassthroughraw.d.ts +83 -0
  82. package/sdk/models/operations/patchpassthroughraw.d.ts.map +1 -0
  83. package/sdk/models/operations/patchpassthroughraw.js +122 -0
  84. package/sdk/models/operations/patchpassthroughraw.js.map +1 -0
  85. package/sdk/models/operations/removepassthrough.d.ts +48 -0
  86. package/sdk/models/operations/removepassthrough.d.ts.map +1 -1
  87. package/sdk/models/operations/removepassthrough.js +48 -1
  88. package/sdk/models/operations/removepassthrough.js.map +1 -1
  89. package/sdk/models/operations/updatepassthroughjson.d.ts +83 -0
  90. package/sdk/models/operations/updatepassthroughjson.d.ts.map +1 -0
  91. package/sdk/models/operations/updatepassthroughjson.js +112 -0
  92. package/sdk/models/operations/updatepassthroughjson.js.map +1 -0
  93. package/sdk/models/operations/updatepassthroughraw.d.ts +83 -0
  94. package/sdk/models/operations/updatepassthroughraw.d.ts.map +1 -0
  95. package/sdk/models/operations/updatepassthroughraw.js +122 -0
  96. package/sdk/models/operations/updatepassthroughraw.js.map +1 -0
  97. package/sdk/passthrough.d.ts +49 -15
  98. package/sdk/passthrough.d.ts.map +1 -1
  99. package/sdk/passthrough.js +47 -10
  100. package/sdk/passthrough.js.map +1 -1
  101. package/src/funcs/apicallListUnifiedApicalls.ts +1 -1
  102. package/src/funcs/connectionListUnifiedConnections.ts +1 -1
  103. package/src/funcs/integrationListUnifiedIntegrations.ts +1 -1
  104. package/src/funcs/issueListUnifiedIssues.ts +1 -1
  105. package/src/funcs/{passthroughCreatePassthrough.ts → passthroughCreatePassthroughJson.ts} +42 -11
  106. package/src/funcs/passthroughCreatePassthroughRaw.ts +158 -0
  107. package/src/funcs/passthroughListPassthroughs.ts +38 -7
  108. package/src/funcs/{passthroughPatchPassthrough.ts → passthroughPatchPassthroughJson.ts} +43 -11
  109. package/src/funcs/passthroughPatchPassthroughRaw.ts +158 -0
  110. package/src/funcs/passthroughRemovePassthrough.ts +38 -7
  111. package/src/funcs/{passthroughUpdatePassthrough.ts → passthroughUpdatePassthroughJson.ts} +42 -11
  112. package/src/funcs/passthroughUpdatePassthroughRaw.ts +158 -0
  113. package/src/funcs/unifiedCreateUnifiedWebhook.ts +1 -1
  114. package/src/funcs/unifiedListUnifiedApicalls.ts +1 -1
  115. package/src/funcs/unifiedListUnifiedConnections.ts +1 -1
  116. package/src/funcs/unifiedListUnifiedIntegrations.ts +1 -1
  117. package/src/funcs/unifiedListUnifiedIssues.ts +1 -1
  118. package/src/funcs/unifiedListUnifiedWebhooks.ts +1 -1
  119. package/src/funcs/webhookCreateUnifiedWebhook.ts +1 -1
  120. package/src/funcs/webhookListUnifiedWebhooks.ts +1 -1
  121. package/src/lib/config.ts +3 -3
  122. package/src/sdk/models/operations/createpassthroughjson.ts +166 -0
  123. package/src/sdk/models/operations/createpassthroughraw.ts +185 -0
  124. package/src/sdk/models/operations/index.ts +6 -3
  125. package/src/sdk/models/operations/listpassthroughs.ts +87 -0
  126. package/src/sdk/models/operations/patchpassthroughjson.ts +165 -0
  127. package/src/sdk/models/operations/patchpassthroughraw.ts +185 -0
  128. package/src/sdk/models/operations/removepassthrough.ts +94 -0
  129. package/src/sdk/models/operations/updatepassthroughjson.ts +166 -0
  130. package/src/sdk/models/operations/updatepassthroughraw.ts +185 -0
  131. package/src/sdk/passthrough.ts +125 -24
  132. package/funcs/passthroughCreatePassthrough.d.ts +0 -14
  133. package/funcs/passthroughCreatePassthrough.d.ts.map +0 -1
  134. package/funcs/passthroughCreatePassthrough.js.map +0 -1
  135. package/funcs/passthroughPatchPassthrough.d.ts +0 -14
  136. package/funcs/passthroughPatchPassthrough.d.ts.map +0 -1
  137. package/funcs/passthroughPatchPassthrough.js.map +0 -1
  138. package/funcs/passthroughUpdatePassthrough.d.ts +0 -14
  139. package/funcs/passthroughUpdatePassthrough.d.ts.map +0 -1
  140. package/funcs/passthroughUpdatePassthrough.js.map +0 -1
  141. package/sdk/models/operations/createpassthrough.d.ts +0 -39
  142. package/sdk/models/operations/createpassthrough.d.ts.map +0 -1
  143. package/sdk/models/operations/createpassthrough.js +0 -65
  144. package/sdk/models/operations/createpassthrough.js.map +0 -1
  145. package/sdk/models/operations/patchpassthrough.d.ts +0 -39
  146. package/sdk/models/operations/patchpassthrough.d.ts.map +0 -1
  147. package/sdk/models/operations/patchpassthrough.js +0 -65
  148. package/sdk/models/operations/patchpassthrough.js.map +0 -1
  149. package/sdk/models/operations/updatepassthrough.d.ts +0 -39
  150. package/sdk/models/operations/updatepassthrough.d.ts.map +0 -1
  151. package/sdk/models/operations/updatepassthrough.js +0 -65
  152. package/sdk/models/operations/updatepassthrough.js.map +0 -1
  153. package/src/sdk/models/operations/createpassthrough.ts +0 -70
  154. package/src/sdk/models/operations/patchpassthrough.ts +0 -70
  155. 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
- }