@azure/arm-communication 4.0.0-beta.2 → 4.0.0-beta.4

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 (163) hide show
  1. package/CHANGELOG.md +15 -8
  2. package/LICENSE +1 -1
  3. package/README.md +1 -1
  4. package/dist/index.js +705 -310
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/communicationServicesCheckNameAvailabilitySample.js +15 -6
  9. package/dist-esm/samples-dev/communicationServicesCheckNameAvailabilitySample.js.map +1 -1
  10. package/dist-esm/samples-dev/communicationServicesCreateOrUpdateSample.js +12 -4
  11. package/dist-esm/samples-dev/communicationServicesCreateOrUpdateSample.js.map +1 -1
  12. package/dist-esm/samples-dev/communicationServicesDeleteSample.js +12 -4
  13. package/dist-esm/samples-dev/communicationServicesDeleteSample.js.map +1 -1
  14. package/dist-esm/samples-dev/communicationServicesGetSample.js +12 -4
  15. package/dist-esm/samples-dev/communicationServicesGetSample.js.map +1 -1
  16. package/dist-esm/samples-dev/communicationServicesLinkNotificationHubSample.js +13 -5
  17. package/dist-esm/samples-dev/communicationServicesLinkNotificationHubSample.js.map +1 -1
  18. package/dist-esm/samples-dev/communicationServicesListByResourceGroupSample.js +12 -4
  19. package/dist-esm/samples-dev/communicationServicesListByResourceGroupSample.js.map +1 -1
  20. package/dist-esm/samples-dev/communicationServicesListBySubscriptionSample.js +11 -3
  21. package/dist-esm/samples-dev/communicationServicesListBySubscriptionSample.js.map +1 -1
  22. package/dist-esm/samples-dev/communicationServicesListKeysSample.js +12 -4
  23. package/dist-esm/samples-dev/communicationServicesListKeysSample.js.map +1 -1
  24. package/dist-esm/samples-dev/communicationServicesRegenerateKeySample.js +13 -5
  25. package/dist-esm/samples-dev/communicationServicesRegenerateKeySample.js.map +1 -1
  26. package/dist-esm/samples-dev/communicationServicesUpdateSample.js +13 -5
  27. package/dist-esm/samples-dev/communicationServicesUpdateSample.js.map +1 -1
  28. package/dist-esm/samples-dev/domainsCancelVerificationSample.js +12 -4
  29. package/dist-esm/samples-dev/domainsCancelVerificationSample.js.map +1 -1
  30. package/dist-esm/samples-dev/domainsCreateOrUpdateSample.js +12 -4
  31. package/dist-esm/samples-dev/domainsCreateOrUpdateSample.js.map +1 -1
  32. package/dist-esm/samples-dev/domainsDeleteSample.js +12 -4
  33. package/dist-esm/samples-dev/domainsDeleteSample.js.map +1 -1
  34. package/dist-esm/samples-dev/domainsGetSample.js +12 -4
  35. package/dist-esm/samples-dev/domainsGetSample.js.map +1 -1
  36. package/dist-esm/samples-dev/domainsInitiateVerificationSample.js +12 -4
  37. package/dist-esm/samples-dev/domainsInitiateVerificationSample.js.map +1 -1
  38. package/dist-esm/samples-dev/domainsListByEmailServiceResourceSample.js +12 -4
  39. package/dist-esm/samples-dev/domainsListByEmailServiceResourceSample.js.map +1 -1
  40. package/dist-esm/samples-dev/domainsUpdateSample.js +13 -6
  41. package/dist-esm/samples-dev/domainsUpdateSample.js.map +1 -1
  42. package/dist-esm/samples-dev/emailServicesCreateOrUpdateSample.js +12 -4
  43. package/dist-esm/samples-dev/emailServicesCreateOrUpdateSample.js.map +1 -1
  44. package/dist-esm/samples-dev/emailServicesDeleteSample.js +12 -4
  45. package/dist-esm/samples-dev/emailServicesDeleteSample.js.map +1 -1
  46. package/dist-esm/samples-dev/emailServicesGetSample.js +12 -4
  47. package/dist-esm/samples-dev/emailServicesGetSample.js.map +1 -1
  48. package/dist-esm/samples-dev/emailServicesListByResourceGroupSample.js +12 -4
  49. package/dist-esm/samples-dev/emailServicesListByResourceGroupSample.js.map +1 -1
  50. package/dist-esm/samples-dev/emailServicesListBySubscriptionSample.js +11 -3
  51. package/dist-esm/samples-dev/emailServicesListBySubscriptionSample.js.map +1 -1
  52. package/dist-esm/samples-dev/emailServicesListVerifiedExchangeOnlineDomainsSample.js +11 -3
  53. package/dist-esm/samples-dev/emailServicesListVerifiedExchangeOnlineDomainsSample.js.map +1 -1
  54. package/dist-esm/samples-dev/emailServicesUpdateSample.js +12 -4
  55. package/dist-esm/samples-dev/emailServicesUpdateSample.js.map +1 -1
  56. package/dist-esm/samples-dev/operationsListSample.js +11 -3
  57. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  58. package/dist-esm/samples-dev/senderUsernamesCreateOrUpdateSample.d.ts +2 -0
  59. package/dist-esm/samples-dev/senderUsernamesCreateOrUpdateSample.d.ts.map +1 -0
  60. package/dist-esm/samples-dev/senderUsernamesCreateOrUpdateSample.js +45 -0
  61. package/dist-esm/samples-dev/senderUsernamesCreateOrUpdateSample.js.map +1 -0
  62. package/dist-esm/samples-dev/senderUsernamesDeleteSample.d.ts +2 -0
  63. package/dist-esm/samples-dev/senderUsernamesDeleteSample.d.ts.map +1 -0
  64. package/dist-esm/samples-dev/senderUsernamesDeleteSample.js +41 -0
  65. package/dist-esm/samples-dev/senderUsernamesDeleteSample.js.map +1 -0
  66. package/dist-esm/samples-dev/senderUsernamesGetSample.d.ts +2 -0
  67. package/dist-esm/samples-dev/senderUsernamesGetSample.d.ts.map +1 -0
  68. package/dist-esm/samples-dev/senderUsernamesGetSample.js +41 -0
  69. package/dist-esm/samples-dev/senderUsernamesGetSample.js.map +1 -0
  70. package/dist-esm/samples-dev/senderUsernamesListByDomainsSample.d.ts +2 -0
  71. package/dist-esm/samples-dev/senderUsernamesListByDomainsSample.d.ts.map +1 -0
  72. package/dist-esm/samples-dev/senderUsernamesListByDomainsSample.js +54 -0
  73. package/dist-esm/samples-dev/senderUsernamesListByDomainsSample.js.map +1 -0
  74. package/dist-esm/src/communicationServiceManagementClient.d.ts +3 -2
  75. package/dist-esm/src/communicationServiceManagementClient.d.ts.map +1 -1
  76. package/dist-esm/src/communicationServiceManagementClient.js +8 -10
  77. package/dist-esm/src/communicationServiceManagementClient.js.map +1 -1
  78. package/dist-esm/src/index.d.ts +1 -0
  79. package/dist-esm/src/index.d.ts.map +1 -1
  80. package/dist-esm/src/index.js +1 -0
  81. package/dist-esm/src/index.js.map +1 -1
  82. package/dist-esm/src/lroImpl.d.ts +6 -11
  83. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  84. package/dist-esm/src/lroImpl.js +12 -20
  85. package/dist-esm/src/lroImpl.js.map +1 -1
  86. package/dist-esm/src/models/index.d.ts +87 -21
  87. package/dist-esm/src/models/index.d.ts.map +1 -1
  88. package/dist-esm/src/models/index.js +22 -0
  89. package/dist-esm/src/models/index.js.map +1 -1
  90. package/dist-esm/src/models/mappers.d.ts +3 -1
  91. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  92. package/dist-esm/src/models/mappers.js +56 -20
  93. package/dist-esm/src/models/mappers.js.map +1 -1
  94. package/dist-esm/src/models/parameters.d.ts +2 -0
  95. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  96. package/dist-esm/src/models/parameters.js +22 -7
  97. package/dist-esm/src/models/parameters.js.map +1 -1
  98. package/dist-esm/src/operations/communicationServices.d.ts +5 -22
  99. package/dist-esm/src/operations/communicationServices.d.ts.map +1 -1
  100. package/dist-esm/src/operations/communicationServices.js +66 -139
  101. package/dist-esm/src/operations/communicationServices.js.map +1 -1
  102. package/dist-esm/src/operations/domains.d.ts +6 -6
  103. package/dist-esm/src/operations/domains.d.ts.map +1 -1
  104. package/dist-esm/src/operations/domains.js +90 -35
  105. package/dist-esm/src/operations/domains.js.map +1 -1
  106. package/dist-esm/src/operations/emailServices.d.ts +4 -4
  107. package/dist-esm/src/operations/emailServices.d.ts.map +1 -1
  108. package/dist-esm/src/operations/emailServices.js +66 -33
  109. package/dist-esm/src/operations/emailServices.js.map +1 -1
  110. package/dist-esm/src/operations/index.d.ts +1 -0
  111. package/dist-esm/src/operations/index.d.ts.map +1 -1
  112. package/dist-esm/src/operations/index.js +1 -0
  113. package/dist-esm/src/operations/index.js.map +1 -1
  114. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  115. package/dist-esm/src/operations/operations.js +19 -8
  116. package/dist-esm/src/operations/operations.js.map +1 -1
  117. package/dist-esm/src/operations/senderUsernames.d.ts +70 -0
  118. package/dist-esm/src/operations/senderUsernames.d.ts.map +1 -0
  119. package/dist-esm/src/operations/senderUsernames.js +280 -0
  120. package/dist-esm/src/operations/senderUsernames.js.map +1 -0
  121. package/dist-esm/src/operationsInterfaces/communicationServices.d.ts +5 -22
  122. package/dist-esm/src/operationsInterfaces/communicationServices.d.ts.map +1 -1
  123. package/dist-esm/src/operationsInterfaces/domains.d.ts +6 -6
  124. package/dist-esm/src/operationsInterfaces/domains.d.ts.map +1 -1
  125. package/dist-esm/src/operationsInterfaces/emailServices.d.ts +4 -4
  126. package/dist-esm/src/operationsInterfaces/emailServices.d.ts.map +1 -1
  127. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  128. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  129. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  130. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  131. package/dist-esm/src/operationsInterfaces/senderUsernames.d.ts +43 -0
  132. package/dist-esm/src/operationsInterfaces/senderUsernames.d.ts.map +1 -0
  133. package/dist-esm/src/operationsInterfaces/senderUsernames.js +9 -0
  134. package/dist-esm/src/operationsInterfaces/senderUsernames.js.map +1 -0
  135. package/dist-esm/src/pagingHelper.d.ts +13 -0
  136. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  137. package/dist-esm/src/pagingHelper.js +32 -0
  138. package/dist-esm/src/pagingHelper.js.map +1 -0
  139. package/dist-esm/test/communication_examples.d.ts.map +1 -1
  140. package/dist-esm/test/communication_examples.js +4 -2
  141. package/dist-esm/test/communication_examples.js.map +1 -1
  142. package/package.json +14 -12
  143. package/review/arm-communication.api.md +93 -31
  144. package/src/communicationServiceManagementClient.ts +13 -10
  145. package/src/index.ts +1 -0
  146. package/src/lroImpl.ts +31 -23
  147. package/src/models/index.ts +101 -21
  148. package/src/models/mappers.ts +62 -18
  149. package/src/models/parameters.ts +25 -7
  150. package/src/operations/communicationServices.ts +87 -215
  151. package/src/operations/domains.ts +125 -69
  152. package/src/operations/emailServices.ts +90 -53
  153. package/src/operations/index.ts +1 -0
  154. package/src/operations/operations.ts +21 -9
  155. package/src/operations/senderUsernames.ts +383 -0
  156. package/src/operationsInterfaces/communicationServices.ts +6 -43
  157. package/src/operationsInterfaces/domains.ts +12 -9
  158. package/src/operationsInterfaces/emailServices.ts +6 -6
  159. package/src/operationsInterfaces/index.ts +1 -0
  160. package/src/operationsInterfaces/senderUsernames.ts +84 -0
  161. package/src/pagingHelper.ts +39 -0
  162. package/types/arm-communication.d.ts +168 -55
  163. package/types/tsdoc-metadata.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,12 +1,13 @@
1
1
  # Release History
2
2
 
3
- ## 4.0.0-beta.2 (2022-08-19)
3
+ ## 4.0.0-beta.4 (2023-03-22)
4
4
 
5
5
  **Features**
6
6
 
7
7
  - Added operation group CommunicationServices
8
8
  - Added operation group Domains
9
9
  - Added operation group EmailServices
10
+ - Added operation group SenderUsernames
10
11
  - Added Interface CheckNameAvailabilityRequest
11
12
  - Added Interface CheckNameAvailabilityResponse
12
13
  - Added Interface CommunicationServiceResource
@@ -24,7 +25,6 @@
24
25
  - Added Interface CommunicationServicesListBySubscriptionOptionalParams
25
26
  - Added Interface CommunicationServicesListKeysOptionalParams
26
27
  - Added Interface CommunicationServicesRegenerateKeyOptionalParams
27
- - Added Interface CommunicationServicesUpdateHeaders
28
28
  - Added Interface CommunicationServicesUpdateOptionalParams
29
29
  - Added Interface DnsRecord
30
30
  - Added Interface DomainPropertiesVerificationRecords
@@ -59,6 +59,14 @@
59
59
  - Added Interface EmailServicesListVerifiedExchangeOnlineDomainsOptionalParams
60
60
  - Added Interface EmailServicesUpdateHeaders
61
61
  - Added Interface EmailServicesUpdateOptionalParams
62
+ - Added Interface ProxyResource
63
+ - Added Interface SenderUsernameResource
64
+ - Added Interface SenderUsernameResourceCollection
65
+ - Added Interface SenderUsernamesCreateOrUpdateOptionalParams
66
+ - Added Interface SenderUsernamesDeleteOptionalParams
67
+ - Added Interface SenderUsernamesGetOptionalParams
68
+ - Added Interface SenderUsernamesListByDomainsNextOptionalParams
69
+ - Added Interface SenderUsernamesListByDomainsOptionalParams
62
70
  - Added Interface TrackedResource
63
71
  - Added Interface UpdateDomainRequestParameters
64
72
  - Added Interface VerificationParameter
@@ -94,13 +102,14 @@
94
102
  - Added Type Alias EmailServicesListVerifiedExchangeOnlineDomainsResponse
95
103
  - Added Type Alias EmailServicesProvisioningState
96
104
  - Added Type Alias EmailServicesUpdateResponse
105
+ - Added Type Alias SenderUsernamesCreateOrUpdateResponse
106
+ - Added Type Alias SenderUsernamesGetResponse
107
+ - Added Type Alias SenderUsernamesListByDomainsNextResponse
108
+ - Added Type Alias SenderUsernamesListByDomainsResponse
97
109
  - Added Type Alias UserEngagementTracking
98
110
  - Added Type Alias VerificationStatus
99
111
  - Added Type Alias VerificationType
100
112
  - Interface Resource has a new optional parameter systemData
101
- - Class CommunicationServiceManagementClient has a new parameter communicationServices
102
- - Class CommunicationServiceManagementClient has a new parameter domains
103
- - Class CommunicationServiceManagementClient has a new parameter emailServices
104
113
  - Added Enum KnownCheckNameAvailabilityReason
105
114
  - Added Enum KnownCommunicationServicesProvisioningState
106
115
  - Added Enum KnownDomainManagement
@@ -109,14 +118,12 @@
109
118
  - Added Enum KnownUserEngagementTracking
110
119
  - Added Enum KnownVerificationStatus
111
120
  - Added Enum KnownVerificationType
121
+ - Added function getContinuationToken
112
122
 
113
123
  **Breaking Changes**
114
124
 
115
125
  - Removed operation group CommunicationService
116
- - Interface NameAvailabilityParameters no longer has parameter name
117
- - Interface NameAvailabilityParameters no longer has parameter type
118
126
  - Class CommunicationServiceManagementClient no longer has parameter communicationService
119
- - Removed Enum KnownProvisioningState
120
127
 
121
128
  ## 3.0.1 (2022-04-11)
122
129
 
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2022 Microsoft
3
+ Copyright (c) 2023 Microsoft
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -13,7 +13,7 @@ REST API for Azure Communication Services
13
13
 
14
14
  ### Currently supported environments
15
15
 
16
- - [LTS versions of Node.js](https://nodejs.org/about/releases/)
16
+ - [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)
17
17
  - Latest versions of Safari, Chrome, Edge and Firefox.
18
18
 
19
19
  See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.