@squadbase/vite-server 0.1.5-dev.0 → 0.1.5-dev.1
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/cli/index.js +411 -236
- package/dist/connectors/airtable-oauth.js +0 -8
- package/dist/connectors/gmail-oauth.js +0 -8
- package/dist/connectors/gmail.js +0 -8
- package/dist/connectors/google-ads.js +0 -8
- package/dist/connectors/google-analytics-oauth.js +0 -8
- package/dist/connectors/google-calendar-oauth.js +0 -8
- package/dist/connectors/google-calendar.js +0 -10
- package/dist/connectors/hubspot-oauth.js +0 -6
- package/dist/connectors/influxdb.d.ts +5 -0
- package/dist/connectors/influxdb.js +767 -0
- package/dist/connectors/intercom-oauth.js +0 -6
- package/dist/connectors/linear.d.ts +5 -0
- package/dist/connectors/linear.js +688 -0
- package/dist/connectors/linkedin-ads.js +0 -8
- package/dist/connectors/meta-ads-oauth.d.ts +5 -0
- package/dist/connectors/meta-ads-oauth.js +795 -0
- package/dist/connectors/meta-ads.d.ts +5 -0
- package/dist/connectors/meta-ads.js +780 -0
- package/dist/connectors/notion-oauth.js +0 -6
- package/dist/connectors/shopify-oauth.js +0 -6
- package/dist/connectors/stripe-api-key.js +0 -4
- package/dist/connectors/stripe-oauth.js +0 -6
- package/dist/connectors/tiktok-ads.d.ts +5 -0
- package/dist/connectors/tiktok-ads.js +840 -0
- package/dist/connectors/zendesk-oauth.js +0 -6
- package/dist/index.js +411 -236
- package/dist/main.js +411 -236
- package/dist/vite-plugin.js +411 -236
- package/package.json +21 -1
|
@@ -283,9 +283,6 @@ var notionOauthOnboarding = new ConnectorOnboarding({
|
|
|
283
283
|
- \`method\`: \`"GET"\`
|
|
284
284
|
- \`path\`: \`"/users/me"\`
|
|
285
285
|
2. \u30A8\u30E9\u30FC\u304C\u8FD4\u3055\u308C\u305F\u5834\u5408\u3001\u30E6\u30FC\u30B6\u30FC\u306BOAuth\u63A5\u7D9A\u306E\u8A2D\u5B9A\u3092\u78BA\u8A8D\u3059\u308B\u3088\u3046\u4F1D\u3048\u308B
|
|
286
|
-
3. \`updateConnectionContext\` \u3092\u547C\u3073\u51FA\u3059:
|
|
287
|
-
- \`account\`: Notion\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u540D\u307E\u305F\u306F\u30DC\u30C3\u30C8\u540D
|
|
288
|
-
- \`note\`: \u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u5185\u5BB9\u306E\u7C21\u5358\u306A\u8AAC\u660E
|
|
289
286
|
|
|
290
287
|
#### \u5236\u7D04
|
|
291
288
|
- **\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u4E2D\u306B\u30D3\u30B8\u30CD\u30B9\u30C7\u30FC\u30BF\u3092\u8AAD\u307F\u53D6\u3089\u306A\u3044\u3053\u3068**\u3002\u5B9F\u884C\u3057\u3066\u3088\u3044\u306E\u306F\u4E0A\u8A18\u624B\u9806\u3067\u6307\u5B9A\u3055\u308C\u305F\u30E1\u30BF\u30C7\u30FC\u30BF\u53D6\u5F97\u30EA\u30AF\u30A8\u30B9\u30C8\u306E\u307F
|
|
@@ -296,9 +293,6 @@ var notionOauthOnboarding = new ConnectorOnboarding({
|
|
|
296
293
|
- \`method\`: \`"GET"\`
|
|
297
294
|
- \`path\`: \`"/users/me"\`
|
|
298
295
|
2. If an error is returned, ask the user to check the OAuth connection settings
|
|
299
|
-
3. Call \`updateConnectionContext\`:
|
|
300
|
-
- \`account\`: Notion workspace name or bot name
|
|
301
|
-
- \`note\`: Brief description of the setup
|
|
302
296
|
|
|
303
297
|
#### Constraints
|
|
304
298
|
- **Do NOT read business data during setup**. Only the metadata request specified in the steps above is allowed
|
|
@@ -277,9 +277,6 @@ var shopifyOauthOnboarding = new ConnectorOnboarding({
|
|
|
277
277
|
- \`method\`: \`"GET"\`
|
|
278
278
|
- \`path\`: \`"/admin/api/2024-10/shop.json"\`
|
|
279
279
|
2. \u30A8\u30E9\u30FC\u304C\u8FD4\u3055\u308C\u305F\u5834\u5408\u3001\u30E6\u30FC\u30B6\u30FC\u306BOAuth\u63A5\u7D9A\u306E\u8A2D\u5B9A\u3092\u78BA\u8A8D\u3059\u308B\u3088\u3046\u4F1D\u3048\u308B
|
|
280
|
-
3. \`updateConnectionContext\` \u3092\u547C\u3073\u51FA\u3059:
|
|
281
|
-
- \`shop\`: Shopify\u30B7\u30E7\u30C3\u30D7\u60C5\u5831
|
|
282
|
-
- \`note\`: \u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u5185\u5BB9\u306E\u7C21\u5358\u306A\u8AAC\u660E
|
|
283
280
|
|
|
284
281
|
#### \u5236\u7D04
|
|
285
282
|
- **\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u4E2D\u306B\u30D3\u30B8\u30CD\u30B9\u30C7\u30FC\u30BF\uFF08\u6CE8\u6587\u3001\u9867\u5BA2\u306A\u3069\uFF09\u3092\u8AAD\u307F\u53D6\u3089\u306A\u3044\u3053\u3068**\u3002\u5B9F\u884C\u3057\u3066\u3088\u3044\u306E\u306F\u4E0A\u8A18\u624B\u9806\u3067\u6307\u5B9A\u3055\u308C\u305F\u30E1\u30BF\u30C7\u30FC\u30BF\u53D6\u5F97\u30EA\u30AF\u30A8\u30B9\u30C8\u306E\u307F
|
|
@@ -290,9 +287,6 @@ var shopifyOauthOnboarding = new ConnectorOnboarding({
|
|
|
290
287
|
- \`method\`: \`"GET"\`
|
|
291
288
|
- \`path\`: \`"/admin/api/2024-10/shop.json"\`
|
|
292
289
|
2. If an error is returned, ask the user to check the OAuth connection settings
|
|
293
|
-
3. Call \`updateConnectionContext\`:
|
|
294
|
-
- \`shop\`: Shopify shop info
|
|
295
|
-
- \`note\`: Brief description of the setup
|
|
296
290
|
|
|
297
291
|
#### Constraints
|
|
298
292
|
- **Do NOT read business data (orders, customers, etc.) during setup**. Only the metadata request specified in the steps above is allowed
|
|
@@ -325,8 +325,6 @@ var stripeApiKeyOnboarding = new ConnectorOnboarding({
|
|
|
325
325
|
- \`method\`: \`"GET"\`
|
|
326
326
|
- \`path\`: \`"/v1/balance"\`
|
|
327
327
|
2. \u30A8\u30E9\u30FC\u304C\u8FD4\u3055\u308C\u305F\u5834\u5408\u3001\u30E6\u30FC\u30B6\u30FC\u306BAPI\u30AD\u30FC\u306E\u8A2D\u5B9A\u3092\u78BA\u8A8D\u3059\u308B\u3088\u3046\u4F1D\u3048\u308B\uFF08Secret API Key\u307E\u305F\u306FRestricted API Key\u304C\u6B63\u3057\u304F\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u308B\u304B\uFF09
|
|
328
|
-
3. \`updateConnectionContext\` \u3092\u547C\u3073\u51FA\u3059:
|
|
329
|
-
- \`note\`: \u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u5185\u5BB9\u306E\u7C21\u5358\u306A\u8AAC\u660E
|
|
330
328
|
|
|
331
329
|
#### \u5236\u7D04
|
|
332
330
|
- **\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u4E2D\u306B\u6C7A\u6E08\u30C7\u30FC\u30BF\u3092\u8AAD\u307F\u53D6\u3089\u306A\u3044\u3053\u3068**\u3002\u5B9F\u884C\u3057\u3066\u3088\u3044\u306E\u306F\u4E0A\u8A18\u624B\u9806\u3067\u6307\u5B9A\u3055\u308C\u305F\u30E1\u30BF\u30C7\u30FC\u30BF\u53D6\u5F97\u30EA\u30AF\u30A8\u30B9\u30C8\u306E\u307F
|
|
@@ -337,8 +335,6 @@ var stripeApiKeyOnboarding = new ConnectorOnboarding({
|
|
|
337
335
|
- \`method\`: \`"GET"\`
|
|
338
336
|
- \`path\`: \`"/v1/balance"\`
|
|
339
337
|
2. If an error is returned, ask the user to check the API key settings (verify that the Secret API Key or Restricted API Key is configured correctly)
|
|
340
|
-
3. Call \`updateConnectionContext\`:
|
|
341
|
-
- \`note\`: Brief description of the setup
|
|
342
338
|
|
|
343
339
|
#### Constraints
|
|
344
340
|
- **Do NOT read payment data during setup**. Only the metadata request specified in the steps above is allowed
|
|
@@ -280,9 +280,6 @@ var stripeOnboarding = new ConnectorOnboarding({
|
|
|
280
280
|
- \`method\`: \`"GET"\`
|
|
281
281
|
- \`path\`: \`"/v1/accounts"\`
|
|
282
282
|
2. \u30A8\u30E9\u30FC\u304C\u8FD4\u3055\u308C\u305F\u5834\u5408\u3001\u30E6\u30FC\u30B6\u30FC\u306BOAuth\u63A5\u7D9A\u306E\u8A2D\u5B9A\u3092\u78BA\u8A8D\u3059\u308B\u3088\u3046\u4F1D\u3048\u308B
|
|
283
|
-
3. \`updateConnectionContext\` \u3092\u547C\u3073\u51FA\u3059:
|
|
284
|
-
- \`account\`: Stripe\u30A2\u30AB\u30A6\u30F3\u30C8\u60C5\u5831
|
|
285
|
-
- \`note\`: \u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u5185\u5BB9\u306E\u7C21\u5358\u306A\u8AAC\u660E
|
|
286
283
|
|
|
287
284
|
#### \u5236\u7D04
|
|
288
285
|
- **\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u4E2D\u306B\u6C7A\u6E08\u30C7\u30FC\u30BF\u3092\u8AAD\u307F\u53D6\u3089\u306A\u3044\u3053\u3068**\u3002\u5B9F\u884C\u3057\u3066\u3088\u3044\u306E\u306F\u4E0A\u8A18\u624B\u9806\u3067\u6307\u5B9A\u3055\u308C\u305F\u30E1\u30BF\u30C7\u30FC\u30BF\u53D6\u5F97\u30EA\u30AF\u30A8\u30B9\u30C8\u306E\u307F
|
|
@@ -293,9 +290,6 @@ var stripeOnboarding = new ConnectorOnboarding({
|
|
|
293
290
|
- \`method\`: \`"GET"\`
|
|
294
291
|
- \`path\`: \`"/v1/accounts"\`
|
|
295
292
|
2. If an error is returned, ask the user to check the OAuth connection settings
|
|
296
|
-
3. Call \`updateConnectionContext\`:
|
|
297
|
-
- \`account\`: Stripe account info
|
|
298
|
-
- \`note\`: Brief description of the setup
|
|
299
293
|
|
|
300
294
|
#### Constraints
|
|
301
295
|
- **Do NOT read payment data during setup**. Only the metadata request specified in the steps above is allowed
|