feat(marketing-sales): add Stamped.io reviews & loyalty connector#288
Open
andrei-hasna wants to merge 1 commit into
Open
Conversation
Add @hasna/connect-stampedio, a first-class connector for the public Stamped.io REST API (product reviews, ratings, customers, loyalty). - HTTP Basic Auth client (public key user / private key pass) with storeHash-scoped v2 merchant paths and an unauthenticated public widget request path (apiKey + storeUrl). - Resources: reviews (dashboard list + public widget), customers (add), loyalty (award/deduct points via transactions endpoint). - Commander CLI (config, profile, reviews, customers, loyalty, whoami) with json/table/pretty output and multi-store credential profiles. - Placeholder-only .env.example; fetch-stubbed transport tests. - Register 'stampedio' under Marketing & Sales. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
Author
|
Blocked from automated merge after local validation and adversarial review. Evidence checked:
Blockers:
Recommendation: do not merge until auth/endpoints are corrected or justified against official Stamped legacy API references, package publish contents are fixed, credential file permissions are hardened, and tests are updated to validate the corrected contract. |
Contributor
Author
|
Merge blocked after worker validation and independent adversarial review. Validation performed on an integration merge against current
Blockers:
Follow-up task created for remediation: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
@hasna/connect-stampedio, a first-class open-connectors package for the public Stamped.io REST API (product reviews, ratings, UGC, and loyalty for e-commerce). Rebuilt from public upstream API docs and existing open-connectors patterns (mirrors therecharge/redditlayout); no platform-alumia code was copied.What's included
src/api/client.ts): HTTP Basic Auth (public key = username, private key = password),https://stamped.io/apibase,/v2/{storeHash}/...merchant paths, plus an unauthenticated public widget request path (apiKey+storeUrlquery params).reviews(dashboard list + public widget),customers(add),loyalty(award/deduct points via the transactions endpoint).connect-stampedio): commander entry withconfig,profile,reviews,customers,loyalty,whoami; json/table/pretty output; multi-store credential profiles under~/.hasna/connectors/connect-stampedio/.stampedioregistered under Marketing & Sales..env.exampleis placeholder-only.Endpoints
/v2/{storeHash}/dashboard/reviews/widget/reviews/v2/{storeHash}/dashboard/customers/add/v2/{storeHash}/loyalty/transactionsValidation
bun test(connector): 9 pass / 0 fail — fetch-stubbed transport tests assert Basic auth header, endpoints, and params.bunx tsc --noEmit: clean.bun run build: bundlessrc/index.ts+src/cli/index.ts.bun test src/lib/registry.test.ts src/index.test.ts: 84 pass / 0 fail (new registry entry resolves toconnectors/stampedio/package.jsonv0.1.0).🤖 Generated with Claude Code