@airweave/sdk 0.0.89 → 0.0.90
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/api/resources/connections/client/Client.d.ts +1 -43
- package/api/resources/connections/client/Client.js +11 -163
- package/api/resources/connections/client/requests/index.d.ts +0 -1
- package/api/resources/destinations/client/Client.js +2 -2
- package/api/resources/embeddingModels/client/Client.js +2 -2
- package/api/resources/entities/client/Client.js +8 -8
- package/api/resources/search/client/Client.js +1 -1
- package/api/resources/sources/client/Client.js +2 -2
- package/api/resources/sync/client/Client.js +11 -11
- package/api/resources/transformers/client/Client.js +3 -3
- package/api/resources/users/client/Client.js +1 -1
- package/api/resources/whiteLabels/client/Client.js +8 -8
- package/api/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.d.ts +7 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/api/resources/connections/client/Client.d.ts +1 -43
- package/dist/api/resources/connections/client/Client.js +11 -163
- package/dist/api/resources/connections/client/requests/index.d.ts +0 -1
- package/dist/api/resources/destinations/client/Client.js +2 -2
- package/dist/api/resources/embeddingModels/client/Client.js +2 -2
- package/dist/api/resources/entities/client/Client.js +8 -8
- package/dist/api/resources/search/client/Client.js +1 -1
- package/dist/api/resources/sources/client/Client.js +2 -2
- package/dist/api/resources/sync/client/Client.js +11 -11
- package/dist/api/resources/transformers/client/Client.js +3 -3
- package/dist/api/resources/users/client/Client.js +1 -1
- package/dist/api/resources/whiteLabels/client/Client.js +8 -8
- package/dist/api/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.d.ts +7 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/resources/connections/client/index.d.ts +0 -1
- package/dist/serialization/resources/connections/client/index.js +1 -2
- package/dist/serialization/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.d.ts +13 -0
- package/dist/serialization/{resources/connections/client/getOauth2AuthUrl.js → types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.js} +6 -3
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1 -145
- package/serialization/resources/connections/client/index.d.ts +0 -1
- package/serialization/resources/connections/client/index.js +1 -2
- package/serialization/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.d.ts +13 -0
- package/serialization/{resources/connections/client/getOauth2AuthUrl.js → types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.js} +6 -3
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/connections/client/requests/GetOauth2AuthUrlConnectionsOauth2SourceAuthUrlGetRequest.d.ts +0 -12
- package/dist/api/resources/connections/client/requests/GetOauth2AuthUrlConnectionsOauth2SourceAuthUrlGetRequest.d.ts +0 -12
- package/dist/serialization/resources/connections/client/getOauth2AuthUrl.d.ts +0 -9
- package/serialization/resources/connections/client/getOauth2AuthUrl.d.ts +0 -9
- /package/api/{resources/connections/client/requests/GetOauth2AuthUrlConnectionsOauth2SourceAuthUrlGetRequest.js → types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.js} +0 -0
- /package/dist/api/{resources/connections/client/requests/GetOauth2AuthUrlConnectionsOauth2SourceAuthUrlGetRequest.js → types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.js} +0 -0
|
@@ -88,7 +88,7 @@ class Sources {
|
|
|
88
88
|
method: "GET",
|
|
89
89
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
90
90
|
? yield core.Supplier.get(this._options.apiKey)
|
|
91
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
91
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
92
92
|
contentType: "application/json",
|
|
93
93
|
requestType: "json",
|
|
94
94
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -161,7 +161,7 @@ class Sources {
|
|
|
161
161
|
method: "GET",
|
|
162
162
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
163
163
|
? yield core.Supplier.get(this._options.apiKey)
|
|
164
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
164
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
165
165
|
contentType: "application/json",
|
|
166
166
|
requestType: "json",
|
|
167
167
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -101,7 +101,7 @@ class Sync {
|
|
|
101
101
|
method: "GET",
|
|
102
102
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
103
103
|
? yield core.Supplier.get(this._options.apiKey)
|
|
104
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
104
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
105
105
|
contentType: "application/json",
|
|
106
106
|
queryParameters: _queryParams,
|
|
107
107
|
requestType: "json",
|
|
@@ -182,7 +182,7 @@ class Sync {
|
|
|
182
182
|
method: "POST",
|
|
183
183
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
184
184
|
? yield core.Supplier.get(this._options.apiKey)
|
|
185
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
185
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
186
186
|
contentType: "application/json",
|
|
187
187
|
requestType: "json",
|
|
188
188
|
body: serializers.SyncCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -267,7 +267,7 @@ class Sync {
|
|
|
267
267
|
method: "GET",
|
|
268
268
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
269
269
|
? yield core.Supplier.get(this._options.apiKey)
|
|
270
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
270
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
271
271
|
contentType: "application/json",
|
|
272
272
|
queryParameters: _queryParams,
|
|
273
273
|
requestType: "json",
|
|
@@ -343,7 +343,7 @@ class Sync {
|
|
|
343
343
|
method: "GET",
|
|
344
344
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
345
345
|
? yield core.Supplier.get(this._options.apiKey)
|
|
346
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
346
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
347
347
|
contentType: "application/json",
|
|
348
348
|
requestType: "json",
|
|
349
349
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -425,7 +425,7 @@ class Sync {
|
|
|
425
425
|
method: "DELETE",
|
|
426
426
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
427
427
|
? yield core.Supplier.get(this._options.apiKey)
|
|
428
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
428
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
429
429
|
contentType: "application/json",
|
|
430
430
|
queryParameters: _queryParams,
|
|
431
431
|
requestType: "json",
|
|
@@ -503,7 +503,7 @@ class Sync {
|
|
|
503
503
|
method: "PATCH",
|
|
504
504
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
505
505
|
? yield core.Supplier.get(this._options.apiKey)
|
|
506
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
506
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
507
507
|
contentType: "application/json",
|
|
508
508
|
requestType: "json",
|
|
509
509
|
body: serializers.SyncUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -580,7 +580,7 @@ class Sync {
|
|
|
580
580
|
method: "POST",
|
|
581
581
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
582
582
|
? yield core.Supplier.get(this._options.apiKey)
|
|
583
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
583
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
584
584
|
contentType: "application/json",
|
|
585
585
|
requestType: "json",
|
|
586
586
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -655,7 +655,7 @@ class Sync {
|
|
|
655
655
|
method: "GET",
|
|
656
656
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
657
657
|
? yield core.Supplier.get(this._options.apiKey)
|
|
658
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
658
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
659
659
|
contentType: "application/json",
|
|
660
660
|
requestType: "json",
|
|
661
661
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -732,7 +732,7 @@ class Sync {
|
|
|
732
732
|
method: "GET",
|
|
733
733
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
734
734
|
? yield core.Supplier.get(this._options.apiKey)
|
|
735
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
735
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
736
736
|
contentType: "application/json",
|
|
737
737
|
requestType: "json",
|
|
738
738
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -806,7 +806,7 @@ class Sync {
|
|
|
806
806
|
method: "GET",
|
|
807
807
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
808
808
|
? yield core.Supplier.get(this._options.apiKey)
|
|
809
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
809
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
810
810
|
contentType: "application/json",
|
|
811
811
|
requestType: "json",
|
|
812
812
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -866,7 +866,7 @@ class Sync {
|
|
|
866
866
|
method: "GET",
|
|
867
867
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
868
868
|
? yield core.Supplier.get(this._options.apiKey)
|
|
869
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
869
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
870
870
|
contentType: "application/json",
|
|
871
871
|
requestType: "json",
|
|
872
872
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -77,7 +77,7 @@ class Transformers {
|
|
|
77
77
|
method: "GET",
|
|
78
78
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
79
79
|
? yield core.Supplier.get(this._options.apiKey)
|
|
80
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
80
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
requestType: "json",
|
|
83
83
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -148,7 +148,7 @@ class Transformers {
|
|
|
148
148
|
method: "POST",
|
|
149
149
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
150
150
|
? yield core.Supplier.get(this._options.apiKey)
|
|
151
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
151
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
152
152
|
contentType: "application/json",
|
|
153
153
|
requestType: "json",
|
|
154
154
|
body: serializers.TransformerCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -221,7 +221,7 @@ class Transformers {
|
|
|
221
221
|
method: "PUT",
|
|
222
222
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
223
223
|
? yield core.Supplier.get(this._options.apiKey)
|
|
224
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
224
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
225
225
|
contentType: "application/json",
|
|
226
226
|
requestType: "json",
|
|
227
227
|
body: serializers.TransformerUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -85,7 +85,7 @@ class Users {
|
|
|
85
85
|
method: "GET",
|
|
86
86
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
87
87
|
? yield core.Supplier.get(this._options.apiKey)
|
|
88
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
88
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
89
89
|
contentType: "application/json",
|
|
90
90
|
requestType: "json",
|
|
91
91
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -86,7 +86,7 @@ class WhiteLabels {
|
|
|
86
86
|
method: "GET",
|
|
87
87
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
88
88
|
? yield core.Supplier.get(this._options.apiKey)
|
|
89
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
89
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
90
90
|
contentType: "application/json",
|
|
91
91
|
requestType: "json",
|
|
92
92
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -167,7 +167,7 @@ class WhiteLabels {
|
|
|
167
167
|
method: "POST",
|
|
168
168
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
169
169
|
? yield core.Supplier.get(this._options.apiKey)
|
|
170
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
170
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
171
171
|
contentType: "application/json",
|
|
172
172
|
requestType: "json",
|
|
173
173
|
body: serializers.WhiteLabelCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -243,7 +243,7 @@ class WhiteLabels {
|
|
|
243
243
|
method: "GET",
|
|
244
244
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
245
245
|
? yield core.Supplier.get(this._options.apiKey)
|
|
246
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
246
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
247
247
|
contentType: "application/json",
|
|
248
248
|
requestType: "json",
|
|
249
249
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -320,7 +320,7 @@ class WhiteLabels {
|
|
|
320
320
|
method: "PUT",
|
|
321
321
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
322
322
|
? yield core.Supplier.get(this._options.apiKey)
|
|
323
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
323
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
324
324
|
contentType: "application/json",
|
|
325
325
|
requestType: "json",
|
|
326
326
|
body: serializers.WhiteLabelUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -396,7 +396,7 @@ class WhiteLabels {
|
|
|
396
396
|
method: "DELETE",
|
|
397
397
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
398
398
|
? yield core.Supplier.get(this._options.apiKey)
|
|
399
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
399
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
400
400
|
contentType: "application/json",
|
|
401
401
|
requestType: "json",
|
|
402
402
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -471,7 +471,7 @@ class WhiteLabels {
|
|
|
471
471
|
method: "GET",
|
|
472
472
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
473
473
|
? yield core.Supplier.get(this._options.apiKey)
|
|
474
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
474
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
475
475
|
contentType: "application/json",
|
|
476
476
|
requestType: "json",
|
|
477
477
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -548,7 +548,7 @@ class WhiteLabels {
|
|
|
548
548
|
method: "POST",
|
|
549
549
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
550
550
|
? yield core.Supplier.get(this._options.apiKey)
|
|
551
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
551
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
552
552
|
contentType: "application/json",
|
|
553
553
|
requestType: "json",
|
|
554
554
|
body: serializers.whiteLabels.exchangeWhiteLabelOauth2Code.Request.jsonOrThrow(request, {
|
|
@@ -626,7 +626,7 @@ class WhiteLabels {
|
|
|
626
626
|
method: "GET",
|
|
627
627
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
628
628
|
? yield core.Supplier.get(this._options.apiKey)
|
|
629
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.
|
|
629
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.0.90", "User-Agent": "@airweave/sdk/0.0.90", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
630
630
|
contentType: "application/json",
|
|
631
631
|
requestType: "json",
|
|
632
632
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -2,6 +2,7 @@ export * from "./ApiKey";
|
|
|
2
2
|
export * from "./ApiKeyCreate";
|
|
3
3
|
export * from "./ApiKeyWithPlainKey";
|
|
4
4
|
export * from "./AuthType";
|
|
5
|
+
export * from "./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost";
|
|
5
6
|
export * from "./Chat";
|
|
6
7
|
export * from "./ChatCreate";
|
|
7
8
|
export * from "./ChatMessage";
|
package/dist/api/types/index.js
CHANGED
|
@@ -18,6 +18,7 @@ __exportStar(require("./ApiKey"), exports);
|
|
|
18
18
|
__exportStar(require("./ApiKeyCreate"), exports);
|
|
19
19
|
__exportStar(require("./ApiKeyWithPlainKey"), exports);
|
|
20
20
|
__exportStar(require("./AuthType"), exports);
|
|
21
|
+
__exportStar(require("./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost"), exports);
|
|
21
22
|
__exportStar(require("./Chat"), exports);
|
|
22
23
|
__exportStar(require("./ChatCreate"), exports);
|
|
23
24
|
__exportStar(require("./ChatMessage"), exports);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * as listAllConnectedIntegrations from "./listAllConnectedIntegrations";
|
|
2
2
|
export * as listConnectedIntegrations from "./listConnectedIntegrations";
|
|
3
3
|
export * as getConnectionCredentials from "./getConnectionCredentials";
|
|
4
|
-
export * as getOauth2AuthUrl from "./getOauth2AuthUrl";
|
|
5
4
|
export * as sendOauth2WhiteLabelCode from "./sendOauth2WhiteLabelCode";
|
|
6
5
|
export * as getOauth2WhiteLabelAuthUrl from "./getOauth2WhiteLabelAuthUrl";
|
|
7
6
|
export * from "./requests";
|
|
@@ -36,11 +36,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.getOauth2WhiteLabelAuthUrl = exports.sendOauth2WhiteLabelCode = exports.
|
|
39
|
+
exports.getOauth2WhiteLabelAuthUrl = exports.sendOauth2WhiteLabelCode = exports.getConnectionCredentials = exports.listConnectedIntegrations = exports.listAllConnectedIntegrations = void 0;
|
|
40
40
|
exports.listAllConnectedIntegrations = __importStar(require("./listAllConnectedIntegrations"));
|
|
41
41
|
exports.listConnectedIntegrations = __importStar(require("./listConnectedIntegrations"));
|
|
42
42
|
exports.getConnectionCredentials = __importStar(require("./getConnectionCredentials"));
|
|
43
|
-
exports.getOauth2AuthUrl = __importStar(require("./getOauth2AuthUrl"));
|
|
44
43
|
exports.sendOauth2WhiteLabelCode = __importStar(require("./sendOauth2WhiteLabelCode"));
|
|
45
44
|
exports.getOauth2WhiteLabelAuthUrl = __importStar(require("./getOauth2WhiteLabelAuthUrl"));
|
|
46
45
|
__exportStar(require("./requests"), exports);
|
package/dist/serialization/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as AirweaveSDK from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost: core.serialization.ObjectSchema<serializers.BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.Raw, AirweaveSDK.BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost>;
|
|
8
|
+
export declare namespace BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost {
|
|
9
|
+
interface Raw {
|
|
10
|
+
token: string;
|
|
11
|
+
name?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -36,6 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
exports.
|
|
39
|
+
exports.BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost = core.serialization.object({
|
|
42
|
+
token: core.serialization.string(),
|
|
43
|
+
name: core.serialization.string().optional(),
|
|
44
|
+
});
|
|
@@ -2,6 +2,7 @@ export * from "./ApiKey";
|
|
|
2
2
|
export * from "./ApiKeyCreate";
|
|
3
3
|
export * from "./ApiKeyWithPlainKey";
|
|
4
4
|
export * from "./AuthType";
|
|
5
|
+
export * from "./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost";
|
|
5
6
|
export * from "./Chat";
|
|
6
7
|
export * from "./ChatCreate";
|
|
7
8
|
export * from "./ChatMessage";
|
|
@@ -18,6 +18,7 @@ __exportStar(require("./ApiKey"), exports);
|
|
|
18
18
|
__exportStar(require("./ApiKeyCreate"), exports);
|
|
19
19
|
__exportStar(require("./ApiKeyWithPlainKey"), exports);
|
|
20
20
|
__exportStar(require("./AuthType"), exports);
|
|
21
|
+
__exportStar(require("./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost"), exports);
|
|
21
22
|
__exportStar(require("./Chat"), exports);
|
|
22
23
|
__exportStar(require("./ChatCreate"), exports);
|
|
23
24
|
__exportStar(require("./ChatMessage"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.90";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -969,7 +969,7 @@ Disconnect from a source connection.
|
|
|
969
969
|
|
|
970
970
|
## Returns:
|
|
971
971
|
|
|
972
|
-
|
|
972
|
+
connection (schemas.Connection): The disconnected connection
|
|
973
973
|
|
|
974
974
|
</dd>
|
|
975
975
|
</dl>
|
|
@@ -1020,150 +1020,6 @@ await client.connections.disconnectSourceConnection("connection_id");
|
|
|
1020
1020
|
</dl>
|
|
1021
1021
|
</details>
|
|
1022
1022
|
|
|
1023
|
-
<details><summary><code>client.connections.<a href="/src/api/resources/connections/client/Client.ts">disconnectDestinationConnection</a>(connectionId) -> AirweaveSDK.Connection</code></summary>
|
|
1024
|
-
<dl>
|
|
1025
|
-
<dd>
|
|
1026
|
-
|
|
1027
|
-
#### 📝 Description
|
|
1028
|
-
|
|
1029
|
-
<dl>
|
|
1030
|
-
<dd>
|
|
1031
|
-
|
|
1032
|
-
<dl>
|
|
1033
|
-
<dd>
|
|
1034
|
-
|
|
1035
|
-
Disconnect from a destination connection.
|
|
1036
|
-
|
|
1037
|
-
## Args:
|
|
1038
|
-
|
|
1039
|
-
db (AsyncSession): The database session
|
|
1040
|
-
connection_id (UUID): The ID of the connection to disconnect
|
|
1041
|
-
user (schemas.User): The current user
|
|
1042
|
-
|
|
1043
|
-
## Returns:
|
|
1044
|
-
|
|
1045
|
-
connection_schema (schemas.Connection): The disconnected connection
|
|
1046
|
-
|
|
1047
|
-
</dd>
|
|
1048
|
-
</dl>
|
|
1049
|
-
</dd>
|
|
1050
|
-
</dl>
|
|
1051
|
-
|
|
1052
|
-
#### 🔌 Usage
|
|
1053
|
-
|
|
1054
|
-
<dl>
|
|
1055
|
-
<dd>
|
|
1056
|
-
|
|
1057
|
-
<dl>
|
|
1058
|
-
<dd>
|
|
1059
|
-
|
|
1060
|
-
```typescript
|
|
1061
|
-
await client.connections.disconnectDestinationConnection("connection_id");
|
|
1062
|
-
```
|
|
1063
|
-
|
|
1064
|
-
</dd>
|
|
1065
|
-
</dl>
|
|
1066
|
-
</dd>
|
|
1067
|
-
</dl>
|
|
1068
|
-
|
|
1069
|
-
#### ⚙️ Parameters
|
|
1070
|
-
|
|
1071
|
-
<dl>
|
|
1072
|
-
<dd>
|
|
1073
|
-
|
|
1074
|
-
<dl>
|
|
1075
|
-
<dd>
|
|
1076
|
-
|
|
1077
|
-
**connectionId:** `string`
|
|
1078
|
-
|
|
1079
|
-
</dd>
|
|
1080
|
-
</dl>
|
|
1081
|
-
|
|
1082
|
-
<dl>
|
|
1083
|
-
<dd>
|
|
1084
|
-
|
|
1085
|
-
**requestOptions:** `Connections.RequestOptions`
|
|
1086
|
-
|
|
1087
|
-
</dd>
|
|
1088
|
-
</dl>
|
|
1089
|
-
</dd>
|
|
1090
|
-
</dl>
|
|
1091
|
-
|
|
1092
|
-
</dd>
|
|
1093
|
-
</dl>
|
|
1094
|
-
</details>
|
|
1095
|
-
|
|
1096
|
-
<details><summary><code>client.connections.<a href="/src/api/resources/connections/client/Client.ts">getOauth2AuthUrl</a>({ ...params }) -> string</code></summary>
|
|
1097
|
-
<dl>
|
|
1098
|
-
<dd>
|
|
1099
|
-
|
|
1100
|
-
#### 📝 Description
|
|
1101
|
-
|
|
1102
|
-
<dl>
|
|
1103
|
-
<dd>
|
|
1104
|
-
|
|
1105
|
-
<dl>
|
|
1106
|
-
<dd>
|
|
1107
|
-
|
|
1108
|
-
Get the OAuth2 authorization URL for a source.
|
|
1109
|
-
|
|
1110
|
-
## Args:
|
|
1111
|
-
|
|
1112
|
-
db: The database session
|
|
1113
|
-
short_name: The short name of the source
|
|
1114
|
-
user: The current user
|
|
1115
|
-
|
|
1116
|
-
</dd>
|
|
1117
|
-
</dl>
|
|
1118
|
-
</dd>
|
|
1119
|
-
</dl>
|
|
1120
|
-
|
|
1121
|
-
#### 🔌 Usage
|
|
1122
|
-
|
|
1123
|
-
<dl>
|
|
1124
|
-
<dd>
|
|
1125
|
-
|
|
1126
|
-
<dl>
|
|
1127
|
-
<dd>
|
|
1128
|
-
|
|
1129
|
-
```typescript
|
|
1130
|
-
await client.connections.getOauth2AuthUrl({
|
|
1131
|
-
shortName: "short_name",
|
|
1132
|
-
});
|
|
1133
|
-
```
|
|
1134
|
-
|
|
1135
|
-
</dd>
|
|
1136
|
-
</dl>
|
|
1137
|
-
</dd>
|
|
1138
|
-
</dl>
|
|
1139
|
-
|
|
1140
|
-
#### ⚙️ Parameters
|
|
1141
|
-
|
|
1142
|
-
<dl>
|
|
1143
|
-
<dd>
|
|
1144
|
-
|
|
1145
|
-
<dl>
|
|
1146
|
-
<dd>
|
|
1147
|
-
|
|
1148
|
-
**request:** `AirweaveSDK.GetOauth2AuthUrlConnectionsOauth2SourceAuthUrlGetRequest`
|
|
1149
|
-
|
|
1150
|
-
</dd>
|
|
1151
|
-
</dl>
|
|
1152
|
-
|
|
1153
|
-
<dl>
|
|
1154
|
-
<dd>
|
|
1155
|
-
|
|
1156
|
-
**requestOptions:** `Connections.RequestOptions`
|
|
1157
|
-
|
|
1158
|
-
</dd>
|
|
1159
|
-
</dl>
|
|
1160
|
-
</dd>
|
|
1161
|
-
</dl>
|
|
1162
|
-
|
|
1163
|
-
</dd>
|
|
1164
|
-
</dl>
|
|
1165
|
-
</details>
|
|
1166
|
-
|
|
1167
1023
|
<details><summary><code>client.connections.<a href="/src/api/resources/connections/client/Client.ts">sendOauth2Code</a>({ ...params }) -> AirweaveSDK.Connection</code></summary>
|
|
1168
1024
|
<dl>
|
|
1169
1025
|
<dd>
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * as listAllConnectedIntegrations from "./listAllConnectedIntegrations";
|
|
2
2
|
export * as listConnectedIntegrations from "./listConnectedIntegrations";
|
|
3
3
|
export * as getConnectionCredentials from "./getConnectionCredentials";
|
|
4
|
-
export * as getOauth2AuthUrl from "./getOauth2AuthUrl";
|
|
5
4
|
export * as sendOauth2WhiteLabelCode from "./sendOauth2WhiteLabelCode";
|
|
6
5
|
export * as getOauth2WhiteLabelAuthUrl from "./getOauth2WhiteLabelAuthUrl";
|
|
7
6
|
export * from "./requests";
|
|
@@ -36,11 +36,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.getOauth2WhiteLabelAuthUrl = exports.sendOauth2WhiteLabelCode = exports.
|
|
39
|
+
exports.getOauth2WhiteLabelAuthUrl = exports.sendOauth2WhiteLabelCode = exports.getConnectionCredentials = exports.listConnectedIntegrations = exports.listAllConnectedIntegrations = void 0;
|
|
40
40
|
exports.listAllConnectedIntegrations = __importStar(require("./listAllConnectedIntegrations"));
|
|
41
41
|
exports.listConnectedIntegrations = __importStar(require("./listConnectedIntegrations"));
|
|
42
42
|
exports.getConnectionCredentials = __importStar(require("./getConnectionCredentials"));
|
|
43
|
-
exports.getOauth2AuthUrl = __importStar(require("./getOauth2AuthUrl"));
|
|
44
43
|
exports.sendOauth2WhiteLabelCode = __importStar(require("./sendOauth2WhiteLabelCode"));
|
|
45
44
|
exports.getOauth2WhiteLabelAuthUrl = __importStar(require("./getOauth2WhiteLabelAuthUrl"));
|
|
46
45
|
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as AirweaveSDK from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost: core.serialization.ObjectSchema<serializers.BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.Raw, AirweaveSDK.BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost>;
|
|
8
|
+
export declare namespace BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost {
|
|
9
|
+
interface Raw {
|
|
10
|
+
token: string;
|
|
11
|
+
name?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -36,6 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
exports.
|
|
39
|
+
exports.BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost = core.serialization.object({
|
|
42
|
+
token: core.serialization.string(),
|
|
43
|
+
name: core.serialization.string().optional(),
|
|
44
|
+
});
|
|
@@ -2,6 +2,7 @@ export * from "./ApiKey";
|
|
|
2
2
|
export * from "./ApiKeyCreate";
|
|
3
3
|
export * from "./ApiKeyWithPlainKey";
|
|
4
4
|
export * from "./AuthType";
|
|
5
|
+
export * from "./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost";
|
|
5
6
|
export * from "./Chat";
|
|
6
7
|
export * from "./ChatCreate";
|
|
7
8
|
export * from "./ChatMessage";
|
|
@@ -18,6 +18,7 @@ __exportStar(require("./ApiKey"), exports);
|
|
|
18
18
|
__exportStar(require("./ApiKeyCreate"), exports);
|
|
19
19
|
__exportStar(require("./ApiKeyWithPlainKey"), exports);
|
|
20
20
|
__exportStar(require("./AuthType"), exports);
|
|
21
|
+
__exportStar(require("./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost"), exports);
|
|
21
22
|
__exportStar(require("./Chat"), exports);
|
|
22
23
|
__exportStar(require("./ChatCreate"), exports);
|
|
23
24
|
__exportStar(require("./ChatMessage"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.90";
|
package/version.js
CHANGED