@powerhousedao/pieces-framework 6.2.3-dev.11

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.
@@ -0,0 +1,324 @@
1
+ import { i as IAction, s as ActionClassification } from "./action--RmO83_Y.js";
2
+ import { Ct as StaticDropdownProperty, E as Store, G as ObjectProperty, Mt as ApStreamingFile, P as InputPropertyMap, R as StaticPropsValue, V as Property, ct as PieceAuthProperty, gt as NumberProperty, ht as CheckboxProperty, jt as ApFile, l as FilesService, n as AppConnectionValueForAuthProperty, ot as ExtractPieceAuthPropertyTypeForMethods, q as DynamicProperties, rt as DropdownProperty, x as ServerContext, xt as OAuth2PropertyValue } from "./index-BW6GxXEN.js";
3
+ import * as z from "zod/mini";
4
+ import { Readable } from "node:stream";
5
+
6
+ //#region upstream/common/lib/authentication/index.d.ts
7
+ type Authentication = BearerTokenAuthentication | BasicAuthentication;
8
+ declare enum AuthenticationType {
9
+ BEARER_TOKEN = "BEARER_TOKEN",
10
+ BASIC = "BASIC"
11
+ }
12
+ type BaseAuthentication<T extends AuthenticationType> = {
13
+ type: T;
14
+ };
15
+ type BearerTokenAuthentication = BaseAuthentication<AuthenticationType.BEARER_TOKEN> & {
16
+ token: string;
17
+ };
18
+ type BasicAuthentication = BaseAuthentication<AuthenticationType.BASIC> & {
19
+ username: string;
20
+ password: string;
21
+ };
22
+ //#endregion
23
+ //#region upstream/common/lib/http/core/http-headers.d.ts
24
+ type HttpHeaders = Record<string, string | string[] | undefined>;
25
+ //#endregion
26
+ //#region upstream/common/lib/http/core/delegating-authentication-converter.d.ts
27
+ declare class DelegatingAuthenticationConverter implements AuthenticationConverter<Authentication> {
28
+ private readonly converters;
29
+ constructor(bearerTokenConverter?: BearerTokenAuthenticationConverter, basicTokenConverter?: BasicTokenAuthenticationConverter);
30
+ convert(authentication: Authentication, headers: HttpHeaders): HttpHeaders;
31
+ }
32
+ declare class BearerTokenAuthenticationConverter implements AuthenticationConverter<BearerTokenAuthentication> {
33
+ convert(authentication: BearerTokenAuthentication, headers: HttpHeaders): HttpHeaders;
34
+ }
35
+ declare class BasicTokenAuthenticationConverter implements AuthenticationConverter<BasicAuthentication> {
36
+ convert(authentication: BasicAuthentication, headers: HttpHeaders): HttpHeaders;
37
+ }
38
+ type AuthenticationConverter<T extends Authentication> = {
39
+ convert: (authentication: T, headers: HttpHeaders) => HttpHeaders;
40
+ };
41
+ //#endregion
42
+ //#region upstream/common/lib/http/core/http-message-body.d.ts
43
+ type HttpMessageBody = any;
44
+ //#endregion
45
+ //#region upstream/common/lib/http/core/http-method.d.ts
46
+ declare enum HttpMethod {
47
+ GET = "GET",
48
+ POST = "POST",
49
+ PATCH = "PATCH",
50
+ PUT = "PUT",
51
+ DELETE = "DELETE",
52
+ HEAD = "HEAD"
53
+ }
54
+ //#endregion
55
+ //#region upstream/common/lib/http/core/query-params.d.ts
56
+ type QueryParams = Record<string, string>;
57
+ //#endregion
58
+ //#region upstream/common/lib/http/core/http-request-body.d.ts
59
+ type HttpRequestBody = HttpMessageBody | string;
60
+ //#endregion
61
+ //#region upstream/common/lib/http/core/http-request.d.ts
62
+ type HttpRequest<RequestBody extends HttpRequestBody = any> = {
63
+ method: HttpMethod;
64
+ url: string;
65
+ body?: RequestBody | undefined;
66
+ headers?: HttpHeaders;
67
+ authentication?: Authentication | undefined;
68
+ queryParams?: QueryParams | undefined;
69
+ timeout?: number;
70
+ retries?: number;
71
+ responseType?: "arraybuffer" | "json" | "blob" | "text" | "stream";
72
+ followRedirects?: boolean;
73
+ };
74
+ //#endregion
75
+ //#region upstream/common/lib/http/core/http-response.d.ts
76
+ type HttpResponse<RequestBody extends HttpMessageBody = any> = {
77
+ status: number;
78
+ headers?: HttpHeaders | undefined;
79
+ body: RequestBody;
80
+ };
81
+ //#endregion
82
+ //#region upstream/common/lib/http/core/http-client.d.ts
83
+ type HttpClient = {
84
+ sendRequest<RequestBody extends HttpRequestBody, ResponseBody extends HttpMessageBody>(request: HttpRequest<RequestBody>, options?: SendRequestOptions): Promise<HttpResponse<ResponseBody>>;
85
+ };
86
+ declare const httpClient: FetchHttpClient;
87
+ //#endregion
88
+ //#region upstream/common/lib/http/core/base-http-client.d.ts
89
+ declare abstract class BaseHttpClient implements HttpClient {
90
+ private readonly baseUrl;
91
+ private readonly authenticationConverter;
92
+ constructor(baseUrl: string, authenticationConverter: DelegatingAuthenticationConverter);
93
+ abstract sendRequest<RequestBody extends HttpMessageBody, ResponseBody extends HttpMessageBody>(request: HttpRequest<RequestBody>): Promise<HttpResponse<ResponseBody>>;
94
+ protected getUrl<RequestBody extends HttpMessageBody>(request: HttpRequest<RequestBody>): {
95
+ urlWithoutQueryParams: string;
96
+ queryParams: URLSearchParams;
97
+ };
98
+ protected getHeaders<RequestBody extends HttpRequestBody>(request: HttpRequest<RequestBody>): HttpHeaders;
99
+ private populateAuthentication;
100
+ }
101
+ //#endregion
102
+ //#region upstream/common/lib/http/core/fetch-http-client.d.ts
103
+ declare class FetchHttpClient extends BaseHttpClient {
104
+ constructor(baseUrl?: string, authenticationConverter?: DelegatingAuthenticationConverter);
105
+ sendRequest<ResponseBody extends HttpMessageBody = any>(request: HttpRequest<HttpRequestBody>, options?: SendRequestOptions): Promise<HttpResponse<ResponseBody>>;
106
+ }
107
+ declare function acceptsRequestBody(method: HttpMethod): boolean;
108
+ type SendRequestOptions = {
109
+ dispatcher?: unknown;
110
+ };
111
+ //#endregion
112
+ //#region upstream/common/lib/http/core/http-error.d.ts
113
+ declare class HttpError extends Error {
114
+ private readonly requestBody;
115
+ private readonly status;
116
+ private readonly responseBody;
117
+ constructor(requestBody: unknown, params: HttpErrorParams);
118
+ errorMessage(): {
119
+ response: {
120
+ status: number;
121
+ body: unknown;
122
+ };
123
+ request: {
124
+ body: unknown;
125
+ };
126
+ };
127
+ get response(): {
128
+ status: number;
129
+ body: unknown;
130
+ };
131
+ get request(): {
132
+ body: unknown;
133
+ };
134
+ }
135
+ declare function toFailsafeOutput({
136
+ error,
137
+ requestBody
138
+ }: FailsafeOutputParams): {
139
+ response: {
140
+ status: number;
141
+ body: unknown;
142
+ };
143
+ request: {
144
+ body: unknown;
145
+ };
146
+ };
147
+ type HttpErrorParams = {
148
+ status: number;
149
+ responseBody: unknown;
150
+ };
151
+ type FailsafeOutputParams = {
152
+ error: unknown;
153
+ requestBody: unknown;
154
+ };
155
+ //#endregion
156
+ //#region upstream/common/lib/http/core/http-header.d.ts
157
+ declare enum HttpHeader {
158
+ AUTHORIZATION = "Authorization",
159
+ ACCEPT = "Accept",
160
+ API_KEY = "x-api-key",
161
+ CONTENT_TYPE = "Content-Type"
162
+ }
163
+ //#endregion
164
+ //#region upstream/common/lib/http/core/media-type.d.ts
165
+ declare enum MediaType {
166
+ APPLICATION_JSON = "application/json",
167
+ TEXT_CSV = "text/csv"
168
+ }
169
+ //#endregion
170
+ //#region upstream/common/lib/helpers/index.d.ts
171
+ declare const getAccessTokenOrThrow: (auth: OAuth2PropertyValue | undefined) => string;
172
+ type BaseUrlGetter<PieceAuth extends PieceAuthProperty | PieceAuthProperty[] | undefined> = (auth?: AppConnectionValueForAuthProperty<ExtractPieceAuthPropertyTypeForMethods<PieceAuth>>) => string;
173
+ declare function createCustomApiCallAction<PieceAuth extends PieceAuthProperty | PieceAuthProperty[] | undefined>({
174
+ auth,
175
+ baseUrl,
176
+ authMapping,
177
+ description,
178
+ displayName,
179
+ name,
180
+ props,
181
+ extraProps,
182
+ authLocation,
183
+ classification
184
+ }: {
185
+ auth?: PieceAuth;
186
+ baseUrl: BaseUrlGetter<PieceAuth>;
187
+ authMapping?: (auth: AppConnectionValueForAuthProperty<ExtractPieceAuthPropertyTypeForMethods<PieceAuth>>, propsValue: StaticPropsValue<any>) => Promise<HttpHeaders | QueryParams>;
188
+ description?: string | null;
189
+ displayName?: string | null;
190
+ name?: string | null;
191
+ props?: {
192
+ url?: Partial<ReturnType<typeof Property.ShortText>>;
193
+ method?: Partial<StaticDropdownProperty<HttpMethod, boolean>>;
194
+ headers?: Partial<ReturnType<typeof Property.Object>>;
195
+ queryParams?: Partial<ReturnType<typeof Property.Object>>;
196
+ body?: Partial<ReturnType<typeof Property.Json>>;
197
+ response_is_binary?: Partial<ReturnType<typeof Property.Checkbox>>;
198
+ failsafe?: Partial<ReturnType<typeof Property.Checkbox>>;
199
+ timeout?: Partial<ReturnType<typeof Property.Number>>;
200
+ followRedirects?: Partial<ReturnType<typeof Property.Checkbox>>;
201
+ };
202
+ extraProps?: InputPropertyMap;
203
+ authLocation?: "headers" | "queryParams";
204
+ classification?: ActionClassification;
205
+ }): IAction<PieceAuth, {
206
+ url: DynamicProperties<true, PieceAuth | undefined>;
207
+ method: StaticDropdownProperty<HttpMethod, false> | StaticDropdownProperty<HttpMethod, true>;
208
+ headers: ObjectProperty<true> | ObjectProperty<false>;
209
+ queryParams: ObjectProperty<true> | ObjectProperty<false>;
210
+ body_type: DropdownProperty<string, false, PieceAuth | undefined>;
211
+ body: DynamicProperties<false, PieceAuth | undefined>;
212
+ response_is_binary: CheckboxProperty<true> | CheckboxProperty<false>;
213
+ failsafe: CheckboxProperty<true> | CheckboxProperty<false>;
214
+ timeout: NumberProperty<true> | NumberProperty<false>;
215
+ followRedirects: CheckboxProperty<true> | CheckboxProperty<false>;
216
+ }>;
217
+ declare function is_chromium_installed(): boolean;
218
+ //#endregion
219
+ //#region upstream/common/lib/polling/index.d.ts
220
+ interface TimebasedPolling<AuthValue, PropsValue> {
221
+ strategy: DedupeStrategy.TIMEBASED;
222
+ items: (params: {
223
+ auth: AuthValue;
224
+ store: Store;
225
+ propsValue: PropsValue;
226
+ lastFetchEpochMS: number;
227
+ server?: ServerContext;
228
+ }) => Promise<{
229
+ epochMilliSeconds: number;
230
+ data: unknown;
231
+ }[]>;
232
+ }
233
+ interface LastItemPolling<AuthValue extends AppConnectionValueForAuthProperty<any>, PropsValue> {
234
+ strategy: DedupeStrategy.LAST_ITEM;
235
+ items: (params: {
236
+ auth: AuthValue;
237
+ store: Store;
238
+ files?: FilesService;
239
+ propsValue: PropsValue;
240
+ lastItemId: unknown;
241
+ server?: ServerContext;
242
+ }) => Promise<{
243
+ id: unknown;
244
+ data: unknown;
245
+ }[]>;
246
+ }
247
+ declare enum DedupeStrategy {
248
+ TIMEBASED = 0,
249
+ LAST_ITEM = 1
250
+ }
251
+ type Polling<AuthValue extends AppConnectionValueForAuthProperty<any>, PropsValue> = TimebasedPolling<AuthValue, PropsValue> | LastItemPolling<AuthValue, PropsValue>;
252
+ declare const pollingHelper: {
253
+ poll<AuthValue extends AppConnectionValueForAuthProperty<any>, PropsValue>(polling: Polling<AuthValue, PropsValue>, {
254
+ store,
255
+ auth,
256
+ propsValue,
257
+ maxItemsToPoll,
258
+ files,
259
+ server
260
+ }: {
261
+ store: Store;
262
+ auth: AuthValue;
263
+ propsValue: PropsValue;
264
+ files: FilesService;
265
+ maxItemsToPoll?: number;
266
+ server?: ServerContext;
267
+ }): Promise<unknown[]>;
268
+ onEnable<AuthValue extends AppConnectionValueForAuthProperty<any>, PropsValue>(polling: Polling<AuthValue, PropsValue>, {
269
+ store,
270
+ auth,
271
+ propsValue,
272
+ server,
273
+ isRepublish
274
+ }: {
275
+ store: Store;
276
+ auth: AuthValue;
277
+ propsValue: PropsValue;
278
+ server?: ServerContext;
279
+ isRepublish?: boolean;
280
+ }): Promise<void>;
281
+ onDisable<AuthValue extends AppConnectionValueForAuthProperty<any>, PropsValue>(polling: Polling<AuthValue, PropsValue>, params: {
282
+ store: Store;
283
+ auth: AuthValue;
284
+ propsValue: PropsValue;
285
+ }): Promise<void>;
286
+ test<AuthValue extends AppConnectionValueForAuthProperty<any>, PropsValue>(polling: Polling<AuthValue, PropsValue>, {
287
+ auth,
288
+ propsValue,
289
+ store,
290
+ files,
291
+ server
292
+ }: {
293
+ store: Store;
294
+ auth: AuthValue;
295
+ propsValue: PropsValue;
296
+ files: FilesService;
297
+ server?: ServerContext;
298
+ }): Promise<unknown[]>;
299
+ };
300
+ //#endregion
301
+ //#region upstream/common/lib/stream/index.d.ts
302
+ declare function toStreamingBody(file: ApStreamingFile | ApFile): {
303
+ body: Readable;
304
+ size: number | undefined;
305
+ };
306
+ declare function readChunks({
307
+ readable,
308
+ chunkSize
309
+ }: {
310
+ readable: Readable;
311
+ chunkSize: number;
312
+ }): AsyncGenerator<Buffer>;
313
+ declare const streamUtils: {
314
+ readChunks: typeof readChunks;
315
+ toStreamingBody: typeof toStreamingBody;
316
+ };
317
+ //#endregion
318
+ //#region upstream/common/lib/validation/index.d.ts
319
+ declare const propsValidation: {
320
+ validateZod<T extends Record<string, unknown>>(props: T, schema: Partial<Record<keyof T, z.core.$ZodType>>): Promise<void>;
321
+ };
322
+ //#endregion
323
+ export { Authentication, AuthenticationType, FetchHttpClient as AxiosHttpClient, FetchHttpClient, BaseAuthentication, BaseHttpClient, BasicAuthentication, BearerTokenAuthentication, DedupeStrategy, DelegatingAuthenticationConverter, FailsafeOutputParams, HttpClient, HttpError, HttpErrorParams, HttpHeader, HttpHeaders, HttpMessageBody, HttpMethod, HttpRequest, HttpResponse, MediaType, Polling, QueryParams, SendRequestOptions, acceptsRequestBody, createCustomApiCallAction, getAccessTokenOrThrow, httpClient, is_chromium_installed, pollingHelper, propsValidation, streamUtils, toFailsafeOutput };
324
+ //# sourceMappingURL=common.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.d.ts","names":[],"sources":["../upstream/common/lib/authentication/index.ts","../upstream/common/lib/http/core/http-headers.ts","../upstream/common/lib/http/core/delegating-authentication-converter.ts","../upstream/common/lib/http/core/http-message-body.ts","../upstream/common/lib/http/core/http-method.ts","../upstream/common/lib/http/core/query-params.ts","../upstream/common/lib/http/core/http-request-body.ts","../upstream/common/lib/http/core/http-request.ts","../upstream/common/lib/http/core/http-response.ts","../upstream/common/lib/http/core/http-client.ts","../upstream/common/lib/http/core/base-http-client.ts","../upstream/common/lib/http/core/fetch-http-client.ts","../upstream/common/lib/http/core/http-error.ts","../upstream/common/lib/http/core/http-header.ts","../upstream/common/lib/http/core/media-type.ts","../upstream/common/lib/helpers/index.ts","../upstream/common/lib/polling/index.ts","../upstream/common/lib/stream/index.ts","../upstream/common/lib/validation/index.ts"],"mappings":";;;;;;KAEY,cAAA,GAAiB,yBAAA,GAA4B,mBAAA;AAAA,aAE7C,kBAAA;EACV,YAAA;EACA,KAAA;AAAA;AAAA,KAGU,kBAAA,WAA6B,kBAAA;EACvC,IAAA,EAAM,CAAA;AAAA;AAAA,KAGI,yBAAA,GACV,kBAAA,CAAmB,kBAAA,CAAmB,YAAA;EACpC,KAAA;AAAA;AAAA,KAGQ,mBAAA,GACV,kBAAA,CAAmB,kBAAA,CAAmB,KAAA;EACpC,QAAA;EACA,QAAA;AAAA;;;KCnBQ,WAAA,GAAc,MAAA;;;cCSb,iCAAA,YAA6C,uBAAA,CAAwB,cAAA;EAAA,iBAC/D,UAAA;cAMf,oBAAA,GAAoB,kCAAA,EACpB,mBAAA,GAAmB,iCAAA;EAQrB,OAAA,CAAQ,cAAA,EAAgB,cAAA,EAAgB,OAAA,EAAS,WAAA,GAAc,WAAA;AAAA;AAAA,cAM3D,kCAAA,YAA8C,uBAAA,CAAwB,yBAAA;EAC1E,OAAA,CACE,cAAA,EAAgB,yBAAA,EAChB,OAAA,EAAS,WAAA,GACR,WAAA;AAAA;AAAA,cAMC,iCAAA,YAA6C,uBAAA,CAAwB,mBAAA;EACzE,OAAA,CACE,cAAA,EAAgB,mBAAA,EAChB,OAAA,EAAS,WAAA,GACR,WAAA;AAAA;AAAA,KAQA,uBAAA,WAAkC,cAAA;EACrC,OAAA,GAAU,cAAA,EAAgB,CAAA,EAAG,OAAA,EAAS,WAAA,KAAgB,WAAA;AAAA;;;KCtD5C,eAAA;;;aCAA,UAAA;EACV,GAAA;EACA,IAAA;EACA,KAAA;EACA,GAAA;EACA,MAAA;EACA,IAAA;AAAA;;;KCNU,WAAA,GAAc,MAAA;;;KCEd,eAAA,GAAkB,eAAA;;;KCIlB,WAAA,qBAAgC,eAAA;EAC1C,MAAA,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