@mobilerun/sdk 5.5.0 → 5.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/client.d.mts +8 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +8 -8
- package/client.d.ts.map +1 -1
- package/client.js +1 -0
- package/client.js.map +1 -1
- package/client.mjs +2 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +18 -15
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +18 -15
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +5 -2
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +5 -2
- package/resources/apps.mjs.map +1 -1
- package/resources/assistant/conversations.d.mts +7 -17
- package/resources/assistant/conversations.d.mts.map +1 -1
- package/resources/assistant/conversations.d.ts +7 -17
- package/resources/assistant/conversations.d.ts.map +1 -1
- package/resources/assistant/conversations.js +4 -11
- package/resources/assistant/conversations.js.map +1 -1
- package/resources/assistant/conversations.mjs +4 -11
- package/resources/assistant/conversations.mjs.map +1 -1
- package/resources/connect/connect.d.mts +2 -2
- package/resources/connect/connect.d.mts.map +1 -1
- package/resources/connect/connect.d.ts +2 -2
- package/resources/connect/connect.d.ts.map +1 -1
- package/resources/connect/connect.js.map +1 -1
- package/resources/connect/connect.mjs.map +1 -1
- package/resources/connect/index.d.mts +1 -1
- package/resources/connect/index.d.mts.map +1 -1
- package/resources/connect/index.d.ts +1 -1
- package/resources/connect/index.d.ts.map +1 -1
- package/resources/connect/index.js.map +1 -1
- package/resources/connect/index.mjs.map +1 -1
- package/resources/connect/proxies.d.mts +94 -11
- package/resources/connect/proxies.d.mts.map +1 -1
- package/resources/connect/proxies.d.ts +94 -11
- package/resources/connect/proxies.d.ts.map +1 -1
- package/resources/connect/proxies.js +21 -10
- package/resources/connect/proxies.js.map +1 -1
- package/resources/connect/proxies.mjs +21 -10
- package/resources/connect/proxies.mjs.map +1 -1
- package/resources/devices/browser.d.mts +9 -3
- package/resources/devices/browser.d.mts.map +1 -1
- package/resources/devices/browser.d.ts +9 -3
- package/resources/devices/browser.d.ts.map +1 -1
- package/resources/devices/browser.js +9 -3
- package/resources/devices/browser.js.map +1 -1
- package/resources/devices/browser.mjs +9 -3
- package/resources/devices/browser.mjs.map +1 -1
- package/resources/devices/devices.d.mts +52 -23
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +52 -23
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +17 -7
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +17 -7
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/index.d.mts +1 -1
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +1 -1
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/recordings.d.mts +4 -2
- package/resources/devices/recordings.d.mts.map +1 -1
- package/resources/devices/recordings.d.ts +4 -2
- package/resources/devices/recordings.d.ts.map +1 -1
- package/resources/devices/traffic-sessions.d.mts +1 -11
- package/resources/devices/traffic-sessions.d.mts.map +1 -1
- package/resources/devices/traffic-sessions.d.ts +1 -11
- package/resources/devices/traffic-sessions.d.ts.map +1 -1
- package/resources/devices/traffic-sessions.js +2 -8
- package/resources/devices/traffic-sessions.js.map +1 -1
- package/resources/devices/traffic-sessions.mjs +2 -8
- package/resources/devices/traffic-sessions.mjs.map +1 -1
- package/resources/files.d.mts +5 -19
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +5 -19
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +2 -10
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +2 -10
- package/resources/files.mjs.map +1 -1
- package/resources/index.d.mts +4 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/mailboxes/connections.d.mts +64 -0
- package/resources/mailboxes/connections.d.mts.map +1 -0
- package/resources/mailboxes/connections.d.ts +64 -0
- package/resources/mailboxes/connections.d.ts.map +1 -0
- package/resources/mailboxes/connections.js +42 -0
- package/resources/mailboxes/connections.js.map +1 -0
- package/resources/mailboxes/connections.mjs +38 -0
- package/resources/mailboxes/connections.mjs.map +1 -0
- package/resources/mailboxes/index.d.mts +2 -1
- package/resources/mailboxes/index.d.mts.map +1 -1
- package/resources/mailboxes/index.d.ts +2 -1
- package/resources/mailboxes/index.d.ts.map +1 -1
- package/resources/mailboxes/index.js +3 -1
- package/resources/mailboxes/index.js.map +1 -1
- package/resources/mailboxes/index.mjs +1 -0
- package/resources/mailboxes/index.mjs.map +1 -1
- package/resources/mailboxes/mailboxes.d.mts +73 -24
- package/resources/mailboxes/mailboxes.d.mts.map +1 -1
- package/resources/mailboxes/mailboxes.d.ts +73 -24
- package/resources/mailboxes/mailboxes.d.ts.map +1 -1
- package/resources/mailboxes/mailboxes.js +25 -8
- package/resources/mailboxes/mailboxes.js.map +1 -1
- package/resources/mailboxes/mailboxes.mjs +25 -8
- package/resources/mailboxes/mailboxes.mjs.map +1 -1
- package/resources/messages/index.d.mts +1 -1
- package/resources/messages/index.d.mts.map +1 -1
- package/resources/messages/index.d.ts +1 -1
- package/resources/messages/index.d.ts.map +1 -1
- package/resources/messages/index.js.map +1 -1
- package/resources/messages/index.mjs +1 -1
- package/resources/messages/index.mjs.map +1 -1
- package/resources/messages/messages.d.mts +26 -1
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +26 -1
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js +9 -0
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs +9 -0
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/notifications.d.mts +27 -1
- package/resources/notifications.d.mts.map +1 -1
- package/resources/notifications.d.ts +27 -1
- package/resources/notifications.d.ts.map +1 -1
- package/resources/notifications.js +17 -0
- package/resources/notifications.js.map +1 -1
- package/resources/notifications.mjs +17 -0
- package/resources/notifications.mjs.map +1 -1
- package/resources/numbers/index.d.mts +1 -1
- package/resources/numbers/index.d.mts.map +1 -1
- package/resources/numbers/index.d.ts +1 -1
- package/resources/numbers/index.d.ts.map +1 -1
- package/resources/numbers/index.js.map +1 -1
- package/resources/numbers/index.mjs +1 -1
- package/resources/numbers/index.mjs.map +1 -1
- package/resources/numbers/messages.d.mts +60 -1
- package/resources/numbers/messages.d.mts.map +1 -1
- package/resources/numbers/messages.d.ts +60 -1
- package/resources/numbers/messages.d.ts.map +1 -1
- package/resources/numbers/messages.js +21 -0
- package/resources/numbers/messages.js.map +1 -1
- package/resources/numbers/messages.mjs +21 -0
- package/resources/numbers/messages.mjs.map +1 -1
- package/resources/numbers/numbers.d.mts +123 -15
- package/resources/numbers/numbers.d.mts.map +1 -1
- package/resources/numbers/numbers.d.ts +123 -15
- package/resources/numbers/numbers.d.ts.map +1 -1
- package/resources/numbers/numbers.js +2 -11
- package/resources/numbers/numbers.js.map +1 -1
- package/resources/numbers/numbers.mjs +3 -12
- package/resources/numbers/numbers.mjs.map +1 -1
- package/resources/store/apps.d.mts +23 -2
- package/resources/store/apps.d.mts.map +1 -1
- package/resources/store/apps.d.ts +23 -2
- package/resources/store/apps.d.ts.map +1 -1
- package/resources/tasks/tasks.d.mts +16 -55
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +16 -55
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js +2 -10
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs +2 -10
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/webhooks/deliveries.d.mts +22 -31
- package/resources/webhooks/deliveries.d.mts.map +1 -1
- package/resources/webhooks/deliveries.d.ts +22 -31
- package/resources/webhooks/deliveries.d.ts.map +1 -1
- package/resources/webhooks/deliveries.js +4 -30
- package/resources/webhooks/deliveries.js.map +1 -1
- package/resources/webhooks/deliveries.mjs +4 -30
- package/resources/webhooks/deliveries.mjs.map +1 -1
- package/resources/webhooks/index.d.mts +1 -0
- package/resources/webhooks/index.d.mts.map +1 -1
- package/resources/webhooks/index.d.ts +1 -0
- package/resources/webhooks/index.d.ts.map +1 -1
- package/resources/webhooks/index.js +3 -1
- package/resources/webhooks/index.js.map +1 -1
- package/resources/webhooks/index.mjs +1 -0
- package/resources/webhooks/index.mjs.map +1 -1
- package/resources/webhooks/integrations.d.mts +77 -0
- package/resources/webhooks/integrations.d.mts.map +1 -0
- package/resources/webhooks/integrations.d.ts +77 -0
- package/resources/webhooks/integrations.d.ts.map +1 -0
- package/resources/webhooks/integrations.js +26 -0
- package/resources/webhooks/integrations.js.map +1 -0
- package/resources/webhooks/integrations.mjs +22 -0
- package/resources/webhooks/integrations.mjs.map +1 -0
- package/resources/webhooks/webhooks.d.mts +279 -71
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +279 -71
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js +27 -60
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs +27 -60
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/resources/workflows/action-catalog.d.mts +7 -3
- package/resources/workflows/action-catalog.d.mts.map +1 -1
- package/resources/workflows/action-catalog.d.ts +7 -3
- package/resources/workflows/action-catalog.d.ts.map +1 -1
- package/resources/workflows/actions/actions.d.mts +9 -5
- package/resources/workflows/actions/actions.d.mts.map +1 -1
- package/resources/workflows/actions/actions.d.ts +9 -5
- package/resources/workflows/actions/actions.d.ts.map +1 -1
- package/resources/workflows/actions/actions.js +4 -0
- package/resources/workflows/actions/actions.js.map +1 -1
- package/resources/workflows/actions/actions.mjs +4 -0
- package/resources/workflows/actions/actions.mjs.map +1 -1
- package/resources/workflows/events.d.mts +48 -4
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +48 -4
- package/resources/workflows/events.d.ts.map +1 -1
- package/resources/workflows/executions/executions.d.mts +334 -0
- package/resources/workflows/executions/executions.d.mts.map +1 -0
- package/resources/workflows/executions/executions.d.ts +334 -0
- package/resources/workflows/executions/executions.d.ts.map +1 -0
- package/resources/workflows/executions/executions.js +49 -0
- package/resources/workflows/executions/executions.js.map +1 -0
- package/resources/workflows/executions/executions.mjs +44 -0
- package/resources/workflows/executions/executions.mjs.map +1 -0
- package/resources/workflows/executions/index.d.mts +3 -0
- package/resources/workflows/executions/index.d.mts.map +1 -0
- package/resources/workflows/executions/index.d.ts +3 -0
- package/resources/workflows/executions/index.d.ts.map +1 -0
- package/resources/workflows/executions/index.js +9 -0
- package/resources/workflows/executions/index.js.map +1 -0
- package/resources/workflows/executions/index.mjs +4 -0
- package/resources/workflows/executions/index.mjs.map +1 -0
- package/resources/workflows/executions/screenshots.d.mts +18 -0
- package/resources/workflows/executions/screenshots.d.mts.map +1 -0
- package/resources/workflows/executions/screenshots.d.ts +18 -0
- package/resources/workflows/executions/screenshots.d.ts.map +1 -0
- package/resources/workflows/executions/screenshots.js +23 -0
- package/resources/workflows/executions/screenshots.js.map +1 -0
- package/resources/workflows/executions/screenshots.mjs +19 -0
- package/resources/workflows/executions/screenshots.mjs.map +1 -0
- package/resources/workflows/executions.d.mts +1 -269
- package/resources/workflows/executions.d.mts.map +1 -1
- package/resources/workflows/executions.d.ts +1 -269
- package/resources/workflows/executions.d.ts.map +1 -1
- package/resources/workflows/executions.js +2 -37
- package/resources/workflows/executions.js.map +1 -1
- package/resources/workflows/executions.mjs +1 -35
- package/resources/workflows/executions.mjs.map +1 -1
- package/resources/workflows/flows/actions.d.mts +39 -0
- package/resources/workflows/flows/actions.d.mts.map +1 -1
- package/resources/workflows/flows/actions.d.ts +39 -0
- package/resources/workflows/flows/actions.d.ts.map +1 -1
- package/resources/workflows/flows/actions.js +4 -0
- package/resources/workflows/flows/actions.js.map +1 -1
- package/resources/workflows/flows/actions.mjs +4 -0
- package/resources/workflows/flows/actions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +529 -18
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +529 -18
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +75 -0
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +75 -0
- package/resources/workflows/flows/flows.mjs.map +1 -1
- package/resources/workflows/flows/index.d.mts +1 -1
- package/resources/workflows/flows/index.d.mts.map +1 -1
- package/resources/workflows/flows/index.d.ts +1 -1
- package/resources/workflows/flows/index.d.ts.map +1 -1
- package/resources/workflows/flows/index.js.map +1 -1
- package/resources/workflows/flows/index.mjs.map +1 -1
- package/resources/workflows/index.d.mts +2 -2
- package/resources/workflows/index.d.mts.map +1 -1
- package/resources/workflows/index.d.ts +2 -2
- package/resources/workflows/index.d.ts.map +1 -1
- package/resources/workflows/index.js +4 -4
- package/resources/workflows/index.js.map +1 -1
- package/resources/workflows/index.mjs +1 -1
- package/resources/workflows/index.mjs.map +1 -1
- package/resources/workflows/triggers.d.mts +107 -9
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +107 -9
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/triggers.js +14 -0
- package/resources/workflows/triggers.js.map +1 -1
- package/resources/workflows/triggers.mjs +14 -0
- package/resources/workflows/triggers.mjs.map +1 -1
- package/resources/workflows/workflows.d.mts +4 -4
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +4 -4
- package/resources/workflows/workflows.d.ts.map +1 -1
- package/resources/workflows/workflows.js +2 -2
- package/resources/workflows/workflows.js.map +1 -1
- package/resources/workflows/workflows.mjs +2 -2
- package/resources/workflows/workflows.mjs.map +1 -1
- package/src/client.ts +18 -1
- package/src/resources/apps.ts +18 -15
- package/src/resources/assistant/conversations.ts +12 -27
- package/src/resources/connect/connect.ts +6 -0
- package/src/resources/connect/index.ts +3 -0
- package/src/resources/connect/proxies.ts +119 -19
- package/src/resources/devices/browser.ts +9 -3
- package/src/resources/devices/devices.ts +80 -30
- package/src/resources/devices/index.ts +2 -0
- package/src/resources/devices/recordings.ts +4 -2
- package/src/resources/devices/traffic-sessions.ts +2 -19
- package/src/resources/files.ts +8 -29
- package/src/resources/index.ts +11 -1
- package/src/resources/mailboxes/connections.ts +91 -0
- package/src/resources/mailboxes/index.ts +7 -0
- package/src/resources/mailboxes/mailboxes.ts +146 -24
- package/src/resources/messages/index.ts +6 -1
- package/src/resources/messages/messages.ts +55 -1
- package/src/resources/notifications.ts +37 -0
- package/src/resources/numbers/index.ts +7 -1
- package/src/resources/numbers/messages.ts +92 -1
- package/src/resources/numbers/numbers.ts +143 -25
- package/src/resources/store/apps.ts +291 -2
- package/src/resources/tasks/tasks.ts +18 -65
- package/src/resources/webhooks/deliveries.ts +26 -31
- package/src/resources/webhooks/index.ts +6 -0
- package/src/resources/webhooks/integrations.ts +107 -0
- package/src/resources/webhooks/webhooks.ts +326 -71
- package/src/resources/workflows/action-catalog.ts +11 -3
- package/src/resources/workflows/actions/actions.ts +9 -5
- package/src/resources/workflows/events.ts +62 -4
- package/src/resources/workflows/executions/executions.ts +514 -0
- package/src/resources/workflows/executions/index.ts +12 -0
- package/src/resources/workflows/executions/screenshots.ts +34 -0
- package/src/resources/workflows/executions.ts +1 -412
- package/src/resources/workflows/flows/actions.ts +46 -0
- package/src/resources/workflows/flows/flows.ts +765 -17
- package/src/resources/workflows/flows/index.ts +11 -0
- package/src/resources/workflows/index.ts +12 -1
- package/src/resources/workflows/triggers.ts +128 -10
- package/src/resources/workflows/workflows.ts +32 -10
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/files.mjs
CHANGED
|
@@ -49,16 +49,8 @@ export class Files extends APIResource {
|
|
|
49
49
|
/**
|
|
50
50
|
* Mint a presigned PUT URL for a user file upload
|
|
51
51
|
*/
|
|
52
|
-
uploadURL(
|
|
53
|
-
|
|
54
|
-
return this._client.post('/agents/files/upload-url', {
|
|
55
|
-
body,
|
|
56
|
-
...options,
|
|
57
|
-
headers: buildHeaders([
|
|
58
|
-
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
59
|
-
options?.headers,
|
|
60
|
-
]),
|
|
61
|
-
});
|
|
52
|
+
uploadURL(body, options) {
|
|
53
|
+
return this._client.post('/agents/files/upload-url', { body, ...options });
|
|
62
54
|
}
|
|
63
55
|
}
|
|
64
56
|
//# sourceMappingURL=files.mjs.map
|
package/resources/files.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.mjs","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;OAGG;IACH,MAAM,CACJ,MAAc,EACd,OAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,iBAAiB,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,MAAc,EAAE,O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
|
|
5
5
|
export { Carriers, type CarrierCreateResponse, type CarrierRetrieveResponse, type CarrierUpdateResponse, type CarrierListResponse, type CarrierDeleteResponse, type CarrierLookupResponse, type CarrierCreateParams, type CarrierUpdateParams, type CarrierListParams, type CarrierLookupParams, } from "./carriers.mjs";
|
|
6
6
|
export { Connect } from "./connect/connect.mjs";
|
|
7
7
|
export { Credentials, type CredentialListResponse, type CredentialListParams, } from "./credentials/credentials.mjs";
|
|
8
|
-
export { Devices, type DeviceCreateResponse, type DeviceRetrieveResponse, type DeviceListResponse, type DeviceCountResponse, type DeviceFingerprintResponse, type DeviceRetrieveCapabilitiesResponse, type DeviceSetNameResponse, type DeviceWaitReadyResponse, type DeviceCreateParams, type DeviceListParams, type DeviceFingerprintParams, type DeviceSetNameParams, type DeviceTerminateParams, } from "./devices/devices.mjs";
|
|
8
|
+
export { Devices, type DeviceCreateResponse, type DeviceRetrieveResponse, type DeviceListResponse, type DeviceCountResponse, type DeviceFingerprintResponse, type DeviceRetrieveCapabilitiesResponse, type DeviceSetNameResponse, type DeviceSummaryResponse, type DeviceWaitReadyResponse, type DeviceCreateParams, type DeviceListParams, type DeviceFingerprintParams, type DeviceSetNameParams, type DeviceSummaryParams, type DeviceTerminateParams, } from "./devices/devices.mjs";
|
|
9
9
|
export { Files, type FileUpdateResponse, type FileListResponse, type FileDeleteResponse, type FileCancelPendingResponse, type FileConfirmResponse, type FileUploadURLResponse, type FileUpdateParams, type FileListParams, type FileUploadURLParams, } from "./files.mjs";
|
|
10
|
-
export { Mailboxes, type MailboxCreateResponse, type MailboxRetrieveResponse, type MailboxUpdateResponse, type MailboxListResponse, type MailboxDeleteResponse, type MailboxCapacityResponse, type MailboxOtpResponse, type MailboxRestartResponse, type MailboxUncancelResponse, type MailboxCreateParams, type MailboxUpdateParams, type MailboxListParams, type MailboxOtpParams, type MailboxRestartParams, } from "./mailboxes/mailboxes.mjs";
|
|
11
|
-
export { Messages, type MessageListResponse, type MessageListParams } from "./messages/messages.mjs";
|
|
10
|
+
export { Mailboxes, type MailboxCreateResponse, type MailboxRetrieveResponse, type MailboxUpdateResponse, type MailboxListResponse, type MailboxDeleteResponse, type MailboxCapacityResponse, type MailboxDisconnectResponse, type MailboxOtpResponse, type MailboxRestartResponse, type MailboxUncancelResponse, type MailboxCreateParams, type MailboxUpdateParams, type MailboxListParams, type MailboxOtpParams, type MailboxRestartParams, } from "./mailboxes/mailboxes.mjs";
|
|
11
|
+
export { Messages, type MessageRetrieveResponse, type MessageListResponse, type MessageListParams, } from "./messages/messages.mjs";
|
|
12
12
|
export { Models, type ModelListResponse } from "./models.mjs";
|
|
13
|
-
export { Notifications, type NotificationCatalogResponse, type NotificationGetPreferencesResponse, type NotificationUpdatePreferencesResponse, type NotificationUpdatePreferencesParams, } from "./notifications.mjs";
|
|
13
|
+
export { Notifications, type NotificationApplyPreferencesPresetResponse, type NotificationCatalogResponse, type NotificationGetPreferencesResponse, type NotificationUpdatePreferencesResponse, type NotificationApplyPreferencesPresetParams, type NotificationUpdatePreferencesParams, } from "./notifications.mjs";
|
|
14
14
|
export { Numbers, type NumberCreateResponse, type NumberRetrieveResponse, type NumberUpdateResponse, type NumberListResponse, type NumberDeleteResponse, type NumberCapacityResponse, type NumberCountriesResponse, type NumberPurposesResponse, type NumberCreateParams, type NumberUpdateParams, type NumberListParams, type NumberCapacityParams, } from "./numbers/numbers.mjs";
|
|
15
15
|
export { Profiles, type ProfileCreateResponse, type ProfileRetrieveResponse, type ProfileUpdateResponse, type ProfileListResponse, type ProfileDeleteResponse, type ProfileCreateParams, type ProfileUpdateParams, type ProfileListParams, } from "./profiles.mjs";
|
|
16
16
|
export { Proxies, type ProxyCreateResponse, type ProxyRetrieveResponse, type ProxyUpdateResponse, type ProxyListResponse, type ProxyDeleteResponse, type ProxyLookupResponse, type ProxyCreateParams, type ProxyUpdateParams, type ProxyListParams, type ProxyLookupParams, } from "./proxies.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.m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,EAC1B,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB,gCAA4B;AAC7B,OAAO,EAAE,SAAS,EAAE,kCAA8B"}
|
package/resources/index.d.ts
CHANGED
|
@@ -5,12 +5,12 @@ export { Assistant } from "./assistant/assistant.js";
|
|
|
5
5
|
export { Carriers, type CarrierCreateResponse, type CarrierRetrieveResponse, type CarrierUpdateResponse, type CarrierListResponse, type CarrierDeleteResponse, type CarrierLookupResponse, type CarrierCreateParams, type CarrierUpdateParams, type CarrierListParams, type CarrierLookupParams, } from "./carriers.js";
|
|
6
6
|
export { Connect } from "./connect/connect.js";
|
|
7
7
|
export { Credentials, type CredentialListResponse, type CredentialListParams, } from "./credentials/credentials.js";
|
|
8
|
-
export { Devices, type DeviceCreateResponse, type DeviceRetrieveResponse, type DeviceListResponse, type DeviceCountResponse, type DeviceFingerprintResponse, type DeviceRetrieveCapabilitiesResponse, type DeviceSetNameResponse, type DeviceWaitReadyResponse, type DeviceCreateParams, type DeviceListParams, type DeviceFingerprintParams, type DeviceSetNameParams, type DeviceTerminateParams, } from "./devices/devices.js";
|
|
8
|
+
export { Devices, type DeviceCreateResponse, type DeviceRetrieveResponse, type DeviceListResponse, type DeviceCountResponse, type DeviceFingerprintResponse, type DeviceRetrieveCapabilitiesResponse, type DeviceSetNameResponse, type DeviceSummaryResponse, type DeviceWaitReadyResponse, type DeviceCreateParams, type DeviceListParams, type DeviceFingerprintParams, type DeviceSetNameParams, type DeviceSummaryParams, type DeviceTerminateParams, } from "./devices/devices.js";
|
|
9
9
|
export { Files, type FileUpdateResponse, type FileListResponse, type FileDeleteResponse, type FileCancelPendingResponse, type FileConfirmResponse, type FileUploadURLResponse, type FileUpdateParams, type FileListParams, type FileUploadURLParams, } from "./files.js";
|
|
10
|
-
export { Mailboxes, type MailboxCreateResponse, type MailboxRetrieveResponse, type MailboxUpdateResponse, type MailboxListResponse, type MailboxDeleteResponse, type MailboxCapacityResponse, type MailboxOtpResponse, type MailboxRestartResponse, type MailboxUncancelResponse, type MailboxCreateParams, type MailboxUpdateParams, type MailboxListParams, type MailboxOtpParams, type MailboxRestartParams, } from "./mailboxes/mailboxes.js";
|
|
11
|
-
export { Messages, type MessageListResponse, type MessageListParams } from "./messages/messages.js";
|
|
10
|
+
export { Mailboxes, type MailboxCreateResponse, type MailboxRetrieveResponse, type MailboxUpdateResponse, type MailboxListResponse, type MailboxDeleteResponse, type MailboxCapacityResponse, type MailboxDisconnectResponse, type MailboxOtpResponse, type MailboxRestartResponse, type MailboxUncancelResponse, type MailboxCreateParams, type MailboxUpdateParams, type MailboxListParams, type MailboxOtpParams, type MailboxRestartParams, } from "./mailboxes/mailboxes.js";
|
|
11
|
+
export { Messages, type MessageRetrieveResponse, type MessageListResponse, type MessageListParams, } from "./messages/messages.js";
|
|
12
12
|
export { Models, type ModelListResponse } from "./models.js";
|
|
13
|
-
export { Notifications, type NotificationCatalogResponse, type NotificationGetPreferencesResponse, type NotificationUpdatePreferencesResponse, type NotificationUpdatePreferencesParams, } from "./notifications.js";
|
|
13
|
+
export { Notifications, type NotificationApplyPreferencesPresetResponse, type NotificationCatalogResponse, type NotificationGetPreferencesResponse, type NotificationUpdatePreferencesResponse, type NotificationApplyPreferencesPresetParams, type NotificationUpdatePreferencesParams, } from "./notifications.js";
|
|
14
14
|
export { Numbers, type NumberCreateResponse, type NumberRetrieveResponse, type NumberUpdateResponse, type NumberListResponse, type NumberDeleteResponse, type NumberCapacityResponse, type NumberCountriesResponse, type NumberPurposesResponse, type NumberCreateParams, type NumberUpdateParams, type NumberListParams, type NumberCapacityParams, } from "./numbers/numbers.js";
|
|
15
15
|
export { Profiles, type ProfileCreateResponse, type ProfileRetrieveResponse, type ProfileUpdateResponse, type ProfileListResponse, type ProfileDeleteResponse, type ProfileCreateParams, type ProfileUpdateParams, type ProfileListParams, } from "./profiles.js";
|
|
16
16
|
export { Proxies, type ProxyCreateResponse, type ProxyRetrieveResponse, type ProxyUpdateResponse, type ProxyListResponse, type ProxyDeleteResponse, type ProxyLookupResponse, type ProxyCreateParams, type ProxyUpdateParams, type ProxyListParams, type ProxyLookupParams, } from "./proxies.js";
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,4BAAyB;AACzB,OAAO,EACL,SAAS,EACT,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,GACxB,mCAAgC;AACjC,OAAO,EACL,IAAI,EACJ,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,aAAa,EAClB,KAAK,8BAA8B,GACpC,kBAAe;AAChB,OAAO,EAAE,SAAS,EAAE,iCAA8B;AAClD,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,GACzB,sBAAmB;AACpB,OAAO,EAAE,OAAO,EAAE,6BAA0B;AAC5C,OAAO,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,qCAAkC;AACnC,OAAO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EACvC,KAAK,qBAAqB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AC9B,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,yBAAsB;AACvB,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB,+BAA4B;AAC7B,OAAO,EAAE,SAAS,EAAE,iCAA8B"}
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,yDAKiC;AAJ/B,uGAAA,SAAS,OAAA;AAKX,kCAYgB;AAXd,4FAAA,IAAI,OAAA;AAYN,sDAAkD;AAAzC,sGAAA,SAAS,OAAA;AAClB,0CAYoB;AAXlB,oGAAA,QAAQ,OAAA;AAYV,gDAA4C;AAAnC,kGAAA,OAAO,OAAA;AAChB,4DAImC;AAHjC,0GAAA,WAAW,OAAA;AAIb,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,yDAKiC;AAJ/B,uGAAA,SAAS,OAAA;AAKX,kCAYgB;AAXd,4FAAA,IAAI,OAAA;AAYN,sDAAkD;AAAzC,sGAAA,SAAS,OAAA;AAClB,0CAYoB;AAXlB,oGAAA,QAAQ,OAAA;AAYV,gDAA4C;AAAnC,kGAAA,OAAO,OAAA;AAChB,4DAImC;AAHjC,0GAAA,WAAW,OAAA;AAIb,gDAiB2B;AAhBzB,kGAAA,OAAO,OAAA;AAiBT,oCAWiB;AAVf,8FAAA,KAAK,OAAA;AAWP,sDAiB+B;AAhB7B,sGAAA,SAAS,OAAA;AAiBX,mDAK6B;AAJ3B,oGAAA,QAAQ,OAAA;AAKV,sCAA0D;AAAjD,gGAAA,MAAM,OAAA;AACf,oDAQyB;AAPvB,8GAAA,aAAa,OAAA;AAQf,gDAc2B;AAbzB,kGAAA,OAAO,OAAA;AAcT,0CAUoB;AATlB,oGAAA,QAAQ,OAAA;AAUV,wCAYmB;AAXjB,kGAAA,OAAO,OAAA;AAYT,0CAAoE;AAA3D,8FAAA,KAAK,OAAA;AACd,0CAcuB;AAbrB,8FAAA,KAAK,OAAA;AAcP,mDAY6B;AAX3B,oGAAA,QAAQ,OAAA;AAYV,sDAAkD;AAAzC,sGAAA,SAAS,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ export { Credentials, } from "./credentials/credentials.mjs";
|
|
|
9
9
|
export { Devices, } from "./devices/devices.mjs";
|
|
10
10
|
export { Files, } from "./files.mjs";
|
|
11
11
|
export { Mailboxes, } from "./mailboxes/mailboxes.mjs";
|
|
12
|
-
export { Messages } from "./messages/messages.mjs";
|
|
12
|
+
export { Messages, } from "./messages/messages.mjs";
|
|
13
13
|
export { Models } from "./models.mjs";
|
|
14
14
|
export { Notifications, } from "./notifications.mjs";
|
|
15
15
|
export { Numbers, } from "./numbers/numbers.mjs";
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,6BAAyB;AACzB,OAAO,EACL,SAAS,GAIV,oCAAgC;AACjC,OAAO,EACL,IAAI,GAWL,mBAAe;AAChB,OAAO,EAAE,SAAS,EAAE,kCAA8B;AAClD,OAAO,EACL,QAAQ,GAWT,uBAAmB;AACpB,OAAO,EAAE,OAAO,EAAE,8BAA0B;AAC5C,OAAO,EACL,WAAW,GAGZ,sCAAkC;AACnC,OAAO,EACL,OAAO,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,6BAAyB;AACzB,OAAO,EACL,SAAS,GAIV,oCAAgC;AACjC,OAAO,EACL,IAAI,GAWL,mBAAe;AAChB,OAAO,EAAE,SAAS,EAAE,kCAA8B;AAClD,OAAO,EACL,QAAQ,GAWT,uBAAmB;AACpB,OAAO,EAAE,OAAO,EAAE,8BAA0B;AAC5C,OAAO,EACL,WAAW,GAGZ,sCAAkC;AACnC,OAAO,EACL,OAAO,GAgBR,8BAA0B;AAC3B,OAAO,EACL,KAAK,GAUN,oBAAgB;AACjB,OAAO,EACL,SAAS,GAgBV,kCAA8B;AAC/B,OAAO,EACL,QAAQ,GAIT,gCAA4B;AAC7B,OAAO,EAAE,MAAM,EAA0B,qBAAiB;AAC1D,OAAO,EACL,aAAa,GAOd,4BAAwB;AACzB,OAAO,EACL,OAAO,GAaR,8BAA0B;AAC3B,OAAO,EACL,QAAQ,GAST,uBAAmB;AACpB,OAAO,EACL,OAAO,GAWR,sBAAkB;AACnB,OAAO,EAAE,KAAK,EAAgC,0BAAsB;AACpE,OAAO,EACL,KAAK,GAaN,0BAAsB;AACvB,OAAO,EACL,QAAQ,GAWT,gCAA4B;AAC7B,OAAO,EAAE,SAAS,EAAE,kCAA8B"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
|
+
export declare class Connections extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Links the caller’s Gmail account through the shared integrations connect.
|
|
7
|
+
* Replaying the same Idempotency-Key (or, during migration, the deprecated
|
|
8
|
+
* `clientRequestId` body field) returns the same mailbox. When Gmail is already
|
|
9
|
+
* active, redirectUrl is null and the mailbox is usable immediately.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const connection =
|
|
14
|
+
* await client.mailboxes.connections.create({
|
|
15
|
+
* provider: 'gmail',
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
create(body: ConnectionCreateParams, options?: RequestOptions): APIPromise<ConnectionCreateResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Reports pending, active (with the Gmail address), expired, or removed.
|
|
22
|
+
* connectionId is the mailbox id.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```ts
|
|
26
|
+
* const connection =
|
|
27
|
+
* await client.mailboxes.connections.retrieve(
|
|
28
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
29
|
+
* );
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
retrieve(connectionID: string, options?: RequestOptions): APIPromise<ConnectionRetrieveResponse>;
|
|
33
|
+
}
|
|
34
|
+
export interface ConnectionCreateResponse {
|
|
35
|
+
address: string | null;
|
|
36
|
+
connectionId: string;
|
|
37
|
+
mailboxId: string;
|
|
38
|
+
redirectUrl: string | null;
|
|
39
|
+
status: 'pending' | 'active' | 'expired' | 'removed';
|
|
40
|
+
}
|
|
41
|
+
export interface ConnectionRetrieveResponse {
|
|
42
|
+
address: string | null;
|
|
43
|
+
connectionId: string;
|
|
44
|
+
mailboxId: string;
|
|
45
|
+
redirectUrl: string | null;
|
|
46
|
+
status: 'pending' | 'active' | 'expired' | 'removed';
|
|
47
|
+
}
|
|
48
|
+
export interface ConnectionCreateParams {
|
|
49
|
+
provider: 'gmail';
|
|
50
|
+
/**
|
|
51
|
+
* sha256 hex of the browser-held connect binding secret; forwarded to integrations
|
|
52
|
+
* connect
|
|
53
|
+
*/
|
|
54
|
+
bindingHash?: string;
|
|
55
|
+
/**
|
|
56
|
+
* @deprecated Use the Idempotency-Key header.
|
|
57
|
+
*/
|
|
58
|
+
clientRequestId?: string;
|
|
59
|
+
label?: string;
|
|
60
|
+
}
|
|
61
|
+
export declare namespace Connections {
|
|
62
|
+
export { type ConnectionCreateResponse as ConnectionCreateResponse, type ConnectionRetrieveResponse as ConnectionRetrieveResponse, type ConnectionCreateParams as ConnectionCreateParams, };
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=connections.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connections.d.mts","sourceRoot":"","sources":["../../src/resources/mailboxes/connections.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIpG;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;CAGjG;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB,YAAY,EAAE,MAAM,CAAC;IAErB,SAAS,EAAE,MAAM,CAAC;IAElB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,MAAM,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;CACtD;AAED,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB,YAAY,EAAE,MAAM,CAAC;IAErB,SAAS,EAAE,MAAM,CAAC;IAElB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,MAAM,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;CACtD;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
|
+
export declare class Connections extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Links the caller’s Gmail account through the shared integrations connect.
|
|
7
|
+
* Replaying the same Idempotency-Key (or, during migration, the deprecated
|
|
8
|
+
* `clientRequestId` body field) returns the same mailbox. When Gmail is already
|
|
9
|
+
* active, redirectUrl is null and the mailbox is usable immediately.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const connection =
|
|
14
|
+
* await client.mailboxes.connections.create({
|
|
15
|
+
* provider: 'gmail',
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
create(body: ConnectionCreateParams, options?: RequestOptions): APIPromise<ConnectionCreateResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Reports pending, active (with the Gmail address), expired, or removed.
|
|
22
|
+
* connectionId is the mailbox id.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```ts
|
|
26
|
+
* const connection =
|
|
27
|
+
* await client.mailboxes.connections.retrieve(
|
|
28
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
29
|
+
* );
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
retrieve(connectionID: string, options?: RequestOptions): APIPromise<ConnectionRetrieveResponse>;
|
|
33
|
+
}
|
|
34
|
+
export interface ConnectionCreateResponse {
|
|
35
|
+
address: string | null;
|
|
36
|
+
connectionId: string;
|
|
37
|
+
mailboxId: string;
|
|
38
|
+
redirectUrl: string | null;
|
|
39
|
+
status: 'pending' | 'active' | 'expired' | 'removed';
|
|
40
|
+
}
|
|
41
|
+
export interface ConnectionRetrieveResponse {
|
|
42
|
+
address: string | null;
|
|
43
|
+
connectionId: string;
|
|
44
|
+
mailboxId: string;
|
|
45
|
+
redirectUrl: string | null;
|
|
46
|
+
status: 'pending' | 'active' | 'expired' | 'removed';
|
|
47
|
+
}
|
|
48
|
+
export interface ConnectionCreateParams {
|
|
49
|
+
provider: 'gmail';
|
|
50
|
+
/**
|
|
51
|
+
* sha256 hex of the browser-held connect binding secret; forwarded to integrations
|
|
52
|
+
* connect
|
|
53
|
+
*/
|
|
54
|
+
bindingHash?: string;
|
|
55
|
+
/**
|
|
56
|
+
* @deprecated Use the Idempotency-Key header.
|
|
57
|
+
*/
|
|
58
|
+
clientRequestId?: string;
|
|
59
|
+
label?: string;
|
|
60
|
+
}
|
|
61
|
+
export declare namespace Connections {
|
|
62
|
+
export { type ConnectionCreateResponse as ConnectionCreateResponse, type ConnectionRetrieveResponse as ConnectionRetrieveResponse, type ConnectionCreateParams as ConnectionCreateParams, };
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=connections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connections.d.ts","sourceRoot":"","sources":["../../src/resources/mailboxes/connections.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0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enAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Connections = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
7
|
+
class Connections extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Links the caller’s Gmail account through the shared integrations connect.
|
|
10
|
+
* Replaying the same Idempotency-Key (or, during migration, the deprecated
|
|
11
|
+
* `clientRequestId` body field) returns the same mailbox. When Gmail is already
|
|
12
|
+
* active, redirectUrl is null and the mailbox is usable immediately.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const connection =
|
|
17
|
+
* await client.mailboxes.connections.create({
|
|
18
|
+
* provider: 'gmail',
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
create(body, options) {
|
|
23
|
+
return this._client.post('/mailboxes/connections', { body, ...options });
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Reports pending, active (with the Gmail address), expired, or removed.
|
|
27
|
+
* connectionId is the mailbox id.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const connection =
|
|
32
|
+
* await client.mailboxes.connections.retrieve(
|
|
33
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
34
|
+
* );
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
retrieve(connectionID, options) {
|
|
38
|
+
return this._client.get((0, path_1.path) `/mailboxes/connections/${connectionID}`, options);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.Connections = Connections;
|
|
42
|
+
//# sourceMappingURL=connections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connections.js","sourceRoot":"","sources":["../../src/resources/mailboxes/connections.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,YAAoB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,0BAA0B,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;CACF;AAlCD,kCAkCC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
4
|
+
export class Connections extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Links the caller’s Gmail account through the shared integrations connect.
|
|
7
|
+
* Replaying the same Idempotency-Key (or, during migration, the deprecated
|
|
8
|
+
* `clientRequestId` body field) returns the same mailbox. When Gmail is already
|
|
9
|
+
* active, redirectUrl is null and the mailbox is usable immediately.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const connection =
|
|
14
|
+
* await client.mailboxes.connections.create({
|
|
15
|
+
* provider: 'gmail',
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
create(body, options) {
|
|
20
|
+
return this._client.post('/mailboxes/connections', { body, ...options });
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Reports pending, active (with the Gmail address), expired, or removed.
|
|
24
|
+
* connectionId is the mailbox id.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const connection =
|
|
29
|
+
* await client.mailboxes.connections.retrieve(
|
|
30
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
31
|
+
* );
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
retrieve(connectionID, options) {
|
|
35
|
+
return this._client.get(path `/mailboxes/connections/${connectionID}`, options);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=connections.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connections.mjs","sourceRoot":"","sources":["../../src/resources/mailboxes/connections.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,YAAoB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,0BAA0B,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;CACF"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { Connections, type ConnectionCreateResponse, type ConnectionRetrieveResponse, type ConnectionCreateParams, } from "./connections.mjs";
|
|
2
|
+
export { Mailboxes, type MailboxCreateResponse, type MailboxRetrieveResponse, type MailboxUpdateResponse, type MailboxListResponse, type MailboxDeleteResponse, type MailboxCapacityResponse, type MailboxDisconnectResponse, type MailboxOtpResponse, type MailboxRestartResponse, type MailboxUncancelResponse, type MailboxCreateParams, type MailboxUpdateParams, type MailboxListParams, type MailboxOtpParams, type MailboxRestartParams, } from "./mailboxes.mjs";
|
|
2
3
|
export { Messages, type MessageRetrieveResponse, type MessageListResponse, type MessageRetrieveParams, type MessageListParams, } from "./messages.mjs";
|
|
3
4
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/mailboxes/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,GAC1B,wBAAoB;AACrB,OAAO,EACL,QAAQ,EACR,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,GACvB,uBAAmB"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/mailboxes/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,GAC5B,0BAAsB;AACvB,OAAO,EACL,SAAS,EACT,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,GAC1B,wBAAoB;AACrB,OAAO,EACL,QAAQ,EACR,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,GACvB,uBAAmB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { Connections, type ConnectionCreateResponse, type ConnectionRetrieveResponse, type ConnectionCreateParams, } from "./connections.js";
|
|
2
|
+
export { Mailboxes, type MailboxCreateResponse, type MailboxRetrieveResponse, type MailboxUpdateResponse, type MailboxListResponse, type MailboxDeleteResponse, type MailboxCapacityResponse, type MailboxDisconnectResponse, type MailboxOtpResponse, type MailboxRestartResponse, type MailboxUncancelResponse, type MailboxCreateParams, type MailboxUpdateParams, type MailboxListParams, type MailboxOtpParams, type MailboxRestartParams, } from "./mailboxes.js";
|
|
2
3
|
export { Messages, type MessageRetrieveResponse, type MessageListResponse, type MessageRetrieveParams, type MessageListParams, } from "./messages.js";
|
|
3
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/mailboxes/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,GAC1B,uBAAoB;AACrB,OAAO,EACL,QAAQ,EACR,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,GACvB,sBAAmB"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/mailboxes/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,GAC5B,yBAAsB;AACvB,OAAO,EACL,SAAS,EACT,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,GAC1B,uBAAoB;AACrB,OAAO,EACL,QAAQ,EACR,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,GACvB,sBAAmB"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Messages = exports.Mailboxes = void 0;
|
|
4
|
+
exports.Messages = exports.Mailboxes = exports.Connections = void 0;
|
|
5
|
+
var connections_1 = require("./connections.js");
|
|
6
|
+
Object.defineProperty(exports, "Connections", { enumerable: true, get: function () { return connections_1.Connections; } });
|
|
5
7
|
var mailboxes_1 = require("./mailboxes.js");
|
|
6
8
|
Object.defineProperty(exports, "Mailboxes", { enumerable: true, get: function () { return mailboxes_1.Mailboxes; } });
|
|
7
9
|
var messages_1 = require("./messages.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/mailboxes/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/mailboxes/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAKuB;AAJrB,0GAAA,WAAW,OAAA;AAKb,4CAiBqB;AAhBnB,sGAAA,SAAS,OAAA;AAiBX,0CAMoB;AALlB,oGAAA,QAAQ,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/mailboxes/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,SAAS,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/mailboxes/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,WAAW,GAIZ,0BAAsB;AACvB,OAAO,EACL,SAAS,GAgBV,wBAAoB;AACrB,OAAO,EACL,QAAQ,GAKT,uBAAmB"}
|