@corsair-dev/cli 0.1.15 → 0.1.17

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.
Files changed (105) hide show
  1. package/dist/index.js +747 -732
  2. package/dist/src/auth.d.ts.map +1 -0
  3. package/dist/src/commands/auth.command.d.ts +9 -0
  4. package/dist/src/commands/auth.command.d.ts.map +1 -0
  5. package/dist/src/commands/base.command.d.ts +14 -0
  6. package/dist/src/commands/base.command.d.ts.map +1 -0
  7. package/dist/src/commands/list.command.d.ts +9 -0
  8. package/dist/src/commands/list.command.d.ts.map +1 -0
  9. package/dist/src/commands/onedrive-subscribe.command.d.ts +6 -0
  10. package/dist/src/commands/onedrive-subscribe.command.d.ts.map +1 -0
  11. package/dist/src/commands/schema.command.d.ts +9 -0
  12. package/dist/src/commands/schema.command.d.ts.map +1 -0
  13. package/dist/src/commands/script.command.d.ts +10 -0
  14. package/dist/src/commands/script.command.d.ts.map +1 -0
  15. package/dist/src/commands/setup.command.d.ts +11 -0
  16. package/dist/src/commands/setup.command.d.ts.map +1 -0
  17. package/dist/src/commands/sharepoint-subscribe.command.d.ts +6 -0
  18. package/dist/src/commands/sharepoint-subscribe.command.d.ts.map +1 -0
  19. package/dist/src/commands/studio.command.d.ts +10 -0
  20. package/dist/src/commands/studio.command.d.ts.map +1 -0
  21. package/dist/src/commands/subscribe/onedrive.command.d.ts +8 -0
  22. package/dist/src/commands/subscribe/onedrive.command.d.ts.map +1 -0
  23. package/dist/src/commands/subscribe/outlook.command.d.ts +8 -0
  24. package/dist/src/commands/subscribe/outlook.command.d.ts.map +1 -0
  25. package/dist/src/commands/subscribe/sharepoint.command.d.ts +8 -0
  26. package/dist/src/commands/subscribe/sharepoint.command.d.ts.map +1 -0
  27. package/dist/src/commands/subscribe/teams.command.d.ts +8 -0
  28. package/dist/src/commands/subscribe/teams.command.d.ts.map +1 -0
  29. package/dist/src/commands/subscribe.command.d.ts +10 -0
  30. package/dist/src/commands/subscribe.command.d.ts.map +1 -0
  31. package/dist/src/commands/teams-subscribe.command.d.ts +6 -0
  32. package/dist/src/commands/teams-subscribe.command.d.ts.map +1 -0
  33. package/dist/src/commands/watch-renew.command.d.ts +8 -0
  34. package/dist/src/commands/watch-renew.command.d.ts.map +1 -0
  35. package/dist/src/get-tsconfig-info.d.ts.map +1 -0
  36. package/dist/src/index.d.ts +5 -0
  37. package/dist/src/index.d.ts.map +1 -0
  38. package/dist/src/index.types.d.ts +16 -0
  39. package/dist/src/index.types.d.ts.map +1 -0
  40. package/dist/src/lib/google/calendar.d.ts.map +1 -0
  41. package/dist/src/lib/google/drive.d.ts.map +1 -0
  42. package/dist/src/lib/google/gmail.d.ts.map +1 -0
  43. package/dist/src/lib/google/index.d.ts.map +1 -0
  44. package/dist/src/lib/google/shared.d.ts.map +1 -0
  45. package/dist/src/lib/google/sheets.d.ts.map +1 -0
  46. package/dist/src/lib/google/subscribe-google.d.ts +2 -0
  47. package/dist/src/lib/google/subscribe-google.d.ts.map +1 -0
  48. package/dist/src/lib/microsoft/credentials.d.ts.map +1 -0
  49. package/dist/src/lib/microsoft/graph.d.ts.map +1 -0
  50. package/dist/src/lib/microsoft/onedrive.d.ts.map +1 -0
  51. package/dist/src/lib/microsoft/outlook.d.ts.map +1 -0
  52. package/dist/src/lib/microsoft/sharepoint.d.ts.map +1 -0
  53. package/dist/src/lib/microsoft/subscribe-microsoft.d.ts +5 -0
  54. package/dist/src/lib/microsoft/subscribe-microsoft.d.ts.map +1 -0
  55. package/dist/src/lib/microsoft/teams.d.ts.map +1 -0
  56. package/dist/src/utils/corsair-instance.d.ts +8 -0
  57. package/dist/src/utils/corsair-instance.d.ts.map +1 -0
  58. package/dist/src/utils/corsair.d.ts.map +1 -0
  59. package/dist/src/utils/load-config.d.ts.map +1 -0
  60. package/dist/src/utils/prompts.d.ts.map +1 -0
  61. package/dist/src/utils/subscription.d.ts +2 -0
  62. package/dist/src/utils/subscription.d.ts.map +1 -0
  63. package/package.json +6 -5
  64. package/dist/auth.d.ts.map +0 -1
  65. package/dist/get-tsconfig-info.d.ts.map +0 -1
  66. package/dist/google/calendar.d.ts.map +0 -1
  67. package/dist/google/drive.d.ts.map +0 -1
  68. package/dist/google/gmail.d.ts.map +0 -1
  69. package/dist/google/index.d.ts.map +0 -1
  70. package/dist/google/shared.d.ts.map +0 -1
  71. package/dist/google/sheets.d.ts.map +0 -1
  72. package/dist/index.d.ts +0 -33
  73. package/dist/index.d.ts.map +0 -1
  74. package/dist/microsoft/credentials.d.ts.map +0 -1
  75. package/dist/microsoft/graph.d.ts.map +0 -1
  76. package/dist/microsoft/onedrive.d.ts.map +0 -1
  77. package/dist/microsoft/outlook.d.ts.map +0 -1
  78. package/dist/microsoft/sharepoint.d.ts.map +0 -1
  79. package/dist/microsoft/teams.d.ts.map +0 -1
  80. package/dist/subscribe-google.d.ts +0 -2
  81. package/dist/subscribe-google.d.ts.map +0 -1
  82. package/dist/subscribe-microsoft.d.ts +0 -5
  83. package/dist/subscribe-microsoft.d.ts.map +0 -1
  84. package/dist/tsup.config.d.ts +0 -3
  85. package/dist/tsup.config.d.ts.map +0 -1
  86. package/dist/utils/corsair.d.ts.map +0 -1
  87. package/dist/utils/load-config.d.ts.map +0 -1
  88. package/dist/utils/prompts.d.ts.map +0 -1
  89. /package/dist/{auth.d.ts → src/auth.d.ts} +0 -0
  90. /package/dist/{get-tsconfig-info.d.ts → src/get-tsconfig-info.d.ts} +0 -0
  91. /package/dist/{google → src/lib/google}/calendar.d.ts +0 -0
  92. /package/dist/{google → src/lib/google}/drive.d.ts +0 -0
  93. /package/dist/{google → src/lib/google}/gmail.d.ts +0 -0
  94. /package/dist/{google → src/lib/google}/index.d.ts +0 -0
  95. /package/dist/{google → src/lib/google}/shared.d.ts +0 -0
  96. /package/dist/{google → src/lib/google}/sheets.d.ts +0 -0
  97. /package/dist/{microsoft → src/lib/microsoft}/credentials.d.ts +0 -0
  98. /package/dist/{microsoft → src/lib/microsoft}/graph.d.ts +0 -0
  99. /package/dist/{microsoft → src/lib/microsoft}/onedrive.d.ts +0 -0
  100. /package/dist/{microsoft → src/lib/microsoft}/outlook.d.ts +0 -0
  101. /package/dist/{microsoft → src/lib/microsoft}/sharepoint.d.ts +0 -0
  102. /package/dist/{microsoft → src/lib/microsoft}/teams.d.ts +0 -0
  103. /package/dist/{utils → src/utils}/corsair.d.ts +0 -0
  104. /package/dist/{utils → src/utils}/load-config.d.ts +0 -0
  105. /package/dist/{utils → src/utils}/prompts.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/auth.ts"],"names":[],"mappings":"AA0pBA,wBAAsB,OAAO,CAAC,EAC7B,GAAG,EACH,QAAQ,EAAE,WAAW,EACrB,QAAQ,EAAE,WAAW,EACrB,IAAI,EAAE,OAAO,EACb,WAAW,EAAE,eAAuB,EACpC,MAAM,EAAE,UAAkB,EAC1B,OAAO,EAAE,WAAmB,EAC5B,SAAS,GACT,EAAE;IACF,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uDAAuD;IACvD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uEAAuE;IACvE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iFAAiF;IACjF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,kFAAkF;IAClF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,OAAO,CAAC,IAAI,CAAC,CAgJhB"}
@@ -0,0 +1,9 @@
1
+ import type { CommandActionData, CommandOption } from '../index.types';
2
+ import BaseCommand from './base.command';
3
+ export default class AuthCommand extends BaseCommand {
4
+ getName(): string;
5
+ getDescription(): string;
6
+ getOptions(): CommandOption[];
7
+ action({ options }: CommandActionData): Promise<void>;
8
+ }
9
+ //# sourceMappingURL=auth.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.command.d.ts","sourceRoot":"","sources":["../../../src/commands/auth.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEvE,OAAO,WAAW,MAAM,gBAAgB,CAAC;AAEzC,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,WAAW;IACnD,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;IAIxB,UAAU,IAAI,aAAa,EAAE;IAqCvB,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB;CAsB3C"}
@@ -0,0 +1,14 @@
1
+ import type { Command } from 'commander';
2
+ import type { CommandActionData, CommandArgument, CommandOption } from '../index.types';
3
+ export default abstract class BaseCommand {
4
+ abstract getName(): string;
5
+ abstract getDescription(): string;
6
+ action({}: CommandActionData): Promise<void> | void;
7
+ getAliases(): string[];
8
+ getArguments(): CommandArgument[];
9
+ getOptions(): CommandOption[];
10
+ getUsage(): string;
11
+ getSubCommands(): BaseCommand[];
12
+ readonly prepare: (program: Command) => void;
13
+ }
14
+ //# sourceMappingURL=base.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.command.d.ts","sourceRoot":"","sources":["../../../src/commands/base.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,OAAO,KAAK,EACX,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,WAAW;IACxC,QAAQ,CAAC,OAAO,IAAI,MAAM;IAE1B,QAAQ,CAAC,cAAc,IAAI,MAAM;IAEjC,MAAM,CAAC,EAAE,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;IAEnD,UAAU,IAAI,MAAM,EAAE;IAItB,YAAY,IAAI,eAAe,EAAE;IAIjC,UAAU,IAAI,aAAa,EAAE;IAI7B,QAAQ,IAAI,MAAM;IAIlB,cAAc,IAAI,WAAW,EAAE;IAI/B,QAAQ,CAAC,OAAO,GAAI,SAAS,OAAO,KAAG,IAAI,CAuCzC;CACF"}
@@ -0,0 +1,9 @@
1
+ import type { CommandActionData, CommandOption } from '../index.types';
2
+ import BaseCommand from './base.command';
3
+ export default class ListCommand extends BaseCommand {
4
+ getName(): string;
5
+ getDescription(): string;
6
+ getOptions(): CommandOption[];
7
+ action({ options }: CommandActionData): Promise<void>;
8
+ }
9
+ //# sourceMappingURL=list.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.command.d.ts","sourceRoot":"","sources":["../../../src/commands/list.command.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEvE,OAAO,WAAW,MAAM,gBAAgB,CAAC;AAEzC,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,WAAW;IACnD,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;IAIxB,UAAU,IAAI,aAAa,EAAE;IAevB,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB;CAc3C"}
@@ -0,0 +1,6 @@
1
+ import OnedriveCommand from './subscribe/onedrive.command';
2
+ export default class OnedriveSubscribeCommand extends OnedriveCommand {
3
+ getName(): string;
4
+ getDescription(): string;
5
+ }
6
+ //# sourceMappingURL=onedrive-subscribe.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onedrive-subscribe.command.d.ts","sourceRoot":"","sources":["../../../src/commands/onedrive-subscribe.command.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,8BAA8B,CAAA;AAE1D,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,eAAe;IACpE,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;CAGxB"}
@@ -0,0 +1,9 @@
1
+ import type { CommandActionData, CommandArgument } from '../index.types';
2
+ import BaseCommand from './base.command';
3
+ export default class SchemaCommand extends BaseCommand {
4
+ getName(): string;
5
+ getDescription(): string;
6
+ getArguments(): CommandArgument[];
7
+ action({ args }: CommandActionData): Promise<void>;
8
+ }
9
+ //# sourceMappingURL=schema.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.command.d.ts","sourceRoot":"","sources":["../../../src/commands/schema.command.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEzE,OAAO,WAAW,MAAM,gBAAgB,CAAC;AAEzC,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,WAAW;IACrD,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;IAIxB,YAAY,IAAI,eAAe,EAAE;IAI3B,MAAM,CAAC,EAAE,IAAI,EAAE,EAAE,iBAAiB;CAUxC"}
@@ -0,0 +1,10 @@
1
+ import type { CommandActionData, CommandOption } from '../index.types';
2
+ import BaseCommand from './base.command';
3
+ export default class ScriptCommand extends BaseCommand {
4
+ getName(): string;
5
+ getDescription(): string;
6
+ getOptions(): CommandOption[];
7
+ action({ options }: CommandActionData): Promise<void>;
8
+ private exitWithScriptError;
9
+ }
10
+ //# sourceMappingURL=script.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"script.command.d.ts","sourceRoot":"","sources":["../../../src/commands/script.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEvE,OAAO,WAAW,MAAM,gBAAgB,CAAC;AAOzC,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,WAAW;IACrD,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;IAIxB,UAAU,IAAI,aAAa,EAAE;IAevB,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB;IAwB3C,OAAO,CAAC,mBAAmB;CAK3B"}
@@ -0,0 +1,11 @@
1
+ import type { CommandActionData, CommandArgument, CommandOption } from '../index.types';
2
+ import BaseCommand from './base.command';
3
+ export default class SetupCommand extends BaseCommand {
4
+ getName(): string;
5
+ getDescription(): string;
6
+ getOptions(): CommandOption[];
7
+ getArguments(): CommandArgument[];
8
+ action({ options }: CommandActionData): Promise<void>;
9
+ private hasLegacyBackfillFlag;
10
+ }
11
+ //# sourceMappingURL=setup.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup.command.d.ts","sourceRoot":"","sources":["../../../src/commands/setup.command.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,MAAM,gBAAgB,CAAC;AAExB,OAAO,WAAW,MAAM,gBAAgB,CAAC;AAEzC,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,WAAW;IACpD,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;IAIxB,UAAU,IAAI,aAAa,EAAE;IAoB7B,YAAY,IAAI,eAAe,EAAE;IAS3B,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB;IAa3C,OAAO,CAAC,qBAAqB;CAK7B"}
@@ -0,0 +1,6 @@
1
+ import SharepointCommand from './subscribe/sharepoint.command';
2
+ export default class SharepointSubscribeCommand extends SharepointCommand {
3
+ getName(): string;
4
+ getDescription(): string;
5
+ }
6
+ //# sourceMappingURL=sharepoint-subscribe.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sharepoint-subscribe.command.d.ts","sourceRoot":"","sources":["../../../src/commands/sharepoint-subscribe.command.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,gCAAgC,CAAC;AAE/D,MAAM,CAAC,OAAO,OAAO,0BAA2B,SAAQ,iBAAiB;IACxE,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;CAGxB"}
@@ -0,0 +1,10 @@
1
+ import type { CommandActionData, CommandOption } from '../index.types';
2
+ import BaseCommand from './base.command';
3
+ export default class StudioCommand extends BaseCommand {
4
+ getName(): string;
5
+ getAliases(): string[];
6
+ getDescription(): string;
7
+ getOptions(): CommandOption[];
8
+ action({ options }: CommandActionData): Promise<void>;
9
+ }
10
+ //# sourceMappingURL=studio.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"studio.command.d.ts","sourceRoot":"","sources":["../../../src/commands/studio.command.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,WAAW,MAAM,gBAAgB,CAAC;AAQzC,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,WAAW;IACrD,OAAO,IAAI,MAAM;IAIjB,UAAU,IAAI,MAAM,EAAE;IAItB,cAAc,IAAI,MAAM;IAIxB,UAAU,IAAI,aAAa,EAAE;IAgBvB,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB;CA2C3C"}
@@ -0,0 +1,8 @@
1
+ import BaseCommand from '../base.command';
2
+ import type { CommandActionData } from '../../index.types';
3
+ export default class OnedriveCommand extends BaseCommand {
4
+ getName(): string;
5
+ getDescription(): string;
6
+ action({}: CommandActionData): Promise<void>;
7
+ }
8
+ //# sourceMappingURL=onedrive.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onedrive.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/subscribe/onedrive.command.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,iBAAiB,CAAA;AACzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAE1D,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,WAAW;IACvD,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;IAIlB,MAAM,CAAC,EAAE,EAAE,iBAAiB;CAIlC"}
@@ -0,0 +1,8 @@
1
+ import type { CommandActionData } from '../../index.types';
2
+ import BaseCommand from '../base.command';
3
+ export default class OutlookCommand extends BaseCommand {
4
+ getName(): string;
5
+ getDescription(): string;
6
+ action({}: CommandActionData): Promise<void>;
7
+ }
8
+ //# sourceMappingURL=outlook.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"outlook.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/subscribe/outlook.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,WAAW,MAAM,iBAAiB,CAAC;AAE1C,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,WAAW;IACtD,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;IAIlB,MAAM,CAAC,EAAE,EAAE,iBAAiB;CAGlC"}
@@ -0,0 +1,8 @@
1
+ import type { CommandActionData } from '../../index.types';
2
+ import BaseCommand from '../base.command';
3
+ export default class SharepointCommand extends BaseCommand {
4
+ getName(): string;
5
+ getDescription(): string;
6
+ action({}: CommandActionData): Promise<void>;
7
+ }
8
+ //# sourceMappingURL=sharepoint.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sharepoint.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/subscribe/sharepoint.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,WAAW,MAAM,iBAAiB,CAAC;AAE1C,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,WAAW;IACzD,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;IAIlB,MAAM,CAAC,EAAE,EAAE,iBAAiB;CAGlC"}
@@ -0,0 +1,8 @@
1
+ import type { CommandActionData } from '../../index.types';
2
+ import BaseCommand from '../base.command';
3
+ export default class TeamsCommand extends BaseCommand {
4
+ getName(): string;
5
+ getDescription(): string;
6
+ action({}: CommandActionData): Promise<void>;
7
+ }
8
+ //# sourceMappingURL=teams.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"teams.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/subscribe/teams.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,WAAW,MAAM,iBAAiB,CAAC;AAE1C,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,WAAW;IACpD,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;IAIlB,MAAM,CAAC,EAAE,EAAE,iBAAiB;CAMlC"}
@@ -0,0 +1,10 @@
1
+ import BaseCommand from './base.command';
2
+ import type { CommandActionData, CommandOption } from '../index.types';
3
+ export default class SubscribeCommand extends BaseCommand {
4
+ getName(): string;
5
+ getDescription(): string;
6
+ getOptions(): CommandOption[];
7
+ getSubCommands(): BaseCommand[];
8
+ action({ options }: CommandActionData): Promise<void>;
9
+ }
10
+ //# sourceMappingURL=subscribe.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscribe.command.d.ts","sourceRoot":"","sources":["../../../src/commands/subscribe.command.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAMvE,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,WAAW;IACxD,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;IAIxB,UAAU,IAAI,aAAa,EAAE;IAU7B,cAAc,IAAI,WAAW,EAAE;IASzB,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB;CAgD3C"}
@@ -0,0 +1,6 @@
1
+ import TeamsCommand from './subscribe/teams.command';
2
+ export default class TeamsSubscribeCommand extends TeamsCommand {
3
+ getName(): string;
4
+ getDescription(): string;
5
+ }
6
+ //# sourceMappingURL=teams-subscribe.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"teams-subscribe.command.d.ts","sourceRoot":"","sources":["../../../src/commands/teams-subscribe.command.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAErD,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,YAAY;IAC9D,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;CAGxB"}
@@ -0,0 +1,8 @@
1
+ import type { CommandActionData } from '../index.types';
2
+ import BaseCommand from './base.command';
3
+ export default class WatchRenewCommand extends BaseCommand {
4
+ getName(): string;
5
+ getDescription(): string;
6
+ action({}: CommandActionData): Promise<void>;
7
+ }
8
+ //# sourceMappingURL=watch-renew.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"watch-renew.command.d.ts","sourceRoot":"","sources":["../../../src/commands/watch-renew.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AAEzC,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,WAAW;IACzD,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;IAIlB,MAAM,CAAC,EAAE,EAAE,iBAAiB;CAGlC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-tsconfig-info.d.ts","sourceRoot":"","sources":["../../src/get-tsconfig-info.ts"],"names":[],"mappings":"AAWA,wBAAgB,eAAe,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,OAe9D"}
@@ -0,0 +1,5 @@
1
+ import { Command } from 'commander';
2
+ import { findCorsairConfigPath, getCorsairInstance } from './utils/corsair-instance';
3
+ declare function createProgram(): Command;
4
+ export { createProgram, findCorsairConfigPath, getCorsairInstance };
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAcpC,OAAO,EACN,qBAAqB,EACrB,kBAAkB,EAClB,MAAM,0BAA0B,CAAC;AAElC,iBAAS,aAAa,IAAI,OAAO,CAyBhC;AA2BD,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,CAAC"}
@@ -0,0 +1,16 @@
1
+ export interface CommandOption {
2
+ short: string;
3
+ long: string;
4
+ description: string;
5
+ defaultValue?: string | boolean;
6
+ choices?: string[];
7
+ }
8
+ export interface CommandArgument {
9
+ name: string;
10
+ description: string;
11
+ }
12
+ export interface CommandActionData {
13
+ options: Record<string, any>;
14
+ args: string[];
15
+ }
16
+ //# sourceMappingURL=index.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.types.d.ts","sourceRoot":"","sources":["../../src/index.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,eAAe;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,iBAAiB;IACjC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC7B,IAAI,EAAE,MAAM,EAAE,CAAC;CACf"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../../src/lib/google/calendar.ts"],"names":[],"mappings":"AAKA,wBAAsB,kBAAkB,CACvC,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,GAChB,OAAO,CAAC,IAAI,CAAC,CA0Cf"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drive.d.ts","sourceRoot":"","sources":["../../../../src/lib/google/drive.ts"],"names":[],"mappings":"AAKA,wBAAsB,eAAe,CACpC,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GAChB,OAAO,CAAC,IAAI,CAAC,CA+Df"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gmail.d.ts","sourceRoot":"","sources":["../../../../src/lib/google/gmail.ts"],"names":[],"mappings":"AAIA,wBAAsB,eAAe,CACpC,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,GACf,OAAO,CAAC,IAAI,CAAC,CAmCf"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/google/index.ts"],"names":[],"mappings":"AAsCA,wBAAsB,kBAAkB,CAAC,EACxC,GAAG,EACH,QAAQ,EAAE,mBAAmB,GAC7B,EAAE;IACF,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,OAAO,CAAC,IAAI,CAAC,CA4LhB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/lib/google/shared.ts"],"names":[],"mappings":"AAEA,wBAAsB,wBAAwB,CAC7C,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,GAClB,OAAO,CAAC,MAAM,CAAC,CAmBjB;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CA0BrD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sheets.d.ts","sourceRoot":"","sources":["../../../../src/lib/google/sheets.ts"],"names":[],"mappings":"AAuEA,wBAAsB,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CA8CxE"}
@@ -0,0 +1,2 @@
1
+ export { runGoogleSubscribe } from './index';
2
+ //# sourceMappingURL=subscribe-google.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscribe-google.d.ts","sourceRoot":"","sources":["../../../../src/lib/google/subscribe-google.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../../../src/lib/microsoft/credentials.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAW1D,MAAM,MAAM,kBAAkB,GAAG;IAChC,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACtD,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACvD,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3D,CAAC;AAkCF,wBAAsB,kBAAkB,CACvC,eAAe,EAAE,MAAM,EACvB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,qBAAqB,GAC7B,OAAO,CAAC;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,kBAAkB,CAAA;CAAE,CAAC,CA2FjE;AAED,wBAAsB,oBAAoB,CACzC,SAAS,EAAE;IAAE,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CAAE,EAChE,WAAW,EAAE,MAAM,GACjB,OAAO,CAAC,IAAI,CAAC,CAKf"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph.d.ts","sourceRoot":"","sources":["../../../../src/lib/microsoft/graph.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,qCAAqC,CAAC;AAEjE,wBAAsB,uBAAuB,CAC5C,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,MAAM,EACvB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,GACnB,OAAO,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,kBAAkB,EAAE,MAAM,CAAA;CAAE,CAAC,CA0BrD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onedrive.d.ts","sourceRoot":"","sources":["../../../../src/lib/microsoft/onedrive.ts"],"names":[],"mappings":"AAsDA,wBAAsB,oBAAoB,CAAC,EAC1C,GAAG,GACH,EAAE;IACF,GAAG,EAAE,MAAM,CAAC;CACZ,GAAG,OAAO,CAAC,IAAI,CAAC,CAkHhB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"outlook.d.ts","sourceRoot":"","sources":["../../../../src/lib/microsoft/outlook.ts"],"names":[],"mappings":"AAqDA,wBAAsB,mBAAmB,CAAC,EACzC,GAAG,GACH,EAAE;IACF,GAAG,EAAE,MAAM,CAAC;CACZ,GAAG,OAAO,CAAC,IAAI,CAAC,CAkFhB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sharepoint.d.ts","sourceRoot":"","sources":["../../../../src/lib/microsoft/sharepoint.ts"],"names":[],"mappings":"AA2EA,wBAAsB,sBAAsB,CAAC,EAC5C,GAAG,GACH,EAAE;IACF,GAAG,EAAE,MAAM,CAAC;CACZ,GAAG,OAAO,CAAC,IAAI,CAAC,CAkHhB"}
@@ -0,0 +1,5 @@
1
+ export { runOnedriveSubscribe } from './onedrive';
2
+ export { runOutlookSubscribe } from './outlook';
3
+ export { runSharepointSubscribe } from './sharepoint';
4
+ export { runTeamsSubscribe } from './teams';
5
+ //# sourceMappingURL=subscribe-microsoft.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscribe-microsoft.d.ts","sourceRoot":"","sources":["../../../../src/lib/microsoft/subscribe-microsoft.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"teams.d.ts","sourceRoot":"","sources":["../../../../src/lib/microsoft/teams.ts"],"names":[],"mappings":"AAkOA,wBAAsB,iBAAiB,CAAC,EACvC,GAAG,GACH,EAAE;IACF,GAAG,EAAE,MAAM,CAAC;CACZ,GAAG,OAAO,CAAC,IAAI,CAAC,CAoHhB"}
@@ -0,0 +1,8 @@
1
+ export declare function findCorsairConfigPath(cwd: string): string | null;
2
+ export declare function getCorsairInstance({ cwd, configPath, shouldThrowOnError, }: {
3
+ cwd: string;
4
+ configPath?: string;
5
+ shouldThrowOnError?: boolean;
6
+ }): Promise<unknown>;
7
+ export declare function resolveClient(instance: unknown, tenant?: string): Record<string, unknown>;
8
+ //# sourceMappingURL=corsair-instance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"corsair-instance.d.ts","sourceRoot":"","sources":["../../../src/utils/corsair-instance.ts"],"names":[],"mappings":"AA+IA,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAMhE;AAED,wBAAsB,kBAAkB,CAAC,EACxC,GAAG,EACH,UAAU,EACV,kBAA0B,GAC1B,EAAE;IACF,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC7B,oBAwCA;AAED,wBAAgB,aAAa,CAC5B,QAAQ,EAAE,OAAO,EACjB,MAAM,CAAC,EAAE,MAAM,GACb,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAYzB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"corsair.d.ts","sourceRoot":"","sources":["../../../src/utils/corsair.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAI1D,wBAAsB,qBAAqB,CAC1C,GAAG,EAAE,MAAM,GACT,OAAO,CAAC,qBAAqB,CAAC,CAWhC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"load-config.d.ts","sourceRoot":"","sources":["../../../src/utils/load-config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAG1D,wBAAsB,kBAAkB,CACvC,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,GACjB,OAAO,CAAC;IAAE,QAAQ,EAAE,qBAAqB,CAAC;IAAC,MAAM,EAAE,OAAO,CAAA;CAAE,CAAC,CAkC/D"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../../src/utils/prompts.ts"],"names":[],"mappings":"AAGA,wBAAsB,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,CAWtD;AAED,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC,CAexD;AAED,wBAAsB,iBAAiB,IAAI,OAAO,CAAC,MAAM,CAAC,CAYzD"}
@@ -0,0 +1,2 @@
1
+ export declare function runWebhookSubscription(cwd: string, pluginId: string): Promise<void>;
2
+ //# sourceMappingURL=subscription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../src/utils/subscription.ts"],"names":[],"mappings":"AAAA,wBAAsB,sBAAsB,CAC3C,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,GACd,OAAO,CAAC,IAAI,CAAC,CAiCf"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corsair-dev/cli",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "exports": {
13
13
  ".": {
14
- "dev-source": "./index.ts",
14
+ "dev-source": "./src/index.ts",
15
15
  "types": "./dist/index.d.ts",
16
16
  "default": "./dist/index.js"
17
17
  }
@@ -22,8 +22,9 @@
22
22
  "@babel/preset-typescript": "^7.28.5",
23
23
  "@clack/prompts": "^1.0.0",
24
24
  "c12": "^3.3.3",
25
- "zod": "^3.25.76",
26
- "corsair": "0.1.67"
25
+ "commander": "^14.0.3",
26
+ "zod": "^4.1.13",
27
+ "corsair": "0.1.72"
27
28
  },
28
29
  "devDependencies": {
29
30
  "@types/jest": "^29.5.14",
@@ -53,6 +54,6 @@
53
54
  "build": "tsup && tsc -p tsconfig.build.json",
54
55
  "build:watch": "tsup --watch",
55
56
  "typecheck": "tsc --noEmit",
56
- "ind": "tsx index.ts"
57
+ "dev": "tsx src/index.ts"
57
58
  }
58
59
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../auth.ts"],"names":[],"mappings":"AA4pBA,wBAAsB,OAAO,CAAC,EAC7B,GAAG,EACH,QAAQ,EAAE,WAAW,EACrB,QAAQ,EAAE,WAAW,EACrB,IAAI,EAAE,OAAO,EACb,WAAW,EAAE,eAAuB,EACpC,MAAM,EAAE,UAAkB,EAC1B,OAAO,EAAE,WAAmB,EAC5B,SAAS,GACT,EAAE;IACF,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uDAAuD;IACvD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uEAAuE;IACvE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iFAAiF;IACjF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,kFAAkF;IAClF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,OAAO,CAAC,IAAI,CAAC,CAgJhB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-tsconfig-info.d.ts","sourceRoot":"","sources":["../get-tsconfig-info.ts"],"names":[],"mappings":"AAWA,wBAAgB,eAAe,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,OAe9D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../google/calendar.ts"],"names":[],"mappings":"AAKA,wBAAsB,kBAAkB,CACvC,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,GAChB,OAAO,CAAC,IAAI,CAAC,CA0Cf"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"drive.d.ts","sourceRoot":"","sources":["../../google/drive.ts"],"names":[],"mappings":"AAKA,wBAAsB,eAAe,CACpC,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GAChB,OAAO,CAAC,IAAI,CAAC,CA+Df"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"gmail.d.ts","sourceRoot":"","sources":["../../google/gmail.ts"],"names":[],"mappings":"AAIA,wBAAsB,eAAe,CACpC,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,GACf,OAAO,CAAC,IAAI,CAAC,CAmCf"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../google/index.ts"],"names":[],"mappings":"AAsCA,wBAAsB,kBAAkB,CAAC,EACxC,GAAG,EACH,QAAQ,EAAE,mBAAmB,GAC7B,EAAE;IACF,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,OAAO,CAAC,IAAI,CAAC,CA4LhB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../google/shared.ts"],"names":[],"mappings":"AAEA,wBAAsB,wBAAwB,CAC7C,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,GAClB,OAAO,CAAC,MAAM,CAAC,CAmBjB;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CA0BrD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"sheets.d.ts","sourceRoot":"","sources":["../../google/sheets.ts"],"names":[],"mappings":"AAuEA,wBAAsB,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CA8CxE"}
package/dist/index.d.ts DELETED
@@ -1,33 +0,0 @@
1
- /**
2
- * Find the corsair config file path
3
- */
4
- export declare function findCorsairConfigPath(cwd: string): string | null;
5
- /**
6
- * Get the Corsair instance from the developer's codebase.
7
- * Searches for corsair.ts in common locations and loads it using c12.
8
- *
9
- * @example
10
- * ```ts
11
- * const instance = await getCorsairInstance({
12
- * cwd: process.cwd(),
13
- * });
14
- *
15
- * // For multi-tenant setups
16
- * if ('withTenant' in instance) {
17
- * const tenant = instance.withTenant('tenant_123');
18
- * // Use tenant...
19
- * }
20
- * ```
21
- *
22
- * @param options - Configuration options
23
- * @param options.cwd - Current working directory to search from
24
- * @param options.configPath - Optional explicit path to corsair.ts file
25
- * @param options.shouldThrowOnError - If true, throws errors instead of exiting process
26
- * @returns The Corsair instance (CorsairClient or CorsairTenantWrapper)
27
- */
28
- export declare function getCorsairInstance({ cwd, configPath, shouldThrowOnError, }: {
29
- cwd: string;
30
- configPath?: string;
31
- shouldThrowOnError?: boolean;
32
- }): Promise<{}>;
33
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAyLA;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAQhE;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAsB,kBAAkB,CAAC,EACxC,GAAG,EACH,UAAU,EACV,kBAA0B,GAC1B,EAAE;IACF,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC7B,eAqLA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../microsoft/credentials.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAW1D,MAAM,MAAM,kBAAkB,GAAG;IAChC,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACtD,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACvD,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3D,CAAC;AAkCF,wBAAsB,kBAAkB,CACvC,eAAe,EAAE,MAAM,EACvB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,qBAAqB,GAC7B,OAAO,CAAC;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,kBAAkB,CAAA;CAAE,CAAC,CA2FjE;AAED,wBAAsB,oBAAoB,CACzC,SAAS,EAAE;IAAE,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CAAE,EAChE,WAAW,EAAE,MAAM,GACjB,OAAO,CAAC,IAAI,CAAC,CAKf"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph.d.ts","sourceRoot":"","sources":["../../microsoft/graph.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,qCAAqC,CAAC;AAEjE,wBAAsB,uBAAuB,CAC5C,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,MAAM,EACvB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,GACnB,OAAO,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,kBAAkB,EAAE,MAAM,CAAA;CAAE,CAAC,CA0BrD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"onedrive.d.ts","sourceRoot":"","sources":["../../microsoft/onedrive.ts"],"names":[],"mappings":"AAsDA,wBAAsB,oBAAoB,CAAC,EAC1C,GAAG,GACH,EAAE;IACF,GAAG,EAAE,MAAM,CAAC;CACZ,GAAG,OAAO,CAAC,IAAI,CAAC,CAkHhB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"outlook.d.ts","sourceRoot":"","sources":["../../microsoft/outlook.ts"],"names":[],"mappings":"AAqDA,wBAAsB,mBAAmB,CAAC,EACzC,GAAG,GACH,EAAE;IACF,GAAG,EAAE,MAAM,CAAC;CACZ,GAAG,OAAO,CAAC,IAAI,CAAC,CAkFhB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"sharepoint.d.ts","sourceRoot":"","sources":["../../microsoft/sharepoint.ts"],"names":[],"mappings":"AA2EA,wBAAsB,sBAAsB,CAAC,EAC5C,GAAG,GACH,EAAE;IACF,GAAG,EAAE,MAAM,CAAC;CACZ,GAAG,OAAO,CAAC,IAAI,CAAC,CAkHhB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"teams.d.ts","sourceRoot":"","sources":["../../microsoft/teams.ts"],"names":[],"mappings":"AAkOA,wBAAsB,iBAAiB,CAAC,EACvC,GAAG,GACH,EAAE;IACF,GAAG,EAAE,MAAM,CAAC;CACZ,GAAG,OAAO,CAAC,IAAI,CAAC,CAoHhB"}
@@ -1,2 +0,0 @@
1
- export { runGoogleSubscribe } from './google/index';
2
- //# sourceMappingURL=subscribe-google.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subscribe-google.d.ts","sourceRoot":"","sources":["../subscribe-google.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,5 +0,0 @@
1
- export { runOnedriveSubscribe } from './microsoft/onedrive';
2
- export { runOutlookSubscribe } from './microsoft/outlook';
3
- export { runSharepointSubscribe } from './microsoft/sharepoint';
4
- export { runTeamsSubscribe } from './microsoft/teams';
5
- //# sourceMappingURL=subscribe-microsoft.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subscribe-microsoft.d.ts","sourceRoot":"","sources":["../subscribe-microsoft.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -1,3 +0,0 @@
1
- declare const _default: import("tsup").Options | import("tsup").Options[] | ((overrideOptions: import("tsup").Options) => import("tsup").Options | import("tsup").Options[] | Promise<import("tsup").Options | import("tsup").Options[]>);
2
- export default _default;
3
- //# sourceMappingURL=tsup.config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tsup.config.d.ts","sourceRoot":"","sources":["../tsup.config.ts"],"names":[],"mappings":";AAEA,wBAcG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"corsair.d.ts","sourceRoot":"","sources":["../../utils/corsair.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAI1D,wBAAsB,qBAAqB,CAC1C,GAAG,EAAE,MAAM,GACT,OAAO,CAAC,qBAAqB,CAAC,CAWhC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"load-config.d.ts","sourceRoot":"","sources":["../../utils/load-config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAG1D,wBAAsB,kBAAkB,CACvC,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,GACjB,OAAO,CAAC;IAAE,QAAQ,EAAE,qBAAqB,CAAC;IAAC,MAAM,EAAE,OAAO,CAAA;CAAE,CAAC,CAkC/D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../utils/prompts.ts"],"names":[],"mappings":"AAGA,wBAAsB,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,CAWtD;AAED,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC,CAexD;AAED,wBAAsB,iBAAiB,IAAI,OAAO,CAAC,MAAM,CAAC,CAYzD"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes