Skip to content

Fix card template pairs rename#19

Merged
abunsen merged 3 commits intomainfrom
fix-card-template-pairs-rename
Apr 15, 2026
Merged

Fix card template pairs rename#19
abunsen merged 3 commits intomainfrom
fix-card-template-pairs-rename

Conversation

@abunsen
Copy link
Copy Markdown
Contributor

@abunsen abunsen commented Apr 15, 2026

No description provided.

abunsen added 3 commits April 15, 2026 13:33
…ndpoint

- Rename URL from /v1/console/pass-template-pairs to /v1/console/card-template-pairs
  to match Rails API rename in PR #1396 (AGENG-776).
- Rename types: PassTemplatePair{,Info,sResponse} to CardTemplatePair{,Info,sResponse}.
- Rename method ListPassTemplatePairsAsync to ListCardTemplatePairsAsync.
- Add ex_id fields to pair + nested template response models.
- Add CreateCardTemplatePairAsync + CreateCardTemplatePairRequest for
  POST /v1/console/card-template-pairs.
- Update README example + feature matrix.
- Add tests for new create endpoint; update existing list tests for
  renamed response key (card_template_pairs) and ex_id.
- Bump package version to 1.5.0.
- dotnet format pass picked up some pre-existing whitespace drift.
Customers may depend on ListPassTemplatePairsAsync / PassTemplatePair*
symbols. Revert the rename to CardTemplatePair* while keeping the
underlying fixes:

- URL stays /v1/console/card-template-pairs (Rails rename in PR #1396)
- JsonPropertyName stays "card_template_pairs"
- ex_id fields retained on pair + nested template models
- New create endpoint named CreatePassTemplatePairAsync to match
  existing "Pass" naming convention in this SDK.
@abunsen abunsen merged commit 0f00821 into main Apr 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant