@azure/communication-email 1.0.1-alpha.20241119.1 → 1.0.1-alpha.20241122.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +802 -0
- package/dist/index.js.map +1 -0
- package/dist-esm/samples-dev/sendEmailMultipleRecipients.js +46 -0
- package/dist-esm/samples-dev/sendEmailMultipleRecipients.js.map +1 -0
- package/dist-esm/samples-dev/sendEmailSingleRecipient.js +40 -0
- package/dist-esm/samples-dev/sendEmailSingleRecipient.js.map +1 -0
- package/dist-esm/samples-dev/sendEmailWithAttachments.js +47 -0
- package/dist-esm/samples-dev/sendEmailWithAttachments.js.map +1 -0
- package/dist-esm/samples-dev/sendEmailWithInlineAttachments.js +48 -0
- package/dist-esm/samples-dev/sendEmailWithInlineAttachments.js.map +1 -0
- package/{dist/esm → dist-esm/src}/emailClient.js +2 -2
- package/dist-esm/src/emailClient.js.map +1 -0
- package/{dist/esm → dist-esm/src}/generated/src/emailRestApiClient.js +1 -1
- package/dist-esm/src/generated/src/emailRestApiClient.js.map +1 -0
- package/{dist/esm/generated/src/operations → dist-esm/src/generated/src}/index.js +3 -1
- package/dist-esm/src/generated/src/index.js.map +1 -0
- package/{dist/esm → dist-esm/src}/generated/src/models/parameters.js +1 -1
- package/{dist/browser → dist-esm/src}/generated/src/models/parameters.js.map +1 -1
- package/{dist/esm → dist-esm/src}/generated/src/operations/email.js +3 -3
- package/dist-esm/src/generated/src/operations/email.js.map +1 -0
- package/{dist/esm/generated/src/operationsInterfaces/email.js → dist-esm/src/generated/src/operations/index.js} +2 -2
- package/{dist/esm → dist-esm/src}/generated/src/operations/index.js.map +1 -1
- package/dist-esm/src/generated/src/operationsInterfaces/email.js.map +1 -0
- package/{dist/react-native/generated/src/operationsInterfaces/email.js → dist-esm/src/generated/src/operationsInterfaces/index.js} +2 -2
- package/{dist/esm → dist-esm/src}/generated/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/index.js +5 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models.js +4 -0
- package/dist-esm/src/models.js.map +1 -0
- package/dist-esm/test/public/emailClient.spec.js +138 -0
- package/dist-esm/test/public/emailClient.spec.js.map +1 -0
- package/dist-esm/test/public/utils/recordedClient.js +59 -0
- package/dist-esm/test/public/utils/recordedClient.js.map +1 -0
- package/package.json +40 -63
- package/dist/browser/emailClient.d.ts +0 -31
- package/dist/browser/emailClient.d.ts.map +0 -1
- package/dist/browser/emailClient.js +0 -38
- package/dist/browser/emailClient.js.map +0 -1
- package/dist/browser/generated/src/emailRestApiClient.d.ts +0 -17
- package/dist/browser/generated/src/emailRestApiClient.d.ts.map +0 -1
- package/dist/browser/generated/src/emailRestApiClient.js +0 -69
- package/dist/browser/generated/src/emailRestApiClient.js.map +0 -1
- package/dist/browser/generated/src/index.d.ts +0 -4
- package/dist/browser/generated/src/index.d.ts.map +0 -1
- package/dist/browser/generated/src/index.js +0 -11
- package/dist/browser/generated/src/index.js.map +0 -1
- package/dist/browser/generated/src/lroImpl.d.ts +0 -16
- package/dist/browser/generated/src/lroImpl.d.ts.map +0 -1
- package/dist/browser/generated/src/models/index.d.ts +0 -184
- package/dist/browser/generated/src/models/index.d.ts.map +0 -1
- package/dist/browser/generated/src/models/mappers.d.ts +0 -15
- package/dist/browser/generated/src/models/mappers.d.ts.map +0 -1
- package/dist/browser/generated/src/models/parameters.d.ts +0 -10
- package/dist/browser/generated/src/models/parameters.d.ts.map +0 -1
- package/dist/browser/generated/src/models/parameters.js +0 -85
- package/dist/browser/generated/src/operations/email.d.ts +0 -33
- package/dist/browser/generated/src/operations/email.d.ts.map +0 -1
- package/dist/browser/generated/src/operations/email.js +0 -135
- package/dist/browser/generated/src/operations/email.js.map +0 -1
- package/dist/browser/generated/src/operations/index.d.ts +0 -2
- package/dist/browser/generated/src/operations/index.d.ts.map +0 -1
- package/dist/browser/generated/src/operations/index.js +0 -9
- package/dist/browser/generated/src/operations/index.js.map +0 -1
- package/dist/browser/generated/src/operationsInterfaces/email.d.ts +0 -25
- package/dist/browser/generated/src/operationsInterfaces/email.d.ts.map +0 -1
- package/dist/browser/generated/src/operationsInterfaces/email.js.map +0 -1
- package/dist/browser/generated/src/operationsInterfaces/index.d.ts +0 -2
- package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/browser/generated/src/operationsInterfaces/index.js +0 -9
- package/dist/browser/generated/src/operationsInterfaces/index.js.map +0 -1
- package/dist/browser/index.d.ts +0 -3
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/index.js +0 -5
- package/dist/browser/index.js.map +0 -1
- package/dist/browser/logger.d.ts +0 -5
- package/dist/browser/logger.d.ts.map +0 -1
- package/dist/browser/models.d.ts +0 -57
- package/dist/browser/models.d.ts.map +0 -1
- package/dist/browser/models.js +0 -4
- package/dist/browser/models.js.map +0 -1
- package/dist/browser/package.json +0 -3
- package/dist/commonjs/emailClient.d.ts +0 -31
- package/dist/commonjs/emailClient.d.ts.map +0 -1
- package/dist/commonjs/emailClient.js +0 -42
- package/dist/commonjs/emailClient.js.map +0 -1
- package/dist/commonjs/generated/src/emailRestApiClient.d.ts +0 -17
- package/dist/commonjs/generated/src/emailRestApiClient.d.ts.map +0 -1
- package/dist/commonjs/generated/src/emailRestApiClient.js +0 -74
- package/dist/commonjs/generated/src/emailRestApiClient.js.map +0 -1
- package/dist/commonjs/generated/src/index.d.ts +0 -4
- package/dist/commonjs/generated/src/index.d.ts.map +0 -1
- package/dist/commonjs/generated/src/index.js +0 -16
- package/dist/commonjs/generated/src/index.js.map +0 -1
- package/dist/commonjs/generated/src/lroImpl.d.ts +0 -16
- package/dist/commonjs/generated/src/lroImpl.d.ts.map +0 -1
- package/dist/commonjs/generated/src/lroImpl.js +0 -29
- package/dist/commonjs/generated/src/lroImpl.js.map +0 -1
- package/dist/commonjs/generated/src/models/index.d.ts +0 -184
- package/dist/commonjs/generated/src/models/index.d.ts.map +0 -1
- package/dist/commonjs/generated/src/models/index.js +0 -25
- package/dist/commonjs/generated/src/models/index.js.map +0 -1
- package/dist/commonjs/generated/src/models/mappers.d.ts +0 -15
- package/dist/commonjs/generated/src/models/mappers.d.ts.map +0 -1
- package/dist/commonjs/generated/src/models/mappers.js +0 -388
- package/dist/commonjs/generated/src/models/mappers.js.map +0 -1
- package/dist/commonjs/generated/src/models/parameters.d.ts +0 -10
- package/dist/commonjs/generated/src/models/parameters.d.ts.map +0 -1
- package/dist/commonjs/generated/src/models/parameters.js +0 -88
- package/dist/commonjs/generated/src/models/parameters.js.map +0 -1
- package/dist/commonjs/generated/src/operations/email.d.ts +0 -33
- package/dist/commonjs/generated/src/operations/email.d.ts.map +0 -1
- package/dist/commonjs/generated/src/operations/email.js +0 -140
- package/dist/commonjs/generated/src/operations/email.js.map +0 -1
- package/dist/commonjs/generated/src/operations/index.d.ts +0 -2
- package/dist/commonjs/generated/src/operations/index.d.ts.map +0 -1
- package/dist/commonjs/generated/src/operations/index.js +0 -12
- package/dist/commonjs/generated/src/operations/index.js.map +0 -1
- package/dist/commonjs/generated/src/operationsInterfaces/email.d.ts +0 -25
- package/dist/commonjs/generated/src/operationsInterfaces/email.d.ts.map +0 -1
- package/dist/commonjs/generated/src/operationsInterfaces/email.js +0 -10
- package/dist/commonjs/generated/src/operationsInterfaces/email.js.map +0 -1
- package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +0 -2
- package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/commonjs/generated/src/operationsInterfaces/index.js +0 -12
- package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +0 -1
- package/dist/commonjs/index.d.ts +0 -3
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/index.js +0 -8
- package/dist/commonjs/index.js.map +0 -1
- package/dist/commonjs/logger.d.ts +0 -5
- package/dist/commonjs/logger.d.ts.map +0 -1
- package/dist/commonjs/logger.js +0 -11
- package/dist/commonjs/logger.js.map +0 -1
- package/dist/commonjs/models.d.ts +0 -57
- package/dist/commonjs/models.d.ts.map +0 -1
- package/dist/commonjs/models.js +0 -8
- package/dist/commonjs/models.js.map +0 -1
- package/dist/commonjs/package.json +0 -3
- package/dist/commonjs/tsdoc-metadata.json +0 -11
- package/dist/esm/emailClient.d.ts +0 -31
- package/dist/esm/emailClient.d.ts.map +0 -1
- package/dist/esm/emailClient.js.map +0 -1
- package/dist/esm/generated/src/emailRestApiClient.d.ts +0 -17
- package/dist/esm/generated/src/emailRestApiClient.d.ts.map +0 -1
- package/dist/esm/generated/src/emailRestApiClient.js.map +0 -1
- package/dist/esm/generated/src/index.d.ts +0 -4
- package/dist/esm/generated/src/index.d.ts.map +0 -1
- package/dist/esm/generated/src/index.js +0 -11
- package/dist/esm/generated/src/index.js.map +0 -1
- package/dist/esm/generated/src/lroImpl.d.ts +0 -16
- package/dist/esm/generated/src/lroImpl.d.ts.map +0 -1
- package/dist/esm/generated/src/lroImpl.js +0 -25
- package/dist/esm/generated/src/lroImpl.js.map +0 -1
- package/dist/esm/generated/src/models/index.d.ts +0 -184
- package/dist/esm/generated/src/models/index.d.ts.map +0 -1
- package/dist/esm/generated/src/models/index.js +0 -22
- package/dist/esm/generated/src/models/index.js.map +0 -1
- package/dist/esm/generated/src/models/mappers.d.ts +0 -15
- package/dist/esm/generated/src/models/mappers.d.ts.map +0 -1
- package/dist/esm/generated/src/models/mappers.js +0 -385
- package/dist/esm/generated/src/models/mappers.js.map +0 -1
- package/dist/esm/generated/src/models/parameters.d.ts +0 -10
- package/dist/esm/generated/src/models/parameters.d.ts.map +0 -1
- package/dist/esm/generated/src/models/parameters.js.map +0 -1
- package/dist/esm/generated/src/operations/email.d.ts +0 -33
- package/dist/esm/generated/src/operations/email.d.ts.map +0 -1
- package/dist/esm/generated/src/operations/email.js.map +0 -1
- package/dist/esm/generated/src/operations/index.d.ts +0 -2
- package/dist/esm/generated/src/operations/index.d.ts.map +0 -1
- package/dist/esm/generated/src/operationsInterfaces/email.d.ts +0 -25
- package/dist/esm/generated/src/operationsInterfaces/email.d.ts.map +0 -1
- package/dist/esm/generated/src/operationsInterfaces/email.js.map +0 -1
- package/dist/esm/generated/src/operationsInterfaces/index.d.ts +0 -2
- package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/esm/generated/src/operationsInterfaces/index.js +0 -9
- package/dist/esm/index.d.ts +0 -3
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/index.js +0 -5
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/logger.d.ts +0 -5
- package/dist/esm/logger.d.ts.map +0 -1
- package/dist/esm/logger.js +0 -8
- package/dist/esm/logger.js.map +0 -1
- package/dist/esm/models.d.ts +0 -57
- package/dist/esm/models.d.ts.map +0 -1
- package/dist/esm/models.js +0 -4
- package/dist/esm/models.js.map +0 -1
- package/dist/esm/package.json +0 -3
- package/dist/react-native/emailClient.d.ts +0 -31
- package/dist/react-native/emailClient.d.ts.map +0 -1
- package/dist/react-native/emailClient.js +0 -38
- package/dist/react-native/emailClient.js.map +0 -1
- package/dist/react-native/generated/src/emailRestApiClient.d.ts +0 -17
- package/dist/react-native/generated/src/emailRestApiClient.d.ts.map +0 -1
- package/dist/react-native/generated/src/emailRestApiClient.js +0 -69
- package/dist/react-native/generated/src/emailRestApiClient.js.map +0 -1
- package/dist/react-native/generated/src/index.d.ts +0 -4
- package/dist/react-native/generated/src/index.d.ts.map +0 -1
- package/dist/react-native/generated/src/index.js +0 -11
- package/dist/react-native/generated/src/index.js.map +0 -1
- package/dist/react-native/generated/src/lroImpl.d.ts +0 -16
- package/dist/react-native/generated/src/lroImpl.d.ts.map +0 -1
- package/dist/react-native/generated/src/lroImpl.js +0 -25
- package/dist/react-native/generated/src/lroImpl.js.map +0 -1
- package/dist/react-native/generated/src/models/index.d.ts +0 -184
- package/dist/react-native/generated/src/models/index.d.ts.map +0 -1
- package/dist/react-native/generated/src/models/index.js +0 -22
- package/dist/react-native/generated/src/models/index.js.map +0 -1
- package/dist/react-native/generated/src/models/mappers.d.ts +0 -15
- package/dist/react-native/generated/src/models/mappers.d.ts.map +0 -1
- package/dist/react-native/generated/src/models/mappers.js +0 -385
- package/dist/react-native/generated/src/models/mappers.js.map +0 -1
- package/dist/react-native/generated/src/models/parameters.d.ts +0 -10
- package/dist/react-native/generated/src/models/parameters.d.ts.map +0 -1
- package/dist/react-native/generated/src/models/parameters.js +0 -85
- package/dist/react-native/generated/src/models/parameters.js.map +0 -1
- package/dist/react-native/generated/src/operations/email.d.ts +0 -33
- package/dist/react-native/generated/src/operations/email.d.ts.map +0 -1
- package/dist/react-native/generated/src/operations/email.js +0 -135
- package/dist/react-native/generated/src/operations/email.js.map +0 -1
- package/dist/react-native/generated/src/operations/index.d.ts +0 -2
- package/dist/react-native/generated/src/operations/index.d.ts.map +0 -1
- package/dist/react-native/generated/src/operations/index.js +0 -9
- package/dist/react-native/generated/src/operations/index.js.map +0 -1
- package/dist/react-native/generated/src/operationsInterfaces/email.d.ts +0 -25
- package/dist/react-native/generated/src/operationsInterfaces/email.d.ts.map +0 -1
- package/dist/react-native/generated/src/operationsInterfaces/email.js.map +0 -1
- package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +0 -2
- package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/react-native/generated/src/operationsInterfaces/index.js +0 -9
- package/dist/react-native/generated/src/operationsInterfaces/index.js.map +0 -1
- package/dist/react-native/index.d.ts +0 -3
- package/dist/react-native/index.d.ts.map +0 -1
- package/dist/react-native/index.js +0 -5
- package/dist/react-native/index.js.map +0 -1
- package/dist/react-native/logger.d.ts +0 -5
- package/dist/react-native/logger.d.ts.map +0 -1
- package/dist/react-native/logger.js +0 -8
- package/dist/react-native/logger.js.map +0 -1
- package/dist/react-native/models.d.ts +0 -57
- package/dist/react-native/models.d.ts.map +0 -1
- package/dist/react-native/models.js +0 -4
- package/dist/react-native/models.js.map +0 -1
- package/dist/react-native/package.json +0 -3
- /package/{dist/browser → dist-esm/src}/generated/src/lroImpl.js +0 -0
- /package/{dist/browser → dist-esm/src}/generated/src/lroImpl.js.map +0 -0
- /package/{dist/browser → dist-esm/src}/generated/src/models/index.js +0 -0
- /package/{dist/browser → dist-esm/src}/generated/src/models/index.js.map +0 -0
- /package/{dist/browser → dist-esm/src}/generated/src/models/mappers.js +0 -0
- /package/{dist/browser → dist-esm/src}/generated/src/models/mappers.js.map +0 -0
- /package/{dist/browser → dist-esm/src}/generated/src/operationsInterfaces/email.js +0 -0
- /package/{dist/browser → dist-esm/src}/logger.js +0 -0
- /package/{dist/browser → dist-esm/src}/logger.js.map +0 -0
- /package/{dist → types}/communication-email.d.ts +0 -0
@@ -1,184 +0,0 @@
|
|
1
|
-
import * as coreClient from "@azure/core-client";
|
2
|
-
/** Status of the long running operation */
|
3
|
-
export interface EmailSendResult {
|
4
|
-
/** The unique id of the operation. Use a UUID. */
|
5
|
-
id: string;
|
6
|
-
/** Status of operation. */
|
7
|
-
status: EmailSendStatus;
|
8
|
-
/** Error details when status is a non-success terminal state. */
|
9
|
-
error?: ErrorDetail;
|
10
|
-
}
|
11
|
-
/** The error detail. */
|
12
|
-
export interface ErrorDetail {
|
13
|
-
/**
|
14
|
-
* The error code.
|
15
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
16
|
-
*/
|
17
|
-
readonly code?: string;
|
18
|
-
/**
|
19
|
-
* The error message.
|
20
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
21
|
-
*/
|
22
|
-
readonly message?: string;
|
23
|
-
/**
|
24
|
-
* The error target.
|
25
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
26
|
-
*/
|
27
|
-
readonly target?: string;
|
28
|
-
/**
|
29
|
-
* The error details.
|
30
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
31
|
-
*/
|
32
|
-
readonly details?: ErrorDetail[];
|
33
|
-
/**
|
34
|
-
* The error additional info.
|
35
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
36
|
-
*/
|
37
|
-
readonly additionalInfo?: ErrorAdditionalInfo[];
|
38
|
-
}
|
39
|
-
/** The resource management error additional info. */
|
40
|
-
export interface ErrorAdditionalInfo {
|
41
|
-
/**
|
42
|
-
* The additional info type.
|
43
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
44
|
-
*/
|
45
|
-
readonly type?: string;
|
46
|
-
/**
|
47
|
-
* The additional info.
|
48
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
49
|
-
*/
|
50
|
-
readonly info?: Record<string, unknown>;
|
51
|
-
}
|
52
|
-
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
53
|
-
export interface ErrorResponse {
|
54
|
-
/** The error object. */
|
55
|
-
error?: ErrorDetail;
|
56
|
-
}
|
57
|
-
/** Message payload for sending an email */
|
58
|
-
export interface EmailMessage {
|
59
|
-
/** Custom email headers to be passed. */
|
60
|
-
headers?: {
|
61
|
-
[propertyName: string]: string;
|
62
|
-
};
|
63
|
-
/** Sender email address from a verified domain. */
|
64
|
-
senderAddress: string;
|
65
|
-
/** Email content to be sent. */
|
66
|
-
content: EmailContent;
|
67
|
-
/** Recipients for the email. */
|
68
|
-
recipients: EmailRecipients;
|
69
|
-
/** List of attachments. Please note that we limit the total size of an email request (which includes both regular and inline attachments) to 10MB. */
|
70
|
-
attachments?: EmailAttachment[];
|
71
|
-
/** Email addresses where recipients' replies will be sent to. */
|
72
|
-
replyTo?: EmailAddress[];
|
73
|
-
/** Indicates whether user engagement tracking should be disabled for this request if the resource-level user engagement tracking setting was already enabled in the control plane. */
|
74
|
-
disableUserEngagementTracking?: boolean;
|
75
|
-
}
|
76
|
-
/** Content of the email. */
|
77
|
-
export interface EmailContent {
|
78
|
-
/** Subject of the email message */
|
79
|
-
subject: string;
|
80
|
-
/** Plain text version of the email message. */
|
81
|
-
plainText?: string;
|
82
|
-
/** Html version of the email message. */
|
83
|
-
html?: string;
|
84
|
-
}
|
85
|
-
/** Recipients of the email */
|
86
|
-
export interface EmailRecipients {
|
87
|
-
/** Email To recipients */
|
88
|
-
to?: EmailAddress[];
|
89
|
-
/** Email CC recipients */
|
90
|
-
cc?: EmailAddress[];
|
91
|
-
/** Email BCC recipients */
|
92
|
-
bcc?: EmailAddress[];
|
93
|
-
}
|
94
|
-
/** An object representing the email address and its display name */
|
95
|
-
export interface EmailAddress {
|
96
|
-
/** Email address. */
|
97
|
-
address: string;
|
98
|
-
/** Email display name. */
|
99
|
-
displayName?: string;
|
100
|
-
}
|
101
|
-
/** Attachment to the email. */
|
102
|
-
export interface EmailAttachment {
|
103
|
-
/** Name of the attachment */
|
104
|
-
name: string;
|
105
|
-
/** MIME type of the content being attached. */
|
106
|
-
contentType: string;
|
107
|
-
/** Base64 encoded contents of the attachment */
|
108
|
-
contentInBase64: string;
|
109
|
-
/** Unique identifier (CID) to reference an inline attachment. */
|
110
|
-
contentId?: string;
|
111
|
-
}
|
112
|
-
/** Defines headers for Email_getSendResult operation. */
|
113
|
-
export interface EmailGetSendResultHeaders {
|
114
|
-
/** This header will only be present when the status is a non-terminal status. It indicates the minimum amount of time in seconds to wait before polling for operation status again. */
|
115
|
-
retryAfter?: number;
|
116
|
-
}
|
117
|
-
/** Defines headers for Email_getSendResult operation. */
|
118
|
-
export interface EmailGetSendResultExceptionHeaders {
|
119
|
-
/** Error code - this will be the same as the code in the error property in the response body. */
|
120
|
-
xMsErrorCode?: string;
|
121
|
-
}
|
122
|
-
/** Defines headers for Email_send operation. */
|
123
|
-
export interface EmailSendHeaders {
|
124
|
-
/** Location url of where to poll the status of this operation from. */
|
125
|
-
operationLocation?: string;
|
126
|
-
/** This header will only be present when the operation status is a non-terminal status. It indicates the minimum amount of time in seconds to wait before polling for operation status again. */
|
127
|
-
retryAfter?: number;
|
128
|
-
}
|
129
|
-
/** Defines headers for Email_send operation. */
|
130
|
-
export interface EmailSendExceptionHeaders {
|
131
|
-
/** Error code - this will be the same as the code in the error property in the response body. */
|
132
|
-
xMsErrorCode?: string;
|
133
|
-
}
|
134
|
-
/** Known values of {@link EmailSendStatus} that the service accepts. */
|
135
|
-
export declare enum KnownEmailSendStatus {
|
136
|
-
/** NotStarted */
|
137
|
-
NotStarted = "NotStarted",
|
138
|
-
/** Running */
|
139
|
-
Running = "Running",
|
140
|
-
/** Succeeded */
|
141
|
-
Succeeded = "Succeeded",
|
142
|
-
/** Failed */
|
143
|
-
Failed = "Failed",
|
144
|
-
/** Canceled */
|
145
|
-
Canceled = "Canceled"
|
146
|
-
}
|
147
|
-
/**
|
148
|
-
* Defines values for EmailSendStatus. \
|
149
|
-
* {@link KnownEmailSendStatus} can be used interchangeably with EmailSendStatus,
|
150
|
-
* this enum contains the known values that the service supports.
|
151
|
-
* ### Known values supported by the service
|
152
|
-
* **NotStarted** \
|
153
|
-
* **Running** \
|
154
|
-
* **Succeeded** \
|
155
|
-
* **Failed** \
|
156
|
-
* **Canceled**
|
157
|
-
*/
|
158
|
-
export type EmailSendStatus = string;
|
159
|
-
/** Optional parameters. */
|
160
|
-
export interface EmailGetSendResultOptionalParams extends coreClient.OperationOptions {
|
161
|
-
}
|
162
|
-
/** Contains response data for the getSendResult operation. */
|
163
|
-
export type EmailGetSendResultResponse = EmailGetSendResultHeaders & EmailSendResult;
|
164
|
-
/** Optional parameters. */
|
165
|
-
export interface EmailSendOptionalParams extends coreClient.OperationOptions {
|
166
|
-
/** This is the ID provided by the customer to identify the long running operation. If an ID is not provided by the customer, the service will generate one. */
|
167
|
-
operationId?: string;
|
168
|
-
/** Tracking ID sent with the request to help with debugging. */
|
169
|
-
clientRequestId?: string;
|
170
|
-
/** Delay to wait until next poll, in milliseconds. */
|
171
|
-
updateIntervalInMs?: number;
|
172
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
173
|
-
resumeFrom?: string;
|
174
|
-
}
|
175
|
-
/** Contains response data for the send operation. */
|
176
|
-
export type EmailSendResponse = EmailSendHeaders & EmailSendResult;
|
177
|
-
/** Optional parameters. */
|
178
|
-
export interface EmailRestApiClientOptionalParams extends coreClient.ServiceClientOptions {
|
179
|
-
/** Api Version */
|
180
|
-
apiVersion?: string;
|
181
|
-
/** Overrides client endpoint. */
|
182
|
-
endpoint?: string;
|
183
|
-
}
|
184
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,2CAA2C;AAC3C,MAAM,WAAW,eAAe;IAC9B,kDAAkD;IAClD,EAAE,EAAE,MAAM,CAAC;IACX,2BAA2B;IAC3B,MAAM,EAAE,eAAe,CAAC;IACxB,iEAAiE;IACjE,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,wBAAwB;AACxB,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;IACjC;;;OAGG;IACH,QAAQ,CAAC,cAAc,CAAC,EAAE,mBAAmB,EAAE,CAAC;CACjD;AAED,qDAAqD;AACrD,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC;AAED,qKAAqK;AACrK,MAAM,WAAW,aAAa;IAC5B,wBAAwB;IACxB,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,2CAA2C;AAC3C,MAAM,WAAW,YAAY;IAC3B,yCAAyC;IACzC,OAAO,CAAC,EAAE;QAAE,CAAC,YAAY,EAAE,MA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jC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
/** Known values of {@link EmailSendStatus} that the service accepts. */
|
9
|
-
export var KnownEmailSendStatus;
|
10
|
-
(function (KnownEmailSendStatus) {
|
11
|
-
/** NotStarted */
|
12
|
-
KnownEmailSendStatus["NotStarted"] = "NotStarted";
|
13
|
-
/** Running */
|
14
|
-
KnownEmailSendStatus["Running"] = "Running";
|
15
|
-
/** Succeeded */
|
16
|
-
KnownEmailSendStatus["Succeeded"] = "Succeeded";
|
17
|
-
/** Failed */
|
18
|
-
KnownEmailSendStatus["Failed"] = "Failed";
|
19
|
-
/** Canceled */
|
20
|
-
KnownEmailSendStatus["Canceled"] = "Canceled";
|
21
|
-
})(KnownEmailSendStatus || (KnownEmailSendStatus = {}));
|
22
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAmJH,wEAAwE;AACxE,MAAM,CAAN,IAAY,oBAWX;AAXD,WAAY,oBAAoB;IAC9B,iBAAiB;IACjB,iDAAyB,CAAA;IACzB,cAAc;IACd,2CAAmB,CAAA;IACnB,gBAAgB;IAChB,+CAAuB,CAAA;IACvB,aAAa;IACb,yCAAiB,CAAA;IACjB,eAAe;IACf,6CAAqB,CAAA;AACvB,CAAC,EAXW,oBAAoB,KAApB,oBAAoB,QAW/B","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\n/** Status of the long running operation */\nexport interface EmailSendResult {\n /** The unique id of the operation. Use a UUID. */\n id: string;\n /** Status of operation. */\n status: EmailSendStatus;\n /** Error details when status is a non-success terminal state. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** Message payload for sending an email */\nexport interface EmailMessage {\n /** Custom email headers to be passed. */\n headers?: { [propertyName: string]: string };\n /** Sender email address from a verified domain. */\n senderAddress: string;\n /** Email content to be sent. */\n content: EmailContent;\n /** Recipients for the email. */\n recipients: EmailRecipients;\n /** List of attachments. Please note that we limit the total size of an email request (which includes both regular and inline attachments) to 10MB. */\n attachments?: EmailAttachment[];\n /** Email addresses where recipients' replies will be sent to. */\n replyTo?: EmailAddress[];\n /** Indicates whether user engagement tracking should be disabled for this request if the resource-level user engagement tracking setting was already enabled in the control plane. */\n disableUserEngagementTracking?: boolean;\n}\n\n/** Content of the email. */\nexport interface EmailContent {\n /** Subject of the email message */\n subject: string;\n /** Plain text version of the email message. */\n plainText?: string;\n /** Html version of the email message. */\n html?: string;\n}\n\n/** Recipients of the email */\nexport interface EmailRecipients {\n /** Email To recipients */\n to?: EmailAddress[];\n /** Email CC recipients */\n cc?: EmailAddress[];\n /** Email BCC recipients */\n bcc?: EmailAddress[];\n}\n\n/** An object representing the email address and its display name */\nexport interface EmailAddress {\n /** Email address. */\n address: string;\n /** Email display name. */\n displayName?: string;\n}\n\n/** Attachment to the email. */\nexport interface EmailAttachment {\n /** Name of the attachment */\n name: string;\n /** MIME type of the content being attached. */\n contentType: string;\n /** Base64 encoded contents of the attachment */\n contentInBase64: string;\n /** Unique identifier (CID) to reference an inline attachment. */\n contentId?: string;\n}\n\n/** Defines headers for Email_getSendResult operation. */\nexport interface EmailGetSendResultHeaders {\n /** This header will only be present when the status is a non-terminal status. It indicates the minimum amount of time in seconds to wait before polling for operation status again. */\n retryAfter?: number;\n}\n\n/** Defines headers for Email_getSendResult operation. */\nexport interface EmailGetSendResultExceptionHeaders {\n /** Error code - this will be the same as the code in the error property in the response body. */\n xMsErrorCode?: string;\n}\n\n/** Defines headers for Email_send operation. */\nexport interface EmailSendHeaders {\n /** Location url of where to poll the status of this operation from. */\n operationLocation?: string;\n /** This header will only be present when the operation status is a non-terminal status. It indicates the minimum amount of time in seconds to wait before polling for operation status again. */\n retryAfter?: number;\n}\n\n/** Defines headers for Email_send operation. */\nexport interface EmailSendExceptionHeaders {\n /** Error code - this will be the same as the code in the error property in the response body. */\n xMsErrorCode?: string;\n}\n\n/** Known values of {@link EmailSendStatus} that the service accepts. */\nexport enum KnownEmailSendStatus {\n /** NotStarted */\n NotStarted = \"NotStarted\",\n /** Running */\n Running = \"Running\",\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Failed */\n Failed = \"Failed\",\n /** Canceled */\n Canceled = \"Canceled\"\n}\n\n/**\n * Defines values for EmailSendStatus. \\\n * {@link KnownEmailSendStatus} can be used interchangeably with EmailSendStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotStarted** \\\n * **Running** \\\n * **Succeeded** \\\n * **Failed** \\\n * **Canceled**\n */\nexport type EmailSendStatus = string;\n\n/** Optional parameters. */\nexport interface EmailGetSendResultOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getSendResult operation. */\nexport type EmailGetSendResultResponse = EmailGetSendResultHeaders &\n EmailSendResult;\n\n/** Optional parameters. */\nexport interface EmailSendOptionalParams extends coreClient.OperationOptions {\n /** This is the ID provided by the customer to identify the long running operation. If an ID is not provided by the customer, the service will generate one. */\n operationId?: string;\n /** Tracking ID sent with the request to help with debugging. */\n clientRequestId?: string;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the send operation. */\nexport type EmailSendResponse = EmailSendHeaders & EmailSendResult;\n\n/** Optional parameters. */\nexport interface EmailRestApiClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import * as coreClient from "@azure/core-client";
|
2
|
-
export declare const EmailSendResult: coreClient.CompositeMapper;
|
3
|
-
export declare const ErrorDetail: coreClient.CompositeMapper;
|
4
|
-
export declare const ErrorAdditionalInfo: coreClient.CompositeMapper;
|
5
|
-
export declare const ErrorResponse: coreClient.CompositeMapper;
|
6
|
-
export declare const EmailMessage: coreClient.CompositeMapper;
|
7
|
-
export declare const EmailContent: coreClient.CompositeMapper;
|
8
|
-
export declare const EmailRecipients: coreClient.CompositeMapper;
|
9
|
-
export declare const EmailAddress: coreClient.CompositeMapper;
|
10
|
-
export declare const EmailAttachment: coreClient.CompositeMapper;
|
11
|
-
export declare const EmailGetSendResultHeaders: coreClient.CompositeMapper;
|
12
|
-
export declare const EmailGetSendResultExceptionHeaders: coreClient.CompositeMapper;
|
13
|
-
export declare const EmailSendHeaders: coreClient.CompositeMapper;
|
14
|
-
export declare const EmailSendExceptionHeaders: coreClient.CompositeMapper;
|
15
|
-
//# sourceMappingURL=mappers.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/models/mappers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,eAAe,EAAE,UAAU,CAAC,eA4BxC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,UAAU,CAAC,eAsDpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,eAsB5C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,eActC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,UAAU,CAAC,eAiErC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,UAAU,CAAC,eA0BrC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,UAAU,CAAC,eA2CxC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,UAAU,CAAC,eAoBrC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,UAAU,CAAC,eAkCxC,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,UAAU,CAAC,eAalD,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,UAAU,CAAC,eAa3D,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,eAmBzC,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,UAAU,CAAC,eAalD,CAAC"}
|
@@ -1,385 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
export const EmailSendResult = {
|
9
|
-
type: {
|
10
|
-
name: "Composite",
|
11
|
-
className: "EmailSendResult",
|
12
|
-
modelProperties: {
|
13
|
-
id: {
|
14
|
-
serializedName: "id",
|
15
|
-
required: true,
|
16
|
-
type: {
|
17
|
-
name: "String"
|
18
|
-
}
|
19
|
-
},
|
20
|
-
status: {
|
21
|
-
serializedName: "status",
|
22
|
-
required: true,
|
23
|
-
type: {
|
24
|
-
name: "String"
|
25
|
-
}
|
26
|
-
},
|
27
|
-
error: {
|
28
|
-
serializedName: "error",
|
29
|
-
type: {
|
30
|
-
name: "Composite",
|
31
|
-
className: "ErrorDetail"
|
32
|
-
}
|
33
|
-
}
|
34
|
-
}
|
35
|
-
}
|
36
|
-
};
|
37
|
-
export const ErrorDetail = {
|
38
|
-
type: {
|
39
|
-
name: "Composite",
|
40
|
-
className: "ErrorDetail",
|
41
|
-
modelProperties: {
|
42
|
-
code: {
|
43
|
-
serializedName: "code",
|
44
|
-
readOnly: true,
|
45
|
-
type: {
|
46
|
-
name: "String"
|
47
|
-
}
|
48
|
-
},
|
49
|
-
message: {
|
50
|
-
serializedName: "message",
|
51
|
-
readOnly: true,
|
52
|
-
type: {
|
53
|
-
name: "String"
|
54
|
-
}
|
55
|
-
},
|
56
|
-
target: {
|
57
|
-
serializedName: "target",
|
58
|
-
readOnly: true,
|
59
|
-
type: {
|
60
|
-
name: "String"
|
61
|
-
}
|
62
|
-
},
|
63
|
-
details: {
|
64
|
-
serializedName: "details",
|
65
|
-
readOnly: true,
|
66
|
-
type: {
|
67
|
-
name: "Sequence",
|
68
|
-
element: {
|
69
|
-
type: {
|
70
|
-
name: "Composite",
|
71
|
-
className: "ErrorDetail"
|
72
|
-
}
|
73
|
-
}
|
74
|
-
}
|
75
|
-
},
|
76
|
-
additionalInfo: {
|
77
|
-
serializedName: "additionalInfo",
|
78
|
-
readOnly: true,
|
79
|
-
type: {
|
80
|
-
name: "Sequence",
|
81
|
-
element: {
|
82
|
-
type: {
|
83
|
-
name: "Composite",
|
84
|
-
className: "ErrorAdditionalInfo"
|
85
|
-
}
|
86
|
-
}
|
87
|
-
}
|
88
|
-
}
|
89
|
-
}
|
90
|
-
}
|
91
|
-
};
|
92
|
-
export const ErrorAdditionalInfo = {
|
93
|
-
type: {
|
94
|
-
name: "Composite",
|
95
|
-
className: "ErrorAdditionalInfo",
|
96
|
-
modelProperties: {
|
97
|
-
type: {
|
98
|
-
serializedName: "type",
|
99
|
-
readOnly: true,
|
100
|
-
type: {
|
101
|
-
name: "String"
|
102
|
-
}
|
103
|
-
},
|
104
|
-
info: {
|
105
|
-
serializedName: "info",
|
106
|
-
readOnly: true,
|
107
|
-
type: {
|
108
|
-
name: "Dictionary",
|
109
|
-
value: { type: { name: "any" } }
|
110
|
-
}
|
111
|
-
}
|
112
|
-
}
|
113
|
-
}
|
114
|
-
};
|
115
|
-
export const ErrorResponse = {
|
116
|
-
type: {
|
117
|
-
name: "Composite",
|
118
|
-
className: "ErrorResponse",
|
119
|
-
modelProperties: {
|
120
|
-
error: {
|
121
|
-
serializedName: "error",
|
122
|
-
type: {
|
123
|
-
name: "Composite",
|
124
|
-
className: "ErrorDetail"
|
125
|
-
}
|
126
|
-
}
|
127
|
-
}
|
128
|
-
}
|
129
|
-
};
|
130
|
-
export const EmailMessage = {
|
131
|
-
type: {
|
132
|
-
name: "Composite",
|
133
|
-
className: "EmailMessage",
|
134
|
-
modelProperties: {
|
135
|
-
headers: {
|
136
|
-
serializedName: "headers",
|
137
|
-
type: {
|
138
|
-
name: "Dictionary",
|
139
|
-
value: { type: { name: "String" } }
|
140
|
-
}
|
141
|
-
},
|
142
|
-
senderAddress: {
|
143
|
-
serializedName: "senderAddress",
|
144
|
-
required: true,
|
145
|
-
type: {
|
146
|
-
name: "String"
|
147
|
-
}
|
148
|
-
},
|
149
|
-
content: {
|
150
|
-
serializedName: "content",
|
151
|
-
type: {
|
152
|
-
name: "Composite",
|
153
|
-
className: "EmailContent"
|
154
|
-
}
|
155
|
-
},
|
156
|
-
recipients: {
|
157
|
-
serializedName: "recipients",
|
158
|
-
type: {
|
159
|
-
name: "Composite",
|
160
|
-
className: "EmailRecipients"
|
161
|
-
}
|
162
|
-
},
|
163
|
-
attachments: {
|
164
|
-
serializedName: "attachments",
|
165
|
-
type: {
|
166
|
-
name: "Sequence",
|
167
|
-
element: {
|
168
|
-
type: {
|
169
|
-
name: "Composite",
|
170
|
-
className: "EmailAttachment"
|
171
|
-
}
|
172
|
-
}
|
173
|
-
}
|
174
|
-
},
|
175
|
-
replyTo: {
|
176
|
-
serializedName: "replyTo",
|
177
|
-
type: {
|
178
|
-
name: "Sequence",
|
179
|
-
element: {
|
180
|
-
type: {
|
181
|
-
name: "Composite",
|
182
|
-
className: "EmailAddress"
|
183
|
-
}
|
184
|
-
}
|
185
|
-
}
|
186
|
-
},
|
187
|
-
disableUserEngagementTracking: {
|
188
|
-
serializedName: "userEngagementTrackingDisabled",
|
189
|
-
type: {
|
190
|
-
name: "Boolean"
|
191
|
-
}
|
192
|
-
}
|
193
|
-
}
|
194
|
-
}
|
195
|
-
};
|
196
|
-
export const EmailContent = {
|
197
|
-
type: {
|
198
|
-
name: "Composite",
|
199
|
-
className: "EmailContent",
|
200
|
-
modelProperties: {
|
201
|
-
subject: {
|
202
|
-
serializedName: "subject",
|
203
|
-
required: true,
|
204
|
-
type: {
|
205
|
-
name: "String"
|
206
|
-
}
|
207
|
-
},
|
208
|
-
plainText: {
|
209
|
-
serializedName: "plainText",
|
210
|
-
type: {
|
211
|
-
name: "String"
|
212
|
-
}
|
213
|
-
},
|
214
|
-
html: {
|
215
|
-
serializedName: "html",
|
216
|
-
type: {
|
217
|
-
name: "String"
|
218
|
-
}
|
219
|
-
}
|
220
|
-
}
|
221
|
-
}
|
222
|
-
};
|
223
|
-
export const EmailRecipients = {
|
224
|
-
type: {
|
225
|
-
name: "Composite",
|
226
|
-
className: "EmailRecipients",
|
227
|
-
modelProperties: {
|
228
|
-
to: {
|
229
|
-
serializedName: "to",
|
230
|
-
type: {
|
231
|
-
name: "Sequence",
|
232
|
-
element: {
|
233
|
-
type: {
|
234
|
-
name: "Composite",
|
235
|
-
className: "EmailAddress"
|
236
|
-
}
|
237
|
-
}
|
238
|
-
}
|
239
|
-
},
|
240
|
-
cc: {
|
241
|
-
serializedName: "cc",
|
242
|
-
type: {
|
243
|
-
name: "Sequence",
|
244
|
-
element: {
|
245
|
-
type: {
|
246
|
-
name: "Composite",
|
247
|
-
className: "EmailAddress"
|
248
|
-
}
|
249
|
-
}
|
250
|
-
}
|
251
|
-
},
|
252
|
-
bcc: {
|
253
|
-
serializedName: "bcc",
|
254
|
-
type: {
|
255
|
-
name: "Sequence",
|
256
|
-
element: {
|
257
|
-
type: {
|
258
|
-
name: "Composite",
|
259
|
-
className: "EmailAddress"
|
260
|
-
}
|
261
|
-
}
|
262
|
-
}
|
263
|
-
}
|
264
|
-
}
|
265
|
-
}
|
266
|
-
};
|
267
|
-
export const EmailAddress = {
|
268
|
-
type: {
|
269
|
-
name: "Composite",
|
270
|
-
className: "EmailAddress",
|
271
|
-
modelProperties: {
|
272
|
-
address: {
|
273
|
-
serializedName: "address",
|
274
|
-
required: true,
|
275
|
-
type: {
|
276
|
-
name: "String"
|
277
|
-
}
|
278
|
-
},
|
279
|
-
displayName: {
|
280
|
-
serializedName: "displayName",
|
281
|
-
type: {
|
282
|
-
name: "String"
|
283
|
-
}
|
284
|
-
}
|
285
|
-
}
|
286
|
-
}
|
287
|
-
};
|
288
|
-
export const EmailAttachment = {
|
289
|
-
type: {
|
290
|
-
name: "Composite",
|
291
|
-
className: "EmailAttachment",
|
292
|
-
modelProperties: {
|
293
|
-
name: {
|
294
|
-
serializedName: "name",
|
295
|
-
required: true,
|
296
|
-
type: {
|
297
|
-
name: "String"
|
298
|
-
}
|
299
|
-
},
|
300
|
-
contentType: {
|
301
|
-
serializedName: "contentType",
|
302
|
-
required: true,
|
303
|
-
type: {
|
304
|
-
name: "String"
|
305
|
-
}
|
306
|
-
},
|
307
|
-
contentInBase64: {
|
308
|
-
serializedName: "contentInBase64",
|
309
|
-
required: true,
|
310
|
-
type: {
|
311
|
-
name: "String"
|
312
|
-
}
|
313
|
-
},
|
314
|
-
contentId: {
|
315
|
-
serializedName: "contentId",
|
316
|
-
type: {
|
317
|
-
name: "String"
|
318
|
-
}
|
319
|
-
}
|
320
|
-
}
|
321
|
-
}
|
322
|
-
};
|
323
|
-
export const EmailGetSendResultHeaders = {
|
324
|
-
type: {
|
325
|
-
name: "Composite",
|
326
|
-
className: "EmailGetSendResultHeaders",
|
327
|
-
modelProperties: {
|
328
|
-
retryAfter: {
|
329
|
-
serializedName: "retry-after",
|
330
|
-
type: {
|
331
|
-
name: "Number"
|
332
|
-
}
|
333
|
-
}
|
334
|
-
}
|
335
|
-
}
|
336
|
-
};
|
337
|
-
export const EmailGetSendResultExceptionHeaders = {
|
338
|
-
type: {
|
339
|
-
name: "Composite",
|
340
|
-
className: "EmailGetSendResultExceptionHeaders",
|
341
|
-
modelProperties: {
|
342
|
-
xMsErrorCode: {
|
343
|
-
serializedName: "x-ms-error-code",
|
344
|
-
type: {
|
345
|
-
name: "String"
|
346
|
-
}
|
347
|
-
}
|
348
|
-
}
|
349
|
-
}
|
350
|
-
};
|
351
|
-
export const EmailSendHeaders = {
|
352
|
-
type: {
|
353
|
-
name: "Composite",
|
354
|
-
className: "EmailSendHeaders",
|
355
|
-
modelProperties: {
|
356
|
-
operationLocation: {
|
357
|
-
serializedName: "operation-location",
|
358
|
-
type: {
|
359
|
-
name: "String"
|
360
|
-
}
|
361
|
-
},
|
362
|
-
retryAfter: {
|
363
|
-
serializedName: "retry-after",
|
364
|
-
type: {
|
365
|
-
name: "Number"
|
366
|
-
}
|
367
|
-
}
|
368
|
-
}
|
369
|
-
}
|
370
|
-
};
|
371
|
-
export const EmailSendExceptionHeaders = {
|
372
|
-
type: {
|
373
|
-
name: "Composite",
|
374
|
-
className: "EmailSendExceptionHeaders",
|
375
|
-
modelProperties: {
|
376
|
-
xMsErrorCode: {
|
377
|
-
serializedName: "x-ms-error-code",
|
378
|
-
type: {
|
379
|
-
name: "String"
|
380
|
-
}
|
381
|
-
}
|
382
|
-
}
|
383
|
-
}
|
384
|
-
};
|
385
|
-
//# sourceMappingURL=mappers.js.map
|
@@ -1 +0,0 @@
|
|
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;gB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CAAC;AAEF,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"]}
|