Skip to content

Commit

Permalink
DEVEXP-308: Prepare release 0.0.3 with Fax API
Browse files Browse the repository at this point in the history
  • Loading branch information
asein-sinch committed Mar 20, 2024
1 parent 1c465f4 commit 944d98f
Show file tree
Hide file tree
Showing 19 changed files with 122 additions and 55 deletions.
2 changes: 1 addition & 1 deletion examples/integrated-flows-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"verification:app": "yarn compile && node dist/verification/app.js"
},
"dependencies": {
"@sinch/sdk-core": "^0.0.2",
"@sinch/sdk-core": "^0.0.3",
"@types/node": "^20.8.7",
"dotenv": "^16.3.1",
"inquirer": "^9.2.14",
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"voice:conferences:kickAll": "ts-node src/voice/conferences/kickAll.ts"
},
"dependencies": {
"@sinch/sdk-core": "^0.0.2",
"@sinch/sdk-core": "^0.0.3",
"dotenv": "^16.3.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/webhooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@nestjs/common": "^10.3.0",
"@nestjs/core": "^10.3.0",
"@nestjs/platform-express": "^10.3.0",
"@sinch/sdk-core": "^0.0.2",
"@sinch/sdk-core": "^0.0.3",
"dotenv": "^16.3.1",
"raw-body": "^2.5.2",
"reflect-metadata": "^0.1.13",
Expand Down
26 changes: 25 additions & 1 deletion packages/conversation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
# Version 0.0.2
## Version 0.0.3
- [Feature] Add support for `contact_message_event` for the `injectEvent()` method in the conversation domain
- [Feature] Add composed methods for sending a message:
- `sendCardMessage()`
- `sendCarouselMessage()`
- `sendChoiceMessage()`
- `sendContactInfoMessage()`
- `sendListMessage()`
- `sendLocationMessage()`
- `sendMediaMessage()`
- `sendTemplateMessage()`
- `sendTextMessage()`
- [Feature] Add composed methods for sending an event:
- `sendComposingEvent()`
- `sendComposingEndEvent()`
- `sendCommentReplyEvent()`
- `sendAgentJoinedEvent()`
- `sendAgentLeftEvent()`
- `sendGenericEvent()`
- [Bugfix] Improve `oneOf` handling from the OpenAPI Specification: objects are now mutually exclusive.
- [Feature][Breaking] Remove support for SMS credentials
- [Tech] Conversation callback events models: factorize common properties in a super interface
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.3`

## Version 0.0.2

- Initial version. Support for:
- Conversation App management
Expand Down
4 changes: 2 additions & 2 deletions packages/conversation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/conversation",
"version": "0.0.2",
"version": "0.0.3",
"description": "Sinch Conversation API",
"homepage": "",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"compile": "tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo"
},
"dependencies": {
"@sinch/sdk-client": "^0.0.2"
"@sinch/sdk-client": "^0.0.3"
},
"devDependencies": {},
"publishConfig": {
Expand Down
6 changes: 5 additions & 1 deletion packages/fax/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Version 0.0.3

- Initial version
- Initial version. Support for:
- Services management
- Fax sending
- Fax on emails
- Callback webhooks
4 changes: 2 additions & 2 deletions packages/fax/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/fax",
"version": "0.0.2",
"version": "0.0.3",
"description": "Sinch Fax API",
"homepage": "",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"compile": "tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests && rimraf tsconfig.build.tsbuildinfo"
},
"dependencies": {
"@sinch/sdk-client": "^0.0.2"
"@sinch/sdk-client": "^0.0.3"
},
"devDependencies": {},
"publishConfig": {
Expand Down
12 changes: 8 additions & 4 deletions packages/numbers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
## Version 0.0.3
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.3`

## Version 0.0.2

- Implement the `CallbackProcessor` interface: when receiving an event callback, it's possible to validate the signature header and to revive the request body into an object.
- [Feature] Implement the `CallbackProcessor` interface: when receiving an event callback, it's possible to validate the signature header and to revive the request body into an object.
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.2`

## Version 0.0.1

- Update dependency to @sinch/sdk-client to `0.0.1`
- Update specification
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.1`
- [Feature] Update specification
- ListAvailableRegionsRequestData: `types` became an array
- ActiveNumberRequest: added the property `callbackUrl`
- `CallbackConfiguration` tag changed to `Callbacks`
- Webhooks
- `CallbackPayload` interface created
- Add the method `parseNumbersEventNotification` to call when receiving a callback event to transform it into a `CallbackPayload`

# Version 0.0.0
## Version 0.0.0

- Initial version
4 changes: 2 additions & 2 deletions packages/numbers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/numbers",
"version": "0.0.2",
"version": "0.0.3",
"description": "Sinch Numbers API",
"homepage": "",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"compile": "tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests && rimraf tsconfig.build.tsbuildinfo"
},
"dependencies": {
"@sinch/sdk-client": "^0.0.2"
"@sinch/sdk-client": "^0.0.3"
},
"devDependencies": {},
"publishConfig": {
Expand Down
17 changes: 10 additions & 7 deletions packages/sdk-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
## Version 0.0.3
- [Bugfix] Do not transform a timestamp to a Date object in the timezone plugin, this is already done in the reviver for API responses (regression from v0.0.2)

## Version 0.0.2

- [Feat.] Add interface `CallbackProcessor` to be implemented by each API defining webhooks for callbacks.
- [Feat.] Add `validateSignatureHeader` function to check whether a callback event with a `X-Sinch-Signature` header has been tampered with or not
- [Feat.] Add `Date` reviver for API responses
- [Feature] Add interface `CallbackProcessor` to be implemented by each API defining webhooks for callbacks.
- [Feature] Add `validateSignatureHeader` function to check whether a callback event with a `X-Sinch-Signature` header has been tampered with or not
- [Feature] Add `Date` reviver for API responses

## Version 0.0.1

- [Feat.] Add method `formatQueryParameter` that take an optional boolean parameter `repeatParamArray` to decide how to represent parameters arrays in the URL as all the APIs are not consistent
- [Tech.] Refactor `imports` and `exports` to break the circular dependencies introduced by the automatic refresh token mechanism
- [Feat.] Add `TimezoneResponse` plugin to the list of default plugins to patch responses where the server doesn't send a timezone in a timestamp property
- [Feat.] Add `validateAuthenticationHeader` function to check whether a callback event has been tampered with or not
- [Feature] Add method `formatQueryParameter` that take an optional boolean parameter `repeatParamArray` to decide how to represent parameters arrays in the URL as all the APIs are not consistent
- [Tech] Refactor `imports` and `exports` to break the circular dependencies introduced by the automatic refresh token mechanism
- [Feature] Add `TimezoneResponse` plugin to the list of default plugins to patch responses where the server doesn't send a timezone in a timestamp property
- [Feature] Add `validateAuthenticationHeader` function to check whether a callback event has been tampered with or not

# Version 0.0.0

Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/sdk-client",
"version": "0.0.2",
"version": "0.0.3",
"description": "Core services related to interacting with Sinch API",
"homepage": "",
"repository": {
Expand Down
24 changes: 19 additions & 5 deletions packages/sdk-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
## Version 0.0.1
## Version 0.0.3
- Update dependency `@sinch/numbers` to version `0.0.3`
- Update dependency `@sinch/sms` to version `0.0.3`
- Update dependency `@sinch/verification` to version `0.0.3`
- Update dependency `@sinch/voice` to version `0.0.3`
- Update dependency `@sinch/conversation` to version `0.0.3`
- Add support for the Fax API with `@sinch/fax` version `0.0.3`

## Version 0.0.2
- Update dependency `@sinch/numbers` to version `0.0.2`
- Update dependency `@sinch/sms` to version `0.0.2`
- Update dependency `@sinch/verification` to version `0.0.2`
- Update dependency `@sinch/voice` to version `0.0.2`
- Add support for the Conversation API with `@sinch/conversation` version `0.0.2`

- Update dependency to @sinch/numbers to `0.0.1`
- Update dependency to @sinch/sms to `0.0.1`
- Update dependency to @sinch/verification to `0.0.1`
- Add support for the Voice API with @sinch/voice version `0.0.1`
## Version 0.0.1
- Update dependency `@sinch/numbers` to version `0.0.1`
- Update dependency `@sinch/sms` to version `0.0.1`
- Update dependency `@sinch/verification` to version `0.0.1`
- Add support for the Voice API with `@sinch/voice` version `0.0.1`
14 changes: 7 additions & 7 deletions packages/sdk-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/sdk-core",
"version": "0.0.2",
"version": "0.0.3",
"description": "Node.js client for the Sinch API platform",
"homepage": "",
"repository": {
Expand Down Expand Up @@ -29,12 +29,12 @@
"compile": "tsc --build --verbose"
},
"dependencies": {
"@sinch/conversation": "^0.0.2",
"@sinch/fax": "^0.0.2",
"@sinch/numbers": "^0.0.2",
"@sinch/sms": "^0.0.2",
"@sinch/verification": "^0.0.2",
"@sinch/voice": "^0.0.2"
"@sinch/conversation": "^0.0.3",
"@sinch/fax": "^0.0.3",
"@sinch/numbers": "^0.0.3",
"@sinch/sms": "^0.0.3",
"@sinch/verification": "^0.0.3",
"@sinch/voice": "^0.0.3"
},
"devDependencies": {},
"publishConfig": {
Expand Down
14 changes: 10 additions & 4 deletions packages/sms/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
## Version 0.0.2
## Version 0.0.3
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.3`
- [Feature] Add composed methods for sending a batch:
- `sendTextMessage()`
- `sendBinaryMessage()`
- `sendMediaMessage()`
- [Feature][Breaking] Rename method `getByPhoneNumber()` to `getForNumber()` in the delivery-reports domain

## Version 0.0.2
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.2`
- Implement the `CallbackProcessor` interface: when receiving an event callback, it's possible to validate the signature header (always valid for this API) and to revive the request body into an object.


## Version 0.0.1

- Update dependency to @sinch/sdk-client to `0.0.1`
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.1`
- Add the method `parseSmsEventNotification` to call when receiving a callback event to transform it into the correct type
4 changes: 2 additions & 2 deletions packages/sms/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/sms",
"version": "0.0.2",
"version": "0.0.3",
"description": "Sinch SMS API",
"homepage": "",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"compile": "tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo"
},
"dependencies": {
"@sinch/sdk-client": "^0.0.2"
"@sinch/sdk-client": "^0.0.3"
},
"devDependencies": {},
"publishConfig": {
Expand Down
15 changes: 10 additions & 5 deletions packages/verification/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## Version 0.0.3
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.3`

## Version 0.0.2
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.2`

**Breaking changes**
- Removal of the method `verifications.start()`, replaced by the methods:
Expand All @@ -19,10 +23,11 @@
- Move the header validation to the domain with the method `validateAuthenticationHeader`

## Version 0.0.1

- Update dependency to @sinch/sdk-client to `0.0.1`
- Add the method `parseVerificationEventNotification` to call when receiving a callback event to transform it into the correct type
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.1`
- [Feature] Add the method `parseVerificationEventNotification` to call when receiving a callback event to transform it into the correct type

# Version 0.0.0

- Initial version
- Initial version. Support for:
- start verification
- report verification
- get verification status
4 changes: 2 additions & 2 deletions packages/verification/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/verification",
"version": "0.0.2",
"version": "0.0.3",
"description": "Sinch Verification API",
"homepage": "",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"compile": "tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo"
},
"dependencies": {
"@sinch/sdk-client": "^0.0.2"
"@sinch/sdk-client": "^0.0.3"
},
"devDependencies": {},
"publishConfig": {
Expand Down
17 changes: 12 additions & 5 deletions packages/voice/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
# Version 0.0.2
## Version 0.0.3
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.3`

- [Feat.] [Helpers](./src/models/v1/helper.ts) for SVAML actions and instructions building for ICE, ACE and PIE
- [Feat.] `call()` function is also available under the `conferences` service.
# Version 0.0.2
- [Tech] Update dependency `@sinch/sdk-client` to `0.0.2`
- [Feature] [Helpers](./src/models/v1/helper.ts) for SVAML actions and instructions building for ICE, ACE and PIE
- [Feature] `call()` function is also available under the `conferences` service.

**Breaking changes**
- Callbacks management: implementation of the `CallbackProcessor` interface
- Rename `parseVoiceEventNotification` into `parseEvent`
- Move the header validation to the domain with the method `validateAuthenticationHeader`

# Version 0.0.1

- Initial version
- Initial version. Support for:
- Voice application management
- Callouts: TTS, Conference and Custom
- Calls management
- Conference management
- Callback webhooks
4 changes: 2 additions & 2 deletions packages/voice/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sinch/voice",
"version": "0.0.2",
"version": "0.0.3",
"description": "Sinch Voice API",
"homepage": "",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"compile": "tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo"
},
"dependencies": {
"@sinch/sdk-client": "^0.0.2"
"@sinch/sdk-client": "^0.0.3"
},
"devDependencies": {},
"publishConfig": {
Expand Down

0 comments on commit 944d98f

Please sign in to comment.