@keystrokehq/onenote 0.1.3 → 0.1.4

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 (153) hide show
  1. package/dist/actions/copy-onenote-group-notebook.d.cts +13 -1
  2. package/dist/actions/copy-onenote-group-notebook.d.mts +13 -1
  3. package/dist/actions/copy-onenote-site-notebook.d.cts +13 -1
  4. package/dist/actions/copy-onenote-site-notebook.d.mts +13 -1
  5. package/dist/actions/copy-section-to-notebook-for-user2.d.cts +13 -1
  6. package/dist/actions/copy-section-to-notebook-for-user2.d.mts +13 -1
  7. package/dist/actions/copy-section-to-notebook2.d.cts +13 -1
  8. package/dist/actions/copy-section-to-notebook2.d.mts +13 -1
  9. package/dist/actions/copy-section-to-section-group-for-user.d.cts +13 -1
  10. package/dist/actions/copy-section-to-section-group-for-user.d.mts +13 -1
  11. package/dist/actions/copy-section-to-section-group.d.cts +13 -1
  12. package/dist/actions/copy-section-to-section-group.d.mts +13 -1
  13. package/dist/actions/copy-site-page-to-section3.d.cts +13 -1
  14. package/dist/actions/copy-site-page-to-section3.d.mts +13 -1
  15. package/dist/actions/copy-user-page-to-section.d.cts +13 -1
  16. package/dist/actions/copy-user-page-to-section.d.mts +13 -1
  17. package/dist/actions/count-notebooks-section-groups-sections.d.cts +13 -1
  18. package/dist/actions/count-notebooks-section-groups-sections.d.mts +13 -1
  19. package/dist/actions/count-site-notebook-section-groups-sections.d.cts +13 -1
  20. package/dist/actions/count-site-notebook-section-groups-sections.d.mts +13 -1
  21. package/dist/actions/create-group-notebook.d.cts +13 -1
  22. package/dist/actions/create-group-notebook.d.mts +13 -1
  23. package/dist/actions/create-group-pages.d.cts +13 -1
  24. package/dist/actions/create-group-pages.d.mts +13 -1
  25. package/dist/actions/create-group-section-groups-sections.d.cts +13 -1
  26. package/dist/actions/create-group-section-groups-sections.d.mts +13 -1
  27. package/dist/actions/create-me-notebooks.d.cts +13 -1
  28. package/dist/actions/create-me-notebooks.d.mts +13 -1
  29. package/dist/actions/create-me-section-groups-sections.d.cts +13 -1
  30. package/dist/actions/create-me-section-groups-sections.d.mts +13 -1
  31. package/dist/actions/create-me-sections-pages.d.cts +13 -1
  32. package/dist/actions/create-me-sections-pages.d.mts +13 -1
  33. package/dist/actions/create-onenote-group-notebooks-section-groups.d.cts +13 -1
  34. package/dist/actions/create-onenote-group-notebooks-section-groups.d.mts +13 -1
  35. package/dist/actions/create-site-notebooks-sections.d.cts +13 -1
  36. package/dist/actions/create-site-notebooks-sections.d.mts +13 -1
  37. package/dist/actions/create-user-notebooks-sections.d.cts +13 -1
  38. package/dist/actions/create-user-notebooks-sections.d.mts +13 -1
  39. package/dist/actions/create-user-pages.d.cts +13 -1
  40. package/dist/actions/create-user-pages.d.mts +13 -1
  41. package/dist/actions/create-user-section-groups-sections.d.cts +13 -1
  42. package/dist/actions/create-user-section-groups-sections.d.mts +13 -1
  43. package/dist/actions/create-user-sections-pages4.d.cts +13 -1
  44. package/dist/actions/create-user-sections-pages4.d.mts +13 -1
  45. package/dist/actions/delete-onenote-group-section-group-page-content.d.cts +13 -1
  46. package/dist/actions/delete-onenote-group-section-group-page-content.d.mts +13 -1
  47. package/dist/actions/delete-onenote-group-sections-pages2.d.cts +13 -1
  48. package/dist/actions/delete-onenote-group-sections-pages2.d.mts +13 -1
  49. package/dist/actions/delete-site-pages.d.cts +13 -1
  50. package/dist/actions/delete-site-pages.d.mts +13 -1
  51. package/dist/actions/delete-user-onenote-sections-pages.d.cts +13 -1
  52. package/dist/actions/delete-user-onenote-sections-pages.d.mts +13 -1
  53. package/dist/actions/delete-user-pages.d.cts +13 -1
  54. package/dist/actions/delete-user-pages.d.mts +13 -1
  55. package/dist/actions/get-group-sections.d.cts +13 -1
  56. package/dist/actions/get-group-sections.d.mts +13 -1
  57. package/dist/actions/get-me-onenote-resources-value.d.cts +13 -1
  58. package/dist/actions/get-me-onenote-resources-value.d.mts +13 -1
  59. package/dist/actions/get-me-section-page-content.d.cts +13 -1
  60. package/dist/actions/get-me-section-page-content.d.mts +13 -1
  61. package/dist/actions/get-notebook-from-web-url.d.cts +13 -1
  62. package/dist/actions/get-notebook-from-web-url.d.mts +13 -1
  63. package/dist/actions/get-notebook-section-group.d.cts +13 -1
  64. package/dist/actions/get-notebook-section-group.d.mts +13 -1
  65. package/dist/actions/get-onenote-group-operations.d.cts +13 -1
  66. package/dist/actions/get-onenote-group-operations.d.mts +13 -1
  67. package/dist/actions/get-onenote-group-sections-pages.d.cts +13 -1
  68. package/dist/actions/get-onenote-group-sections-pages.d.mts +13 -1
  69. package/dist/actions/get-onenote-site-operations.d.cts +13 -1
  70. package/dist/actions/get-onenote-site-operations.d.mts +13 -1
  71. package/dist/actions/get-onenote-user-page-content.d.cts +13 -1
  72. package/dist/actions/get-onenote-user-page-content.d.mts +13 -1
  73. package/dist/actions/get-page.d.cts +13 -1
  74. package/dist/actions/get-page.d.mts +13 -1
  75. package/dist/actions/get-recent-notebooks.d.cts +13 -1
  76. package/dist/actions/get-recent-notebooks.d.mts +13 -1
  77. package/dist/actions/get-section.d.cts +13 -1
  78. package/dist/actions/get-section.d.mts +13 -1
  79. package/dist/actions/get-site-onenote-pages.d.cts +13 -1
  80. package/dist/actions/get-site-onenote-pages.d.mts +13 -1
  81. package/dist/actions/get-site-pages-preview.d.cts +13 -1
  82. package/dist/actions/get-site-pages-preview.d.mts +13 -1
  83. package/dist/actions/get-site-sections-pages.d.cts +13 -1
  84. package/dist/actions/get-site-sections-pages.d.mts +13 -1
  85. package/dist/actions/get-site-sections.d.cts +13 -1
  86. package/dist/actions/get-site-sections.d.mts +13 -1
  87. package/dist/actions/get-user-notebook.d.cts +13 -1
  88. package/dist/actions/get-user-notebook.d.mts +13 -1
  89. package/dist/actions/get-user-pages.d.cts +13 -1
  90. package/dist/actions/get-user-pages.d.mts +13 -1
  91. package/dist/actions/get-user-parent-section-group2.d.cts +13 -1
  92. package/dist/actions/get-user-parent-section-group2.d.mts +13 -1
  93. package/dist/actions/list-group-notebook-section-groups.d.cts +13 -1
  94. package/dist/actions/list-group-notebook-section-groups.d.mts +13 -1
  95. package/dist/actions/list-group-notebook-section-pages.d.cts +13 -1
  96. package/dist/actions/list-group-notebook-section-pages.d.mts +13 -1
  97. package/dist/actions/list-group-notebooks.d.cts +13 -1
  98. package/dist/actions/list-group-notebooks.d.mts +13 -1
  99. package/dist/actions/list-group-section-groups-sections.d.cts +13 -1
  100. package/dist/actions/list-group-section-groups-sections.d.mts +13 -1
  101. package/dist/actions/list-joined-teams.d.cts +13 -1
  102. package/dist/actions/list-joined-teams.d.mts +13 -1
  103. package/dist/actions/list-me-onenote-sections-pages4.d.cts +13 -1
  104. package/dist/actions/list-me-onenote-sections-pages4.d.mts +13 -1
  105. package/dist/actions/list-onenote-group-pages.d.cts +13 -1
  106. package/dist/actions/list-onenote-group-pages.d.mts +13 -1
  107. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.cts +13 -1
  108. package/dist/actions/list-onenote-group-section-groups-section-groups2.d.mts +13 -1
  109. package/dist/actions/list-onenote-group-sections-pages4.d.cts +13 -1
  110. package/dist/actions/list-onenote-group-sections-pages4.d.mts +13 -1
  111. package/dist/actions/list-site-notebook-section-groups.d.cts +13 -1
  112. package/dist/actions/list-site-notebook-section-groups.d.mts +13 -1
  113. package/dist/actions/list-site-notebooks.d.cts +13 -1
  114. package/dist/actions/list-site-notebooks.d.mts +13 -1
  115. package/dist/actions/list-site-pages-content.d.cts +13 -1
  116. package/dist/actions/list-site-pages-content.d.mts +13 -1
  117. package/dist/actions/list-site-sections.d.cts +13 -1
  118. package/dist/actions/list-site-sections.d.mts +13 -1
  119. package/dist/actions/list-user-notebook-sections.d.cts +13 -1
  120. package/dist/actions/list-user-notebook-sections.d.mts +13 -1
  121. package/dist/actions/list-user-notebooks.d.cts +13 -1
  122. package/dist/actions/list-user-notebooks.d.mts +13 -1
  123. package/dist/actions/resolve-site-by-url.d.cts +13 -1
  124. package/dist/actions/resolve-site-by-url.d.mts +13 -1
  125. package/dist/actions/sites-search.d.cts +13 -1
  126. package/dist/actions/sites-search.d.mts +13 -1
  127. package/dist/actions/update-me-page-content.d.cts +13 -1
  128. package/dist/actions/update-me-page-content.d.mts +13 -1
  129. package/dist/actions/update-me-sections.d.cts +13 -1
  130. package/dist/actions/update-me-sections.d.mts +13 -1
  131. package/dist/actions/update-onenote-page-content.d.cts +13 -1
  132. package/dist/actions/update-onenote-page-content.d.mts +13 -1
  133. package/dist/actions/update-site-notebooks-sections.d.cts +13 -1
  134. package/dist/actions/update-site-notebooks-sections.d.mts +13 -1
  135. package/dist/actions/update-site-pages-content.d.cts +13 -1
  136. package/dist/actions/update-site-pages-content.d.mts +13 -1
  137. package/dist/actions/update-site-section-groups-sections.d.cts +13 -1
  138. package/dist/actions/update-site-section-groups-sections.d.mts +13 -1
  139. package/dist/actions/update-user-notebooks-sections.d.cts +13 -1
  140. package/dist/actions/update-user-notebooks-sections.d.mts +13 -1
  141. package/dist/actions/validate-credential.d.cts +13 -1
  142. package/dist/actions/validate-credential.d.cts.map +1 -1
  143. package/dist/actions/validate-credential.d.mts +13 -1
  144. package/dist/actions/validate-credential.d.mts.map +1 -1
  145. package/dist/app.cjs +5 -2
  146. package/dist/app.cjs.map +1 -1
  147. package/dist/app.d.cts +9 -1
  148. package/dist/app.d.cts.map +1 -1
  149. package/dist/app.d.mts +9 -1
  150. package/dist/app.d.mts.map +1 -1
  151. package/dist/app.mjs +3 -1
  152. package/dist/app.mjs.map +1 -1
  153. package/package.json +1 -1
@@ -6,7 +6,19 @@ declare const OnenoteValidateCredentialOutput: z.ZodObject<{
6
6
  message: z.ZodNullable<z.ZodString>;
7
7
  is_valid: z.ZodNullable<z.ZodBoolean>;
8
8
  }, z.core.$loose>;
9
- declare const onenoteValidateCredential: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
9
+ declare const onenoteValidateCredential: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
10
+ connectionId: z.ZodString;
11
+ entityId: z.ZodString;
12
+ instanceId: z.ZodString;
13
+ }, z.core.$strip>, z.ZodObject<{
14
+ accessToken: z.ZodString;
15
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
16
+ connectionId: z.ZodString;
17
+ entityId: z.ZodString;
18
+ instanceId: z.ZodString;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ accessToken: z.ZodString;
21
+ }, z.core.$strip>>]>;
10
22
  //#endregion
11
23
  export { onenoteValidateCredential };
12
24
  //# sourceMappingURL=validate-credential.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validate-credential.d.cts","names":[],"sources":["../../src/actions/validate-credential.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"validate-credential.d.cts","names":[],"sources":["../../src/actions/validate-credential.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
@@ -6,7 +6,19 @@ declare const OnenoteValidateCredentialOutput: z.ZodObject<{
6
6
  message: z.ZodNullable<z.ZodString>;
7
7
  is_valid: z.ZodNullable<z.ZodBoolean>;
8
8
  }, z.core.$loose>;
9
- declare const onenoteValidateCredential: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
9
+ declare const onenoteValidateCredential: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
10
+ connectionId: z.ZodString;
11
+ entityId: z.ZodString;
12
+ instanceId: z.ZodString;
13
+ }, z.core.$strip>, z.ZodObject<{
14
+ accessToken: z.ZodString;
15
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
16
+ connectionId: z.ZodString;
17
+ entityId: z.ZodString;
18
+ instanceId: z.ZodString;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ accessToken: z.ZodString;
21
+ }, z.core.$strip>>]>;
10
22
  //#endregion
11
23
  export { onenoteValidateCredential };
12
24
  //# sourceMappingURL=validate-credential.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validate-credential.d.mts","names":[],"sources":["../../src/actions/validate-credential.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"validate-credential.d.mts","names":[],"sources":["../../src/actions/validate-credential.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const onenote = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const onenote = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "onenote",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { accessToken: zod.z.string() }
5
8
  });
6
9
  //#endregion
7
10
  exports.onenote = onenote;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const onenote = defineApp({\n slug: \"onenote\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,WAAA,uCAAA,CAAA,CAAA,UAAA,CAAoB;CAC/B,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const onenote = defineApp({\n slug: \"onenote\",\n auth: \"keystroke\",\n credential: {\n accessToken: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAoB;CAC/B,MAAM;CACN,MAAM;CACN,YAAY,EACV,aAAaA,IAAAA,EAAE,OAAO,EACxB;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const onenote: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const onenote: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ accessToken: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { onenote };
5
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const onenote: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const onenote: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"onenote", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ accessToken: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { onenote };
5
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,10 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
2
3
  //#region src/app.ts
3
4
  const onenote = defineApp({
4
5
  slug: "onenote",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { accessToken: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  export { onenote };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const onenote = defineApp({\n slug: \"onenote\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,UAAU,UAAU;CAC/B,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const onenote = defineApp({\n slug: \"onenote\",\n auth: \"keystroke\",\n credential: {\n accessToken: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,UAAU,UAAU;CAC/B,MAAM;CACN,MAAM;CACN,YAAY,EACV,aAAa,EAAE,OAAO,EACxB;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/onenote",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"