@azure/communication-email 1.0.1-beta.2 → 1.1.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 (86) hide show
  1. package/dist/browser/emailClient.d.ts +2 -2
  2. package/dist/browser/emailClient.d.ts.map +1 -1
  3. package/dist/browser/emailClient.js.map +1 -1
  4. package/dist/browser/generated/src/emailRestApiClient.js +6 -6
  5. package/dist/browser/generated/src/emailRestApiClient.js.map +1 -1
  6. package/dist/browser/generated/src/lroImpl.d.ts +6 -11
  7. package/dist/browser/generated/src/lroImpl.d.ts.map +1 -1
  8. package/dist/browser/generated/src/lroImpl.js +16 -24
  9. package/dist/browser/generated/src/lroImpl.js.map +1 -1
  10. package/dist/browser/generated/src/models/index.js.map +1 -1
  11. package/dist/browser/generated/src/models/mappers.js +123 -123
  12. package/dist/browser/generated/src/models/mappers.js.map +1 -1
  13. package/dist/browser/generated/src/models/parameters.js +23 -23
  14. package/dist/browser/generated/src/models/parameters.js.map +1 -1
  15. package/dist/browser/generated/src/operations/email.d.ts +2 -2
  16. package/dist/browser/generated/src/operations/email.d.ts.map +1 -1
  17. package/dist/browser/generated/src/operations/email.js +27 -23
  18. package/dist/browser/generated/src/operations/email.js.map +1 -1
  19. package/dist/browser/generated/src/operationsInterfaces/email.d.ts +2 -2
  20. package/dist/browser/generated/src/operationsInterfaces/email.d.ts.map +1 -1
  21. package/dist/browser/generated/src/operationsInterfaces/email.js.map +1 -1
  22. package/dist/commonjs/emailClient.d.ts +2 -2
  23. package/dist/commonjs/emailClient.d.ts.map +1 -1
  24. package/dist/commonjs/emailClient.js.map +1 -1
  25. package/dist/commonjs/generated/src/emailRestApiClient.js +6 -6
  26. package/dist/commonjs/generated/src/emailRestApiClient.js.map +1 -1
  27. package/dist/commonjs/generated/src/lroImpl.d.ts +6 -11
  28. package/dist/commonjs/generated/src/lroImpl.d.ts.map +1 -1
  29. package/dist/commonjs/generated/src/lroImpl.js +17 -26
  30. package/dist/commonjs/generated/src/lroImpl.js.map +1 -1
  31. package/dist/commonjs/generated/src/models/index.js.map +1 -1
  32. package/dist/commonjs/generated/src/models/mappers.js +123 -123
  33. package/dist/commonjs/generated/src/models/mappers.js.map +1 -1
  34. package/dist/commonjs/generated/src/models/parameters.js +23 -23
  35. package/dist/commonjs/generated/src/models/parameters.js.map +1 -1
  36. package/dist/commonjs/generated/src/operations/email.d.ts +2 -2
  37. package/dist/commonjs/generated/src/operations/email.d.ts.map +1 -1
  38. package/dist/commonjs/generated/src/operations/email.js +25 -21
  39. package/dist/commonjs/generated/src/operations/email.js.map +1 -1
  40. package/dist/commonjs/generated/src/operationsInterfaces/email.d.ts +2 -2
  41. package/dist/commonjs/generated/src/operationsInterfaces/email.d.ts.map +1 -1
  42. package/dist/commonjs/generated/src/operationsInterfaces/email.js.map +1 -1
  43. package/dist/commonjs/tsdoc-metadata.json +1 -1
  44. package/dist/esm/emailClient.d.ts +2 -2
  45. package/dist/esm/emailClient.d.ts.map +1 -1
  46. package/dist/esm/emailClient.js.map +1 -1
  47. package/dist/esm/generated/src/emailRestApiClient.js +6 -6
  48. package/dist/esm/generated/src/emailRestApiClient.js.map +1 -1
  49. package/dist/esm/generated/src/lroImpl.d.ts +6 -11
  50. package/dist/esm/generated/src/lroImpl.d.ts.map +1 -1
  51. package/dist/esm/generated/src/lroImpl.js +16 -24
  52. package/dist/esm/generated/src/lroImpl.js.map +1 -1
  53. package/dist/esm/generated/src/models/index.js.map +1 -1
  54. package/dist/esm/generated/src/models/mappers.js +123 -123
  55. package/dist/esm/generated/src/models/mappers.js.map +1 -1
  56. package/dist/esm/generated/src/models/parameters.js +23 -23
  57. package/dist/esm/generated/src/models/parameters.js.map +1 -1
  58. package/dist/esm/generated/src/operations/email.d.ts +2 -2
  59. package/dist/esm/generated/src/operations/email.d.ts.map +1 -1
  60. package/dist/esm/generated/src/operations/email.js +27 -23
  61. package/dist/esm/generated/src/operations/email.js.map +1 -1
  62. package/dist/esm/generated/src/operationsInterfaces/email.d.ts +2 -2
  63. package/dist/esm/generated/src/operationsInterfaces/email.d.ts.map +1 -1
  64. package/dist/esm/generated/src/operationsInterfaces/email.js.map +1 -1
  65. package/dist/react-native/emailClient.d.ts +2 -2
  66. package/dist/react-native/emailClient.d.ts.map +1 -1
  67. package/dist/react-native/emailClient.js.map +1 -1
  68. package/dist/react-native/generated/src/emailRestApiClient.js +6 -6
  69. package/dist/react-native/generated/src/emailRestApiClient.js.map +1 -1
  70. package/dist/react-native/generated/src/lroImpl.d.ts +6 -11
  71. package/dist/react-native/generated/src/lroImpl.d.ts.map +1 -1
  72. package/dist/react-native/generated/src/lroImpl.js +16 -24
  73. package/dist/react-native/generated/src/lroImpl.js.map +1 -1
  74. package/dist/react-native/generated/src/models/index.js.map +1 -1
  75. package/dist/react-native/generated/src/models/mappers.js +123 -123
  76. package/dist/react-native/generated/src/models/mappers.js.map +1 -1
  77. package/dist/react-native/generated/src/models/parameters.js +23 -23
  78. package/dist/react-native/generated/src/models/parameters.js.map +1 -1
  79. package/dist/react-native/generated/src/operations/email.d.ts +2 -2
  80. package/dist/react-native/generated/src/operations/email.d.ts.map +1 -1
  81. package/dist/react-native/generated/src/operations/email.js +27 -23
  82. package/dist/react-native/generated/src/operations/email.js.map +1 -1
  83. package/dist/react-native/generated/src/operationsInterfaces/email.d.ts +2 -2
  84. package/dist/react-native/generated/src/operationsInterfaces/email.d.ts.map +1 -1
  85. package/dist/react-native/generated/src/operationsInterfaces/email.js.map +1 -1
  86. package/package.json +8 -8
@@ -17,25 +17,25 @@ exports.EmailSendResult = {
17
17
  serializedName: "id",
18
18
  required: true,
19
19
  type: {
20
- name: "String"
21
- }
20
+ name: "String",
21
+ },
22
22
  },
23
23
  status: {
24
24
  serializedName: "status",
25
25
  required: true,
26
26
  type: {
27
- name: "String"
28
- }
27
+ name: "String",
28
+ },
29
29
  },
30
30
  error: {
31
31
  serializedName: "error",
32
32
  type: {
33
33
  name: "Composite",
34
- className: "ErrorDetail"
35
- }
36
- }
37
- }
38
- }
34
+ className: "ErrorDetail",
35
+ },
36
+ },
37
+ },
38
+ },
39
39
  };
40
40
  exports.ErrorDetail = {
41
41
  type: {
@@ -46,22 +46,22 @@ exports.ErrorDetail = {
46
46
  serializedName: "code",
47
47
  readOnly: true,
48
48
  type: {
49
- name: "String"
50
- }
49
+ name: "String",
50
+ },
51
51
  },
52
52
  message: {
53
53
  serializedName: "message",
54
54
  readOnly: true,
55
55
  type: {
56
- name: "String"
57
- }
56
+ name: "String",
57
+ },
58
58
  },
59
59
  target: {
60
60
  serializedName: "target",
61
61
  readOnly: true,
62
62
  type: {
63
- name: "String"
64
- }
63
+ name: "String",
64
+ },
65
65
  },
66
66
  details: {
67
67
  serializedName: "details",
@@ -71,10 +71,10 @@ exports.ErrorDetail = {
71
71
  element: {
72
72
  type: {
73
73
  name: "Composite",
74
- className: "ErrorDetail"
75
- }
76
- }
77
- }
74
+ className: "ErrorDetail",
75
+ },
76
+ },
77
+ },
78
78
  },
79
79
  additionalInfo: {
80
80
  serializedName: "additionalInfo",
@@ -84,13 +84,13 @@ exports.ErrorDetail = {
84
84
  element: {
85
85
  type: {
86
86
  name: "Composite",
87
- className: "ErrorAdditionalInfo"
88
- }
89
- }
90
- }
91
- }
92
- }
93
- }
87
+ className: "ErrorAdditionalInfo",
88
+ },
89
+ },
90
+ },
91
+ },
92
+ },
93
+ },
94
94
  };
95
95
  exports.ErrorAdditionalInfo = {
96
96
  type: {
@@ -101,19 +101,19 @@ exports.ErrorAdditionalInfo = {
101
101
  serializedName: "type",
102
102
  readOnly: true,
103
103
  type: {
104
- name: "String"
105
- }
104
+ name: "String",
105
+ },
106
106
  },
107
107
  info: {
108
108
  serializedName: "info",
109
109
  readOnly: true,
110
110
  type: {
111
111
  name: "Dictionary",
112
- value: { type: { name: "any" } }
113
- }
114
- }
115
- }
116
- }
112
+ value: { type: { name: "any" } },
113
+ },
114
+ },
115
+ },
116
+ },
117
117
  };
118
118
  exports.ErrorResponse = {
119
119
  type: {
@@ -124,11 +124,11 @@ exports.ErrorResponse = {
124
124
  serializedName: "error",
125
125
  type: {
126
126
  name: "Composite",
127
- className: "ErrorDetail"
128
- }
129
- }
130
- }
131
- }
127
+ className: "ErrorDetail",
128
+ },
129
+ },
130
+ },
131
+ },
132
132
  };
133
133
  exports.EmailMessage = {
134
134
  type: {
@@ -139,29 +139,29 @@ exports.EmailMessage = {
139
139
  serializedName: "headers",
140
140
  type: {
141
141
  name: "Dictionary",
142
- value: { type: { name: "String" } }
143
- }
142
+ value: { type: { name: "String" } },
143
+ },
144
144
  },
145
145
  senderAddress: {
146
146
  serializedName: "senderAddress",
147
147
  required: true,
148
148
  type: {
149
- name: "String"
150
- }
149
+ name: "String",
150
+ },
151
151
  },
152
152
  content: {
153
153
  serializedName: "content",
154
154
  type: {
155
155
  name: "Composite",
156
- className: "EmailContent"
157
- }
156
+ className: "EmailContent",
157
+ },
158
158
  },
159
159
  recipients: {
160
160
  serializedName: "recipients",
161
161
  type: {
162
162
  name: "Composite",
163
- className: "EmailRecipients"
164
- }
163
+ className: "EmailRecipients",
164
+ },
165
165
  },
166
166
  attachments: {
167
167
  serializedName: "attachments",
@@ -170,10 +170,10 @@ exports.EmailMessage = {
170
170
  element: {
171
171
  type: {
172
172
  name: "Composite",
173
- className: "EmailAttachment"
174
- }
175
- }
176
- }
173
+ className: "EmailAttachment",
174
+ },
175
+ },
176
+ },
177
177
  },
178
178
  replyTo: {
179
179
  serializedName: "replyTo",
@@ -182,19 +182,19 @@ exports.EmailMessage = {
182
182
  element: {
183
183
  type: {
184
184
  name: "Composite",
185
- className: "EmailAddress"
186
- }
187
- }
188
- }
185
+ className: "EmailAddress",
186
+ },
187
+ },
188
+ },
189
189
  },
190
190
  disableUserEngagementTracking: {
191
191
  serializedName: "userEngagementTrackingDisabled",
192
192
  type: {
193
- name: "Boolean"
194
- }
195
- }
196
- }
197
- }
193
+ name: "Boolean",
194
+ },
195
+ },
196
+ },
197
+ },
198
198
  };
199
199
  exports.EmailContent = {
200
200
  type: {
@@ -205,23 +205,23 @@ exports.EmailContent = {
205
205
  serializedName: "subject",
206
206
  required: true,
207
207
  type: {
208
- name: "String"
209
- }
208
+ name: "String",
209
+ },
210
210
  },
211
211
  plainText: {
212
212
  serializedName: "plainText",
213
213
  type: {
214
- name: "String"
215
- }
214
+ name: "String",
215
+ },
216
216
  },
217
217
  html: {
218
218
  serializedName: "html",
219
219
  type: {
220
- name: "String"
221
- }
222
- }
223
- }
224
- }
220
+ name: "String",
221
+ },
222
+ },
223
+ },
224
+ },
225
225
  };
226
226
  exports.EmailRecipients = {
227
227
  type: {
@@ -235,10 +235,10 @@ exports.EmailRecipients = {
235
235
  element: {
236
236
  type: {
237
237
  name: "Composite",
238
- className: "EmailAddress"
239
- }
240
- }
241
- }
238
+ className: "EmailAddress",
239
+ },
240
+ },
241
+ },
242
242
  },
243
243
  cc: {
244
244
  serializedName: "cc",
@@ -247,10 +247,10 @@ exports.EmailRecipients = {
247
247
  element: {
248
248
  type: {
249
249
  name: "Composite",
250
- className: "EmailAddress"
251
- }
252
- }
253
- }
250
+ className: "EmailAddress",
251
+ },
252
+ },
253
+ },
254
254
  },
255
255
  bcc: {
256
256
  serializedName: "bcc",
@@ -259,13 +259,13 @@ exports.EmailRecipients = {
259
259
  element: {
260
260
  type: {
261
261
  name: "Composite",
262
- className: "EmailAddress"
263
- }
264
- }
265
- }
266
- }
267
- }
268
- }
262
+ className: "EmailAddress",
263
+ },
264
+ },
265
+ },
266
+ },
267
+ },
268
+ },
269
269
  };
270
270
  exports.EmailAddress = {
271
271
  type: {
@@ -276,17 +276,17 @@ exports.EmailAddress = {
276
276
  serializedName: "address",
277
277
  required: true,
278
278
  type: {
279
- name: "String"
280
- }
279
+ name: "String",
280
+ },
281
281
  },
282
282
  displayName: {
283
283
  serializedName: "displayName",
284
284
  type: {
285
- name: "String"
286
- }
287
- }
288
- }
289
- }
285
+ name: "String",
286
+ },
287
+ },
288
+ },
289
+ },
290
290
  };
291
291
  exports.EmailAttachment = {
292
292
  type: {
@@ -297,31 +297,31 @@ exports.EmailAttachment = {
297
297
  serializedName: "name",
298
298
  required: true,
299
299
  type: {
300
- name: "String"
301
- }
300
+ name: "String",
301
+ },
302
302
  },
303
303
  contentType: {
304
304
  serializedName: "contentType",
305
305
  required: true,
306
306
  type: {
307
- name: "String"
308
- }
307
+ name: "String",
308
+ },
309
309
  },
310
310
  contentInBase64: {
311
311
  serializedName: "contentInBase64",
312
312
  required: true,
313
313
  type: {
314
- name: "String"
315
- }
314
+ name: "String",
315
+ },
316
316
  },
317
317
  contentId: {
318
318
  serializedName: "contentId",
319
319
  type: {
320
- name: "String"
321
- }
322
- }
323
- }
324
- }
320
+ name: "String",
321
+ },
322
+ },
323
+ },
324
+ },
325
325
  };
326
326
  exports.EmailGetSendResultHeaders = {
327
327
  type: {
@@ -331,11 +331,11 @@ exports.EmailGetSendResultHeaders = {
331
331
  retryAfter: {
332
332
  serializedName: "retry-after",
333
333
  type: {
334
- name: "Number"
335
- }
336
- }
337
- }
338
- }
334
+ name: "Number",
335
+ },
336
+ },
337
+ },
338
+ },
339
339
  };
340
340
  exports.EmailGetSendResultExceptionHeaders = {
341
341
  type: {
@@ -345,11 +345,11 @@ exports.EmailGetSendResultExceptionHeaders = {
345
345
  xMsErrorCode: {
346
346
  serializedName: "x-ms-error-code",
347
347
  type: {
348
- name: "String"
349
- }
350
- }
351
- }
352
- }
348
+ name: "String",
349
+ },
350
+ },
351
+ },
352
+ },
353
353
  };
354
354
  exports.EmailSendHeaders = {
355
355
  type: {
@@ -359,17 +359,17 @@ exports.EmailSendHeaders = {
359
359
  operationLocation: {
360
360
  serializedName: "operation-location",
361
361
  type: {
362
- name: "String"
363
- }
362
+ name: "String",
363
+ },
364
364
  },
365
365
  retryAfter: {
366
366
  serializedName: "retry-after",
367
367
  type: {
368
- name: "Number"
369
- }
370
- }
371
- }
372
- }
368
+ name: "Number",
369
+ },
370
+ },
371
+ },
372
+ },
373
373
  };
374
374
  exports.EmailSendExceptionHeaders = {
375
375
  type: {
@@ -379,10 +379,10 @@ exports.EmailSendExceptionHeaders = {
379
379
  xMsErrorCode: {
380
380
  serializedName: "x-ms-error-code",
381
381
  type: {
382
- name: "String"
383
- }
384
- }
385
- }
386
- }
382
+ name: "String",
383
+ },
384
+ },
385
+ },
386
+ },
387
387
  };
388
388
  //# sourceMappingURL=mappers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/mappers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIU,QAAA,eAAe,GAA+B;IACzD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,iBAAiB;QAC5B,eAAe,EAAE;YACf,EAAE,EAAE;gBACF,cAAc,EAAE,IAAI;gBACpB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,aAAa;iBACzB;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,WAAW,GAA+B;IACrD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,aAAa;QACxB,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,MAAM,EAAE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E,oCAAoC;QAC/C,eAAe,EAAE;YACf,YAAY,EAAE;gBACZ,cAAc,EAAE,iBAAiB;gBACjC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,gBAAgB,GAA+B;IAC1D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,kBAAkB;QAC7B,eAAe,EAAE;YACf,iBAAiB,EAAE;gBACjB,cAAc,EAAE,oBAAoB;gBACpC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,aAAa;gBAC7B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,yBAAyB,GAA+B;IACnE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,2BAA2B;QACtC,eAAe,EAAE;YACf,YAAY,EAAE;gBACZ,cAAc,EAAE,iBAAiB;gBACjC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;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 * as coreClient from \"@azure/core-client\";\n\nexport const EmailSendResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmailSendResult\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"status\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n }\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n }\n};\n\nexport const EmailMessage: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmailMessage\",\n modelProperties: {\n headers: {\n serializedName: \"headers\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n senderAddress: {\n serializedName: \"senderAddress\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n content: {\n serializedName: \"content\",\n type: {\n name: \"Composite\",\n className: \"EmailContent\"\n }\n },\n recipients: {\n serializedName: \"recipients\",\n type: {\n name: \"Composite\",\n className: \"EmailRecipients\"\n }\n },\n attachments: {\n serializedName: \"attachments\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EmailAttachment\"\n }\n }\n }\n },\n replyTo: {\n serializedName: \"replyTo\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EmailAddress\"\n }\n }\n }\n },\n disableUserEngagementTracking: {\n serializedName: \"userEngagementTrackingDisabled\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const EmailContent: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmailContent\",\n modelProperties: {\n subject: {\n serializedName: \"subject\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n plainText: {\n serializedName: \"plainText\",\n type: {\n name: \"String\"\n }\n },\n html: {\n serializedName: \"html\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const EmailRecipients: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmailRecipients\",\n modelProperties: {\n to: {\n serializedName: \"to\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EmailAddress\"\n }\n }\n }\n },\n cc: {\n serializedName: \"cc\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EmailAddress\"\n }\n }\n }\n },\n bcc: {\n serializedName: \"bcc\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EmailAddress\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const EmailAddress: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmailAddress\",\n modelProperties: {\n address: {\n serializedName: \"address\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n displayName: {\n serializedName: \"displayName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const EmailAttachment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmailAttachment\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n contentType: {\n serializedName: \"contentType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n contentInBase64: {\n serializedName: \"contentInBase64\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n contentId: {\n serializedName: \"contentId\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const EmailGetSendResultHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmailGetSendResultHeaders\",\n modelProperties: {\n retryAfter: {\n serializedName: \"retry-after\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const EmailGetSendResultExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmailGetSendResultExceptionHeaders\",\n modelProperties: {\n xMsErrorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const EmailSendHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmailSendHeaders\",\n modelProperties: {\n operationLocation: {\n serializedName: \"operation-location\",\n type: {\n name: \"String\"\n }\n },\n retryAfter: {\n serializedName: \"retry-after\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const EmailSendExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmailSendExceptionHeaders\",\n modelProperties: {\n xMsErrorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/mappers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIU,QAAA,eAAe,GAA+B;IACzD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,iBAAiB;QAC5B,eAAe,EAAE;YACf,EAAE,EAAE;gBACF,cAAc,EAAE,IAAI;gBACpB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBAC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E,iBAAiB;gBACjC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;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 * as coreClient from \"@azure/core-client\";\n\nexport const EmailSendResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmailSendResult\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n status: {\n serializedName: \"status\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n },\n },\n },\n },\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n },\n },\n },\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } },\n },\n },\n },\n },\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n },\n },\n },\n },\n};\n\nexport const EmailMessage: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmailMessage\",\n modelProperties: {\n headers: {\n serializedName: \"headers\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n senderAddress: {\n serializedName: \"senderAddress\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n content: {\n serializedName: \"content\",\n type: {\n name: \"Composite\",\n className: \"EmailContent\",\n },\n },\n recipients: {\n serializedName: \"recipients\",\n type: {\n name: \"Composite\",\n className: \"EmailRecipients\",\n },\n },\n attachments: {\n serializedName: \"attachments\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EmailAttachment\",\n },\n },\n },\n },\n replyTo: {\n serializedName: \"replyTo\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EmailAddress\",\n },\n },\n },\n },\n disableUserEngagementTracking: {\n serializedName: \"userEngagementTrackingDisabled\",\n type: {\n name: \"Boolean\",\n },\n },\n },\n },\n};\n\nexport const EmailContent: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmailContent\",\n modelProperties: {\n subject: {\n serializedName: \"subject\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n plainText: {\n serializedName: \"plainText\",\n type: {\n name: \"String\",\n },\n },\n html: {\n serializedName: \"html\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const EmailRecipients: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmailRecipients\",\n modelProperties: {\n to: {\n serializedName: \"to\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EmailAddress\",\n },\n },\n },\n },\n cc: {\n serializedName: \"cc\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EmailAddress\",\n },\n },\n },\n },\n bcc: {\n serializedName: \"bcc\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EmailAddress\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const EmailAddress: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmailAddress\",\n modelProperties: {\n address: {\n serializedName: \"address\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n displayName: {\n serializedName: \"displayName\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const EmailAttachment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmailAttachment\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n contentType: {\n serializedName: \"contentType\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n contentInBase64: {\n serializedName: \"contentInBase64\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n contentId: {\n serializedName: \"contentId\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const EmailGetSendResultHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmailGetSendResultHeaders\",\n modelProperties: {\n retryAfter: {\n serializedName: \"retry-after\",\n type: {\n name: \"Number\",\n },\n },\n },\n },\n};\n\nexport const EmailGetSendResultExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmailGetSendResultExceptionHeaders\",\n modelProperties: {\n xMsErrorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const EmailSendHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmailSendHeaders\",\n modelProperties: {\n operationLocation: {\n serializedName: \"operation-location\",\n type: {\n name: \"String\",\n },\n },\n retryAfter: {\n serializedName: \"retry-after\",\n type: {\n name: \"Number\",\n },\n },\n },\n },\n};\n\nexport const EmailSendExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EmailSendExceptionHeaders\",\n modelProperties: {\n xMsErrorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n"]}
@@ -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,10 +26,10 @@ 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.operationId = {
35
35
  parameterPath: "operationId",
@@ -37,20 +37,20 @@ exports.operationId = {
37
37
  serializedName: "operationId",
38
38
  required: true,
39
39
  type: {
40
- name: "String"
41
- }
42
- }
40
+ name: "String",
41
+ },
42
+ },
43
43
  };
44
44
  exports.apiVersion = {
45
45
  parameterPath: "apiVersion",
46
46
  mapper: {
47
- defaultValue: "2024-07-01-preview",
47
+ defaultValue: "2025-09-01",
48
48
  isConstant: true,
49
49
  serializedName: "api-version",
50
50
  type: {
51
- name: "String"
52
- }
53
- }
51
+ name: "String",
52
+ },
53
+ },
54
54
  };
55
55
  exports.contentType = {
56
56
  parameterPath: ["options", "contentType"],
@@ -59,30 +59,30 @@ exports.contentType = {
59
59
  isConstant: true,
60
60
  serializedName: "Content-Type",
61
61
  type: {
62
- name: "String"
63
- }
64
- }
62
+ name: "String",
63
+ },
64
+ },
65
65
  };
66
66
  exports.message = {
67
67
  parameterPath: "message",
68
- mapper: mappers_js_1.EmailMessage
68
+ mapper: mappers_js_1.EmailMessage,
69
69
  };
70
70
  exports.operationId1 = {
71
71
  parameterPath: ["options", "operationId"],
72
72
  mapper: {
73
73
  serializedName: "Operation-Id",
74
74
  type: {
75
- name: "Uuid"
76
- }
77
- }
75
+ name: "Uuid",
76
+ },
77
+ },
78
78
  };
79
79
  exports.clientRequestId = {
80
80
  parameterPath: ["options", "clientRequestId"],
81
81
  mapper: {
82
82
  serializedName: "x-ms-client-request-id",
83
83
  type: {
84
- name: "Uuid"
85
- }
86
- }
84
+ name: "Uuid",
85
+ },
86
+ },
87
87
  };
88
88
  //# sourceMappingURL=parameters.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDAA0E;AAE7D,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,WAAW,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,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,WAAW,GAAuB;IAC7C,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,OAAO,GAAuB;IACzC,aAAa,EAAE,SAAS;IACxB,MAAM,EAAE,yBAAkB;CAC3B,CAAC;AAEW,QAAA,YAAY,GAAuB;IAC9C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;SACb;KACF;CACF,CAAC;AAEW,QAAA,eAAe,GAAuB;IACjD,aAAa,EAAE,CAAC,SAAS,EAAE,iBAAiB,CAAC;IAC7C,MAAM,EAAE;QACN,cAAc,EAAE,wBAAwB;QACxC,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;SACb;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 { EmailMessage as EmailMessageMapper } 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 operationId: OperationURLParameter = {\n parameterPath: \"operationId\",\n mapper: {\n serializedName: \"operationId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2024-07-01-preview\",\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/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const message: OperationParameter = {\n parameterPath: \"message\",\n mapper: EmailMessageMapper\n};\n\nexport const operationId1: OperationParameter = {\n parameterPath: [\"options\", \"operationId\"],\n mapper: {\n serializedName: \"Operation-Id\",\n type: {\n name: \"Uuid\"\n }\n }\n};\n\nexport const clientRequestId: OperationParameter = {\n parameterPath: [\"options\", \"clientRequestId\"],\n mapper: {\n serializedName: \"x-ms-client-request-id\",\n type: {\n name: \"Uuid\"\n }\n }\n};\n"]}
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDAA0E;AAE7D,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,WAAW,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,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,kBAAkB;QAChC,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,SAAS;IACxB,MAAM,EAAE,yBAAkB;CAC3B,CAAC;AAEW,QAAA,YAAY,GAAuB;IAC9C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;SACb;KACF;CACF,CAAC;AAEW,QAAA,eAAe,GAAuB;IACjD,aAAa,EAAE,CAAC,SAAS,EAAE,iBAAiB,CAAC;IAC7C,MAAM,EAAE;QACN,cAAc,EAAE,wBAAwB;QACxC,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;SACb;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 { EmailMessage as EmailMessageMapper } 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 operationId: OperationURLParameter = {\n parameterPath: \"operationId\",\n mapper: {\n serializedName: \"operationId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2025-09-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/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const message: OperationParameter = {\n parameterPath: \"message\",\n mapper: EmailMessageMapper,\n};\n\nexport const operationId1: OperationParameter = {\n parameterPath: [\"options\", \"operationId\"],\n mapper: {\n serializedName: \"Operation-Id\",\n type: {\n name: \"Uuid\",\n },\n },\n};\n\nexport const clientRequestId: OperationParameter = {\n parameterPath: [\"options\", \"clientRequestId\"],\n mapper: {\n serializedName: \"x-ms-client-request-id\",\n type: {\n name: \"Uuid\",\n },\n },\n};\n"]}
@@ -1,6 +1,6 @@
1
1
  import { Email } from "../operationsInterfaces/index.js";
2
2
  import { EmailRestApiClient } from "../emailRestApiClient.js";
3
- import { PollerLike, PollOperationState } from "@azure/core-lro";
3
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
4
4
  import { EmailGetSendResultOptionalParams, EmailGetSendResultResponse, EmailMessage, EmailSendOptionalParams, EmailSendResponse } from "../models/index.js";
5
5
  /** Class containing Email operations. */
6
6
  export declare class EmailImpl implements Email {
@@ -22,7 +22,7 @@ export declare class EmailImpl implements Email {
22
22
  * @param message Message payload for sending an email
23
23
  * @param options The options parameters.
24
24
  */
25
- beginSend(message: EmailMessage, options?: EmailSendOptionalParams): Promise<PollerLike<PollOperationState<EmailSendResponse>, EmailSendResponse>>;
25
+ beginSend(message: EmailMessage, options?: EmailSendOptionalParams): Promise<SimplePollerLike<OperationState<EmailSendResponse>, EmailSendResponse>>;
26
26
  /**
27
27
  * Queues an email message to be sent to one or more recipients
28
28
  * @param message Message payload for sending an email
@@ -1 +1 @@
1
- {"version":3,"file":"email.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/email.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAIzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,gCAAgC,EAChC,0BAA0B,EAC1B,YAAY,EACZ,uBAAuB,EACvB,iBAAiB,EAClB,MAAM,oBAAoB,CAAC;AAE5B,yCAAyC;AACzC,qBAAa,SAAU,YAAW,KAAK;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAE5C;;;OAGG;gBACS,MAAM,EAAE,kBAAkB;IAItC;;;;;OAKG;IACH,aAAa,CACX,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;OAIG;IACG,SAAS,CACb,OAAO,EAAE,YAAY,EACrB,OAAO,CAAC,EAAE,uBAAuB,GAChC,OAAO,CACR,UAAU,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC,CACrE;IAsDD;;;;OAIG;IACG,gBAAgB,CACpB,OAAO,EAAE,YAAY,EACrB,OAAO,CAAC,EAAE,uBAAuB,GAChC,OAAO,CAAC,iBAAiB,CAAC;CAI9B"}
1
+ {"version":3,"file":"email.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/email.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAIzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,gCAAgC,EAChC,0BAA0B,EAC1B,YAAY,EACZ,uBAAuB,EACvB,iBAAiB,EAClB,MAAM,oBAAoB,CAAC;AAE5B,yCAAyC;AACzC,qBAAa,SAAU,YAAW,KAAK;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAE5C;;;OAGG;gBACS,MAAM,EAAE,kBAAkB;IAItC;;;;;OAKG;IACH,aAAa,CACX,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;OAIG;IACG,SAAS,CACb,OAAO,EAAE,YAAY,EACrB,OAAO,CAAC,EAAE,uBAAuB,GAChC,OAAO,CACR,gBAAgB,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC,CACvE;IAwDD;;;;OAIG;IACG,gBAAgB,CACpB,OAAO,EAAE,YAAY,EACrB,OAAO,CAAC,EAAE,uBAAuB,GAChC,OAAO,CAAC,iBAAiB,CAAC;CAI9B"}