@keystrokehq/_2chat 0.0.1 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-contact.cjs +11 -11
  4. package/dist/actions/create-contact.cjs.map +1 -1
  5. package/dist/actions/create-contact.d.cts +61 -3
  6. package/dist/actions/create-contact.d.cts.map +1 -1
  7. package/dist/actions/create-contact.d.mts +61 -3
  8. package/dist/actions/create-contact.d.mts.map +1 -1
  9. package/dist/actions/create-contact.mjs +11 -11
  10. package/dist/actions/create-contact.mjs.map +1 -1
  11. package/dist/actions/get-api-usage-info.cjs +12 -12
  12. package/dist/actions/get-api-usage-info.cjs.map +1 -1
  13. package/dist/actions/get-api-usage-info.d.cts +41 -3
  14. package/dist/actions/get-api-usage-info.d.cts.map +1 -1
  15. package/dist/actions/get-api-usage-info.d.mts +41 -3
  16. package/dist/actions/get-api-usage-info.d.mts.map +1 -1
  17. package/dist/actions/get-api-usage-info.mjs +12 -12
  18. package/dist/actions/get-api-usage-info.mjs.map +1 -1
  19. package/dist/actions/list-contacts.cjs +14 -14
  20. package/dist/actions/list-contacts.cjs.map +1 -1
  21. package/dist/actions/list-contacts.d.cts +49 -3
  22. package/dist/actions/list-contacts.d.cts.map +1 -1
  23. package/dist/actions/list-contacts.d.mts +49 -3
  24. package/dist/actions/list-contacts.d.mts.map +1 -1
  25. package/dist/actions/list-contacts.mjs +14 -14
  26. package/dist/actions/list-contacts.mjs.map +1 -1
  27. package/dist/actions/list-webhooks.cjs +7 -7
  28. package/dist/actions/list-webhooks.cjs.map +1 -1
  29. package/dist/actions/list-webhooks.d.cts +27 -3
  30. package/dist/actions/list-webhooks.d.cts.map +1 -1
  31. package/dist/actions/list-webhooks.d.mts +27 -3
  32. package/dist/actions/list-webhooks.d.mts.map +1 -1
  33. package/dist/actions/list-webhooks.mjs +7 -7
  34. package/dist/actions/list-webhooks.mjs.map +1 -1
  35. package/dist/actions/test-api-key.cjs +12 -12
  36. package/dist/actions/test-api-key.cjs.map +1 -1
  37. package/dist/actions/test-api-key.d.cts +41 -3
  38. package/dist/actions/test-api-key.d.cts.map +1 -1
  39. package/dist/actions/test-api-key.d.mts +41 -3
  40. package/dist/actions/test-api-key.d.mts.map +1 -1
  41. package/dist/actions/test-api-key.mjs +12 -12
  42. package/dist/actions/test-api-key.mjs.map +1 -1
  43. package/dist/catalog.cjs +7 -1
  44. package/dist/catalog.cjs.map +1 -1
  45. package/dist/catalog.d.cts +8 -0
  46. package/dist/catalog.d.mts +8 -0
  47. package/dist/catalog.mjs +7 -1
  48. package/dist/catalog.mjs.map +1 -1
  49. package/package.json +2 -2
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const _2chatCatalog = {
7
7
  "category": "Communication",
8
8
  "logo": "https://logos.composio.dev/api/_2chat",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "2Chat API Key",
13
+ "secret": true,
14
+ "description": "Your 2Chat API Key"
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports._2chatCatalog = _2chatCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const _2chatCatalog = {\n \"slug\": \"_2chat\",\n \"name\": \"2chat\",\n \"description\": \"2Chat provides a programmable API for integrating WhatsApp and other text channels, enabling developers to send and receive messages, manage groups, and automate workflows.\",\n \"category\": \"Communication\",\n \"logo\": \"https://logos.composio.dev/api/_2chat\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const _2chatCatalog = {\n \"slug\": \"_2chat\",\n \"name\": \"2chat\",\n \"description\": \"2Chat provides a programmable API for integrating WhatsApp and other text channels, enabling developers to send and receive messages, manage groups, and automate workflows.\",\n \"category\": \"Communication\",\n \"logo\": \"https://logos.composio.dev/api/_2chat\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"2Chat API Key\",\n \"secret\": true,\n \"description\": \"Your 2Chat API Key\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const _2chatCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/_2chat";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "2Chat API Key";
14
+ readonly secret: true;
15
+ readonly description: "Your 2Chat API Key";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { _2chatCatalog };
@@ -8,6 +8,14 @@ declare const _2chatCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/_2chat";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "2Chat API Key";
14
+ readonly secret: true;
15
+ readonly description: "Your 2Chat API Key";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { _2chatCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const _2chatCatalog = {
7
7
  "category": "Communication",
8
8
  "logo": "https://logos.composio.dev/api/_2chat",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "2Chat API Key",
13
+ "secret": true,
14
+ "description": "Your 2Chat API Key"
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { _2chatCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const _2chatCatalog = {\n \"slug\": \"_2chat\",\n \"name\": \"2chat\",\n \"description\": \"2Chat provides a programmable API for integrating WhatsApp and other text channels, enabling developers to send and receive messages, manage groups, and automate workflows.\",\n \"category\": \"Communication\",\n \"logo\": \"https://logos.composio.dev/api/_2chat\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const _2chatCatalog = {\n \"slug\": \"_2chat\",\n \"name\": \"2chat\",\n \"description\": \"2Chat provides a programmable API for integrating WhatsApp and other text channels, enabling developers to send and receive messages, manage groups, and automate workflows.\",\n \"category\": \"Communication\",\n \"logo\": \"https://logos.composio.dev/api/_2chat\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"2Chat API Key\",\n \"secret\": true,\n \"description\": \"Your 2Chat API Key\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/_2chat",
3
- "version": "0.0.1",
3
+ "version": "0.1.1",
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.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {