@azure/communication-phone-numbers 1.5.0-beta.2 → 1.5.0

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.
Files changed (235) hide show
  1. package/README.md +1 -20
  2. package/dist/browser/generated/src/lroImpl.js +7 -3
  3. package/dist/browser/generated/src/lroImpl.js.map +1 -1
  4. package/dist/browser/generated/src/operations/phoneNumbers.js +219 -296
  5. package/dist/browser/generated/src/operations/phoneNumbers.js.map +1 -1
  6. package/dist/browser/generated/src/pagingHelper.js +2 -4
  7. package/dist/browser/generated/src/pagingHelper.js.map +1 -1
  8. package/dist/browser/generated/src/phoneNumbersClient.js +11 -4
  9. package/dist/browser/generated/src/phoneNumbersClient.js.map +1 -1
  10. package/dist/browser/generated/src/siprouting/index.d.ts +1 -0
  11. package/dist/browser/generated/src/siprouting/index.d.ts.map +1 -1
  12. package/dist/browser/generated/src/siprouting/index.js +1 -0
  13. package/dist/browser/generated/src/siprouting/index.js.map +1 -1
  14. package/dist/browser/generated/src/siprouting/models/index.d.ts +2 -141
  15. package/dist/browser/generated/src/siprouting/models/index.d.ts.map +1 -1
  16. package/dist/browser/generated/src/siprouting/models/index.js +1 -6
  17. package/dist/browser/generated/src/siprouting/models/index.js.map +1 -1
  18. package/dist/browser/generated/src/siprouting/models/mappers.d.ts +0 -7
  19. package/dist/browser/generated/src/siprouting/models/mappers.d.ts.map +1 -1
  20. package/dist/browser/generated/src/siprouting/models/mappers.js +77 -284
  21. package/dist/browser/generated/src/siprouting/models/mappers.js.map +1 -1
  22. package/dist/browser/generated/src/siprouting/models/parameters.d.ts +0 -7
  23. package/dist/browser/generated/src/siprouting/models/parameters.d.ts.map +1 -1
  24. package/dist/browser/generated/src/siprouting/models/parameters.js +16 -62
  25. package/dist/browser/generated/src/siprouting/models/parameters.js.map +1 -1
  26. package/dist/browser/generated/src/siprouting/operations/sipRouting.d.ts +3 -9
  27. package/dist/browser/generated/src/siprouting/operations/sipRouting.d.ts.map +1 -1
  28. package/dist/browser/generated/src/siprouting/operations/sipRouting.js +12 -45
  29. package/dist/browser/generated/src/siprouting/operations/sipRouting.js.map +1 -1
  30. package/dist/browser/generated/src/siprouting/operationsInterfaces/sipRouting.d.ts +1 -7
  31. package/dist/browser/generated/src/siprouting/operationsInterfaces/sipRouting.d.ts.map +1 -1
  32. package/dist/browser/generated/src/siprouting/operationsInterfaces/sipRouting.js.map +1 -1
  33. package/dist/browser/generated/src/siprouting/sipRoutingClient.d.ts +2 -6
  34. package/dist/browser/generated/src/siprouting/sipRoutingClient.d.ts.map +1 -1
  35. package/dist/browser/generated/src/siprouting/sipRoutingClient.js +4 -51
  36. package/dist/browser/generated/src/siprouting/sipRoutingClient.js.map +1 -1
  37. package/dist/browser/generated/src/siprouting/sipRoutingClientContext.js +10 -3
  38. package/dist/browser/generated/src/siprouting/sipRoutingClientContext.js.map +1 -1
  39. package/dist/browser/generated/src/tracing.js +1 -1
  40. package/dist/browser/generated/src/tracing.js.map +1 -1
  41. package/dist/browser/mappers.d.ts +3 -17
  42. package/dist/browser/mappers.d.ts.map +1 -1
  43. package/dist/browser/mappers.js +2 -51
  44. package/dist/browser/mappers.js.map +1 -1
  45. package/dist/browser/models.d.ts +1 -60
  46. package/dist/browser/models.d.ts.map +1 -1
  47. package/dist/browser/models.js.map +1 -1
  48. package/dist/browser/phoneNumbersClient.d.ts +1 -1
  49. package/dist/browser/phoneNumbersClient.js +86 -28
  50. package/dist/browser/phoneNumbersClient.js.map +1 -1
  51. package/dist/browser/sipRoutingClient.d.ts +1 -41
  52. package/dist/browser/sipRoutingClient.d.ts.map +1 -1
  53. package/dist/browser/sipRoutingClient.js +49 -218
  54. package/dist/browser/sipRoutingClient.js.map +1 -1
  55. package/dist/browser/utils/constants.d.ts.map +1 -1
  56. package/dist/browser/utils/constants.js +1 -1
  57. package/dist/browser/utils/constants.js.map +1 -1
  58. package/dist/browser/utils/customPipelinePolicies.js +1 -2
  59. package/dist/browser/utils/customPipelinePolicies.js.map +1 -1
  60. package/dist/commonjs/generated/src/lroImpl.js +7 -3
  61. package/dist/commonjs/generated/src/lroImpl.js.map +1 -1
  62. package/dist/commonjs/generated/src/operations/phoneNumbers.js +219 -295
  63. package/dist/commonjs/generated/src/operations/phoneNumbers.js.map +1 -1
  64. package/dist/commonjs/generated/src/pagingHelper.js +2 -4
  65. package/dist/commonjs/generated/src/pagingHelper.js.map +1 -1
  66. package/dist/commonjs/generated/src/phoneNumbersClient.js +11 -4
  67. package/dist/commonjs/generated/src/phoneNumbersClient.js.map +1 -1
  68. package/dist/commonjs/generated/src/siprouting/index.d.ts +1 -0
  69. package/dist/commonjs/generated/src/siprouting/index.d.ts.map +1 -1
  70. package/dist/commonjs/generated/src/siprouting/index.js +3 -1
  71. package/dist/commonjs/generated/src/siprouting/index.js.map +1 -1
  72. package/dist/commonjs/generated/src/siprouting/models/index.d.ts +2 -141
  73. package/dist/commonjs/generated/src/siprouting/models/index.d.ts.map +1 -1
  74. package/dist/commonjs/generated/src/siprouting/models/index.js +0 -7
  75. package/dist/commonjs/generated/src/siprouting/models/index.js.map +1 -1
  76. package/dist/commonjs/generated/src/siprouting/models/mappers.d.ts +0 -7
  77. package/dist/commonjs/generated/src/siprouting/models/mappers.d.ts.map +1 -1
  78. package/dist/commonjs/generated/src/siprouting/models/mappers.js +78 -285
  79. package/dist/commonjs/generated/src/siprouting/models/mappers.js.map +1 -1
  80. package/dist/commonjs/generated/src/siprouting/models/parameters.d.ts +0 -7
  81. package/dist/commonjs/generated/src/siprouting/models/parameters.d.ts.map +1 -1
  82. package/dist/commonjs/generated/src/siprouting/models/parameters.js +16 -62
  83. package/dist/commonjs/generated/src/siprouting/models/parameters.js.map +1 -1
  84. package/dist/commonjs/generated/src/siprouting/operations/sipRouting.d.ts +3 -9
  85. package/dist/commonjs/generated/src/siprouting/operations/sipRouting.d.ts.map +1 -1
  86. package/dist/commonjs/generated/src/siprouting/operations/sipRouting.js +12 -45
  87. package/dist/commonjs/generated/src/siprouting/operations/sipRouting.js.map +1 -1
  88. package/dist/commonjs/generated/src/siprouting/operationsInterfaces/sipRouting.d.ts +1 -7
  89. package/dist/commonjs/generated/src/siprouting/operationsInterfaces/sipRouting.d.ts.map +1 -1
  90. package/dist/commonjs/generated/src/siprouting/operationsInterfaces/sipRouting.js.map +1 -1
  91. package/dist/commonjs/generated/src/siprouting/sipRoutingClient.d.ts +2 -6
  92. package/dist/commonjs/generated/src/siprouting/sipRoutingClient.d.ts.map +1 -1
  93. package/dist/commonjs/generated/src/siprouting/sipRoutingClient.js +4 -52
  94. package/dist/commonjs/generated/src/siprouting/sipRoutingClient.js.map +1 -1
  95. package/dist/commonjs/generated/src/siprouting/sipRoutingClientContext.js +10 -3
  96. package/dist/commonjs/generated/src/siprouting/sipRoutingClientContext.js.map +1 -1
  97. package/dist/commonjs/generated/src/tracing.js +1 -1
  98. package/dist/commonjs/generated/src/tracing.js.map +1 -1
  99. package/dist/commonjs/mappers.d.ts +3 -17
  100. package/dist/commonjs/mappers.d.ts.map +1 -1
  101. package/dist/commonjs/mappers.js +2 -53
  102. package/dist/commonjs/mappers.js.map +1 -1
  103. package/dist/commonjs/models.d.ts +1 -60
  104. package/dist/commonjs/models.d.ts.map +1 -1
  105. package/dist/commonjs/models.js.map +1 -1
  106. package/dist/commonjs/phoneNumbersClient.d.ts +1 -1
  107. package/dist/commonjs/phoneNumbersClient.js +86 -28
  108. package/dist/commonjs/phoneNumbersClient.js.map +1 -1
  109. package/dist/commonjs/sipRoutingClient.d.ts +1 -41
  110. package/dist/commonjs/sipRoutingClient.d.ts.map +1 -1
  111. package/dist/commonjs/sipRoutingClient.js +48 -216
  112. package/dist/commonjs/sipRoutingClient.js.map +1 -1
  113. package/dist/commonjs/tsdoc-metadata.json +11 -11
  114. package/dist/commonjs/utils/constants.d.ts.map +1 -1
  115. package/dist/commonjs/utils/constants.js +1 -1
  116. package/dist/commonjs/utils/constants.js.map +1 -1
  117. package/dist/commonjs/utils/customPipelinePolicies.js +1 -2
  118. package/dist/commonjs/utils/customPipelinePolicies.js.map +1 -1
  119. package/dist/esm/generated/src/lroImpl.js +7 -3
  120. package/dist/esm/generated/src/lroImpl.js.map +1 -1
  121. package/dist/esm/generated/src/operations/phoneNumbers.js +219 -296
  122. package/dist/esm/generated/src/operations/phoneNumbers.js.map +1 -1
  123. package/dist/esm/generated/src/pagingHelper.js +2 -4
  124. package/dist/esm/generated/src/pagingHelper.js.map +1 -1
  125. package/dist/esm/generated/src/phoneNumbersClient.js +11 -4
  126. package/dist/esm/generated/src/phoneNumbersClient.js.map +1 -1
  127. package/dist/esm/generated/src/siprouting/index.d.ts +1 -0
  128. package/dist/esm/generated/src/siprouting/index.d.ts.map +1 -1
  129. package/dist/esm/generated/src/siprouting/index.js +1 -0
  130. package/dist/esm/generated/src/siprouting/index.js.map +1 -1
  131. package/dist/esm/generated/src/siprouting/models/index.d.ts +2 -141
  132. package/dist/esm/generated/src/siprouting/models/index.d.ts.map +1 -1
  133. package/dist/esm/generated/src/siprouting/models/index.js +1 -6
  134. package/dist/esm/generated/src/siprouting/models/index.js.map +1 -1
  135. package/dist/esm/generated/src/siprouting/models/mappers.d.ts +0 -7
  136. package/dist/esm/generated/src/siprouting/models/mappers.d.ts.map +1 -1
  137. package/dist/esm/generated/src/siprouting/models/mappers.js +77 -284
  138. package/dist/esm/generated/src/siprouting/models/mappers.js.map +1 -1
  139. package/dist/esm/generated/src/siprouting/models/parameters.d.ts +0 -7
  140. package/dist/esm/generated/src/siprouting/models/parameters.d.ts.map +1 -1
  141. package/dist/esm/generated/src/siprouting/models/parameters.js +16 -62
  142. package/dist/esm/generated/src/siprouting/models/parameters.js.map +1 -1
  143. package/dist/esm/generated/src/siprouting/operations/sipRouting.d.ts +3 -9
  144. package/dist/esm/generated/src/siprouting/operations/sipRouting.d.ts.map +1 -1
  145. package/dist/esm/generated/src/siprouting/operations/sipRouting.js +12 -45
  146. package/dist/esm/generated/src/siprouting/operations/sipRouting.js.map +1 -1
  147. package/dist/esm/generated/src/siprouting/operationsInterfaces/sipRouting.d.ts +1 -7
  148. package/dist/esm/generated/src/siprouting/operationsInterfaces/sipRouting.d.ts.map +1 -1
  149. package/dist/esm/generated/src/siprouting/operationsInterfaces/sipRouting.js.map +1 -1
  150. package/dist/esm/generated/src/siprouting/sipRoutingClient.d.ts +2 -6
  151. package/dist/esm/generated/src/siprouting/sipRoutingClient.d.ts.map +1 -1
  152. package/dist/esm/generated/src/siprouting/sipRoutingClient.js +4 -51
  153. package/dist/esm/generated/src/siprouting/sipRoutingClient.js.map +1 -1
  154. package/dist/esm/generated/src/siprouting/sipRoutingClientContext.js +10 -3
  155. package/dist/esm/generated/src/siprouting/sipRoutingClientContext.js.map +1 -1
  156. package/dist/esm/generated/src/tracing.js +1 -1
  157. package/dist/esm/generated/src/tracing.js.map +1 -1
  158. package/dist/esm/mappers.d.ts +3 -17
  159. package/dist/esm/mappers.d.ts.map +1 -1
  160. package/dist/esm/mappers.js +2 -51
  161. package/dist/esm/mappers.js.map +1 -1
  162. package/dist/esm/models.d.ts +1 -60
  163. package/dist/esm/models.d.ts.map +1 -1
  164. package/dist/esm/models.js.map +1 -1
  165. package/dist/esm/phoneNumbersClient.d.ts +1 -1
  166. package/dist/esm/phoneNumbersClient.js +86 -28
  167. package/dist/esm/phoneNumbersClient.js.map +1 -1
  168. package/dist/esm/sipRoutingClient.d.ts +1 -41
  169. package/dist/esm/sipRoutingClient.d.ts.map +1 -1
  170. package/dist/esm/sipRoutingClient.js +49 -218
  171. package/dist/esm/sipRoutingClient.js.map +1 -1
  172. package/dist/esm/utils/constants.d.ts.map +1 -1
  173. package/dist/esm/utils/constants.js +1 -1
  174. package/dist/esm/utils/constants.js.map +1 -1
  175. package/dist/esm/utils/customPipelinePolicies.js +1 -2
  176. package/dist/esm/utils/customPipelinePolicies.js.map +1 -1
  177. package/dist/react-native/generated/src/lroImpl.js +7 -3
  178. package/dist/react-native/generated/src/lroImpl.js.map +1 -1
  179. package/dist/react-native/generated/src/operations/phoneNumbers.js +219 -296
  180. package/dist/react-native/generated/src/operations/phoneNumbers.js.map +1 -1
  181. package/dist/react-native/generated/src/pagingHelper.js +2 -4
  182. package/dist/react-native/generated/src/pagingHelper.js.map +1 -1
  183. package/dist/react-native/generated/src/phoneNumbersClient.js +11 -4
  184. package/dist/react-native/generated/src/phoneNumbersClient.js.map +1 -1
  185. package/dist/react-native/generated/src/siprouting/index.d.ts +1 -0
  186. package/dist/react-native/generated/src/siprouting/index.d.ts.map +1 -1
  187. package/dist/react-native/generated/src/siprouting/index.js +1 -0
  188. package/dist/react-native/generated/src/siprouting/index.js.map +1 -1
  189. package/dist/react-native/generated/src/siprouting/models/index.d.ts +2 -141
  190. package/dist/react-native/generated/src/siprouting/models/index.d.ts.map +1 -1
  191. package/dist/react-native/generated/src/siprouting/models/index.js +1 -6
  192. package/dist/react-native/generated/src/siprouting/models/index.js.map +1 -1
  193. package/dist/react-native/generated/src/siprouting/models/mappers.d.ts +0 -7
  194. package/dist/react-native/generated/src/siprouting/models/mappers.d.ts.map +1 -1
  195. package/dist/react-native/generated/src/siprouting/models/mappers.js +77 -284
  196. package/dist/react-native/generated/src/siprouting/models/mappers.js.map +1 -1
  197. package/dist/react-native/generated/src/siprouting/models/parameters.d.ts +0 -7
  198. package/dist/react-native/generated/src/siprouting/models/parameters.d.ts.map +1 -1
  199. package/dist/react-native/generated/src/siprouting/models/parameters.js +16 -62
  200. package/dist/react-native/generated/src/siprouting/models/parameters.js.map +1 -1
  201. package/dist/react-native/generated/src/siprouting/operations/sipRouting.d.ts +3 -9
  202. package/dist/react-native/generated/src/siprouting/operations/sipRouting.d.ts.map +1 -1
  203. package/dist/react-native/generated/src/siprouting/operations/sipRouting.js +12 -45
  204. package/dist/react-native/generated/src/siprouting/operations/sipRouting.js.map +1 -1
  205. package/dist/react-native/generated/src/siprouting/operationsInterfaces/sipRouting.d.ts +1 -7
  206. package/dist/react-native/generated/src/siprouting/operationsInterfaces/sipRouting.d.ts.map +1 -1
  207. package/dist/react-native/generated/src/siprouting/operationsInterfaces/sipRouting.js.map +1 -1
  208. package/dist/react-native/generated/src/siprouting/sipRoutingClient.d.ts +2 -6
  209. package/dist/react-native/generated/src/siprouting/sipRoutingClient.d.ts.map +1 -1
  210. package/dist/react-native/generated/src/siprouting/sipRoutingClient.js +4 -51
  211. package/dist/react-native/generated/src/siprouting/sipRoutingClient.js.map +1 -1
  212. package/dist/react-native/generated/src/siprouting/sipRoutingClientContext.js +10 -3
  213. package/dist/react-native/generated/src/siprouting/sipRoutingClientContext.js.map +1 -1
  214. package/dist/react-native/generated/src/tracing.js +1 -1
  215. package/dist/react-native/generated/src/tracing.js.map +1 -1
  216. package/dist/react-native/mappers.d.ts +3 -17
  217. package/dist/react-native/mappers.d.ts.map +1 -1
  218. package/dist/react-native/mappers.js +2 -51
  219. package/dist/react-native/mappers.js.map +1 -1
  220. package/dist/react-native/models.d.ts +1 -60
  221. package/dist/react-native/models.d.ts.map +1 -1
  222. package/dist/react-native/models.js.map +1 -1
  223. package/dist/react-native/phoneNumbersClient.d.ts +1 -1
  224. package/dist/react-native/phoneNumbersClient.js +86 -28
  225. package/dist/react-native/phoneNumbersClient.js.map +1 -1
  226. package/dist/react-native/sipRoutingClient.d.ts +1 -41
  227. package/dist/react-native/sipRoutingClient.d.ts.map +1 -1
  228. package/dist/react-native/sipRoutingClient.js +49 -218
  229. package/dist/react-native/sipRoutingClient.js.map +1 -1
  230. package/dist/react-native/utils/constants.d.ts.map +1 -1
  231. package/dist/react-native/utils/constants.js +1 -1
  232. package/dist/react-native/utils/constants.js.map +1 -1
  233. package/dist/react-native/utils/customPipelinePolicies.js +1 -2
  234. package/dist/react-native/utils/customPipelinePolicies.js.map +1 -1
  235. package/package.json +35 -37
@@ -7,7 +7,7 @@
7
7
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.targetPhoneNumber = exports.routes1 = exports.trunks1 = exports.domains1 = exports.contentType1 = exports.routes = exports.trunks = exports.domains = exports.contentType = exports.expand = exports.apiVersion = exports.endpoint = exports.accept = void 0;
10
+ exports.routes = exports.trunks = exports.contentType = exports.apiVersion = exports.endpoint = exports.accept = void 0;
11
11
  const mappers_js_1 = require("../models/mappers.js");
12
12
  exports.accept = {
13
13
  parameterPath: "accept",
@@ -16,9 +16,9 @@ exports.accept = {
16
16
  isConstant: true,
17
17
  serializedName: "Accept",
18
18
  type: {
19
- name: "String",
20
- },
21
- },
19
+ name: "String"
20
+ }
21
+ }
22
22
  };
23
23
  exports.endpoint = {
24
24
  parameterPath: "endpoint",
@@ -26,30 +26,21 @@ exports.endpoint = {
26
26
  serializedName: "endpoint",
27
27
  required: true,
28
28
  type: {
29
- name: "String",
30
- },
29
+ name: "String"
30
+ }
31
31
  },
32
- skipEncoding: true,
32
+ skipEncoding: true
33
33
  };
34
34
  exports.apiVersion = {
35
35
  parameterPath: "apiVersion",
36
36
  mapper: {
37
- defaultValue: "2024-11-15-preview",
37
+ defaultValue: "2023-03-01",
38
38
  isConstant: true,
39
39
  serializedName: "api-version",
40
40
  type: {
41
- name: "String",
42
- },
43
- },
44
- };
45
- exports.expand = {
46
- parameterPath: ["options", "expand"],
47
- mapper: {
48
- serializedName: "expand",
49
- type: {
50
- name: "String",
51
- },
52
- },
41
+ name: "String"
42
+ }
43
+ }
53
44
  };
54
45
  exports.contentType = {
55
46
  parameterPath: ["options", "contentType"],
@@ -58,53 +49,16 @@ exports.contentType = {
58
49
  isConstant: true,
59
50
  serializedName: "Content-Type",
60
51
  type: {
61
- name: "String",
62
- },
63
- },
64
- };
65
- exports.domains = {
66
- parameterPath: ["options", "domains"],
67
- mapper: mappers_js_1.SipConfigurationUpdate,
52
+ name: "String"
53
+ }
54
+ }
68
55
  };
69
56
  exports.trunks = {
70
57
  parameterPath: ["options", "trunks"],
71
- mapper: mappers_js_1.SipConfigurationUpdate,
58
+ mapper: mappers_js_1.SipConfigurationUpdate
72
59
  };
73
60
  exports.routes = {
74
61
  parameterPath: ["options", "routes"],
75
- mapper: mappers_js_1.SipConfigurationUpdate,
76
- };
77
- exports.contentType1 = {
78
- parameterPath: ["options", "contentType"],
79
- mapper: {
80
- defaultValue: "application/json",
81
- isConstant: true,
82
- serializedName: "Content-Type",
83
- type: {
84
- name: "String",
85
- },
86
- },
87
- };
88
- exports.domains1 = {
89
- parameterPath: ["options", "domains"],
90
- mapper: mappers_js_1.SipConfiguration,
91
- };
92
- exports.trunks1 = {
93
- parameterPath: ["options", "trunks"],
94
- mapper: mappers_js_1.SipConfiguration,
95
- };
96
- exports.routes1 = {
97
- parameterPath: ["options", "routes"],
98
- mapper: mappers_js_1.SipConfiguration,
99
- };
100
- exports.targetPhoneNumber = {
101
- parameterPath: "targetPhoneNumber",
102
- mapper: {
103
- serializedName: "targetPhoneNumber",
104
- required: true,
105
- type: {
106
- name: "String",
107
- },
108
- },
62
+ mapper: mappers_js_1.SipConfigurationUpdate
109
63
  };
110
64
  //# sourceMappingURL=parameters.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../../src/generated/src/siprouting/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDAG8B;AAEjB,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEW,QAAA,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,oBAAoB;QAClC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,MAAM,GAA4B;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;IACpC,MAAM,EAAE;QACN,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,8BAA8B;QAC5C,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,OAAO,GAAuB;IACzC,aAAa,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IACrC,MAAM,EAAE,mCAA4B;CACrC,CAAC;AAEW,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;IACpC,MAAM,EAAE,mCAA4B;CACrC,CAAC;AAEW,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;IACpC,MAAM,EAAE,mCAA4B;CACrC,CAAC;AAEW,QAAA,YAAY,GAAuB;IAC9C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,QAAQ,GAAuB;IAC1C,aAAa,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IACrC,MAAM,EAAE,6BAAsB;CAC/B,CAAC;AAEW,QAAA,OAAO,GAAuB;IACzC,aAAa,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;IACpC,MAAM,EAAE,6BAAsB;CAC/B,CAAC;AAEW,QAAA,OAAO,GAAuB;IACzC,aAAa,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;IACpC,MAAM,EAAE,6BAAsB;CAC/B,CAAC;AAEW,QAAA,iBAAiB,GAA4B;IACxD,aAAa,EAAE,mBAAmB;IAClC,MAAM,EAAE;QACN,cAAc,EAAE,mBAAmB;QACnC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n SipConfigurationUpdate as SipConfigurationUpdateMapper,\n SipConfiguration as SipConfigurationMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2024-11-15-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const expand: OperationQueryParameter = {\n parameterPath: [\"options\", \"expand\"],\n mapper: {\n serializedName: \"expand\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/merge-patch+json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const domains: OperationParameter = {\n parameterPath: [\"options\", \"domains\"],\n mapper: SipConfigurationUpdateMapper,\n};\n\nexport const trunks: OperationParameter = {\n parameterPath: [\"options\", \"trunks\"],\n mapper: SipConfigurationUpdateMapper,\n};\n\nexport const routes: OperationParameter = {\n parameterPath: [\"options\", \"routes\"],\n mapper: SipConfigurationUpdateMapper,\n};\n\nexport const contentType1: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const domains1: OperationParameter = {\n parameterPath: [\"options\", \"domains\"],\n mapper: SipConfigurationMapper,\n};\n\nexport const trunks1: OperationParameter = {\n parameterPath: [\"options\", \"trunks\"],\n mapper: SipConfigurationMapper,\n};\n\nexport const routes1: OperationParameter = {\n parameterPath: [\"options\", \"routes\"],\n mapper: SipConfigurationMapper,\n};\n\nexport const targetPhoneNumber: OperationQueryParameter = {\n parameterPath: \"targetPhoneNumber\",\n mapper: {\n serializedName: \"targetPhoneNumber\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n"]}
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../../src/generated/src/siprouting/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDAA8F;AAEjF,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEW,QAAA,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,8BAA8B;QAC5C,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;IACpC,MAAM,EAAE,mCAA4B;CACrC,CAAC;AAEW,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;IACpC,MAAM,EAAE,mCAA4B;CACrC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport { SipConfigurationUpdate as SipConfigurationUpdateMapper } from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2023-03-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/merge-patch+json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const trunks: OperationParameter = {\n parameterPath: [\"options\", \"trunks\"],\n mapper: SipConfigurationUpdateMapper\n};\n\nexport const routes: OperationParameter = {\n parameterPath: [\"options\", \"routes\"],\n mapper: SipConfigurationUpdateMapper\n};\n"]}
@@ -1,6 +1,6 @@
1
1
  import { SipRouting } from "../operationsInterfaces/index.js";
2
- import { SipRoutingClient } from "../sipRoutingClient.js";
3
- import { SipRoutingGetOptionalParams, SipRoutingGetResponse, SipRoutingUpdateOptionalParams, SipRoutingUpdateResponse, SipRoutingTestRoutesWithNumberOptionalParams, SipRoutingTestRoutesWithNumberResponse } from "../models/index.js";
2
+ import { SipRoutingClientContext } from "../sipRoutingClientContext.js";
3
+ import { SipRoutingGetOptionalParams, SipRoutingGetResponse, SipRoutingUpdateOptionalParams, SipRoutingUpdateResponse } from "../models/index.js";
4
4
  /** Class containing SipRouting operations. */
5
5
  export declare class SipRoutingImpl implements SipRouting {
6
6
  private readonly client;
@@ -8,7 +8,7 @@ export declare class SipRoutingImpl implements SipRouting {
8
8
  * Initialize a new instance of the class SipRouting class.
9
9
  * @param client Reference to the service client
10
10
  */
11
- constructor(client: SipRoutingClient);
11
+ constructor(client: SipRoutingClientContext);
12
12
  /**
13
13
  * Gets SIP configuration for resource.
14
14
  * @param options The options parameters.
@@ -19,11 +19,5 @@ export declare class SipRoutingImpl implements SipRouting {
19
19
  * @param options The options parameters.
20
20
  */
21
21
  update(options?: SipRoutingUpdateOptionalParams): Promise<SipRoutingUpdateResponse>;
22
- /**
23
- * Gets the list of routes matching the target phone number, ordered by priority.
24
- * @param targetPhoneNumber Phone number to test routing patterns against
25
- * @param options The options parameters.
26
- */
27
- testRoutesWithNumber(targetPhoneNumber: string, options?: SipRoutingTestRoutesWithNumberOptionalParams): Promise<SipRoutingTestRoutesWithNumberResponse>;
28
22
  }
29
23
  //# sourceMappingURL=sipRouting.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sipRouting.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/src/siprouting/operations/sipRouting.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,8BAA8B,EAC9B,wBAAwB,EACxB,4CAA4C,EAC5C,sCAAsC,EACvC,MAAM,oBAAoB,CAAC;AAE5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAE1C;;;OAGG;gBACS,MAAM,EAAE,gBAAgB;IAIpC;;;OAGG;IACH,GAAG,CAAC,OAAO,CAAC,EAAE,2BAA2B,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAI1E;;;OAGG;IACH,MAAM,CACJ,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;IAIpC;;;;OAIG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;CAMnD"}
1
+ {"version":3,"file":"sipRouting.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/src/siprouting/operations/sipRouting.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,oBAAoB,CAAC;AAE5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;OAGG;IACH,GAAG,CAAC,OAAO,CAAC,EAAE,2BAA2B,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAI1E;;;OAGG;IACH,MAAM,CACJ,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;CAGrC"}
@@ -14,6 +14,7 @@ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
14
14
  const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
15
15
  /** Class containing SipRouting operations. */
16
16
  class SipRoutingImpl {
17
+ client;
17
18
  /**
18
19
  * Initialize a new instance of the class SipRouting class.
19
20
  * @param client Reference to the service client
@@ -35,14 +36,6 @@ class SipRoutingImpl {
35
36
  update(options) {
36
37
  return this.client.sendOperationRequest({ options }, updateOperationSpec);
37
38
  }
38
- /**
39
- * Gets the list of routes matching the target phone number, ordered by priority.
40
- * @param targetPhoneNumber Phone number to test routing patterns against
41
- * @param options The options parameters.
42
- */
43
- testRoutesWithNumber(targetPhoneNumber, options) {
44
- return this.client.sendOperationRequest({ targetPhoneNumber, options }, testRoutesWithNumberOperationSpec);
45
- }
46
39
  }
47
40
  exports.SipRoutingImpl = SipRoutingImpl;
48
41
  // Operation Specifications
@@ -52,67 +45,41 @@ const getOperationSpec = {
52
45
  httpMethod: "GET",
53
46
  responses: {
54
47
  200: {
55
- bodyMapper: Mappers.SipConfiguration,
48
+ bodyMapper: Mappers.SipConfiguration
56
49
  },
57
50
  default: {
58
51
  bodyMapper: Mappers.CommunicationErrorResponse,
59
- headersMapper: Mappers.SipRoutingGetExceptionHeaders,
60
- },
52
+ headersMapper: Mappers.SipRoutingGetExceptionHeaders
53
+ }
61
54
  },
62
- queryParameters: [Parameters.apiVersion, Parameters.expand],
55
+ queryParameters: [Parameters.apiVersion],
63
56
  urlParameters: [Parameters.endpoint],
64
57
  headerParameters: [Parameters.accept],
65
- serializer,
58
+ serializer
66
59
  };
67
60
  const updateOperationSpec = {
68
61
  path: "/sip",
69
62
  httpMethod: "PATCH",
70
63
  responses: {
71
64
  200: {
72
- bodyMapper: Mappers.SipConfiguration,
65
+ bodyMapper: Mappers.SipConfiguration
73
66
  },
74
67
  default: {
75
68
  bodyMapper: Mappers.CommunicationErrorResponse,
76
- headersMapper: Mappers.SipRoutingUpdateExceptionHeaders,
77
- },
69
+ headersMapper: Mappers.SipRoutingUpdateExceptionHeaders
70
+ }
78
71
  },
79
72
  requestBody: {
80
73
  parameterPath: {
81
- domains: ["options", "domains"],
82
74
  trunks: ["options", "trunks"],
83
- routes: ["options", "routes"],
75
+ routes: ["options", "routes"]
84
76
  },
85
- mapper: Mappers.SipConfigurationUpdate,
77
+ mapper: Mappers.SipConfigurationUpdate
86
78
  },
87
79
  queryParameters: [Parameters.apiVersion],
88
80
  urlParameters: [Parameters.endpoint],
89
81
  headerParameters: [Parameters.accept, Parameters.contentType],
90
82
  mediaType: "json",
91
- serializer,
92
- };
93
- const testRoutesWithNumberOperationSpec = {
94
- path: "/sip:testRoutesWithNumber",
95
- httpMethod: "POST",
96
- responses: {
97
- 200: {
98
- bodyMapper: Mappers.RoutesForNumber,
99
- },
100
- default: {
101
- bodyMapper: Mappers.CommunicationErrorResponse,
102
- },
103
- },
104
- requestBody: {
105
- parameterPath: {
106
- domains: ["options", "domains"],
107
- trunks: ["options", "trunks"],
108
- routes: ["options", "routes"],
109
- },
110
- mapper: Mappers.SipConfiguration,
111
- },
112
- queryParameters: [Parameters.apiVersion, Parameters.targetPhoneNumber],
113
- urlParameters: [Parameters.endpoint],
114
- headerParameters: [Parameters.accept, Parameters.contentType1],
115
- mediaType: "json",
116
- serializer,
83
+ serializer
117
84
  };
118
85
  //# sourceMappingURL=sipRouting.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sipRouting.js","sourceRoot":"","sources":["../../../../../../src/generated/src/siprouting/operations/sipRouting.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAWtD,8CAA8C;AAC9C,MAAa,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,GAAG,CAAC,OAAqC;QACvC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,gBAAgB,CAAC,CAAC;IACzE,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,OAAwC;QAExC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,mBAAmB,CAAC,CAAC;IAC5E,CAAC;IAED;;;;OAIG;IACH,oBAAoB,CAClB,iBAAyB,EACzB,OAAsD;QAEtD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAC9B,iCAAiC,CAClC,CAAC;IACJ,CAAC;CACF;AA3CD,wCA2CC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;YAC9C,aAAa,EAAE,OAAO,CAAC,6BAA6B;SACrD;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC;IAC3D,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;IACpC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,OAAO;IACnB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;YAC9C,aAAa,EAAE,OAAO,CAAC,gCAAgC;SACxD;KACF;IACD,WAAW,EAAE;QACX,aAAa,EAAE;YACb,OAAO,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;YAC/B,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;YAC7B,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;SAC9B;QACD,MAAM,EAAE,OAAO,CAAC,sBAAsB;KACvC;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;IACpC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,iCAAiC,GAA6B;IAClE,IAAI,EAAE,2BAA2B;IACjC,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,WAAW,EAAE;QACX,aAAa,EAAE;YACb,OAAO,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;YAC/B,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;YAC7B,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;SAC9B;QACD,MAAM,EAAE,OAAO,CAAC,gBAAgB;KACjC;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,iBAAiB,CAAC;IACtE,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;IACpC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC;IAC9D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { SipRouting } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SipRoutingClient } from \"../sipRoutingClient.js\";\nimport {\n SipRoutingGetOptionalParams,\n SipRoutingGetResponse,\n SipRoutingUpdateOptionalParams,\n SipRoutingUpdateResponse,\n SipRoutingTestRoutesWithNumberOptionalParams,\n SipRoutingTestRoutesWithNumberResponse,\n} from \"../models/index.js\";\n\n/** Class containing SipRouting operations. */\nexport class SipRoutingImpl implements SipRouting {\n private readonly client: SipRoutingClient;\n\n /**\n * Initialize a new instance of the class SipRouting class.\n * @param client Reference to the service client\n */\n constructor(client: SipRoutingClient) {\n this.client = client;\n }\n\n /**\n * Gets SIP configuration for resource.\n * @param options The options parameters.\n */\n get(options?: SipRoutingGetOptionalParams): Promise<SipRoutingGetResponse> {\n return this.client.sendOperationRequest({ options }, getOperationSpec);\n }\n\n /**\n * Updates SIP configuration for resource.\n * @param options The options parameters.\n */\n update(\n options?: SipRoutingUpdateOptionalParams,\n ): Promise<SipRoutingUpdateResponse> {\n return this.client.sendOperationRequest({ options }, updateOperationSpec);\n }\n\n /**\n * Gets the list of routes matching the target phone number, ordered by priority.\n * @param targetPhoneNumber Phone number to test routing patterns against\n * @param options The options parameters.\n */\n testRoutesWithNumber(\n targetPhoneNumber: string,\n options?: SipRoutingTestRoutesWithNumberOptionalParams,\n ): Promise<SipRoutingTestRoutesWithNumberResponse> {\n return this.client.sendOperationRequest(\n { targetPhoneNumber, options },\n testRoutesWithNumberOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/sip\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SipConfiguration,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n headersMapper: Mappers.SipRoutingGetExceptionHeaders,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/sip\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.SipConfiguration,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n headersMapper: Mappers.SipRoutingUpdateExceptionHeaders,\n },\n },\n requestBody: {\n parameterPath: {\n domains: [\"options\", \"domains\"],\n trunks: [\"options\", \"trunks\"],\n routes: [\"options\", \"routes\"],\n },\n mapper: Mappers.SipConfigurationUpdate,\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst testRoutesWithNumberOperationSpec: coreClient.OperationSpec = {\n path: \"/sip:testRoutesWithNumber\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.RoutesForNumber,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: {\n parameterPath: {\n domains: [\"options\", \"domains\"],\n trunks: [\"options\", \"trunks\"],\n routes: [\"options\", \"routes\"],\n },\n mapper: Mappers.SipConfiguration,\n },\n queryParameters: [Parameters.apiVersion, Parameters.targetPhoneNumber],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.contentType1],\n mediaType: \"json\",\n serializer,\n};\n"]}
1
+ {"version":3,"file":"sipRouting.js","sourceRoot":"","sources":["../../../../../../src/generated/src/siprouting/operations/sipRouting.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAStD,8CAA8C;AAC9C,MAAa,cAAc;IACR,MAAM,CAA0B;IAEjD;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,GAAG,CAAC,OAAqC;QACvC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,gBAAgB,CAAC,CAAC;IACzE,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,OAAwC;QAExC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,mBAAmB,CAAC,CAAC;IAC5E,CAAC;CACF;AA5BD,wCA4BC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;YAC9C,aAAa,EAAE,OAAO,CAAC,6BAA6B;SACrD;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;IACpC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,OAAO;IACnB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;YAC9C,aAAa,EAAE,OAAO,CAAC,gCAAgC;SACxD;KACF;IACD,WAAW,EAAE;QACX,aAAa,EAAE;YACb,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;YAC7B,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;SAC9B;QACD,MAAM,EAAE,OAAO,CAAC,sBAAsB;KACvC;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;IACpC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { SipRouting } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SipRoutingClientContext } from \"../sipRoutingClientContext.js\";\nimport {\n SipRoutingGetOptionalParams,\n SipRoutingGetResponse,\n SipRoutingUpdateOptionalParams,\n SipRoutingUpdateResponse\n} from \"../models/index.js\";\n\n/** Class containing SipRouting operations. */\nexport class SipRoutingImpl implements SipRouting {\n private readonly client: SipRoutingClientContext;\n\n /**\n * Initialize a new instance of the class SipRouting class.\n * @param client Reference to the service client\n */\n constructor(client: SipRoutingClientContext) {\n this.client = client;\n }\n\n /**\n * Gets SIP configuration for resource.\n * @param options The options parameters.\n */\n get(options?: SipRoutingGetOptionalParams): Promise<SipRoutingGetResponse> {\n return this.client.sendOperationRequest({ options }, getOperationSpec);\n }\n\n /**\n * Updates SIP configuration for resource.\n * @param options The options parameters.\n */\n update(\n options?: SipRoutingUpdateOptionalParams\n ): Promise<SipRoutingUpdateResponse> {\n return this.client.sendOperationRequest({ options }, updateOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/sip\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SipConfiguration\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n headersMapper: Mappers.SipRoutingGetExceptionHeaders\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/sip\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.SipConfiguration\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n headersMapper: Mappers.SipRoutingUpdateExceptionHeaders\n }\n },\n requestBody: {\n parameterPath: {\n trunks: [\"options\", \"trunks\"],\n routes: [\"options\", \"routes\"]\n },\n mapper: Mappers.SipConfigurationUpdate\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
@@ -1,4 +1,4 @@
1
- import { SipRoutingGetOptionalParams, SipRoutingGetResponse, SipRoutingUpdateOptionalParams, SipRoutingUpdateResponse, SipRoutingTestRoutesWithNumberOptionalParams, SipRoutingTestRoutesWithNumberResponse } from "../models/index.js";
1
+ import { SipRoutingGetOptionalParams, SipRoutingGetResponse, SipRoutingUpdateOptionalParams, SipRoutingUpdateResponse } from "../models/index.js";
2
2
  /** Interface representing a SipRouting. */
3
3
  export interface SipRouting {
4
4
  /**
@@ -11,11 +11,5 @@ export interface SipRouting {
11
11
  * @param options The options parameters.
12
12
  */
13
13
  update(options?: SipRoutingUpdateOptionalParams): Promise<SipRoutingUpdateResponse>;
14
- /**
15
- * Gets the list of routes matching the target phone number, ordered by priority.
16
- * @param targetPhoneNumber Phone number to test routing patterns against
17
- * @param options The options parameters.
18
- */
19
- testRoutesWithNumber(targetPhoneNumber: string, options?: SipRoutingTestRoutesWithNumberOptionalParams): Promise<SipRoutingTestRoutesWithNumberResponse>;
20
14
  }
21
15
  //# sourceMappingURL=sipRouting.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sipRouting.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/src/siprouting/operationsInterfaces/sipRouting.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,8BAA8B,EAC9B,wBAAwB,EACxB,4CAA4C,EAC5C,sCAAsC,EACvC,MAAM,oBAAoB,CAAC;AAE5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,GAAG,CAAC,OAAO,CAAC,EAAE,2BAA2B,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAC3E;;;OAGG;IACH,MAAM,CACJ,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACrC;;;;OAIG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;CACpD"}
1
+ {"version":3,"file":"sipRouting.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/src/siprouting/operationsInterfaces/sipRouting.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,oBAAoB,CAAC;AAE5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,GAAG,CAAC,OAAO,CAAC,EAAE,2BAA2B,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAC3E;;;OAGG;IACH,MAAM,CACJ,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;CACtC"}
@@ -1 +1 @@
1
- {"version":3,"file":"sipRouting.js","sourceRoot":"","sources":["../../../../../../src/generated/src/siprouting/operationsInterfaces/sipRouting.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n SipRoutingGetOptionalParams,\n SipRoutingGetResponse,\n SipRoutingUpdateOptionalParams,\n SipRoutingUpdateResponse,\n SipRoutingTestRoutesWithNumberOptionalParams,\n SipRoutingTestRoutesWithNumberResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a SipRouting. */\nexport interface SipRouting {\n /**\n * Gets SIP configuration for resource.\n * @param options The options parameters.\n */\n get(options?: SipRoutingGetOptionalParams): Promise<SipRoutingGetResponse>;\n /**\n * Updates SIP configuration for resource.\n * @param options The options parameters.\n */\n update(\n options?: SipRoutingUpdateOptionalParams,\n ): Promise<SipRoutingUpdateResponse>;\n /**\n * Gets the list of routes matching the target phone number, ordered by priority.\n * @param targetPhoneNumber Phone number to test routing patterns against\n * @param options The options parameters.\n */\n testRoutesWithNumber(\n targetPhoneNumber: string,\n options?: SipRoutingTestRoutesWithNumberOptionalParams,\n ): Promise<SipRoutingTestRoutesWithNumberResponse>;\n}\n"]}
1
+ {"version":3,"file":"sipRouting.js","sourceRoot":"","sources":["../../../../../../src/generated/src/siprouting/operationsInterfaces/sipRouting.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n SipRoutingGetOptionalParams,\n SipRoutingGetResponse,\n SipRoutingUpdateOptionalParams,\n SipRoutingUpdateResponse\n} from \"../models/index.js\";\n\n/** Interface representing a SipRouting. */\nexport interface SipRouting {\n /**\n * Gets SIP configuration for resource.\n * @param options The options parameters.\n */\n get(options?: SipRoutingGetOptionalParams): Promise<SipRoutingGetResponse>;\n /**\n * Updates SIP configuration for resource.\n * @param options The options parameters.\n */\n update(\n options?: SipRoutingUpdateOptionalParams\n ): Promise<SipRoutingUpdateResponse>;\n}\n"]}
@@ -1,17 +1,13 @@
1
- import * as coreClient from "@azure/core-client";
2
1
  import { SipRouting } from "./operationsInterfaces/index.js";
2
+ import { SipRoutingClientContext } from "./sipRoutingClientContext.js";
3
3
  import { SipRoutingClientOptionalParams } from "./models/index.js";
4
- export declare class SipRoutingClient extends coreClient.ServiceClient {
5
- endpoint: string;
6
- apiVersion: string;
4
+ export declare class SipRoutingClient extends SipRoutingClientContext {
7
5
  /**
8
6
  * Initializes a new instance of the SipRoutingClient class.
9
7
  * @param endpoint The communication resource, for example https://resourcename.communication.azure.com
10
8
  * @param options The parameter options
11
9
  */
12
10
  constructor(endpoint: string, options?: SipRoutingClientOptionalParams);
13
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
14
- private addCustomApiVersionPolicy;
15
11
  sipRouting: SipRouting;
16
12
  }
17
13
  //# sourceMappingURL=sipRoutingClient.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sipRoutingClient.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/siprouting/sipRoutingClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAC;AAEnE,qBAAa,gBAAiB,SAAQ,UAAU,CAAC,aAAa;IAC5D,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;gBACS,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,8BAA8B;IAqCtE,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;CACxB"}
1
+ {"version":3,"file":"sipRoutingClient.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/siprouting/sipRoutingClient.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAC;AAEnE,qBAAa,gBAAiB,SAAQ,uBAAuB;IAC3D;;;;OAIG;gBACS,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,8BAA8B;IAKtE,UAAU,EAAE,UAAU,CAAC;CACxB"}
@@ -8,67 +8,19 @@
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.SipRoutingClient = void 0;
11
- const tslib_1 = require("tslib");
12
- const coreClient = tslib_1.__importStar(require("@azure/core-client"));
13
11
  const index_js_1 = require("./operations/index.js");
14
- class SipRoutingClient extends coreClient.ServiceClient {
12
+ const sipRoutingClientContext_js_1 = require("./sipRoutingClientContext.js");
13
+ class SipRoutingClient extends sipRoutingClientContext_js_1.SipRoutingClientContext {
15
14
  /**
16
15
  * Initializes a new instance of the SipRoutingClient class.
17
16
  * @param endpoint The communication resource, for example https://resourcename.communication.azure.com
18
17
  * @param options The parameter options
19
18
  */
20
19
  constructor(endpoint, options) {
21
- var _a, _b;
22
- if (endpoint === undefined) {
23
- throw new Error("'endpoint' cannot be null");
24
- }
25
- // Initializing default values for options
26
- if (!options) {
27
- options = {};
28
- }
29
- const defaults = {
30
- requestContentType: "application/json; charset=utf-8",
31
- };
32
- const packageDetails = `azsdk-js-communication-phone-numbers/1.5.0-beta.2`;
33
- const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
34
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
35
- : `${packageDetails}`;
36
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
37
- userAgentPrefix,
38
- }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "{endpoint}" });
39
- super(optionsWithDefaults);
40
- // Parameter assignments
41
- this.endpoint = endpoint;
42
- // Assigning values to Constant parameters
43
- this.apiVersion = options.apiVersion || "2024-11-15-preview";
20
+ super(endpoint, options);
44
21
  this.sipRouting = new index_js_1.SipRoutingImpl(this);
45
- this.addCustomApiVersionPolicy(options.apiVersion);
46
- }
47
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
48
- addCustomApiVersionPolicy(apiVersion) {
49
- if (!apiVersion) {
50
- return;
51
- }
52
- const apiVersionPolicy = {
53
- name: "CustomApiVersionPolicy",
54
- async sendRequest(request, next) {
55
- const param = request.url.split("?");
56
- if (param.length > 1) {
57
- const newParams = param[1].split("&").map((item) => {
58
- if (item.indexOf("api-version") > -1) {
59
- return "api-version=" + apiVersion;
60
- }
61
- else {
62
- return item;
63
- }
64
- });
65
- request.url = param[0] + "?" + newParams.join("&");
66
- }
67
- return next(request);
68
- },
69
- };
70
- this.pipeline.addPolicy(apiVersionPolicy);
71
22
  }
23
+ sipRouting;
72
24
  }
73
25
  exports.SipRoutingClient = SipRoutingClient;
74
26
  //# sourceMappingURL=sipRoutingClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sipRoutingClient.js","sourceRoot":"","sources":["../../../../../src/generated/src/siprouting/sipRoutingClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AAMjD,oDAAuD;AAIvD,MAAa,gBAAiB,SAAQ,UAAU,CAAC,aAAa;IAI5D;;;;OAIG;IACH,YAAY,QAAgB,EAAE,OAAwC;;QACpE,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;QAC/C,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAmC;YAC/C,kBAAkB,EAAE,iCAAiC;SACtD,CAAC;QAEF,MAAM,cAAc,GAAG,mDAAmD,CAAC;QAC3E,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,QAAQ,EAAE,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,YAAY,GAC9D,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAC3B,wBAAwB;QACxB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAEzB,0CAA0C;QAC1C,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,oBAAoB,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,IAAI,yBAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IAED,8GAA8G;IACtG,yBAAyB,CAAC,UAAmB;QACnD,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO;QACT,CAAC;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAGF;AA3ED,4CA2EC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport { SipRoutingImpl } from \"./operations/index.js\";\nimport { SipRouting } from \"./operationsInterfaces/index.js\";\nimport { SipRoutingClientOptionalParams } from \"./models/index.js\";\n\nexport class SipRoutingClient extends coreClient.ServiceClient {\n endpoint: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the SipRoutingClient class.\n * @param endpoint The communication resource, for example https://resourcename.communication.azure.com\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: SipRoutingClientOptionalParams) {\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SipRoutingClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n };\n\n const packageDetails = `azsdk-js-communication-phone-numbers/1.5.0-beta.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"{endpoint}\",\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.endpoint = endpoint;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"2024-11-15-preview\";\n this.sipRouting = new SipRoutingImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n sipRouting: SipRouting;\n}\n"]}
1
+ {"version":3,"file":"sipRoutingClient.js","sourceRoot":"","sources":["../../../../../src/generated/src/siprouting/sipRoutingClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,oDAAuD;AAEvD,6EAAuE;AAGvE,MAAa,gBAAiB,SAAQ,oDAAuB;IAC3D;;;;OAIG;IACH,YAAY,QAAgB,EAAE,OAAwC;QACpE,KAAK,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QACzB,IAAI,CAAC,UAAU,GAAG,IAAI,yBAAc,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;IAED,UAAU,CAAa;CACxB;AAZD,4CAYC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { SipRoutingImpl } from \"./operations/index.js\";\nimport { SipRouting } from \"./operationsInterfaces/index.js\";\nimport { SipRoutingClientContext } from \"./sipRoutingClientContext.js\";\nimport { SipRoutingClientOptionalParams } from \"./models/index.js\";\n\nexport class SipRoutingClient extends SipRoutingClientContext {\n /**\n * Initializes a new instance of the SipRoutingClient class.\n * @param endpoint The communication resource, for example https://resourcename.communication.azure.com\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: SipRoutingClientOptionalParams) {\n super(endpoint, options);\n this.sipRouting = new SipRoutingImpl(this);\n }\n\n sipRouting: SipRouting;\n}\n"]}
@@ -11,6 +11,8 @@ exports.SipRoutingClientContext = void 0;
11
11
  const tslib_1 = require("tslib");
12
12
  const coreClient = tslib_1.__importStar(require("@azure/core-client"));
13
13
  class SipRoutingClientContext extends coreClient.ServiceClient {
14
+ endpoint;
15
+ apiVersion;
14
16
  /**
15
17
  * Initializes a new instance of the SipRoutingClientContext class.
16
18
  * @param endpoint The communication resource, for example https://resourcename.communication.azure.com
@@ -27,13 +29,18 @@ class SipRoutingClientContext extends coreClient.ServiceClient {
27
29
  const defaults = {
28
30
  requestContentType: "application/json; charset=utf-8"
29
31
  };
30
- const packageDetails = `azsdk-js-communication-phone-numbers/1.5.0-beta.2`;
32
+ const packageDetails = `azsdk-js-communication-phone-numbers/1.5.0`;
31
33
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
32
34
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
33
35
  : `${packageDetails}`;
34
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
36
+ const optionsWithDefaults = {
37
+ ...defaults,
38
+ ...options,
39
+ userAgentOptions: {
35
40
  userAgentPrefix
36
- }, baseUri: options.endpoint || "{endpoint}" });
41
+ },
42
+ baseUri: options.endpoint || "{endpoint}"
43
+ };
37
44
  super(optionsWithDefaults);
38
45
  // Parameter assignments
39
46
  this.endpoint = endpoint;
@@ -1 +1 @@
1
- {"version":3,"file":"sipRoutingClientContext.js","sourceRoot":"","sources":["../../../../../src/generated/src/siprouting/sipRoutingClientContext.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AAGjD,MAAa,uBAAwB,SAAQ,UAAU,CAAC,aAAa;IAInE;;;;OAIG;IACH,YAAY,QAAgB,EAAE,OAAwC;QACpE,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;QAC/C,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAmC;YAC/C,kBAAkB,EAAE,iCAAiC;SACtD,CAAC;QAEF,MAAM,cAAc,GAAG,mDAAmD,CAAC;QAC3E,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,OAAO,EAAE,OAAO,CAAC,QAAQ,IAAI,YAAY,GAC1C,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAC3B,wBAAwB;QACxB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAEzB,0CAA0C;QAC1C,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,YAAY,CAAC;IACvD,CAAC;CACF;AA3CD,0DA2CC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport { SipRoutingClientOptionalParams } from \"./models/index.js\";\n\nexport class SipRoutingClientContext extends coreClient.ServiceClient {\n endpoint: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the SipRoutingClientContext class.\n * @param endpoint The communication resource, for example https://resourcename.communication.azure.com\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: SipRoutingClientOptionalParams) {\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SipRoutingClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\"\n };\n\n const packageDetails = `azsdk-js-communication-phone-numbers/1.5.0-beta.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint || \"{endpoint}\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.endpoint = endpoint;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"2023-03-01\";\n }\n}\n"]}
1
+ {"version":3,"file":"sipRoutingClientContext.js","sourceRoot":"","sources":["../../../../../src/generated/src/siprouting/sipRoutingClientContext.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AAGjD,MAAa,uBAAwB,SAAQ,UAAU,CAAC,aAAa;IACnE,QAAQ,CAAS;IACjB,UAAU,CAAS;IAEnB;;;;OAIG;IACH,YAAY,QAAgB,EAAE,OAAwC;QACpE,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;QAC/C,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAmC;YAC/C,kBAAkB,EAAE,iCAAiC;SACtD,CAAC;QAEF,MAAM,cAAc,GAAG,4CAA4C,CAAC;QACpE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,GAAG;YAC1B,GAAG,QAAQ;YACX,GAAG,OAAO;YACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB;YACD,OAAO,EAAE,OAAO,CAAC,QAAQ,IAAI,YAAY;SAC1C,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAC3B,wBAAwB;QACxB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAEzB,0CAA0C;QAC1C,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,YAAY,CAAC;IACvD,CAAC;CACF;AA3CD,0DA2CC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport { SipRoutingClientOptionalParams } from \"./models/index.js\";\n\nexport class SipRoutingClientContext extends coreClient.ServiceClient {\n endpoint: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the SipRoutingClientContext class.\n * @param endpoint The communication resource, for example https://resourcename.communication.azure.com\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: SipRoutingClientOptionalParams) {\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SipRoutingClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\"\n };\n\n const packageDetails = `azsdk-js-communication-phone-numbers/1.5.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint || \"{endpoint}\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.endpoint = endpoint;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"2023-03-01\";\n }\n}\n"]}
@@ -12,6 +12,6 @@ const core_tracing_1 = require("@azure/core-tracing");
12
12
  exports.tracingClient = (0, core_tracing_1.createTracingClient)({
13
13
  namespace: "Microsoft.Communication",
14
14
  packageName: "@azure/communication-phone-numbers",
15
- packageVersion: "1.5.0-beta.2",
15
+ packageVersion: "1.5.0",
16
16
  });
17
17
  //# sourceMappingURL=tracing.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tracing.js","sourceRoot":"","sources":["../../../../src/generated/src/tracing.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,sDAA0D;AAE7C,QAAA,aAAa,GAAG,IAAA,kCAAmB,EAAC;IAC/C,SAAS,EAAE,yBAAyB;IACpC,WAAW,EAAE,oCAAoC;IACjD,cAAc,EAAE,cAAc;CAC/B,CAAC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { createTracingClient } from \"@azure/core-tracing\";\n\nexport const tracingClient = createTracingClient({\n namespace: \"Microsoft.Communication\",\n packageName: \"@azure/communication-phone-numbers\",\n packageVersion: \"1.5.0-beta.2\",\n});\n"]}
1
+ {"version":3,"file":"tracing.js","sourceRoot":"","sources":["../../../../src/generated/src/tracing.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,sDAA0D;AAE7C,QAAA,aAAa,GAAG,IAAA,kCAAmB,EAAC;IAC/C,SAAS,EAAE,yBAAyB;IACpC,WAAW,EAAE,oCAAoC;IACjD,cAAc,EAAE,OAAO;CACxB,CAAC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { createTracingClient } from \"@azure/core-tracing\";\n\nexport const tracingClient = createTracingClient({\n namespace: \"Microsoft.Communication\",\n packageName: \"@azure/communication-phone-numbers\",\n packageVersion: \"1.5.0\",\n});\n"]}
@@ -1,5 +1,5 @@
1
- import type { SipTrunk, SipDomain } from "./models.js";
2
- import type { SipTrunk as RestSipTrunk, SipDomain as RestSipDomain, TrunkUpdate as RestTrunkUpdate, DomainPatch as RestDomainUpdate } from "./generated/src/siprouting/models/index.js";
1
+ import type { SipTrunk } from "./models.js";
2
+ import type { TrunkUpdate as RestSipTrunk } from "./generated/src/siprouting/models/index.js";
3
3
  /**
4
4
  * @internal
5
5
  * Transforming SIP trunks REST model to SDK model
@@ -7,25 +7,11 @@ import type { SipTrunk as RestSipTrunk, SipDomain as RestSipDomain, TrunkUpdate
7
7
  export declare function transformFromRestModel(trunks: {
8
8
  [propertyName: string]: RestSipTrunk;
9
9
  } | undefined): SipTrunk[];
10
- /**
11
- * @internal
12
- * Transforming SIP domains REST model to SDK model
13
- */
14
- export declare function transformDomainsFromRestModel(domains: {
15
- [propertyName: string]: RestSipDomain;
16
- } | undefined): SipDomain[];
17
10
  /**
18
11
  * @internal
19
12
  * Transforming SIP trunks SDK model to REST model
20
13
  */
21
14
  export declare function transformIntoRestModel(trunks: SipTrunk[]): {
22
- [propertyName: string]: RestTrunkUpdate;
23
- };
24
- /**
25
- * @internal
26
- * Transforming SIP domains SDK model to REST model
27
- */
28
- export declare function transformDomainsIntoRestModel(domains: SipDomain[]): {
29
- [propertyName: string]: RestDomainUpdate;
15
+ [propertyName: string]: RestSipTrunk;
30
16
  };
31
17
  //# sourceMappingURL=mappers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../src/mappers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,KAAK,EACV,QAAQ,IAAI,YAAY,EACxB,SAAS,IAAI,aAAa,EAC1B,WAAW,IAAI,eAAe,EAC9B,WAAW,IAAI,gBAAgB,EAChC,MAAM,4CAA4C,CAAC;AAEpD;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE;IAAE,CAAC,YAAY,EAAE,MAAM,GAAG,YAAY,CAAA;CAAE,GAAG,SAAS,GAC3D,QAAQ,EAAE,CAwBZ;AAED;;;GAGG;AACH,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE;IAAE,CAAC,YAAY,EAAE,MAAM,GAAG,aAAa,CAAA;CAAE,GAAG,SAAS,GAC7D,SAAS,EAAE,CAcb;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,QAAQ,EAAE,GAAG;IAC1D,CAAC,YAAY,EAAE,MAAM,GAAG,eAAe,CAAC;CACzC,CAcA;AAED;;;GAGG;AACH,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,SAAS,EAAE,GAAG;IACnE,CAAC,YAAY,EAAE,MAAM,GAAG,gBAAgB,CAAC;CAC1C,CAUA"}
1
+ {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../src/mappers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,WAAW,IAAI,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAE9F;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE;IAAE,CAAC,YAAY,EAAE,MAAM,GAAG,YAAY,CAAA;CAAE,GAAG,SAAS,GAC3D,QAAQ,EAAE,CAWZ;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,QAAQ,EAAE,GAAG;IAC1D,CAAC,YAAY,EAAE,MAAM,GAAG,YAAY,CAAC;CACtC,CAQA"}