@tappify/extension-sdk 2.1.0-beta.1 → 2.1.0-beta.2
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/dist/{client-CnlSHDWE.d.ts → client-BO3kavn0.d.ts} +1 -1
- package/dist/{client-CV1qzQgx.d.cts → client-DE-vMgdO.d.cts} +1 -1
- package/dist/codegen.d.cts +3 -0
- package/dist/codegen.d.ts +3 -0
- package/dist/{constants-BAimnqOK.d.cts → constants-Bh759FUI.d.cts} +4 -1
- package/dist/{constants-BAimnqOK.d.ts → constants-Bh759FUI.d.ts} +4 -1
- package/dist/{context-DJ3REtdT.d.cts → context-DI0EJCRD.d.cts} +1 -1
- package/dist/{context-Cr93B05o.d.ts → context-mr8R5CNt.d.ts} +1 -1
- package/dist/host.d.cts +4 -4
- package/dist/host.d.ts +4 -4
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/manifest.cjs +4 -1
- package/dist/manifest.cjs.map +1 -1
- package/dist/manifest.d.cts +6 -2
- package/dist/manifest.d.ts +6 -2
- package/dist/manifest.mjs +4 -1
- package/dist/manifest.mjs.map +1 -1
- package/dist/server.d.cts +5 -5
- package/dist/server.d.ts +5 -5
- package/dist/testing/index.d.cts +3 -3
- package/dist/testing/index.d.ts +3 -3
- package/dist/{types-I1JOZyI_.d.cts → types-BdDaLnqs.d.cts} +1 -1
- package/dist/{types-BYGcp5pZ.d.ts → types-uGHrRaOj.d.ts} +1 -1
- package/dist/ui.d.cts +1 -1
- package/dist/ui.d.ts +1 -1
- package/dist/vite-preview-bootstrap.d.cts +2 -2
- package/dist/vite-preview-bootstrap.d.ts +2 -2
- package/dist/vite-preview.cjs +1 -1
- package/dist/vite-preview.cjs.map +1 -1
- package/dist/vite-preview.d.cts +3 -3
- package/dist/vite-preview.d.ts +3 -3
- package/dist/vite-preview.mjs +1 -1
- package/dist/vite-preview.mjs.map +1 -1
- package/dist/vite.cjs +4 -1
- package/dist/vite.cjs.map +1 -1
- package/dist/vite.d.cts +3 -0
- package/dist/vite.d.ts +3 -0
- package/dist/vite.mjs +4 -1
- package/dist/vite.mjs.map +1 -1
- package/dist/{work-events-DB3WR468.d.ts → work-events-BlOVpK0k.d.ts} +2 -2
- package/dist/{work-events-Dxe7Djdy.d.cts → work-events-D97EoqvS.d.cts} +2 -2
- package/package.json +1 -1
- package/schema/extension-v2.json +8 -0
package/dist/vite.d.cts
CHANGED
|
@@ -263,6 +263,7 @@ interface CredentialField {
|
|
|
263
263
|
options?: string[];
|
|
264
264
|
help?: string;
|
|
265
265
|
}
|
|
266
|
+
type OAuthTokenRequestEncoding = 'form' | 'json';
|
|
266
267
|
interface ConnectorAuth {
|
|
267
268
|
method: 'none' | 'api_key' | 'oauth';
|
|
268
269
|
fields?: CredentialField[];
|
|
@@ -270,6 +271,8 @@ interface ConnectorAuth {
|
|
|
270
271
|
authorizationUrl: string;
|
|
271
272
|
tokenUrl: string;
|
|
272
273
|
scopes: string[];
|
|
274
|
+
/** The token request body encoding. When omitted, uses form encoding. */
|
|
275
|
+
tokenRequestEncoding?: OAuthTokenRequestEncoding;
|
|
273
276
|
};
|
|
274
277
|
}
|
|
275
278
|
interface DimensionDeclaration {
|
package/dist/vite.d.ts
CHANGED
|
@@ -263,6 +263,7 @@ interface CredentialField {
|
|
|
263
263
|
options?: string[];
|
|
264
264
|
help?: string;
|
|
265
265
|
}
|
|
266
|
+
type OAuthTokenRequestEncoding = 'form' | 'json';
|
|
266
267
|
interface ConnectorAuth {
|
|
267
268
|
method: 'none' | 'api_key' | 'oauth';
|
|
268
269
|
fields?: CredentialField[];
|
|
@@ -270,6 +271,8 @@ interface ConnectorAuth {
|
|
|
270
271
|
authorizationUrl: string;
|
|
271
272
|
tokenUrl: string;
|
|
272
273
|
scopes: string[];
|
|
274
|
+
/** The token request body encoding. When omitted, uses form encoding. */
|
|
275
|
+
tokenRequestEncoding?: OAuthTokenRequestEncoding;
|
|
273
276
|
};
|
|
274
277
|
}
|
|
275
278
|
interface DimensionDeclaration {
|
package/dist/vite.mjs
CHANGED
|
@@ -527,7 +527,10 @@ var connectorContribution = z.object({
|
|
|
527
527
|
),
|
|
528
528
|
scopes: z.array(z.string()).describe(
|
|
529
529
|
"The scopes asked of the outside service. These are that service's scopes, not Tappify's."
|
|
530
|
-
)
|
|
530
|
+
),
|
|
531
|
+
tokenRequestEncoding: z.enum(["form", "json"]).describe(
|
|
532
|
+
"The request body encoding for authorization-code and refresh token exchanges. When omitted, uses form encoding (application/x-www-form-urlencoded); json uses application/json."
|
|
533
|
+
).optional()
|
|
531
534
|
}).strict().describe('The endpoints, for `method: "oauth"`.').optional()
|
|
532
535
|
}).strict().describe("How owners authenticate this connector.").optional(),
|
|
533
536
|
sync: z.enum(["5m", "15m", "1h", "6h", "24h"]).describe("How often Tappify asks your server to sync.").optional(),
|