@ranwhenparked/trustap-sdk 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/README.md +139 -175
  2. package/dist/client.d.ts +24 -0
  3. package/dist/client.js +66 -0
  4. package/{src/schema.d.ts → dist/generated/types.d.ts} +971 -4157
  5. package/dist/generated/types.js +5 -0
  6. package/dist/index.d.ts +3 -0
  7. package/dist/index.js +3 -0
  8. package/dist/webhooks/index.d.ts +2 -0
  9. package/dist/webhooks/index.js +2 -0
  10. package/dist/webhooks/schemas.d.ts +1067 -0
  11. package/dist/webhooks/schemas.js +243 -0
  12. package/dist/webhooks/state.d.ts +31 -0
  13. package/dist/webhooks/state.js +150 -0
  14. package/mod.ts +1 -0
  15. package/package.json +31 -32
  16. package/deno.json +0 -9
  17. package/eslint.config.js +0 -21
  18. package/scripts/build-node.mjs +0 -75
  19. package/scripts/generate-operations-map.mjs +0 -57
  20. package/scripts/generate-security-map.mjs +0 -92
  21. package/src/__tests__/auth-middleware.test.ts +0 -171
  22. package/src/__tests__/client-factory.test.ts +0 -105
  23. package/src/__tests__/error-handling.test.ts +0 -302
  24. package/src/__tests__/helpers/mock-http-client.ts +0 -193
  25. package/src/__tests__/helpers/run-guard.ts +0 -24
  26. package/src/__tests__/helpers/test-fixtures.ts +0 -82
  27. package/src/__tests__/node-client.test.ts +0 -244
  28. package/src/__tests__/operation-proxy.test.ts +0 -268
  29. package/src/__tests__/query-params.test.ts +0 -232
  30. package/src/__tests__/setup.ts +0 -44
  31. package/src/__tests__/types.test.ts +0 -169
  32. package/src/client-deno.ts +0 -219
  33. package/src/client-factory.ts +0 -45
  34. package/src/core.ts +0 -619
  35. package/src/index.deno.ts +0 -28
  36. package/src/index.ts +0 -36
  37. package/src/operations-map.ts +0 -667
  38. package/src/security-map.ts +0 -770
  39. package/src/state-machine.ts +0 -79
  40. package/src/webhook-schemas.ts +0 -400
  41. package/tsconfig.build.json +0 -27
  42. package/tsconfig.json +0 -22
  43. package/vitest.config.ts +0 -31
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export {};
@@ -0,0 +1,3 @@
1
+ export * from "./client.ts";
2
+ export * from "./generated/types.ts";
3
+ export * from "./webhooks/index.ts";
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ export * from "./client.js";
2
+ export * from "./generated/types.js";
3
+ export * from "./webhooks/index.js";
@@ -0,0 +1,2 @@
1
+ export * from "./schemas.ts";
2
+ export * from "./state.ts";
@@ -0,0 +1,2 @@
1
+ export * from "./schemas.js";
2
+ export * from "./state.js";