Skip to content

Conversation

@sofiar-msft
Copy link
Contributor

Packages impacted by this PR

Issues associated with this PR

Describe the problem that is addressed by this PR

What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?

Are there test cases added in this PR? (If not, why?)

Provide a list of related PRs (if any)

Command used to generate this PR:**(Applicable only to SDK release request PRs)

Checklists

  • Added impacted package name to the issue description
  • Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
  • Added a changelog (if necessary)

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new Azure Communication Services client library for 10DLC (10-digit long code) administration. The 10DLC program enables A2P SMS messaging for local US numbers through mobile carriers.

Key changes:

  • Complete new SDK structure with client implementation, generated code, tests, and samples
  • Support for managing US brands and campaigns including CRUD operations
  • Cost listing functionality and campaign attachment management
  • Comprehensive test suite with recorded client testing infrastructure

Reviewed Changes

Copilot reviewed 44 out of 61 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
sdk/communication/communication-ten-dlc/src/ Core client implementation with TenDlcClient class and models
sdk/communication/communication-ten-dlc/test/ Complete test suite with unit and integration tests
sdk/communication/communication-ten-dlc/swagger/ Swagger specification and autorest configuration
sdk/communication/communication-ten-dlc/package.json Package configuration with dependencies and build scripts
rush.json Added new package to monorepo configuration
Files not reviewed (1)
  • common/config/rush/pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (2)

sdk/communication/communication-ten-dlc/test/public/campaigns.spec.ts:1

  • Duplicate word 'with' in the test description. Should be 'successfully instantiates with endpoint and access key'.
// Copyright (c) Microsoft Corporation.

sdk/communication/communication-ten-dlc/test/public/brands.spec.ts:1

  • Duplicate word 'with' in the test description. Should be 'successfully instantiates with endpoint and access key'.
// Copyright (c) Microsoft Corporation.

@sofiar-msft sofiar-msft requested a review from a team as a code owner September 25, 2025 00:02
@sofiar-msft sofiar-msft reopened this Sep 25, 2025
@sofiar-msft sofiar-msft marked this pull request as draft September 25, 2025 00:03
@github-actions
Copy link

github-actions bot commented Sep 25, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

@azure-tools/communication-ten-dlc

…recated files

- Updated import statements in `brands.spec.ts`, `campaigns.spec.ts`, `costs.spec.ts`, and `ctor.spec.ts` to use the new package path `@azure-tools/communication-ten-dlc`.
- Deleted obsolete test files: `campaigns.spec.js`, `costs.spec.js`, `ctor.spec.js`, `helpers.js`, `mockHttpClients.js`, `msUserAgentPolicy.js`, and `recordedClient.js`.
- Refactored `recordedClient.js` to `recordedClient.ts` with updated imports and type definitions.
- Ensured all tests are aligned with the new structure and imports.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants