@sinch/sdk-core 0.0.0 → 0.0.1

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.
package/dist/index.d.ts CHANGED
@@ -2,3 +2,4 @@ export * from './sinch-client';
2
2
  export * from '@sinch/numbers';
3
3
  export * from '@sinch/sms';
4
4
  export * from '@sinch/verification';
5
+ export * from '@sinch/voice';
package/dist/index.js CHANGED
@@ -18,4 +18,5 @@ __exportStar(require("./sinch-client"), exports);
18
18
  __exportStar(require("@sinch/numbers"), exports);
19
19
  __exportStar(require("@sinch/sms"), exports);
20
20
  __exportStar(require("@sinch/verification"), exports);
21
+ __exportStar(require("@sinch/voice"), exports);
21
22
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,iDAA+B;AAC/B,6CAA2B;AAC3B,sDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,iDAA+B;AAC/B,6CAA2B;AAC3B,sDAAoC;AACpC,+CAA6B"}
@@ -2,11 +2,13 @@ import { Numbers } from '@sinch/numbers';
2
2
  import { Sms } from '@sinch/sms';
3
3
  import { Verification } from '@sinch/verification';
4
4
  import { SinchClientParameters } from '@sinch/sdk-client';
5
+ import { Voice } from '@sinch/voice';
5
6
  /** Sinch Client to declare and initialize the supported APIs */
6
7
  export declare class SinchClient {
7
8
  readonly numbers: Numbers;
8
9
  readonly sms: Sms;
9
10
  readonly verification: Verification;
11
+ readonly voice: Voice;
10
12
  /**
11
13
  * Initialize your API Client instance with the provided credentials.
12
14
  *
@@ -4,6 +4,7 @@ exports.SinchClient = void 0;
4
4
  const numbers_1 = require("@sinch/numbers");
5
5
  const sms_1 = require("@sinch/sms");
6
6
  const verification_1 = require("@sinch/verification");
7
+ const voice_1 = require("@sinch/voice");
7
8
  /** Sinch Client to declare and initialize the supported APIs */
8
9
  class SinchClient {
9
10
  /**
@@ -18,6 +19,8 @@ class SinchClient {
18
19
  this.sms = new sms_1.Sms(params);
19
20
  // Initialize the "Verification" API
20
21
  this.verification = new verification_1.Verification(params);
22
+ // Initialize the "Voice" API
23
+ this.voice = new voice_1.Voice(params);
21
24
  }
22
25
  }
23
26
  exports.SinchClient = SinchClient;
@@ -1 +1 @@
1
- {"version":3,"file":"sinch-client.js","sourceRoot":"","sources":["../src/sinch-client.ts"],"names":[],"mappings":";;;AAAA,4CAAyC;AACzC,oCAAiC;AACjC,sDAAmD;AAGnD,gEAAgE;AAChE,MAAa,WAAW;IAMtB;;;;OAIG;IACH,YAAY,MAA6B;QACvC,+BAA+B;QAC/B,IAAI,CAAC,OAAO,GAAG,IAAI,iBAAO,CAAC,MAAM,CAAC,CAAC;QAEnC,4BAA4B;QAC5B,IAAI,CAAC,GAAG,GAAG,IAAI,SAAG,CAAC,MAAM,CAAC,CAAC;QAE3B,oCAAoC;QACpC,IAAI,CAAC,YAAY,GAAG,IAAI,2BAAY,CAAC,MAAM,CAAC,CAAC;IAC/C,CAAC;CACF;AArBD,kCAqBC"}
1
+ {"version":3,"file":"sinch-client.js","sourceRoot":"","sources":["../src/sinch-client.ts"],"names":[],"mappings":";;;AAAA,4CAAyC;AACzC,oCAAiC;AACjC,sDAAmD;AAEnD,wCAAqC;AAErC,gEAAgE;AAChE,MAAa,WAAW;IAOtB;;;;OAIG;IACH,YAAY,MAA6B;QACvC,+BAA+B;QAC/B,IAAI,CAAC,OAAO,GAAG,IAAI,iBAAO,CAAC,MAAM,CAAC,CAAC;QAEnC,4BAA4B;QAC5B,IAAI,CAAC,GAAG,GAAG,IAAI,SAAG,CAAC,MAAM,CAAC,CAAC;QAE3B,oCAAoC;QACpC,IAAI,CAAC,YAAY,GAAG,IAAI,2BAAY,CAAC,MAAM,CAAC,CAAC;QAE7C,6BAA6B;QAC7B,IAAI,CAAC,KAAK,GAAG,IAAI,aAAK,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;CACF;AAzBD,kCAyBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinch/sdk-core",
3
- "version": "0.0.0",
3
+ "version": "0.0.1",
4
4
  "description": "Node.js client for the Sinch API platform",
5
5
  "homepage": "",
6
6
  "repository": {
@@ -29,9 +29,10 @@
29
29
  "compile": "tsc --build --verbose"
30
30
  },
31
31
  "dependencies": {
32
- "@sinch/numbers": "^0.0.0",
33
- "@sinch/sms": "^0.0.0",
34
- "@sinch/verification": "^0.0.0"
32
+ "@sinch/numbers": "^0.0.1",
33
+ "@sinch/sms": "^0.0.1",
34
+ "@sinch/verification": "^0.0.1",
35
+ "@sinch/voice": "^0.0.1"
35
36
  },
36
37
  "devDependencies": {},
37
38
  "publishConfig": {