@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
@@ -14,25 +14,25 @@ export const EmailSendResult = {
14
14
  serializedName: "id",
15
15
  required: true,
16
16
  type: {
17
- name: "String"
18
- }
17
+ name: "String",
18
+ },
19
19
  },
20
20
  status: {
21
21
  serializedName: "status",
22
22
  required: true,
23
23
  type: {
24
- name: "String"
25
- }
24
+ name: "String",
25
+ },
26
26
  },
27
27
  error: {
28
28
  serializedName: "error",
29
29
  type: {
30
30
  name: "Composite",
31
- className: "ErrorDetail"
32
- }
33
- }
34
- }
35
- }
31
+ className: "ErrorDetail",
32
+ },
33
+ },
34
+ },
35
+ },
36
36
  };
37
37
  export const ErrorDetail = {
38
38
  type: {
@@ -43,22 +43,22 @@ export const ErrorDetail = {
43
43
  serializedName: "code",
44
44
  readOnly: true,
45
45
  type: {
46
- name: "String"
47
- }
46
+ name: "String",
47
+ },
48
48
  },
49
49
  message: {
50
50
  serializedName: "message",
51
51
  readOnly: true,
52
52
  type: {
53
- name: "String"
54
- }
53
+ name: "String",
54
+ },
55
55
  },
56
56
  target: {
57
57
  serializedName: "target",
58
58
  readOnly: true,
59
59
  type: {
60
- name: "String"
61
- }
60
+ name: "String",
61
+ },
62
62
  },
63
63
  details: {
64
64
  serializedName: "details",
@@ -68,10 +68,10 @@ export const ErrorDetail = {
68
68
  element: {
69
69
  type: {
70
70
  name: "Composite",
71
- className: "ErrorDetail"
72
- }
73
- }
74
- }
71
+ className: "ErrorDetail",
72
+ },
73
+ },
74
+ },
75
75
  },
76
76
  additionalInfo: {
77
77
  serializedName: "additionalInfo",
@@ -81,13 +81,13 @@ export const ErrorDetail = {
81
81
  element: {
82
82
  type: {
83
83
  name: "Composite",
84
- className: "ErrorAdditionalInfo"
85
- }
86
- }
87
- }
88
- }
89
- }
90
- }
84
+ className: "ErrorAdditionalInfo",
85
+ },
86
+ },
87
+ },
88
+ },
89
+ },
90
+ },
91
91
  };
92
92
  export const ErrorAdditionalInfo = {
93
93
  type: {
@@ -98,19 +98,19 @@ export const ErrorAdditionalInfo = {
98
98
  serializedName: "type",
99
99
  readOnly: true,
100
100
  type: {
101
- name: "String"
102
- }
101
+ name: "String",
102
+ },
103
103
  },
104
104
  info: {
105
105
  serializedName: "info",
106
106
  readOnly: true,
107
107
  type: {
108
108
  name: "Dictionary",
109
- value: { type: { name: "any" } }
110
- }
111
- }
112
- }
113
- }
109
+ value: { type: { name: "any" } },
110
+ },
111
+ },
112
+ },
113
+ },
114
114
  };
115
115
  export const ErrorResponse = {
116
116
  type: {
@@ -121,11 +121,11 @@ export const ErrorResponse = {
121
121
  serializedName: "error",
122
122
  type: {
123
123
  name: "Composite",
124
- className: "ErrorDetail"
125
- }
126
- }
127
- }
128
- }
124
+ className: "ErrorDetail",
125
+ },
126
+ },
127
+ },
128
+ },
129
129
  };
130
130
  export const EmailMessage = {
131
131
  type: {
@@ -136,29 +136,29 @@ export const EmailMessage = {
136
136
  serializedName: "headers",
137
137
  type: {
138
138
  name: "Dictionary",
139
- value: { type: { name: "String" } }
140
- }
139
+ value: { type: { name: "String" } },
140
+ },
141
141
  },
142
142
  senderAddress: {
143
143
  serializedName: "senderAddress",
144
144
  required: true,
145
145
  type: {
146
- name: "String"
147
- }
146
+ name: "String",
147
+ },
148
148
  },
149
149
  content: {
150
150
  serializedName: "content",
151
151
  type: {
152
152
  name: "Composite",
153
- className: "EmailContent"
154
- }
153
+ className: "EmailContent",
154
+ },
155
155
  },
156
156
  recipients: {
157
157
  serializedName: "recipients",
158
158
  type: {
159
159
  name: "Composite",
160
- className: "EmailRecipients"
161
- }
160
+ className: "EmailRecipients",
161
+ },
162
162
  },
163
163
  attachments: {
164
164
  serializedName: "attachments",
@@ -167,10 +167,10 @@ export const EmailMessage = {
167
167
  element: {
168
168
  type: {
169
169
  name: "Composite",
170
- className: "EmailAttachment"
171
- }
172
- }
173
- }
170
+ className: "EmailAttachment",
171
+ },
172
+ },
173
+ },
174
174
  },
175
175
  replyTo: {
176
176
  serializedName: "replyTo",
@@ -179,19 +179,19 @@ export const EmailMessage = {
179
179
  element: {
180
180
  type: {
181
181
  name: "Composite",
182
- className: "EmailAddress"
183
- }
184
- }
185
- }
182
+ className: "EmailAddress",
183
+ },
184
+ },
185
+ },
186
186
  },
187
187
  disableUserEngagementTracking: {
188
188
  serializedName: "userEngagementTrackingDisabled",
189
189
  type: {
190
- name: "Boolean"
191
- }
192
- }
193
- }
194
- }
190
+ name: "Boolean",
191
+ },
192
+ },
193
+ },
194
+ },
195
195
  };
196
196
  export const EmailContent = {
197
197
  type: {
@@ -202,23 +202,23 @@ export const EmailContent = {
202
202
  serializedName: "subject",
203
203
  required: true,
204
204
  type: {
205
- name: "String"
206
- }
205
+ name: "String",
206
+ },
207
207
  },
208
208
  plainText: {
209
209
  serializedName: "plainText",
210
210
  type: {
211
- name: "String"
212
- }
211
+ name: "String",
212
+ },
213
213
  },
214
214
  html: {
215
215
  serializedName: "html",
216
216
  type: {
217
- name: "String"
218
- }
219
- }
220
- }
221
- }
217
+ name: "String",
218
+ },
219
+ },
220
+ },
221
+ },
222
222
  };
223
223
  export const EmailRecipients = {
224
224
  type: {
@@ -232,10 +232,10 @@ export const EmailRecipients = {
232
232
  element: {
233
233
  type: {
234
234
  name: "Composite",
235
- className: "EmailAddress"
236
- }
237
- }
238
- }
235
+ className: "EmailAddress",
236
+ },
237
+ },
238
+ },
239
239
  },
240
240
  cc: {
241
241
  serializedName: "cc",
@@ -244,10 +244,10 @@ export const EmailRecipients = {
244
244
  element: {
245
245
  type: {
246
246
  name: "Composite",
247
- className: "EmailAddress"
248
- }
249
- }
250
- }
247
+ className: "EmailAddress",
248
+ },
249
+ },
250
+ },
251
251
  },
252
252
  bcc: {
253
253
  serializedName: "bcc",
@@ -256,13 +256,13 @@ export const EmailRecipients = {
256
256
  element: {
257
257
  type: {
258
258
  name: "Composite",
259
- className: "EmailAddress"
260
- }
261
- }
262
- }
263
- }
264
- }
265
- }
259
+ className: "EmailAddress",
260
+ },
261
+ },
262
+ },
263
+ },
264
+ },
265
+ },
266
266
  };
267
267
  export const EmailAddress = {
268
268
  type: {
@@ -273,17 +273,17 @@ export const EmailAddress = {
273
273
  serializedName: "address",
274
274
  required: true,
275
275
  type: {
276
- name: "String"
277
- }
276
+ name: "String",
277
+ },
278
278
  },
279
279
  displayName: {
280
280
  serializedName: "displayName",
281
281
  type: {
282
- name: "String"
283
- }
284
- }
285
- }
286
- }
282
+ name: "String",
283
+ },
284
+ },
285
+ },
286
+ },
287
287
  };
288
288
  export const EmailAttachment = {
289
289
  type: {
@@ -294,31 +294,31 @@ export const EmailAttachment = {
294
294
  serializedName: "name",
295
295
  required: true,
296
296
  type: {
297
- name: "String"
298
- }
297
+ name: "String",
298
+ },
299
299
  },
300
300
  contentType: {
301
301
  serializedName: "contentType",
302
302
  required: true,
303
303
  type: {
304
- name: "String"
305
- }
304
+ name: "String",
305
+ },
306
306
  },
307
307
  contentInBase64: {
308
308
  serializedName: "contentInBase64",
309
309
  required: true,
310
310
  type: {
311
- name: "String"
312
- }
311
+ name: "String",
312
+ },
313
313
  },
314
314
  contentId: {
315
315
  serializedName: "contentId",
316
316
  type: {
317
- name: "String"
318
- }
319
- }
320
- }
321
- }
317
+ name: "String",
318
+ },
319
+ },
320
+ },
321
+ },
322
322
  };
323
323
  export const EmailGetSendResultHeaders = {
324
324
  type: {
@@ -328,11 +328,11 @@ export const EmailGetSendResultHeaders = {
328
328
  retryAfter: {
329
329
  serializedName: "retry-after",
330
330
  type: {
331
- name: "Number"
332
- }
333
- }
334
- }
335
- }
331
+ name: "Number",
332
+ },
333
+ },
334
+ },
335
+ },
336
336
  };
337
337
  export const EmailGetSendResultExceptionHeaders = {
338
338
  type: {
@@ -342,11 +342,11 @@ export const EmailGetSendResultExceptionHeaders = {
342
342
  xMsErrorCode: {
343
343
  serializedName: "x-ms-error-code",
344
344
  type: {
345
- name: "String"
346
- }
347
- }
348
- }
349
- }
345
+ name: "String",
346
+ },
347
+ },
348
+ },
349
+ },
350
350
  };
351
351
  export const EmailSendHeaders = {
352
352
  type: {
@@ -356,17 +356,17 @@ export const EmailSendHeaders = {
356
356
  operationLocation: {
357
357
  serializedName: "operation-location",
358
358
  type: {
359
- name: "String"
360
- }
359
+ name: "String",
360
+ },
361
361
  },
362
362
  retryAfter: {
363
363
  serializedName: "retry-after",
364
364
  type: {
365
- name: "Number"
366
- }
367
- }
368
- }
369
- }
365
+ name: "Number",
366
+ },
367
+ },
368
+ },
369
+ },
370
370
  };
371
371
  export const EmailSendExceptionHeaders = {
372
372
  type: {
@@ -376,10 +376,10 @@ export const EmailSendExceptionHeaders = {
376
376
  xMsErrorCode: {
377
377
  serializedName: "x-ms-error-code",
378
378
  type: {
379
- name: "String"
380
- }
381
- }
382
- }
383
- }
379
+ name: "String",
380
+ },
381
+ },
382
+ },
383
+ },
384
384
  };
385
385
  //# sourceMappingURL=mappers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,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;AAEF,MAAM,CAAC,MAAM,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;gBACN,cAAc,EA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MAAM,CAAC,MAAM,kCAAkC,GAA+B;IAC5E,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,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;AAEF,MAAM,CAAC,MAAM,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;AAEF,MAAM,CAAC,MAAM,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;AAIH,MAAM,CAAC,MAAM,eAAe,GAA+B;IACzD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,iBAAiB;QAC5B,eAAe,EAAE;YACf,EAAE,EAAE;gBACF,cAAc,EAAE,IAAI;g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U,EAAE;gBACV,cAAc,EAAE,aAAa;gBAC7B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,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"]}
@@ -13,9 +13,9 @@ export const accept = {
13
13
  isConstant: true,
14
14
  serializedName: "Accept",
15
15
  type: {
16
- name: "String"
17
- }
18
- }
16
+ name: "String",
17
+ },
18
+ },
19
19
  };
20
20
  export const endpoint = {
21
21
  parameterPath: "endpoint",
@@ -23,10 +23,10 @@ export const endpoint = {
23
23
  serializedName: "endpoint",
24
24
  required: true,
25
25
  type: {
26
- name: "String"
27
- }
26
+ name: "String",
27
+ },
28
28
  },
29
- skipEncoding: true
29
+ skipEncoding: true,
30
30
  };
31
31
  export const operationId = {
32
32
  parameterPath: "operationId",
@@ -34,20 +34,20 @@ export const operationId = {
34
34
  serializedName: "operationId",
35
35
  required: true,
36
36
  type: {
37
- name: "String"
38
- }
39
- }
37
+ name: "String",
38
+ },
39
+ },
40
40
  };
41
41
  export const apiVersion = {
42
42
  parameterPath: "apiVersion",
43
43
  mapper: {
44
- defaultValue: "2024-07-01-preview",
44
+ defaultValue: "2025-09-01",
45
45
  isConstant: true,
46
46
  serializedName: "api-version",
47
47
  type: {
48
- name: "String"
49
- }
50
- }
48
+ name: "String",
49
+ },
50
+ },
51
51
  };
52
52
  export const contentType = {
53
53
  parameterPath: ["options", "contentType"],
@@ -56,30 +56,30 @@ export const contentType = {
56
56
  isConstant: true,
57
57
  serializedName: "Content-Type",
58
58
  type: {
59
- name: "String"
60
- }
61
- }
59
+ name: "String",
60
+ },
61
+ },
62
62
  };
63
63
  export const message = {
64
64
  parameterPath: "message",
65
- mapper: EmailMessageMapper
65
+ mapper: EmailMessageMapper,
66
66
  };
67
67
  export const operationId1 = {
68
68
  parameterPath: ["options", "operationId"],
69
69
  mapper: {
70
70
  serializedName: "Operation-Id",
71
71
  type: {
72
- name: "Uuid"
73
- }
74
- }
72
+ name: "Uuid",
73
+ },
74
+ },
75
75
  };
76
76
  export const clientRequestId = {
77
77
  parameterPath: ["options", "clientRequestId"],
78
78
  mapper: {
79
79
  serializedName: "x-ms-client-request-id",
80
80
  type: {
81
- name: "Uuid"
82
- }
83
- }
81
+ name: "Uuid",
82
+ },
83
+ },
84
84
  };
85
85
  //# 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,OAAO,EAAE,YAAY,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1E,MAAM,CAAC,MAAM,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;AAEF,MAAM,CAAC,MAAM,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;AAEF,MAAM,CAAC,MAAM,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;AAEF,MAAM,CAAC,MAAM,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;AAEF,MAAM,CAAC,MAAM,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;AAEF,MAAM,CAAC,MAAM,OAAO,GAAuB;IACzC,aAAa,EAAE,SAAS;IACxB,MAAM,EAAE,kBAAkB;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,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;AAEF,MAAM,CAAC,MAAM,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,OAAO,EAAE,YAAY,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1E,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MA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Ac,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;SACb;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,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"}