@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,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,10 +0,0 @@
|
|
1
|
-
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
|
2
|
-
export declare const accept: OperationParameter;
|
3
|
-
export declare const endpoint: OperationURLParameter;
|
4
|
-
export declare const operationId: OperationURLParameter;
|
5
|
-
export declare const apiVersion: OperationQueryParameter;
|
6
|
-
export declare const contentType: OperationParameter;
|
7
|
-
export declare const message: OperationParameter;
|
8
|
-
export declare const operationId1: OperationParameter;
|
9
|
-
export declare const clientRequestId: OperationParameter;
|
10
|
-
//# sourceMappingURL=parameters.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAG5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,qBASzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,kBAGrB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,kBAQ1B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,kBAQ7B,CAAC"}
|
@@ -1,85 +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
|
-
import { EmailMessage as EmailMessageMapper } from "../models/mappers.js";
|
9
|
-
export const accept = {
|
10
|
-
parameterPath: "accept",
|
11
|
-
mapper: {
|
12
|
-
defaultValue: "application/json",
|
13
|
-
isConstant: true,
|
14
|
-
serializedName: "Accept",
|
15
|
-
type: {
|
16
|
-
name: "String"
|
17
|
-
}
|
18
|
-
}
|
19
|
-
};
|
20
|
-
export const endpoint = {
|
21
|
-
parameterPath: "endpoint",
|
22
|
-
mapper: {
|
23
|
-
serializedName: "endpoint",
|
24
|
-
required: true,
|
25
|
-
type: {
|
26
|
-
name: "String"
|
27
|
-
}
|
28
|
-
},
|
29
|
-
skipEncoding: true
|
30
|
-
};
|
31
|
-
export const operationId = {
|
32
|
-
parameterPath: "operationId",
|
33
|
-
mapper: {
|
34
|
-
serializedName: "operationId",
|
35
|
-
required: true,
|
36
|
-
type: {
|
37
|
-
name: "String"
|
38
|
-
}
|
39
|
-
}
|
40
|
-
};
|
41
|
-
export const apiVersion = {
|
42
|
-
parameterPath: "apiVersion",
|
43
|
-
mapper: {
|
44
|
-
defaultValue: "2024-07-01-preview",
|
45
|
-
isConstant: true,
|
46
|
-
serializedName: "api-version",
|
47
|
-
type: {
|
48
|
-
name: "String"
|
49
|
-
}
|
50
|
-
}
|
51
|
-
};
|
52
|
-
export const contentType = {
|
53
|
-
parameterPath: ["options", "contentType"],
|
54
|
-
mapper: {
|
55
|
-
defaultValue: "application/json",
|
56
|
-
isConstant: true,
|
57
|
-
serializedName: "Content-Type",
|
58
|
-
type: {
|
59
|
-
name: "String"
|
60
|
-
}
|
61
|
-
}
|
62
|
-
};
|
63
|
-
export const message = {
|
64
|
-
parameterPath: "message",
|
65
|
-
mapper: EmailMessageMapper
|
66
|
-
};
|
67
|
-
export const operationId1 = {
|
68
|
-
parameterPath: ["options", "operationId"],
|
69
|
-
mapper: {
|
70
|
-
serializedName: "Operation-Id",
|
71
|
-
type: {
|
72
|
-
name: "Uuid"
|
73
|
-
}
|
74
|
-
}
|
75
|
-
};
|
76
|
-
export const clientRequestId = {
|
77
|
-
parameterPath: ["options", "clientRequestId"],
|
78
|
-
mapper: {
|
79
|
-
serializedName: "x-ms-client-request-id",
|
80
|
-
type: {
|
81
|
-
name: "Uuid"
|
82
|
-
}
|
83
|
-
}
|
84
|
-
};
|
85
|
-
//# sourceMappingURL=parameters.js.map
|
@@ -1,33 +0,0 @@
|
|
1
|
-
import { Email } from "../operationsInterfaces/index.js";
|
2
|
-
import { EmailRestApiClient } from "../emailRestApiClient.js";
|
3
|
-
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
4
|
-
import { EmailGetSendResultOptionalParams, EmailGetSendResultResponse, EmailMessage, EmailSendOptionalParams, EmailSendResponse } from "../models/index.js";
|
5
|
-
/** Class containing Email operations. */
|
6
|
-
export declare class EmailImpl implements Email {
|
7
|
-
private readonly client;
|
8
|
-
/**
|
9
|
-
* Initialize a new instance of the class Email class.
|
10
|
-
* @param client Reference to the service client
|
11
|
-
*/
|
12
|
-
constructor(client: EmailRestApiClient);
|
13
|
-
/**
|
14
|
-
* Gets the status of the email send operation.
|
15
|
-
* @param operationId ID of the long running operation (GUID) returned from a previous call to send
|
16
|
-
* email
|
17
|
-
* @param options The options parameters.
|
18
|
-
*/
|
19
|
-
getSendResult(operationId: string, options?: EmailGetSendResultOptionalParams): Promise<EmailGetSendResultResponse>;
|
20
|
-
/**
|
21
|
-
* Queues an email message to be sent to one or more recipients
|
22
|
-
* @param message Message payload for sending an email
|
23
|
-
* @param options The options parameters.
|
24
|
-
*/
|
25
|
-
beginSend(message: EmailMessage, options?: EmailSendOptionalParams): Promise<PollerLike<PollOperationState<EmailSendResponse>, EmailSendResponse>>;
|
26
|
-
/**
|
27
|
-
* Queues an email message to be sent to one or more recipients
|
28
|
-
* @param message Message payload for sending an email
|
29
|
-
* @param options The options parameters.
|
30
|
-
*/
|
31
|
-
beginSendAndWait(message: EmailMessage, options?: EmailSendOptionalParams): Promise<EmailSendResponse>;
|
32
|
-
}
|
33
|
-
//# sourceMappingURL=email.d.ts.map
|
@@ -1 +0,0 @@
|
|
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,135 +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
|
-
import * as coreClient from "@azure/core-client";
|
9
|
-
import * as Mappers from "../models/mappers.js";
|
10
|
-
import * as Parameters from "../models/parameters.js";
|
11
|
-
import { LroEngine } from "@azure/core-lro";
|
12
|
-
import { LroImpl } from "../lroImpl.js";
|
13
|
-
/** Class containing Email operations. */
|
14
|
-
export class EmailImpl {
|
15
|
-
/**
|
16
|
-
* Initialize a new instance of the class Email class.
|
17
|
-
* @param client Reference to the service client
|
18
|
-
*/
|
19
|
-
constructor(client) {
|
20
|
-
this.client = client;
|
21
|
-
}
|
22
|
-
/**
|
23
|
-
* Gets the status of the email send operation.
|
24
|
-
* @param operationId ID of the long running operation (GUID) returned from a previous call to send
|
25
|
-
* email
|
26
|
-
* @param options The options parameters.
|
27
|
-
*/
|
28
|
-
getSendResult(operationId, options) {
|
29
|
-
return this.client.sendOperationRequest({ operationId, options }, getSendResultOperationSpec);
|
30
|
-
}
|
31
|
-
/**
|
32
|
-
* Queues an email message to be sent to one or more recipients
|
33
|
-
* @param message Message payload for sending an email
|
34
|
-
* @param options The options parameters.
|
35
|
-
*/
|
36
|
-
async beginSend(message, options) {
|
37
|
-
const directSendOperation = async (args, spec) => {
|
38
|
-
return this.client.sendOperationRequest(args, spec);
|
39
|
-
};
|
40
|
-
const sendOperation = async (args, spec) => {
|
41
|
-
var _a;
|
42
|
-
let currentRawResponse = undefined;
|
43
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
44
|
-
const callback = (rawResponse, flatResponse) => {
|
45
|
-
currentRawResponse = rawResponse;
|
46
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
47
|
-
};
|
48
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
49
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
50
|
-
return {
|
51
|
-
flatResponse,
|
52
|
-
rawResponse: {
|
53
|
-
statusCode: currentRawResponse.status,
|
54
|
-
body: currentRawResponse.parsedBody,
|
55
|
-
headers: currentRawResponse.headers.toJSON()
|
56
|
-
}
|
57
|
-
};
|
58
|
-
};
|
59
|
-
const lro = new LroImpl(sendOperation, { message, options }, sendOperationSpec);
|
60
|
-
const poller = new LroEngine(lro, {
|
61
|
-
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
62
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
63
|
-
lroResourceLocationConfig: "azure-async-operation"
|
64
|
-
});
|
65
|
-
await poller.poll();
|
66
|
-
return poller;
|
67
|
-
}
|
68
|
-
/**
|
69
|
-
* Queues an email message to be sent to one or more recipients
|
70
|
-
* @param message Message payload for sending an email
|
71
|
-
* @param options The options parameters.
|
72
|
-
*/
|
73
|
-
async beginSendAndWait(message, options) {
|
74
|
-
const poller = await this.beginSend(message, options);
|
75
|
-
return poller.pollUntilDone();
|
76
|
-
}
|
77
|
-
}
|
78
|
-
// Operation Specifications
|
79
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
80
|
-
const getSendResultOperationSpec = {
|
81
|
-
path: "/emails/operations/{operationId}",
|
82
|
-
httpMethod: "GET",
|
83
|
-
responses: {
|
84
|
-
200: {
|
85
|
-
bodyMapper: Mappers.EmailSendResult,
|
86
|
-
headersMapper: Mappers.EmailGetSendResultHeaders
|
87
|
-
},
|
88
|
-
default: {
|
89
|
-
bodyMapper: Mappers.ErrorResponse,
|
90
|
-
headersMapper: Mappers.EmailGetSendResultExceptionHeaders
|
91
|
-
}
|
92
|
-
},
|
93
|
-
queryParameters: [Parameters.apiVersion],
|
94
|
-
urlParameters: [Parameters.endpoint, Parameters.operationId],
|
95
|
-
headerParameters: [Parameters.accept],
|
96
|
-
serializer
|
97
|
-
};
|
98
|
-
const sendOperationSpec = {
|
99
|
-
path: "/emails:send",
|
100
|
-
httpMethod: "POST",
|
101
|
-
responses: {
|
102
|
-
200: {
|
103
|
-
bodyMapper: Mappers.EmailSendResult,
|
104
|
-
headersMapper: Mappers.EmailSendHeaders
|
105
|
-
},
|
106
|
-
201: {
|
107
|
-
bodyMapper: Mappers.EmailSendResult,
|
108
|
-
headersMapper: Mappers.EmailSendHeaders
|
109
|
-
},
|
110
|
-
202: {
|
111
|
-
bodyMapper: Mappers.EmailSendResult,
|
112
|
-
headersMapper: Mappers.EmailSendHeaders
|
113
|
-
},
|
114
|
-
204: {
|
115
|
-
bodyMapper: Mappers.EmailSendResult,
|
116
|
-
headersMapper: Mappers.EmailSendHeaders
|
117
|
-
},
|
118
|
-
default: {
|
119
|
-
bodyMapper: Mappers.ErrorResponse,
|
120
|
-
headersMapper: Mappers.EmailSendExceptionHeaders
|
121
|
-
}
|
122
|
-
},
|
123
|
-
requestBody: Parameters.message,
|
124
|
-
queryParameters: [Parameters.apiVersion],
|
125
|
-
urlParameters: [Parameters.endpoint],
|
126
|
-
headerParameters: [
|
127
|
-
Parameters.accept,
|
128
|
-
Parameters.contentType,
|
129
|
-
Parameters.operationId1,
|
130
|
-
Parameters.clientRequestId
|
131
|
-
],
|
132
|
-
mediaType: "json",
|
133
|
-
serializer
|
134
|
-
};
|
135
|
-
//# sourceMappingURL=email.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"email.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/email.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAA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UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,cAAc;IACpB,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;YACnC,aAAa,EAAE,OAAO,CAAC,gBAAgB;SACxC;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;YACnC,aAAa,EAAE,OAAO,CAAC,gBAAgB;SACxC;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;YACnC,aAAa,EAAE,OAAO,CAAC,gBAAgB;SACxC;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;YACnC,aAAa,EAAE,OAAO,CAAC,gBAAgB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;YACjC,aAAa,EAAE,OAAO,CAAC,yBAAyB;SACjD;KACF;IACD,WAAW,EAAE,UAAU,CAAC,OAAO;IAC/B,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;IACpC,gBAAgB,EAAE;QAChB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,eAAe;KAC3B;IACD,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { Email } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { EmailRestApiClient } from \"../emailRestApiClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n EmailGetSendResultOptionalParams,\n EmailGetSendResultResponse,\n EmailMessage,\n EmailSendOptionalParams,\n EmailSendResponse\n} from \"../models/index.js\";\n\n/** Class containing Email operations. */\nexport class EmailImpl implements Email {\n private readonly client: EmailRestApiClient;\n\n /**\n * Initialize a new instance of the class Email class.\n * @param client Reference to the service client\n */\n constructor(client: EmailRestApiClient) {\n this.client = client;\n }\n\n /**\n * Gets the status of the email send operation.\n * @param operationId ID of the long running operation (GUID) returned from a previous call to send\n * email\n * @param options The options parameters.\n */\n getSendResult(\n operationId: string,\n options?: EmailGetSendResultOptionalParams\n ): Promise<EmailGetSendResultResponse> {\n return this.client.sendOperationRequest(\n { operationId, options },\n getSendResultOperationSpec\n );\n }\n\n /**\n * Queues an email message to be sent to one or more recipients\n * @param message Message payload for sending an email\n * @param options The options parameters.\n */\n async beginSend(\n message: EmailMessage,\n options?: EmailSendOptionalParams\n ): Promise<\n PollerLike<PollOperationState<EmailSendResponse>, EmailSendResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<EmailSendResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { message, options },\n sendOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Queues an email message to be sent to one or more recipients\n * @param message Message payload for sending an email\n * @param options The options parameters.\n */\n async beginSendAndWait(\n message: EmailMessage,\n options?: EmailSendOptionalParams\n ): Promise<EmailSendResponse> {\n const poller = await this.beginSend(message, options);\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getSendResultOperationSpec: coreClient.OperationSpec = {\n path: \"/emails/operations/{operationId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EmailSendResult,\n headersMapper: Mappers.EmailGetSendResultHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n headersMapper: Mappers.EmailGetSendResultExceptionHeaders\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.operationId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst sendOperationSpec: coreClient.OperationSpec = {\n path: \"/emails:send\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.EmailSendResult,\n headersMapper: Mappers.EmailSendHeaders\n },\n 201: {\n bodyMapper: Mappers.EmailSendResult,\n headersMapper: Mappers.EmailSendHeaders\n },\n 202: {\n bodyMapper: Mappers.EmailSendResult,\n headersMapper: Mappers.EmailSendHeaders\n },\n 204: {\n bodyMapper: Mappers.EmailSendResult,\n headersMapper: Mappers.EmailSendHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n headersMapper: Mappers.EmailSendExceptionHeaders\n }\n },\n requestBody: Parameters.message,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType,\n Parameters.operationId1,\n Parameters.clientRequestId\n ],\n mediaType: \"json\",\n serializer\n};\n"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,YAAY,CAAC"}
|
@@ -1,9 +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 * from "./email.js";
|
9
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,YAAY,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\nexport * from \"./email.js\";\n"]}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
2
|
-
import { EmailGetSendResultOptionalParams, EmailGetSendResultResponse, EmailMessage, EmailSendOptionalParams, EmailSendResponse } from "../models/index.js";
|
3
|
-
/** Interface representing a Email. */
|
4
|
-
export interface Email {
|
5
|
-
/**
|
6
|
-
* Gets the status of the email send operation.
|
7
|
-
* @param operationId ID of the long running operation (GUID) returned from a previous call to send
|
8
|
-
* email
|
9
|
-
* @param options The options parameters.
|
10
|
-
*/
|
11
|
-
getSendResult(operationId: string, options?: EmailGetSendResultOptionalParams): Promise<EmailGetSendResultResponse>;
|
12
|
-
/**
|
13
|
-
* Queues an email message to be sent to one or more recipients
|
14
|
-
* @param message Message payload for sending an email
|
15
|
-
* @param options The options parameters.
|
16
|
-
*/
|
17
|
-
beginSend(message: EmailMessage, options?: EmailSendOptionalParams): Promise<PollerLike<PollOperationState<EmailSendResponse>, EmailSendResponse>>;
|
18
|
-
/**
|
19
|
-
* Queues an email message to be sent to one or more recipients
|
20
|
-
* @param message Message payload for sending an email
|
21
|
-
* @param options The options parameters.
|
22
|
-
*/
|
23
|
-
beginSendAndWait(message: EmailMessage, options?: EmailSendOptionalParams): Promise<EmailSendResponse>;
|
24
|
-
}
|
25
|
-
//# sourceMappingURL=email.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"email.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/email.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,gCAAgC,EAChC,0BAA0B,EAC1B,YAAY,EACZ,uBAAuB,EACvB,iBAAiB,EAClB,MAAM,oBAAoB,CAAC;AAE5B,sCAAsC;AACtC,MAAM,WAAW,KAAK;IACpB;;;;;OAKG;IACH,aAAa,CACX,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;OAIG;IACH,SAAS,CACP,OAAO,EAAE,YAAY,EACrB,OAAO,CAAC,EAAE,uBAAuB,GAChC,OAAO,CACR,UAAU,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC,CACrE,CAAC;IACF;;;;OAIG;IACH,gBAAgB,CACd,OAAO,EAAE,YAAY,EACrB,OAAO,CAAC,EAAE,uBAAuB,GAChC,OAAO,CAAC,iBAAiB,CAAC,CAAC;CAC/B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"email.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/email.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PollerLike, PollOperationState } from \"@azure/core-lro\";\nimport {\n EmailGetSendResultOptionalParams,\n EmailGetSendResultResponse,\n EmailMessage,\n EmailSendOptionalParams,\n EmailSendResponse\n} from \"../models/index.js\";\n\n/** Interface representing a Email. */\nexport interface Email {\n /**\n * Gets the status of the email send operation.\n * @param operationId ID of the long running operation (GUID) returned from a previous call to send\n * email\n * @param options The options parameters.\n */\n getSendResult(\n operationId: string,\n options?: EmailGetSendResultOptionalParams\n ): Promise<EmailGetSendResultResponse>;\n /**\n * Queues an email message to be sent to one or more recipients\n * @param message Message payload for sending an email\n * @param options The options parameters.\n */\n beginSend(\n message: EmailMessage,\n options?: EmailSendOptionalParams\n ): Promise<\n PollerLike<PollOperationState<EmailSendResponse>, EmailSendResponse>\n >;\n /**\n * Queues an email message to be sent to one or more recipients\n * @param message Message payload for sending an email\n * @param options The options parameters.\n */\n beginSendAndWait(\n message: EmailMessage,\n options?: EmailSendOptionalParams\n ): Promise<EmailSendResponse>;\n}\n"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,YAAY,CAAC"}
|
@@ -1,9 +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 * from "./email.js";
|
9
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,YAAY,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\nexport * from \"./email.js\";\n"]}
|
package/dist/browser/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC"}
|
package/dist/browser/index.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport * from \"./emailClient.js\";\nexport * from \"./models.js\";\n"]}
|
package/dist/browser/logger.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/logger.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,MAAM,qCAA4C,CAAC"}
|