@automate.ax/catalog 0.150.1 → 0.151.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.
- package/dist/catalog.d.ts +2 -0
- package/dist/catalog.js +54 -1
- package/dist/types.d.ts +2 -0
- package/package.json +1 -1
- package/src/catalog.ts +55 -1
- package/src/types.ts +2 -0
package/dist/catalog.d.ts
CHANGED
|
@@ -536,6 +536,7 @@ export declare const githubService: {
|
|
|
536
536
|
};
|
|
537
537
|
export declare const googleService: {
|
|
538
538
|
readonly connectionMethods: readonly [{
|
|
539
|
+
readonly allowedScopes: readonly ["email", "openid", "profile", "https://www.googleapis.com/auth/adwords", "https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.acls", "https://www.googleapis.com/auth/calendar.acls.readonly", "https://www.googleapis.com/auth/calendar.app.created", "https://www.googleapis.com/auth/calendar.calendarlist", "https://www.googleapis.com/auth/calendar.calendarlist.readonly", "https://www.googleapis.com/auth/calendar.calendars", "https://www.googleapis.com/auth/calendar.calendars.readonly", "https://www.googleapis.com/auth/calendar.events", "https://www.googleapis.com/auth/calendar.events.freebusy", "https://www.googleapis.com/auth/calendar.events.owned", "https://www.googleapis.com/auth/calendar.events.owned.readonly", "https://www.googleapis.com/auth/calendar.events.public.readonly", "https://www.googleapis.com/auth/calendar.events.readonly", "https://www.googleapis.com/auth/calendar.freebusy", "https://www.googleapis.com/auth/calendar.readonly", "https://www.googleapis.com/auth/datamanager", "https://www.googleapis.com/auth/documents", "https://www.googleapis.com/auth/documents.readonly", "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.readonly", "https://www.googleapis.com/auth/forms.body", "https://www.googleapis.com/auth/forms.body.readonly", "https://www.googleapis.com/auth/forms.responses.readonly", "https://www.googleapis.com/auth/gmail.compose", "https://www.googleapis.com/auth/gmail.labels", "https://www.googleapis.com/auth/gmail.metadata", "https://www.googleapis.com/auth/gmail.modify", "https://www.googleapis.com/auth/gmail.readonly", "https://www.googleapis.com/auth/gmail.send", "https://www.googleapis.com/auth/meetings.space.created", "https://www.googleapis.com/auth/meetings.space.readonly", "https://www.googleapis.com/auth/meetings.space.settings", "https://www.googleapis.com/auth/presentations", "https://www.googleapis.com/auth/presentations.readonly", "https://www.googleapis.com/auth/spreadsheets", "https://www.googleapis.com/auth/spreadsheets.readonly"];
|
|
539
540
|
readonly id: "oauth";
|
|
540
541
|
readonly name: "OAuth";
|
|
541
542
|
readonly type: "redirect";
|
|
@@ -1765,6 +1766,7 @@ export declare const integrationCatalog: readonly [{
|
|
|
1765
1766
|
readonly name: "GitHub";
|
|
1766
1767
|
}, {
|
|
1767
1768
|
readonly connectionMethods: readonly [{
|
|
1769
|
+
readonly allowedScopes: readonly ["email", "openid", "profile", "https://www.googleapis.com/auth/adwords", "https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.acls", "https://www.googleapis.com/auth/calendar.acls.readonly", "https://www.googleapis.com/auth/calendar.app.created", "https://www.googleapis.com/auth/calendar.calendarlist", "https://www.googleapis.com/auth/calendar.calendarlist.readonly", "https://www.googleapis.com/auth/calendar.calendars", "https://www.googleapis.com/auth/calendar.calendars.readonly", "https://www.googleapis.com/auth/calendar.events", "https://www.googleapis.com/auth/calendar.events.freebusy", "https://www.googleapis.com/auth/calendar.events.owned", "https://www.googleapis.com/auth/calendar.events.owned.readonly", "https://www.googleapis.com/auth/calendar.events.public.readonly", "https://www.googleapis.com/auth/calendar.events.readonly", "https://www.googleapis.com/auth/calendar.freebusy", "https://www.googleapis.com/auth/calendar.readonly", "https://www.googleapis.com/auth/datamanager", "https://www.googleapis.com/auth/documents", "https://www.googleapis.com/auth/documents.readonly", "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.readonly", "https://www.googleapis.com/auth/forms.body", "https://www.googleapis.com/auth/forms.body.readonly", "https://www.googleapis.com/auth/forms.responses.readonly", "https://www.googleapis.com/auth/gmail.compose", "https://www.googleapis.com/auth/gmail.labels", "https://www.googleapis.com/auth/gmail.metadata", "https://www.googleapis.com/auth/gmail.modify", "https://www.googleapis.com/auth/gmail.readonly", "https://www.googleapis.com/auth/gmail.send", "https://www.googleapis.com/auth/meetings.space.created", "https://www.googleapis.com/auth/meetings.space.readonly", "https://www.googleapis.com/auth/meetings.space.settings", "https://www.googleapis.com/auth/presentations", "https://www.googleapis.com/auth/presentations.readonly", "https://www.googleapis.com/auth/spreadsheets", "https://www.googleapis.com/auth/spreadsheets.readonly"];
|
|
1768
1770
|
readonly id: "oauth";
|
|
1769
1771
|
readonly name: "OAuth";
|
|
1770
1772
|
readonly type: "redirect";
|
package/dist/catalog.js
CHANGED
|
@@ -409,8 +409,61 @@ export const githubService = defineIntegrationService({
|
|
|
409
409
|
id: "github",
|
|
410
410
|
name: "GitHub",
|
|
411
411
|
});
|
|
412
|
+
const GOOGLE_OAUTH_ALLOWED_SCOPES = [
|
|
413
|
+
"email",
|
|
414
|
+
"openid",
|
|
415
|
+
"profile",
|
|
416
|
+
"https://www.googleapis.com/auth/adwords",
|
|
417
|
+
"https://www.googleapis.com/auth/calendar",
|
|
418
|
+
"https://www.googleapis.com/auth/calendar.acls",
|
|
419
|
+
"https://www.googleapis.com/auth/calendar.acls.readonly",
|
|
420
|
+
"https://www.googleapis.com/auth/calendar.app.created",
|
|
421
|
+
"https://www.googleapis.com/auth/calendar.calendarlist",
|
|
422
|
+
"https://www.googleapis.com/auth/calendar.calendarlist.readonly",
|
|
423
|
+
"https://www.googleapis.com/auth/calendar.calendars",
|
|
424
|
+
"https://www.googleapis.com/auth/calendar.calendars.readonly",
|
|
425
|
+
"https://www.googleapis.com/auth/calendar.events",
|
|
426
|
+
"https://www.googleapis.com/auth/calendar.events.freebusy",
|
|
427
|
+
"https://www.googleapis.com/auth/calendar.events.owned",
|
|
428
|
+
"https://www.googleapis.com/auth/calendar.events.owned.readonly",
|
|
429
|
+
"https://www.googleapis.com/auth/calendar.events.public.readonly",
|
|
430
|
+
"https://www.googleapis.com/auth/calendar.events.readonly",
|
|
431
|
+
"https://www.googleapis.com/auth/calendar.freebusy",
|
|
432
|
+
"https://www.googleapis.com/auth/calendar.readonly",
|
|
433
|
+
"https://www.googleapis.com/auth/datamanager",
|
|
434
|
+
"https://www.googleapis.com/auth/documents",
|
|
435
|
+
"https://www.googleapis.com/auth/documents.readonly",
|
|
436
|
+
"https://www.googleapis.com/auth/drive",
|
|
437
|
+
"https://www.googleapis.com/auth/drive.file",
|
|
438
|
+
"https://www.googleapis.com/auth/drive.metadata",
|
|
439
|
+
"https://www.googleapis.com/auth/drive.metadata.readonly",
|
|
440
|
+
"https://www.googleapis.com/auth/drive.readonly",
|
|
441
|
+
"https://www.googleapis.com/auth/forms.body",
|
|
442
|
+
"https://www.googleapis.com/auth/forms.body.readonly",
|
|
443
|
+
"https://www.googleapis.com/auth/forms.responses.readonly",
|
|
444
|
+
"https://www.googleapis.com/auth/gmail.compose",
|
|
445
|
+
"https://www.googleapis.com/auth/gmail.labels",
|
|
446
|
+
"https://www.googleapis.com/auth/gmail.metadata",
|
|
447
|
+
"https://www.googleapis.com/auth/gmail.modify",
|
|
448
|
+
"https://www.googleapis.com/auth/gmail.readonly",
|
|
449
|
+
"https://www.googleapis.com/auth/gmail.send",
|
|
450
|
+
"https://www.googleapis.com/auth/meetings.space.created",
|
|
451
|
+
"https://www.googleapis.com/auth/meetings.space.readonly",
|
|
452
|
+
"https://www.googleapis.com/auth/meetings.space.settings",
|
|
453
|
+
"https://www.googleapis.com/auth/presentations",
|
|
454
|
+
"https://www.googleapis.com/auth/presentations.readonly",
|
|
455
|
+
"https://www.googleapis.com/auth/spreadsheets",
|
|
456
|
+
"https://www.googleapis.com/auth/spreadsheets.readonly",
|
|
457
|
+
];
|
|
412
458
|
export const googleService = defineIntegrationService({
|
|
413
|
-
connectionMethods: [
|
|
459
|
+
connectionMethods: [
|
|
460
|
+
{
|
|
461
|
+
allowedScopes: GOOGLE_OAUTH_ALLOWED_SCOPES,
|
|
462
|
+
id: "oauth",
|
|
463
|
+
name: "OAuth",
|
|
464
|
+
type: "redirect",
|
|
465
|
+
},
|
|
466
|
+
],
|
|
414
467
|
connectionNotice: {
|
|
415
468
|
action: {
|
|
416
469
|
href: "mailto:hello@automate.ax?subject=Google%20integration%20access",
|
package/dist/types.d.ts
CHANGED
|
@@ -25,6 +25,8 @@ interface IntegrationConnectionDefinitionBase {
|
|
|
25
25
|
name: string;
|
|
26
26
|
}
|
|
27
27
|
export type IntegrationConnectionDefinition = (IntegrationConnectionDefinitionBase & {
|
|
28
|
+
/** Exact provider scopes this redirect flow may request. */
|
|
29
|
+
allowedScopes?: readonly string[];
|
|
28
30
|
type: "redirect";
|
|
29
31
|
}) | (IntegrationConnectionDefinitionBase & {
|
|
30
32
|
credentialUrl?: string;
|
package/package.json
CHANGED
package/src/catalog.ts
CHANGED
|
@@ -451,8 +451,62 @@ export const githubService = defineIntegrationService({
|
|
|
451
451
|
name: "GitHub",
|
|
452
452
|
})
|
|
453
453
|
|
|
454
|
+
const GOOGLE_OAUTH_ALLOWED_SCOPES = [
|
|
455
|
+
"email",
|
|
456
|
+
"openid",
|
|
457
|
+
"profile",
|
|
458
|
+
"https://www.googleapis.com/auth/adwords",
|
|
459
|
+
"https://www.googleapis.com/auth/calendar",
|
|
460
|
+
"https://www.googleapis.com/auth/calendar.acls",
|
|
461
|
+
"https://www.googleapis.com/auth/calendar.acls.readonly",
|
|
462
|
+
"https://www.googleapis.com/auth/calendar.app.created",
|
|
463
|
+
"https://www.googleapis.com/auth/calendar.calendarlist",
|
|
464
|
+
"https://www.googleapis.com/auth/calendar.calendarlist.readonly",
|
|
465
|
+
"https://www.googleapis.com/auth/calendar.calendars",
|
|
466
|
+
"https://www.googleapis.com/auth/calendar.calendars.readonly",
|
|
467
|
+
"https://www.googleapis.com/auth/calendar.events",
|
|
468
|
+
"https://www.googleapis.com/auth/calendar.events.freebusy",
|
|
469
|
+
"https://www.googleapis.com/auth/calendar.events.owned",
|
|
470
|
+
"https://www.googleapis.com/auth/calendar.events.owned.readonly",
|
|
471
|
+
"https://www.googleapis.com/auth/calendar.events.public.readonly",
|
|
472
|
+
"https://www.googleapis.com/auth/calendar.events.readonly",
|
|
473
|
+
"https://www.googleapis.com/auth/calendar.freebusy",
|
|
474
|
+
"https://www.googleapis.com/auth/calendar.readonly",
|
|
475
|
+
"https://www.googleapis.com/auth/datamanager",
|
|
476
|
+
"https://www.googleapis.com/auth/documents",
|
|
477
|
+
"https://www.googleapis.com/auth/documents.readonly",
|
|
478
|
+
"https://www.googleapis.com/auth/drive",
|
|
479
|
+
"https://www.googleapis.com/auth/drive.file",
|
|
480
|
+
"https://www.googleapis.com/auth/drive.metadata",
|
|
481
|
+
"https://www.googleapis.com/auth/drive.metadata.readonly",
|
|
482
|
+
"https://www.googleapis.com/auth/drive.readonly",
|
|
483
|
+
"https://www.googleapis.com/auth/forms.body",
|
|
484
|
+
"https://www.googleapis.com/auth/forms.body.readonly",
|
|
485
|
+
"https://www.googleapis.com/auth/forms.responses.readonly",
|
|
486
|
+
"https://www.googleapis.com/auth/gmail.compose",
|
|
487
|
+
"https://www.googleapis.com/auth/gmail.labels",
|
|
488
|
+
"https://www.googleapis.com/auth/gmail.metadata",
|
|
489
|
+
"https://www.googleapis.com/auth/gmail.modify",
|
|
490
|
+
"https://www.googleapis.com/auth/gmail.readonly",
|
|
491
|
+
"https://www.googleapis.com/auth/gmail.send",
|
|
492
|
+
"https://www.googleapis.com/auth/meetings.space.created",
|
|
493
|
+
"https://www.googleapis.com/auth/meetings.space.readonly",
|
|
494
|
+
"https://www.googleapis.com/auth/meetings.space.settings",
|
|
495
|
+
"https://www.googleapis.com/auth/presentations",
|
|
496
|
+
"https://www.googleapis.com/auth/presentations.readonly",
|
|
497
|
+
"https://www.googleapis.com/auth/spreadsheets",
|
|
498
|
+
"https://www.googleapis.com/auth/spreadsheets.readonly",
|
|
499
|
+
] as const
|
|
500
|
+
|
|
454
501
|
export const googleService = defineIntegrationService({
|
|
455
|
-
connectionMethods: [
|
|
502
|
+
connectionMethods: [
|
|
503
|
+
{
|
|
504
|
+
allowedScopes: GOOGLE_OAUTH_ALLOWED_SCOPES,
|
|
505
|
+
id: "oauth",
|
|
506
|
+
name: "OAuth",
|
|
507
|
+
type: "redirect",
|
|
508
|
+
},
|
|
509
|
+
],
|
|
456
510
|
connectionNotice: {
|
|
457
511
|
action: {
|
|
458
512
|
href: "mailto:hello@automate.ax?subject=Google%20integration%20access",
|
package/src/types.ts
CHANGED
|
@@ -33,6 +33,8 @@ interface IntegrationConnectionDefinitionBase {
|
|
|
33
33
|
|
|
34
34
|
export type IntegrationConnectionDefinition =
|
|
35
35
|
| (IntegrationConnectionDefinitionBase & {
|
|
36
|
+
/** Exact provider scopes this redirect flow may request. */
|
|
37
|
+
allowedScopes?: readonly string[]
|
|
36
38
|
type: "redirect"
|
|
37
39
|
})
|
|
38
40
|
| (IntegrationConnectionDefinitionBase & {
|