@keystrokehq/nano_nets 0.1.5 → 0.1.6

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 (101) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-model.cjs +1 -0
  4. package/dist/actions/create-model.cjs.map +1 -1
  5. package/dist/actions/create-model.d.cts +3 -15
  6. package/dist/actions/create-model.d.cts.map +1 -1
  7. package/dist/actions/create-model.d.mts +3 -15
  8. package/dist/actions/create-model.d.mts.map +1 -1
  9. package/dist/actions/create-model.mjs +1 -0
  10. package/dist/actions/create-model.mjs.map +1 -1
  11. package/dist/actions/delete-model.cjs +1 -0
  12. package/dist/actions/delete-model.cjs.map +1 -1
  13. package/dist/actions/delete-model.d.cts +3 -15
  14. package/dist/actions/delete-model.d.cts.map +1 -1
  15. package/dist/actions/delete-model.d.mts +3 -15
  16. package/dist/actions/delete-model.d.mts.map +1 -1
  17. package/dist/actions/delete-model.mjs +1 -0
  18. package/dist/actions/delete-model.mjs.map +1 -1
  19. package/dist/actions/get-all-models.cjs +1 -0
  20. package/dist/actions/get-all-models.cjs.map +1 -1
  21. package/dist/actions/get-all-models.d.cts +3 -13
  22. package/dist/actions/get-all-models.d.cts.map +1 -1
  23. package/dist/actions/get-all-models.d.mts +3 -13
  24. package/dist/actions/get-all-models.d.mts.map +1 -1
  25. package/dist/actions/get-all-models.mjs +1 -0
  26. package/dist/actions/get-all-models.mjs.map +1 -1
  27. package/dist/actions/get-all-prediction-files.cjs +1 -0
  28. package/dist/actions/get-all-prediction-files.cjs.map +1 -1
  29. package/dist/actions/get-all-prediction-files.d.cts +3 -17
  30. package/dist/actions/get-all-prediction-files.d.cts.map +1 -1
  31. package/dist/actions/get-all-prediction-files.d.mts +3 -17
  32. package/dist/actions/get-all-prediction-files.d.mts.map +1 -1
  33. package/dist/actions/get-all-prediction-files.mjs +1 -0
  34. package/dist/actions/get-all-prediction-files.mjs.map +1 -1
  35. package/dist/actions/get-model-details.cjs +1 -0
  36. package/dist/actions/get-model-details.cjs.map +1 -1
  37. package/dist/actions/get-model-details.d.cts +3 -15
  38. package/dist/actions/get-model-details.d.cts.map +1 -1
  39. package/dist/actions/get-model-details.d.mts +3 -15
  40. package/dist/actions/get-model-details.d.mts.map +1 -1
  41. package/dist/actions/get-model-details.mjs +1 -0
  42. package/dist/actions/get-model-details.mjs.map +1 -1
  43. package/dist/actions/get-training-images.cjs +1 -0
  44. package/dist/actions/get-training-images.cjs.map +1 -1
  45. package/dist/actions/get-training-images.d.cts +3 -17
  46. package/dist/actions/get-training-images.d.cts.map +1 -1
  47. package/dist/actions/get-training-images.d.mts +3 -17
  48. package/dist/actions/get-training-images.d.mts.map +1 -1
  49. package/dist/actions/get-training-images.mjs +1 -0
  50. package/dist/actions/get-training-images.mjs.map +1 -1
  51. package/dist/actions/get-workflows.cjs +1 -0
  52. package/dist/actions/get-workflows.cjs.map +1 -1
  53. package/dist/actions/get-workflows.d.cts +3 -13
  54. package/dist/actions/get-workflows.d.cts.map +1 -1
  55. package/dist/actions/get-workflows.d.mts +3 -13
  56. package/dist/actions/get-workflows.d.mts.map +1 -1
  57. package/dist/actions/get-workflows.mjs +1 -0
  58. package/dist/actions/get-workflows.mjs.map +1 -1
  59. package/dist/actions/list-documents.cjs +1 -0
  60. package/dist/actions/list-documents.cjs.map +1 -1
  61. package/dist/actions/list-documents.d.cts +3 -17
  62. package/dist/actions/list-documents.d.cts.map +1 -1
  63. package/dist/actions/list-documents.d.mts +3 -17
  64. package/dist/actions/list-documents.d.mts.map +1 -1
  65. package/dist/actions/list-documents.mjs +1 -0
  66. package/dist/actions/list-documents.mjs.map +1 -1
  67. package/dist/actions/update-model.cjs +1 -0
  68. package/dist/actions/update-model.cjs.map +1 -1
  69. package/dist/actions/update-model.d.cts +3 -17
  70. package/dist/actions/update-model.d.cts.map +1 -1
  71. package/dist/actions/update-model.d.mts +3 -17
  72. package/dist/actions/update-model.d.mts.map +1 -1
  73. package/dist/actions/update-model.mjs +1 -0
  74. package/dist/actions/update-model.mjs.map +1 -1
  75. package/dist/actions/upload-training-images-by-file.cjs +1 -0
  76. package/dist/actions/upload-training-images-by-file.cjs.map +1 -1
  77. package/dist/actions/upload-training-images-by-file.d.cts +3 -20
  78. package/dist/actions/upload-training-images-by-file.d.cts.map +1 -1
  79. package/dist/actions/upload-training-images-by-file.d.mts +3 -20
  80. package/dist/actions/upload-training-images-by-file.d.mts.map +1 -1
  81. package/dist/actions/upload-training-images-by-file.mjs +1 -0
  82. package/dist/actions/upload-training-images-by-file.mjs.map +1 -1
  83. package/dist/actions/upload-training-images-by-url.cjs +1 -0
  84. package/dist/actions/upload-training-images-by-url.cjs.map +1 -1
  85. package/dist/actions/upload-training-images-by-url.d.cts +3 -16
  86. package/dist/actions/upload-training-images-by-url.d.cts.map +1 -1
  87. package/dist/actions/upload-training-images-by-url.d.mts +3 -16
  88. package/dist/actions/upload-training-images-by-url.d.mts.map +1 -1
  89. package/dist/actions/upload-training-images-by-url.mjs +1 -0
  90. package/dist/actions/upload-training-images-by-url.mjs.map +1 -1
  91. package/dist/app.cjs +2 -2
  92. package/dist/app.cjs.map +1 -1
  93. package/dist/app.d.cts +4 -6
  94. package/dist/app.d.cts.map +1 -1
  95. package/dist/app.d.mts +4 -6
  96. package/dist/app.d.mts.map +1 -1
  97. package/dist/app.mjs +0 -1
  98. package/dist/app.mjs.map +1 -1
  99. package/dist/index.d.cts +1 -1
  100. package/dist/index.d.mts +1 -1
  101. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"update-model.mjs","names":[],"sources":["../../src/actions/update-model.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NanoNetsUpdateModelInput = z.object({\n model_id: z.string().describe(\"Unique identifier of the OCR model to update AI guidelines for.\"),\n field_instructions: z.string().describe(\"Instructions for the AI model to follow during field predictions. Provide guidance on how to extract and validate field data.\"),\n table_instructions: z.string().describe(\"Instructions for the AI model to follow during table predictions. Provide guidance on how to identify and extract tabular data.\"),\n}).describe(\"Request schema for updating an OCR model's AI Agent guidelines.\\nOnly works for Instant Learning models.\");\nexport const NanoNetsUpdateModelOutput = z.object({\n result: z.string().describe(\"Result status from the update operation.\").nullable().optional(),\n message: z.string().describe(\"Status message of the update operation.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the AI Agent guidelines update.\");\n\nexport const nanoNetsUpdateModel = action(\"NANO_NETS_UPDATE_MODEL\", {\n slug: \"nano_nets-update-model\",\n name: \"Update Model AI Guidelines\",\n description: \"Update AI Agent guidelines for an OCR model. Sets instructions for how the AI should handle field and table predictions. Only works for Instant Learning models. Use this to customize extraction behavior for specific document types.\",\n input: NanoNetsUpdateModelInput,\n output: NanoNetsUpdateModelOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsC,EAAE,OAAO;EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EAC/F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;EACvK,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;CAC3K,CAAC,CAAC,CAAC,SAAS,0GAUH;CACP,QAVuC,EAAE,OAAO;EAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-model.mjs","names":[],"sources":["../../src/actions/update-model.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nanoNets } from \"../app\";\n\nexport const NanoNetsUpdateModelInput = z.object({\n model_id: z.string().describe(\"Unique identifier of the OCR model to update AI guidelines for.\"),\n field_instructions: z.string().describe(\"Instructions for the AI model to follow during field predictions. Provide guidance on how to extract and validate field data.\"),\n table_instructions: z.string().describe(\"Instructions for the AI model to follow during table predictions. Provide guidance on how to identify and extract tabular data.\"),\n}).describe(\"Request schema for updating an OCR model's AI Agent guidelines.\\nOnly works for Instant Learning models.\");\nexport const NanoNetsUpdateModelOutput = z.object({\n result: z.string().describe(\"Result status from the update operation.\").nullable().optional(),\n message: z.string().describe(\"Status message of the update operation.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the AI Agent guidelines update.\");\n\nexport const nanoNetsUpdateModel: AppAction<\n typeof NanoNetsUpdateModelInput,\n typeof NanoNetsUpdateModelOutput,\n typeof nanoNets.credential\n> = action(\"NANO_NETS_UPDATE_MODEL\", {\n slug: \"nano_nets-update-model\",\n name: \"Update Model AI Guidelines\",\n description: \"Update AI Agent guidelines for an OCR model. Sets instructions for how the AI should handle field and table predictions. Only works for Instant Learning models. Use this to customize extraction behavior for specific document types.\",\n input: NanoNetsUpdateModelInput,\n output: NanoNetsUpdateModelOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,sBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBsC,EAAE,OAAO;EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EAC/F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;EACvK,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;CAC3K,CAAC,CAAC,CAAC,SAAS,0GAcH;CACP,QAduC,EAAE,OAAO;EAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/upload-training-images-by-file.ts
@@ -1 +1 @@
1
- {"version":3,"file":"upload-training-images-by-file.cjs","names":["z","action"],"sources":["../../src/actions/upload-training-images-by-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NanoNetsUploadTrainingImagesByFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The image file to upload for training. Supported formats: PNG, JPEG, PDF.\"),\n model_id: z.string().describe(\"Unique identifier of the OCR model to which the image will be uploaded.\"),\n}).describe(\"Request parameters for uploading a training image file to an OCR model.\");\nconst NanoNetsUploadTrainingImagesByFile_CategoryInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the category.\").nullable(),\n name: z.string().describe(\"Name of the category.\").nullable(),\n count: z.number().int().describe(\"Number of images in this category.\").nullable(),\n}).passthrough().describe(\"Information about a category in the model.\");\nexport const NanoNetsUploadTrainingImagesByFileOutput = z.object({\n state: z.number().int().describe(\"Current state code of the model.\").nullable(),\n model_id: z.string().describe(\"Unique identifier of the model the image was uploaded to.\").nullable(),\n categories: z.array(NanoNetsUploadTrainingImagesByFile_CategoryInfoSchema).describe(\"List of categories in the model with image counts.\"),\n model_type: z.string().describe(\"Type of the model (e.g., 'ocr').\").nullable(),\n}).passthrough().describe(\"Response schema for the training image file upload operation.\");\n\nexport const nanoNetsUploadTrainingImagesByFile = action(\"NANO_NETS_UPLOAD_TRAINING_IMAGES_BY_FILE\", {\n slug: \"nano_nets-upload-training-images-by-file\",\n name: \"Upload Training Images by File\",\n description: \"Tool to upload a training image file to a specified OCR model. Use when adding a local image file to train the model. Supported file formats include PNG, JPEG, and PDF.\",\n input: NanoNetsUploadTrainingImagesByFileInput,\n output: NanoNetsUploadTrainingImagesByFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,2EAA2E;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;AACzG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,oDAAoD;CACxI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,qCAAqCC,eAAAA,OAAO,4CAA4C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"upload-training-images-by-file.cjs","names":["z","action"],"sources":["../../src/actions/upload-training-images-by-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nanoNets } from \"../app\";\n\nexport const NanoNetsUploadTrainingImagesByFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The image file to upload for training. Supported formats: PNG, JPEG, PDF.\"),\n model_id: z.string().describe(\"Unique identifier of the OCR model to which the image will be uploaded.\"),\n}).describe(\"Request parameters for uploading a training image file to an OCR model.\");\nconst NanoNetsUploadTrainingImagesByFile_CategoryInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the category.\").nullable(),\n name: z.string().describe(\"Name of the category.\").nullable(),\n count: z.number().int().describe(\"Number of images in this category.\").nullable(),\n}).passthrough().describe(\"Information about a category in the model.\");\nexport const NanoNetsUploadTrainingImagesByFileOutput = z.object({\n state: z.number().int().describe(\"Current state code of the model.\").nullable(),\n model_id: z.string().describe(\"Unique identifier of the model the image was uploaded to.\").nullable(),\n categories: z.array(NanoNetsUploadTrainingImagesByFile_CategoryInfoSchema).describe(\"List of categories in the model with image counts.\"),\n model_type: z.string().describe(\"Type of the model (e.g., 'ocr').\").nullable(),\n}).passthrough().describe(\"Response schema for the training image file upload operation.\");\n\nexport const nanoNetsUploadTrainingImagesByFile: AppAction<\n typeof NanoNetsUploadTrainingImagesByFileInput,\n typeof NanoNetsUploadTrainingImagesByFileOutput,\n typeof nanoNets.credential\n> = action(\"NANO_NETS_UPLOAD_TRAINING_IMAGES_BY_FILE\", {\n slug: \"nano_nets-upload-training-images-by-file\",\n name: \"Upload Training Images by File\",\n description: \"Tool to upload a training image file to a specified OCR model. Use when adding a local image file to train the model. Supported file formats include PNG, JPEG, and PDF.\",\n input: NanoNetsUploadTrainingImagesByFileInput,\n output: NanoNetsUploadTrainingImagesByFileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,2EAA2E;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;AACzG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,oDAAoD;CACxI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,qCAITC,eAAAA,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { nanoNets } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/upload-training-images-by-file.d.ts
@@ -19,26 +21,7 @@ declare const NanoNetsUploadTrainingImagesByFileOutput: z.ZodObject<{
19
21
  }, z.core.$loose>>;
20
22
  model_type: z.ZodNullable<z.ZodString>;
21
23
  }, z.core.$loose>;
22
- declare const nanoNetsUploadTrainingImagesByFile: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- file: {
24
- name: string;
25
- s3key: string;
26
- mimetype: string;
27
- };
28
- model_id: string;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nano_nets", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nano_nets", z.ZodObject<{
36
- connectionId: z.ZodString;
37
- entityId: z.ZodString;
38
- instanceId: z.ZodString;
39
- }, z.core.$strip>, z.ZodObject<{
40
- generic_api_key: z.ZodString;
41
- }, z.core.$strip>>]>;
24
+ declare const nanoNetsUploadTrainingImagesByFile: AppAction<typeof NanoNetsUploadTrainingImagesByFileInput, typeof NanoNetsUploadTrainingImagesByFileOutput, typeof nanoNets.credential>;
42
25
  //#endregion
43
26
  export { nanoNetsUploadTrainingImagesByFile };
44
27
  //# sourceMappingURL=upload-training-images-by-file.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload-training-images-by-file.d.cts","names":[],"sources":["../../src/actions/upload-training-images-by-file.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;cAavC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;cAOxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"upload-training-images-by-file.d.cts","names":[],"sources":["../../src/actions/upload-training-images-by-file.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;cAavC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;cAOxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { nanoNets } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/upload-training-images-by-file.d.ts
@@ -19,26 +21,7 @@ declare const NanoNetsUploadTrainingImagesByFileOutput: z.ZodObject<{
19
21
  }, z.core.$loose>>;
20
22
  model_type: z.ZodNullable<z.ZodString>;
21
23
  }, z.core.$loose>;
22
- declare const nanoNetsUploadTrainingImagesByFile: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- file: {
24
- name: string;
25
- s3key: string;
26
- mimetype: string;
27
- };
28
- model_id: string;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nano_nets", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nano_nets", z.ZodObject<{
36
- connectionId: z.ZodString;
37
- entityId: z.ZodString;
38
- instanceId: z.ZodString;
39
- }, z.core.$strip>, z.ZodObject<{
40
- generic_api_key: z.ZodString;
41
- }, z.core.$strip>>]>;
24
+ declare const nanoNetsUploadTrainingImagesByFile: AppAction<typeof NanoNetsUploadTrainingImagesByFileInput, typeof NanoNetsUploadTrainingImagesByFileOutput, typeof nanoNets.credential>;
42
25
  //#endregion
43
26
  export { nanoNetsUploadTrainingImagesByFile };
44
27
  //# sourceMappingURL=upload-training-images-by-file.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload-training-images-by-file.d.mts","names":[],"sources":["../../src/actions/upload-training-images-by-file.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;cAavC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;cAOxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"upload-training-images-by-file.d.mts","names":[],"sources":["../../src/actions/upload-training-images-by-file.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;cAavC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;cAOxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/upload-training-images-by-file.ts
@@ -1 +1 @@
1
- {"version":3,"file":"upload-training-images-by-file.mjs","names":[],"sources":["../../src/actions/upload-training-images-by-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NanoNetsUploadTrainingImagesByFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The image file to upload for training. Supported formats: PNG, JPEG, PDF.\"),\n model_id: z.string().describe(\"Unique identifier of the OCR model to which the image will be uploaded.\"),\n}).describe(\"Request parameters for uploading a training image file to an OCR model.\");\nconst NanoNetsUploadTrainingImagesByFile_CategoryInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the category.\").nullable(),\n name: z.string().describe(\"Name of the category.\").nullable(),\n count: z.number().int().describe(\"Number of images in this category.\").nullable(),\n}).passthrough().describe(\"Information about a category in the model.\");\nexport const NanoNetsUploadTrainingImagesByFileOutput = z.object({\n state: z.number().int().describe(\"Current state code of the model.\").nullable(),\n model_id: z.string().describe(\"Unique identifier of the model the image was uploaded to.\").nullable(),\n categories: z.array(NanoNetsUploadTrainingImagesByFile_CategoryInfoSchema).describe(\"List of categories in the model with image counts.\"),\n model_type: z.string().describe(\"Type of the model (e.g., 'ocr').\").nullable(),\n}).passthrough().describe(\"Response schema for the training image file upload operation.\");\n\nexport const nanoNetsUploadTrainingImagesByFile = action(\"NANO_NETS_UPLOAD_TRAINING_IMAGES_BY_FILE\", {\n slug: \"nano_nets-upload-training-images-by-file\",\n name: \"Upload Training Images by File\",\n description: \"Tool to upload a training image file to a specified OCR model. Use when adding a local image file to train the model. Supported file formats include PNG, JPEG, and PDF.\",\n input: NanoNetsUploadTrainingImagesByFileInput,\n output: NanoNetsUploadTrainingImagesByFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,2EAA2E;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;AACzG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,wDAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAQtE,MAAa,qCAAqC,OAAO,4CAA4C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZsD,EAAE,OAAO;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,oDAAoD;EACxI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"upload-training-images-by-file.mjs","names":[],"sources":["../../src/actions/upload-training-images-by-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nanoNets } from \"../app\";\n\nexport const NanoNetsUploadTrainingImagesByFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The image file to upload for training. Supported formats: PNG, JPEG, PDF.\"),\n model_id: z.string().describe(\"Unique identifier of the OCR model to which the image will be uploaded.\"),\n}).describe(\"Request parameters for uploading a training image file to an OCR model.\");\nconst NanoNetsUploadTrainingImagesByFile_CategoryInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the category.\").nullable(),\n name: z.string().describe(\"Name of the category.\").nullable(),\n count: z.number().int().describe(\"Number of images in this category.\").nullable(),\n}).passthrough().describe(\"Information about a category in the model.\");\nexport const NanoNetsUploadTrainingImagesByFileOutput = z.object({\n state: z.number().int().describe(\"Current state code of the model.\").nullable(),\n model_id: z.string().describe(\"Unique identifier of the model the image was uploaded to.\").nullable(),\n categories: z.array(NanoNetsUploadTrainingImagesByFile_CategoryInfoSchema).describe(\"List of categories in the model with image counts.\"),\n model_type: z.string().describe(\"Type of the model (e.g., 'ocr').\").nullable(),\n}).passthrough().describe(\"Response schema for the training image file upload operation.\");\n\nexport const nanoNetsUploadTrainingImagesByFile: AppAction<\n typeof NanoNetsUploadTrainingImagesByFileInput,\n typeof NanoNetsUploadTrainingImagesByFileOutput,\n typeof nanoNets.credential\n> = action(\"NANO_NETS_UPLOAD_TRAINING_IMAGES_BY_FILE\", {\n slug: \"nano_nets-upload-training-images-by-file\",\n name: \"Upload Training Images by File\",\n description: \"Tool to upload a training image file to a specified OCR model. Use when adding a local image file to train the model. Supported file formats include PNG, JPEG, and PDF.\",\n input: NanoNetsUploadTrainingImagesByFileInput,\n output: NanoNetsUploadTrainingImagesByFileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,2EAA2E;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;AACzG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,wDAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAQtE,MAAa,qCAIT,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBsD,EAAE,OAAO;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,oDAAoD;EACxI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/upload-training-images-by-url.ts
@@ -1 +1 @@
1
- {"version":3,"file":"upload-training-images-by-url.cjs","names":["z","action"],"sources":["../../src/actions/upload-training-images-by-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NanoNetsUploadTrainingImagesByUrlInput = z.object({\n urls: z.array(z.string()).describe(\"List of publicly accessible image URLs to upload for training.\"),\n model_id: z.string().describe(\"Unique identifier of the OCR model to which the images will be uploaded.\"),\n}).describe(\"Request parameters for uploading training images by URL to an OCR model.\");\nconst NanoNetsUploadTrainingImagesByUrl_UploadedItemSchema = z.object({\n url: z.string().describe(\"URL of the successfully uploaded image.\").nullable(),\n upload_id: z.string().describe(\"Unique upload ID for the image.\").nullable(),\n}).passthrough().describe(\"Details of a successfully uploaded image URL.\");\nconst NanoNetsUploadTrainingImagesByUrl_DuplicateItemSchema = z.object({\n url: z.string().describe(\"URL of the duplicate image.\").nullable(),\n upload_id: z.string().describe(\"Upload ID of the original image.\").nullable(),\n}).passthrough().describe(\"Details of a duplicate image URL.\");\nexport const NanoNetsUploadTrainingImagesByUrlOutput = z.object({\n invalid: z.array(z.string()).describe(\"List of invalid URLs that could not be processed.\"),\n message: z.string().describe(\"Status message returned by the API.\").nullable(),\n uploaded: z.array(NanoNetsUploadTrainingImagesByUrl_UploadedItemSchema).describe(\"List of successfully uploaded image details.\"),\n duplicate: z.array(NanoNetsUploadTrainingImagesByUrl_DuplicateItemSchema).describe(\"List of duplicate image details, if any.\"),\n}).passthrough().describe(\"Response schema for uploading training images by URL.\");\n\nexport const nanoNetsUploadTrainingImagesByUrl = action(\"NANO_NETS_UPLOAD_TRAINING_IMAGES_BY_URL\", {\n slug: \"nano_nets-upload-training-images-by-url\",\n name: \"Upload Training Images by URL\",\n description: \"Tool to upload training images by URL to a specified OCR model. Use when adding URLs of images to a model for training purposes.\",\n input: NanoNetsUploadTrainingImagesByUrlInput,\n output: NanoNetsUploadTrainingImagesByUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gEAAgE;CACnG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;AAC1G,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,8CAA8C;CAC/H,WAAWA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,0CAA0C;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,oCAAoCC,eAAAA,OAAO,2CAA2C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"upload-training-images-by-url.cjs","names":["z","action"],"sources":["../../src/actions/upload-training-images-by-url.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nanoNets } from \"../app\";\n\nexport const NanoNetsUploadTrainingImagesByUrlInput = z.object({\n urls: z.array(z.string()).describe(\"List of publicly accessible image URLs to upload for training.\"),\n model_id: z.string().describe(\"Unique identifier of the OCR model to which the images will be uploaded.\"),\n}).describe(\"Request parameters for uploading training images by URL to an OCR model.\");\nconst NanoNetsUploadTrainingImagesByUrl_UploadedItemSchema = z.object({\n url: z.string().describe(\"URL of the successfully uploaded image.\").nullable(),\n upload_id: z.string().describe(\"Unique upload ID for the image.\").nullable(),\n}).passthrough().describe(\"Details of a successfully uploaded image URL.\");\nconst NanoNetsUploadTrainingImagesByUrl_DuplicateItemSchema = z.object({\n url: z.string().describe(\"URL of the duplicate image.\").nullable(),\n upload_id: z.string().describe(\"Upload ID of the original image.\").nullable(),\n}).passthrough().describe(\"Details of a duplicate image URL.\");\nexport const NanoNetsUploadTrainingImagesByUrlOutput = z.object({\n invalid: z.array(z.string()).describe(\"List of invalid URLs that could not be processed.\"),\n message: z.string().describe(\"Status message returned by the API.\").nullable(),\n uploaded: z.array(NanoNetsUploadTrainingImagesByUrl_UploadedItemSchema).describe(\"List of successfully uploaded image details.\"),\n duplicate: z.array(NanoNetsUploadTrainingImagesByUrl_DuplicateItemSchema).describe(\"List of duplicate image details, if any.\"),\n}).passthrough().describe(\"Response schema for uploading training images by URL.\");\n\nexport const nanoNetsUploadTrainingImagesByUrl: AppAction<\n typeof NanoNetsUploadTrainingImagesByUrlInput,\n typeof NanoNetsUploadTrainingImagesByUrlOutput,\n typeof nanoNets.credential\n> = action(\"NANO_NETS_UPLOAD_TRAINING_IMAGES_BY_URL\", {\n slug: \"nano_nets-upload-training-images-by-url\",\n name: \"Upload Training Images by URL\",\n description: \"Tool to upload training images by URL to a specified OCR model. Use when adding URLs of images to a model for training purposes.\",\n input: NanoNetsUploadTrainingImagesByUrlInput,\n output: NanoNetsUploadTrainingImagesByUrlOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gEAAgE;CACnG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;AAC1G,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,8CAA8C;CAC/H,WAAWA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,0CAA0C;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,oCAITC,eAAAA,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { nanoNets } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/upload-training-images-by-url.d.ts
@@ -17,22 +19,7 @@ declare const NanoNetsUploadTrainingImagesByUrlOutput: z.ZodObject<{
17
19
  upload_id: z.ZodNullable<z.ZodString>;
18
20
  }, z.core.$loose>>;
19
21
  }, z.core.$loose>;
20
- declare const nanoNetsUploadTrainingImagesByUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- urls: string[];
22
- model_id: string;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nano_nets", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nano_nets", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>;
22
+ declare const nanoNetsUploadTrainingImagesByUrl: AppAction<typeof NanoNetsUploadTrainingImagesByUrlInput, typeof NanoNetsUploadTrainingImagesByUrlOutput, typeof nanoNets.credential>;
36
23
  //#endregion
37
24
  export { nanoNetsUploadTrainingImagesByUrl };
38
25
  //# sourceMappingURL=upload-training-images-by-url.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload-training-images-by-url.d.cts","names":[],"sources":["../../src/actions/upload-training-images-by-url.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAYtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAOvC,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"upload-training-images-by-url.d.cts","names":[],"sources":["../../src/actions/upload-training-images-by-url.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAYtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAOvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { nanoNets } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/upload-training-images-by-url.d.ts
@@ -17,22 +19,7 @@ declare const NanoNetsUploadTrainingImagesByUrlOutput: z.ZodObject<{
17
19
  upload_id: z.ZodNullable<z.ZodString>;
18
20
  }, z.core.$loose>>;
19
21
  }, z.core.$loose>;
20
- declare const nanoNetsUploadTrainingImagesByUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- urls: string[];
22
- model_id: string;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nano_nets", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nano_nets", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>;
22
+ declare const nanoNetsUploadTrainingImagesByUrl: AppAction<typeof NanoNetsUploadTrainingImagesByUrlInput, typeof NanoNetsUploadTrainingImagesByUrlOutput, typeof nanoNets.credential>;
36
23
  //#endregion
37
24
  export { nanoNetsUploadTrainingImagesByUrl };
38
25
  //# sourceMappingURL=upload-training-images-by-url.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload-training-images-by-url.d.mts","names":[],"sources":["../../src/actions/upload-training-images-by-url.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAYtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAOvC,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"upload-training-images-by-url.d.mts","names":[],"sources":["../../src/actions/upload-training-images-by-url.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAYtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAOvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/upload-training-images-by-url.ts
@@ -1 +1 @@
1
- {"version":3,"file":"upload-training-images-by-url.mjs","names":[],"sources":["../../src/actions/upload-training-images-by-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NanoNetsUploadTrainingImagesByUrlInput = z.object({\n urls: z.array(z.string()).describe(\"List of publicly accessible image URLs to upload for training.\"),\n model_id: z.string().describe(\"Unique identifier of the OCR model to which the images will be uploaded.\"),\n}).describe(\"Request parameters for uploading training images by URL to an OCR model.\");\nconst NanoNetsUploadTrainingImagesByUrl_UploadedItemSchema = z.object({\n url: z.string().describe(\"URL of the successfully uploaded image.\").nullable(),\n upload_id: z.string().describe(\"Unique upload ID for the image.\").nullable(),\n}).passthrough().describe(\"Details of a successfully uploaded image URL.\");\nconst NanoNetsUploadTrainingImagesByUrl_DuplicateItemSchema = z.object({\n url: z.string().describe(\"URL of the duplicate image.\").nullable(),\n upload_id: z.string().describe(\"Upload ID of the original image.\").nullable(),\n}).passthrough().describe(\"Details of a duplicate image URL.\");\nexport const NanoNetsUploadTrainingImagesByUrlOutput = z.object({\n invalid: z.array(z.string()).describe(\"List of invalid URLs that could not be processed.\"),\n message: z.string().describe(\"Status message returned by the API.\").nullable(),\n uploaded: z.array(NanoNetsUploadTrainingImagesByUrl_UploadedItemSchema).describe(\"List of successfully uploaded image details.\"),\n duplicate: z.array(NanoNetsUploadTrainingImagesByUrl_DuplicateItemSchema).describe(\"List of duplicate image details, if any.\"),\n}).passthrough().describe(\"Response schema for uploading training images by URL.\");\n\nexport const nanoNetsUploadTrainingImagesByUrl = action(\"NANO_NETS_UPLOAD_TRAINING_IMAGES_BY_URL\", {\n slug: \"nano_nets-upload-training-images-by-url\",\n name: \"Upload Training Images by URL\",\n description: \"Tool to upload training images by URL to a specified OCR model. Use when adding URLs of images to a model for training purposes.\",\n input: NanoNetsUploadTrainingImagesByUrlInput,\n output: NanoNetsUploadTrainingImagesByUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gEAAgE;CACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;AAC1G,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,uDAAuD,EAAE,OAAO;CACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,wDAAwD,EAAE,OAAO;CACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAQ7D,MAAa,oCAAoC,OAAO,2CAA2C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZqD,EAAE,OAAO;EAC9D,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD;EACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,UAAU,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,8CAA8C;EAC/H,WAAW,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,0CAA0C;CAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"upload-training-images-by-url.mjs","names":[],"sources":["../../src/actions/upload-training-images-by-url.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nanoNets } from \"../app\";\n\nexport const NanoNetsUploadTrainingImagesByUrlInput = z.object({\n urls: z.array(z.string()).describe(\"List of publicly accessible image URLs to upload for training.\"),\n model_id: z.string().describe(\"Unique identifier of the OCR model to which the images will be uploaded.\"),\n}).describe(\"Request parameters for uploading training images by URL to an OCR model.\");\nconst NanoNetsUploadTrainingImagesByUrl_UploadedItemSchema = z.object({\n url: z.string().describe(\"URL of the successfully uploaded image.\").nullable(),\n upload_id: z.string().describe(\"Unique upload ID for the image.\").nullable(),\n}).passthrough().describe(\"Details of a successfully uploaded image URL.\");\nconst NanoNetsUploadTrainingImagesByUrl_DuplicateItemSchema = z.object({\n url: z.string().describe(\"URL of the duplicate image.\").nullable(),\n upload_id: z.string().describe(\"Upload ID of the original image.\").nullable(),\n}).passthrough().describe(\"Details of a duplicate image URL.\");\nexport const NanoNetsUploadTrainingImagesByUrlOutput = z.object({\n invalid: z.array(z.string()).describe(\"List of invalid URLs that could not be processed.\"),\n message: z.string().describe(\"Status message returned by the API.\").nullable(),\n uploaded: z.array(NanoNetsUploadTrainingImagesByUrl_UploadedItemSchema).describe(\"List of successfully uploaded image details.\"),\n duplicate: z.array(NanoNetsUploadTrainingImagesByUrl_DuplicateItemSchema).describe(\"List of duplicate image details, if any.\"),\n}).passthrough().describe(\"Response schema for uploading training images by URL.\");\n\nexport const nanoNetsUploadTrainingImagesByUrl: AppAction<\n typeof NanoNetsUploadTrainingImagesByUrlInput,\n typeof NanoNetsUploadTrainingImagesByUrlOutput,\n typeof nanoNets.credential\n> = action(\"NANO_NETS_UPLOAD_TRAINING_IMAGES_BY_URL\", {\n slug: \"nano_nets-upload-training-images-by-url\",\n name: \"Upload Training Images by URL\",\n description: \"Tool to upload training images by URL to a specified OCR model. Use when adding URLs of images to a model for training purposes.\",\n input: NanoNetsUploadTrainingImagesByUrlInput,\n output: NanoNetsUploadTrainingImagesByUrlOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gEAAgE;CACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;AAC1G,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,uDAAuD,EAAE,OAAO;CACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,wDAAwD,EAAE,OAAO;CACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAQ7D,MAAa,oCAIT,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBqD,EAAE,OAAO;EAC9D,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD;EACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,UAAU,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,8CAA8C;EAC/H,WAAW,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,0CAA0C;CAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
- let zod = require("zod");
3
2
  //#region src/app.ts
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
4
  const nanoNets = (0, _keystrokehq_keystroke_app.defineApp)({
5
5
  slug: "nano_nets",
6
6
  auth: "keystroke",
7
- credential: { generic_api_key: zod.z.string() }
7
+ credential
8
8
  });
9
9
  //#endregion
10
10
  exports.nanoNets = nanoNets;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
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 nanoNets = defineApp({\n slug: \"nano_nets\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const nanoNets: KeystrokeApp<\"nano_nets\", typeof credential> = defineApp({\n slug: \"nano_nets\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAmE;CAC9E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const nanoNets: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"nano_nets", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const nanoNets: KeystrokeApp<"nano_nets", typeof credential>;
11
9
  //#endregion
12
10
  export { nanoNets };
13
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,qBAAqB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const nanoNets: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"nano_nets", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const nanoNets: KeystrokeApp<"nano_nets", typeof credential>;
11
9
  //#endregion
12
10
  export { nanoNets };
13
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,qBAAqB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const nanoNets = defineApp({
5
4
  slug: "nano_nets",
6
5
  auth: "keystroke",
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\";\nimport { z } from \"zod\";\n\nexport const nanoNets = defineApp({\n slug: \"nano_nets\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const nanoNets: KeystrokeApp<\"nano_nets\", typeof credential> = defineApp({\n slug: \"nano_nets\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,WAAyD,UAAU;CAC9E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { nanoNets } from "./app.cjs";
1
2
  import { nanoNetsCreateModel } from "./actions/create-model.cjs";
2
3
  import { nanoNetsDeleteModel } from "./actions/delete-model.cjs";
3
4
  import { nanoNetsGetAllModels } from "./actions/get-all-models.cjs";
@@ -9,6 +10,5 @@ import { nanoNetsListDocuments } from "./actions/list-documents.cjs";
9
10
  import { nanoNetsUpdateModel } from "./actions/update-model.cjs";
10
11
  import { nanoNetsUploadTrainingImagesByFile } from "./actions/upload-training-images-by-file.cjs";
11
12
  import { nanoNetsUploadTrainingImagesByUrl } from "./actions/upload-training-images-by-url.cjs";
12
- import { nanoNets } from "./app.cjs";
13
13
  import { nanoNetsCatalog } from "./catalog.cjs";
14
14
  export { nanoNets, nanoNetsCatalog, nanoNetsCreateModel, nanoNetsDeleteModel, nanoNetsGetAllModels, nanoNetsGetAllPredictionFiles, nanoNetsGetModelDetails, nanoNetsGetTrainingImages, nanoNetsGetWorkflows, nanoNetsListDocuments, nanoNetsUpdateModel, nanoNetsUploadTrainingImagesByFile, nanoNetsUploadTrainingImagesByUrl };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { nanoNets } from "./app.mjs";
1
2
  import { nanoNetsCreateModel } from "./actions/create-model.mjs";
2
3
  import { nanoNetsDeleteModel } from "./actions/delete-model.mjs";
3
4
  import { nanoNetsGetAllModels } from "./actions/get-all-models.mjs";
@@ -9,6 +10,5 @@ import { nanoNetsListDocuments } from "./actions/list-documents.mjs";
9
10
  import { nanoNetsUpdateModel } from "./actions/update-model.mjs";
10
11
  import { nanoNetsUploadTrainingImagesByFile } from "./actions/upload-training-images-by-file.mjs";
11
12
  import { nanoNetsUploadTrainingImagesByUrl } from "./actions/upload-training-images-by-url.mjs";
12
- import { nanoNets } from "./app.mjs";
13
13
  import { nanoNetsCatalog } from "./catalog.mjs";
14
14
  export { nanoNets, nanoNetsCatalog, nanoNetsCreateModel, nanoNetsDeleteModel, nanoNetsGetAllModels, nanoNetsGetAllPredictionFiles, nanoNetsGetModelDetails, nanoNetsGetTrainingImages, nanoNetsGetWorkflows, nanoNetsListDocuments, nanoNetsUpdateModel, nanoNetsUploadTrainingImagesByFile, nanoNetsUploadTrainingImagesByUrl };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/nano_nets",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {