@rippling/rippling-sdk 0.2.0-alpha.28 → 0.2.0-alpha.29
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/client.d.mts +72 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +72 -0
- package/client.d.ts.map +1 -1
- package/client.js +72 -0
- package/client.js.map +1 -1
- package/client.mjs +72 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/assign-review.d.mts +31 -0
- package/resources/assign-review.d.mts.map +1 -0
- package/resources/assign-review.d.ts +31 -0
- package/resources/assign-review.d.ts.map +1 -0
- package/resources/assign-review.js +18 -0
- package/resources/assign-review.js.map +1 -0
- package/resources/assign-review.mjs +14 -0
- package/resources/assign-review.mjs.map +1 -0
- package/resources/create-app-notification.d.mts +1 -1
- package/resources/create-app-notification.d.ts +1 -1
- package/resources/create-app-notification.js +1 -1
- package/resources/create-app-notification.mjs +1 -1
- package/resources/create-gcal-event.d.mts +55 -0
- package/resources/create-gcal-event.d.mts.map +1 -0
- package/resources/create-gcal-event.d.ts +55 -0
- package/resources/create-gcal-event.d.ts.map +1 -0
- package/resources/create-gcal-event.js +18 -0
- package/resources/create-gcal-event.js.map +1 -0
- package/resources/create-gcal-event.mjs +14 -0
- package/resources/create-gcal-event.mjs.map +1 -0
- package/resources/delete-custom-object-record.d.mts +26 -0
- package/resources/delete-custom-object-record.d.mts.map +1 -0
- package/resources/delete-custom-object-record.d.ts +26 -0
- package/resources/delete-custom-object-record.d.ts.map +1 -0
- package/resources/delete-custom-object-record.js +18 -0
- package/resources/delete-custom-object-record.js.map +1 -0
- package/resources/delete-custom-object-record.mjs +14 -0
- package/resources/delete-custom-object-record.mjs.map +1 -0
- package/resources/draft-hires.d.mts +8 -0
- package/resources/draft-hires.d.mts.map +1 -1
- package/resources/draft-hires.d.ts +8 -0
- package/resources/draft-hires.d.ts.map +1 -1
- package/resources/evaluate-rql.d.mts +31 -0
- package/resources/evaluate-rql.d.mts.map +1 -0
- package/resources/evaluate-rql.d.ts +31 -0
- package/resources/evaluate-rql.d.ts.map +1 -0
- package/resources/evaluate-rql.js +18 -0
- package/resources/evaluate-rql.js.map +1 -0
- package/resources/evaluate-rql.mjs +14 -0
- package/resources/evaluate-rql.mjs.map +1 -0
- package/resources/index.d.mts +12 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +12 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +26 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +12 -0
- package/resources/index.mjs.map +1 -1
- package/resources/send-email.d.mts +1 -1
- package/resources/send-email.d.ts +1 -1
- package/resources/send-email.js +1 -1
- package/resources/send-email.mjs +1 -1
- package/resources/send-http-request.d.mts +32 -0
- package/resources/send-http-request.d.mts.map +1 -0
- package/resources/send-http-request.d.ts +32 -0
- package/resources/send-http-request.d.ts.map +1 -0
- package/resources/send-http-request.js +18 -0
- package/resources/send-http-request.js.map +1 -0
- package/resources/send-http-request.mjs +14 -0
- package/resources/send-http-request.mjs.map +1 -0
- package/resources/send-push-notification.d.mts +27 -0
- package/resources/send-push-notification.d.mts.map +1 -0
- package/resources/send-push-notification.d.ts +27 -0
- package/resources/send-push-notification.d.ts.map +1 -0
- package/resources/send-push-notification.js +18 -0
- package/resources/send-push-notification.js.map +1 -0
- package/resources/send-push-notification.mjs +14 -0
- package/resources/send-push-notification.mjs.map +1 -0
- package/resources/send-report-sftp.d.mts +42 -0
- package/resources/send-report-sftp.d.mts.map +1 -0
- package/resources/send-report-sftp.d.ts +42 -0
- package/resources/send-report-sftp.d.ts.map +1 -0
- package/resources/send-report-sftp.js +18 -0
- package/resources/send-report-sftp.js.map +1 -0
- package/resources/send-report-sftp.mjs +14 -0
- package/resources/send-report-sftp.mjs.map +1 -0
- package/resources/send-slack.d.mts +1 -1
- package/resources/send-slack.d.ts +1 -1
- package/resources/send-slack.js +1 -1
- package/resources/send-slack.mjs +1 -1
- package/resources/send-sms.d.mts +26 -0
- package/resources/send-sms.d.mts.map +1 -0
- package/resources/send-sms.d.ts +26 -0
- package/resources/send-sms.d.ts.map +1 -0
- package/resources/send-sms.js +18 -0
- package/resources/send-sms.js.map +1 -0
- package/resources/send-sms.mjs +14 -0
- package/resources/send-sms.mjs.map +1 -0
- package/resources/send-survey.d.mts +29 -0
- package/resources/send-survey.d.mts.map +1 -0
- package/resources/send-survey.d.ts +29 -0
- package/resources/send-survey.d.ts.map +1 -0
- package/resources/send-survey.js +18 -0
- package/resources/send-survey.js.map +1 -0
- package/resources/send-survey.mjs +14 -0
- package/resources/send-survey.mjs.map +1 -0
- package/resources/send-teams.d.mts +30 -0
- package/resources/send-teams.d.mts.map +1 -0
- package/resources/send-teams.d.ts +30 -0
- package/resources/send-teams.d.ts.map +1 -0
- package/resources/send-teams.js +18 -0
- package/resources/send-teams.js.map +1 -0
- package/resources/send-teams.mjs +14 -0
- package/resources/send-teams.mjs.map +1 -0
- package/resources/update-custom-object-record.d.mts +27 -0
- package/resources/update-custom-object-record.d.mts.map +1 -0
- package/resources/update-custom-object-record.d.ts +27 -0
- package/resources/update-custom-object-record.d.ts.map +1 -0
- package/resources/update-custom-object-record.js +18 -0
- package/resources/update-custom-object-record.js.map +1 -0
- package/resources/update-custom-object-record.mjs +14 -0
- package/resources/update-custom-object-record.mjs.map +1 -0
- package/resources/upsert-custom-object.d.mts +26 -0
- package/resources/upsert-custom-object.d.mts.map +1 -0
- package/resources/upsert-custom-object.d.ts +26 -0
- package/resources/upsert-custom-object.d.ts.map +1 -0
- package/resources/upsert-custom-object.js +18 -0
- package/resources/upsert-custom-object.js.map +1 -0
- package/resources/upsert-custom-object.mjs +14 -0
- package/resources/upsert-custom-object.mjs.map +1 -0
- package/src/client.ts +176 -0
- package/src/resources/assign-review.ts +44 -0
- package/src/resources/create-app-notification.ts +1 -1
- package/src/resources/create-gcal-event.ts +86 -0
- package/src/resources/delete-custom-object-record.ts +40 -0
- package/src/resources/draft-hires.ts +10 -0
- package/src/resources/evaluate-rql.ts +44 -0
- package/src/resources/index.ts +44 -0
- package/src/resources/send-email.ts +1 -1
- package/src/resources/send-http-request.ts +49 -0
- package/src/resources/send-push-notification.ts +42 -0
- package/src/resources/send-report-sftp.ts +66 -0
- package/src/resources/send-slack.ts +1 -1
- package/src/resources/send-sms.ts +37 -0
- package/src/resources/send-survey.ts +43 -0
- package/src/resources/send-teams.ts +42 -0
- package/src/resources/update-custom-object-record.ts +42 -0
- package/src/resources/upsert-custom-object.ts +40 -0
- 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
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SendHTTPRequest = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
/**
|
|
7
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
8
|
+
*/
|
|
9
|
+
class SendHTTPRequest extends resource_1.APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Execute the http request action.
|
|
12
|
+
*/
|
|
13
|
+
create(body, options) {
|
|
14
|
+
return this._client.post('/send-http-request/', { body, ...options });
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.SendHTTPRequest = SendHTTPRequest;
|
|
18
|
+
//# sourceMappingURL=send-http-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-http-request.js","sourceRoot":"","sources":["../src/resources/send-http-request.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,eAAgB,SAAQ,sBAAW;IAC9C;;OAEG;IACH,MAAM,CACJ,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF;AAVD,0CAUC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
5
|
+
*/
|
|
6
|
+
export class SendHTTPRequest extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Execute the http request action.
|
|
9
|
+
*/
|
|
10
|
+
create(body, options) {
|
|
11
|
+
return this._client.post('/send-http-request/', { body, ...options });
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=send-http-request.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-http-request.mjs","sourceRoot":"","sources":["../src/resources/send-http-request.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB;;GAEG;AACH,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAC9C;;OAEG;IACH,MAAM,CACJ,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
6
|
+
*/
|
|
7
|
+
export declare class SendPushNotification extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Execute the push notification action.
|
|
10
|
+
*/
|
|
11
|
+
create(body: SendPushNotificationCreateParams, options?: RequestOptions): APIPromise<SendPushNotificationCreateResponse>;
|
|
12
|
+
}
|
|
13
|
+
export interface SendPushNotificationCreateResponse {
|
|
14
|
+
/**
|
|
15
|
+
* Result of the send push notification action
|
|
16
|
+
*/
|
|
17
|
+
result: unknown;
|
|
18
|
+
}
|
|
19
|
+
export interface SendPushNotificationCreateParams {
|
|
20
|
+
header: string;
|
|
21
|
+
message: string;
|
|
22
|
+
recipients: Array<string>;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace SendPushNotification {
|
|
25
|
+
export { type SendPushNotificationCreateResponse as SendPushNotificationCreateResponse, type SendPushNotificationCreateParams as SendPushNotificationCreateParams, };
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=send-push-notification.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-push-notification.d.mts","sourceRoot":"","sources":["../src/resources/send-push-notification.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,WAAW;IACnD;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,gCAAgC,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kCAAkC,CAAC;CAGlD;AAED,MAAM,WAAW,kCAAkC;IACjD;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,gCAAgC;IAC/C,MAAM,EAAE,MAAM,CAAC;IAEf,OAAO,EAAE,MAAM,CAAC;IAEhB,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,WAAW,oBAAoB,CAAC;IAC5C,OAAO,EACL,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
6
|
+
*/
|
|
7
|
+
export declare class SendPushNotification extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Execute the push notification action.
|
|
10
|
+
*/
|
|
11
|
+
create(body: SendPushNotificationCreateParams, options?: RequestOptions): APIPromise<SendPushNotificationCreateResponse>;
|
|
12
|
+
}
|
|
13
|
+
export interface SendPushNotificationCreateResponse {
|
|
14
|
+
/**
|
|
15
|
+
* Result of the send push notification action
|
|
16
|
+
*/
|
|
17
|
+
result: unknown;
|
|
18
|
+
}
|
|
19
|
+
export interface SendPushNotificationCreateParams {
|
|
20
|
+
header: string;
|
|
21
|
+
message: string;
|
|
22
|
+
recipients: Array<string>;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace SendPushNotification {
|
|
25
|
+
export { type SendPushNotificationCreateResponse as SendPushNotificationCreateResponse, type SendPushNotificationCreateParams as SendPushNotificationCreateParams, };
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=send-push-notification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-push-notification.d.ts","sourceRoot":"","sources":["../src/resources/send-push-notification.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,WAAW;IACnD;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,gCAAgC,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kCAAkC,CAAC;CAGlD;AAED,MAAM,WAAW,kCAAkC;IACjD;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,gCAAgC;IAC/C,MAAM,EAAE,MAAM,CAAC;IAEf,OAAO,EAAE,MAAM,CAAC;IAEhB,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,WAAW,oBAAoB,CAAC;IAC5C,OAAO,EACL,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SendPushNotification = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
/**
|
|
7
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
8
|
+
*/
|
|
9
|
+
class SendPushNotification extends resource_1.APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Execute the push notification action.
|
|
12
|
+
*/
|
|
13
|
+
create(body, options) {
|
|
14
|
+
return this._client.post('/send-push-notification/', { body, ...options });
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.SendPushNotification = SendPushNotification;
|
|
18
|
+
//# sourceMappingURL=send-push-notification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-push-notification.js","sourceRoot":"","sources":["../src/resources/send-push-notification.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,oBAAqB,SAAQ,sBAAW;IACnD;;OAEG;IACH,MAAM,CACJ,IAAsC,EACtC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF;AAVD,oDAUC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
5
|
+
*/
|
|
6
|
+
export class SendPushNotification extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Execute the push notification action.
|
|
9
|
+
*/
|
|
10
|
+
create(body, options) {
|
|
11
|
+
return this._client.post('/send-push-notification/', { body, ...options });
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=send-push-notification.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-push-notification.mjs","sourceRoot":"","sources":["../src/resources/send-push-notification.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB;;GAEG;AACH,MAAM,OAAO,oBAAqB,SAAQ,WAAW;IACnD;;OAEG;IACH,MAAM,CACJ,IAAsC,EACtC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
6
|
+
*/
|
|
7
|
+
export declare class SendReportSftp extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Execute the sftp report action.
|
|
10
|
+
*/
|
|
11
|
+
create(body: SendReportSftpCreateParams, options?: RequestOptions): APIPromise<SendReportSftpCreateResponse>;
|
|
12
|
+
}
|
|
13
|
+
export interface SendReportSftpCreateResponse {
|
|
14
|
+
/**
|
|
15
|
+
* Result of the send report via SFTP action
|
|
16
|
+
*/
|
|
17
|
+
result: unknown;
|
|
18
|
+
}
|
|
19
|
+
export interface SendReportSftpCreateParams {
|
|
20
|
+
/**
|
|
21
|
+
* An enumeration.
|
|
22
|
+
*/
|
|
23
|
+
authenticationType: 'PASSWORD' | 'SSH_KEY';
|
|
24
|
+
fileType: string;
|
|
25
|
+
hostName: string;
|
|
26
|
+
port: number;
|
|
27
|
+
reportId: string;
|
|
28
|
+
userName: string;
|
|
29
|
+
fileName?: string | null;
|
|
30
|
+
filePath?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* An enumeration.
|
|
33
|
+
*/
|
|
34
|
+
fileSuffix?: 'EPOCH_FORMAT' | 'NO_SUFFIX' | 'DEFAULT_FORMAT' | null;
|
|
35
|
+
password?: string | null;
|
|
36
|
+
privateKey?: string | null;
|
|
37
|
+
privateKeyPassphrase?: string | null;
|
|
38
|
+
}
|
|
39
|
+
export declare namespace SendReportSftp {
|
|
40
|
+
export { type SendReportSftpCreateResponse as SendReportSftpCreateResponse, type SendReportSftpCreateParams as SendReportSftpCreateParams, };
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=send-report-sftp.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-report-sftp.d.mts","sourceRoot":"","sources":["../src/resources/send-report-sftp.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;CAG5C;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,kBAAkB,EAAE,UAAU,GAAG,SAAS,CAAC;IAE3C,QAAQ,EAAE,MAAM,CAAC;IAEjB,QAAQ,EAAE,MAAM,CAAC;IAEjB,IAAI,EAAE,MAAM,CAAC;IAEb,QAAQ,EAAE,MAAM,CAAC;IAEjB,QAAQ,EAAE,MAAM,CAAC;IAEjB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB;;OAEG;IACH,UAAU,CAAC,EAAE,cAAc,GAAG,WAAW,GAAG,gBAAgB,GAAG,IAAI,CAAC;IAEpE,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtC;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
6
|
+
*/
|
|
7
|
+
export declare class SendReportSftp extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Execute the sftp report action.
|
|
10
|
+
*/
|
|
11
|
+
create(body: SendReportSftpCreateParams, options?: RequestOptions): APIPromise<SendReportSftpCreateResponse>;
|
|
12
|
+
}
|
|
13
|
+
export interface SendReportSftpCreateResponse {
|
|
14
|
+
/**
|
|
15
|
+
* Result of the send report via SFTP action
|
|
16
|
+
*/
|
|
17
|
+
result: unknown;
|
|
18
|
+
}
|
|
19
|
+
export interface SendReportSftpCreateParams {
|
|
20
|
+
/**
|
|
21
|
+
* An enumeration.
|
|
22
|
+
*/
|
|
23
|
+
authenticationType: 'PASSWORD' | 'SSH_KEY';
|
|
24
|
+
fileType: string;
|
|
25
|
+
hostName: string;
|
|
26
|
+
port: number;
|
|
27
|
+
reportId: string;
|
|
28
|
+
userName: string;
|
|
29
|
+
fileName?: string | null;
|
|
30
|
+
filePath?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* An enumeration.
|
|
33
|
+
*/
|
|
34
|
+
fileSuffix?: 'EPOCH_FORMAT' | 'NO_SUFFIX' | 'DEFAULT_FORMAT' | null;
|
|
35
|
+
password?: string | null;
|
|
36
|
+
privateKey?: string | null;
|
|
37
|
+
privateKeyPassphrase?: string | null;
|
|
38
|
+
}
|
|
39
|
+
export declare namespace SendReportSftp {
|
|
40
|
+
export { type SendReportSftpCreateResponse as SendReportSftpCreateResponse, type SendReportSftpCreateParams as SendReportSftpCreateParams, };
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=send-report-sftp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-report-sftp.d.ts","sourceRoot":"","sources":["../src/resources/send-report-sftp.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;CAG5C;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,kBAAkB,EAAE,UAAU,GAAG,SAAS,CAAC;IAE3C,QAAQ,EAAE,MAAM,CAAC;IAEjB,QAAQ,EAAE,MAAM,CAAC;IAEjB,IAAI,EAAE,MAAM,CAAC;IAEb,QAAQ,EAAE,MAAM,CAAC;IAEjB,QAAQ,EAAE,MAAM,CAAC;IAEjB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB;;OAEG;IACH,UAAU,CAAC,EAAE,cAAc,GAAG,WAAW,GAAG,gBAAgB,GAAG,IAAI,CAAC;IAEpE,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtC;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SendReportSftp = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
/**
|
|
7
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
8
|
+
*/
|
|
9
|
+
class SendReportSftp extends resource_1.APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Execute the sftp report action.
|
|
12
|
+
*/
|
|
13
|
+
create(body, options) {
|
|
14
|
+
return this._client.post('/send-report-sftp/', { body, ...options });
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.SendReportSftp = SendReportSftp;
|
|
18
|
+
//# sourceMappingURL=send-report-sftp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-report-sftp.js","sourceRoot":"","sources":["../src/resources/send-report-sftp.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,cAAe,SAAQ,sBAAW;IAC7C;;OAEG;IACH,MAAM,CACJ,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;CACF;AAVD,wCAUC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
5
|
+
*/
|
|
6
|
+
export class SendReportSftp extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Execute the sftp report action.
|
|
9
|
+
*/
|
|
10
|
+
create(body, options) {
|
|
11
|
+
return this._client.post('/send-report-sftp/', { body, ...options });
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=send-report-sftp.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-report-sftp.mjs","sourceRoot":"","sources":["../src/resources/send-report-sftp.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB;;GAEG;AACH,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;OAEG;IACH,MAAM,CACJ,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;CACF"}
|
|
@@ -6,7 +6,7 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class SendSlack extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Execute the slack message action.
|
|
10
10
|
*/
|
|
11
11
|
create(body: SendSlackCreateParams, options?: RequestOptions): APIPromise<SendSlackCreateResponse>;
|
|
12
12
|
}
|
|
@@ -6,7 +6,7 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class SendSlack extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Execute the slack message action.
|
|
10
10
|
*/
|
|
11
11
|
create(body: SendSlackCreateParams, options?: RequestOptions): APIPromise<SendSlackCreateResponse>;
|
|
12
12
|
}
|
package/resources/send-slack.js
CHANGED
|
@@ -8,7 +8,7 @@ const resource_1 = require("../core/resource.js");
|
|
|
8
8
|
*/
|
|
9
9
|
class SendSlack extends resource_1.APIResource {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Execute the slack message action.
|
|
12
12
|
*/
|
|
13
13
|
create(body, options) {
|
|
14
14
|
return this._client.post('/send-slack/', { body, ...options });
|
package/resources/send-slack.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { APIResource } from "../core/resource.mjs";
|
|
|
5
5
|
*/
|
|
6
6
|
export class SendSlack extends APIResource {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Execute the slack message action.
|
|
9
9
|
*/
|
|
10
10
|
create(body, options) {
|
|
11
11
|
return this._client.post('/send-slack/', { body, ...options });
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
6
|
+
*/
|
|
7
|
+
export declare class SendSMS extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Execute the sms action.
|
|
10
|
+
*/
|
|
11
|
+
create(body: SendSMSCreateParams, options?: RequestOptions): APIPromise<SendSMSCreateResponse>;
|
|
12
|
+
}
|
|
13
|
+
export interface SendSMSCreateResponse {
|
|
14
|
+
/**
|
|
15
|
+
* Result of the send SMS action
|
|
16
|
+
*/
|
|
17
|
+
result: unknown;
|
|
18
|
+
}
|
|
19
|
+
export interface SendSMSCreateParams {
|
|
20
|
+
message: string;
|
|
21
|
+
recipients: Array<string>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace SendSMS {
|
|
24
|
+
export { type SendSMSCreateResponse as SendSMSCreateResponse, type SendSMSCreateParams as SendSMSCreateParams, };
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=send-sms.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-sms.d.mts","sourceRoot":"","sources":["../src/resources/send-sms.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;CAG/F;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAEhB,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
6
|
+
*/
|
|
7
|
+
export declare class SendSMS extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Execute the sms action.
|
|
10
|
+
*/
|
|
11
|
+
create(body: SendSMSCreateParams, options?: RequestOptions): APIPromise<SendSMSCreateResponse>;
|
|
12
|
+
}
|
|
13
|
+
export interface SendSMSCreateResponse {
|
|
14
|
+
/**
|
|
15
|
+
* Result of the send SMS action
|
|
16
|
+
*/
|
|
17
|
+
result: unknown;
|
|
18
|
+
}
|
|
19
|
+
export interface SendSMSCreateParams {
|
|
20
|
+
message: string;
|
|
21
|
+
recipients: Array<string>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace SendSMS {
|
|
24
|
+
export { type SendSMSCreateResponse as SendSMSCreateResponse, type SendSMSCreateParams as SendSMSCreateParams, };
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=send-sms.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-sms.d.ts","sourceRoot":"","sources":["../src/resources/send-sms.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;CAG/F;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAEhB,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SendSMS = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
/**
|
|
7
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
8
|
+
*/
|
|
9
|
+
class SendSMS extends resource_1.APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Execute the sms action.
|
|
12
|
+
*/
|
|
13
|
+
create(body, options) {
|
|
14
|
+
return this._client.post('/send-sms/', { body, ...options });
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.SendSMS = SendSMS;
|
|
18
|
+
//# sourceMappingURL=send-sms.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-sms.js","sourceRoot":"","sources":["../src/resources/send-sms.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/D,CAAC;CACF;AAPD,0BAOC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
5
|
+
*/
|
|
6
|
+
export class SendSMS extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Execute the sms action.
|
|
9
|
+
*/
|
|
10
|
+
create(body, options) {
|
|
11
|
+
return this._client.post('/send-sms/', { body, ...options });
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=send-sms.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-sms.mjs","sourceRoot":"","sources":["../src/resources/send-sms.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/D,CAAC;CACF"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
6
|
+
*/
|
|
7
|
+
export declare class SendSurvey extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Execute the survey action.
|
|
10
|
+
*/
|
|
11
|
+
create(body: SendSurveyCreateParams, options?: RequestOptions): APIPromise<SendSurveyCreateResponse>;
|
|
12
|
+
}
|
|
13
|
+
export interface SendSurveyCreateResponse {
|
|
14
|
+
/**
|
|
15
|
+
* Result of the send survey action
|
|
16
|
+
*/
|
|
17
|
+
result: unknown;
|
|
18
|
+
}
|
|
19
|
+
export interface SendSurveyCreateParams {
|
|
20
|
+
body: string;
|
|
21
|
+
recipients: Array<string>;
|
|
22
|
+
subject: string;
|
|
23
|
+
surveyID: string;
|
|
24
|
+
expiryDays?: number | null;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace SendSurvey {
|
|
27
|
+
export { type SendSurveyCreateResponse as SendSurveyCreateResponse, type SendSurveyCreateParams as SendSurveyCreateParams, };
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=send-survey.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-survey.d.mts","sourceRoot":"","sources":["../src/resources/send-survey.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;CAGrG;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IAEb,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE1B,OAAO,EAAE,MAAM,CAAC;IAEhB,QAAQ,EAAE,MAAM,CAAC;IAEjB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
6
|
+
*/
|
|
7
|
+
export declare class SendSurvey extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Execute the survey action.
|
|
10
|
+
*/
|
|
11
|
+
create(body: SendSurveyCreateParams, options?: RequestOptions): APIPromise<SendSurveyCreateResponse>;
|
|
12
|
+
}
|
|
13
|
+
export interface SendSurveyCreateResponse {
|
|
14
|
+
/**
|
|
15
|
+
* Result of the send survey action
|
|
16
|
+
*/
|
|
17
|
+
result: unknown;
|
|
18
|
+
}
|
|
19
|
+
export interface SendSurveyCreateParams {
|
|
20
|
+
body: string;
|
|
21
|
+
recipients: Array<string>;
|
|
22
|
+
subject: string;
|
|
23
|
+
surveyID: string;
|
|
24
|
+
expiryDays?: number | null;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace SendSurvey {
|
|
27
|
+
export { type SendSurveyCreateResponse as SendSurveyCreateResponse, type SendSurveyCreateParams as SendSurveyCreateParams, };
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=send-survey.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-survey.d.ts","sourceRoot":"","sources":["../src/resources/send-survey.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;CAGrG;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IAEb,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE1B,OAAO,EAAE,MAAM,CAAC;IAEhB,QAAQ,EAAE,MAAM,CAAC;IAEjB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SendSurvey = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
/**
|
|
7
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
8
|
+
*/
|
|
9
|
+
class SendSurvey extends resource_1.APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Execute the survey action.
|
|
12
|
+
*/
|
|
13
|
+
create(body, options) {
|
|
14
|
+
return this._client.post('/send-survey/', { body, ...options });
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.SendSurvey = SendSurvey;
|
|
18
|
+
//# sourceMappingURL=send-survey.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-survey.js","sourceRoot":"","sources":["../src/resources/send-survey.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,UAAW,SAAQ,sBAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;CACF;AAPD,gCAOC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
5
|
+
*/
|
|
6
|
+
export class SendSurvey extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Execute the survey action.
|
|
9
|
+
*/
|
|
10
|
+
create(body, options) {
|
|
11
|
+
return this._client.post('/send-survey/', { body, ...options });
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=send-survey.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-survey.mjs","sourceRoot":"","sources":["../src/resources/send-survey.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;CACF"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
6
|
+
*/
|
|
7
|
+
export declare class SendTeams extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Execute the teams message action.
|
|
10
|
+
*/
|
|
11
|
+
create(body: SendTeamCreateParams, options?: RequestOptions): APIPromise<SendTeamCreateResponse>;
|
|
12
|
+
}
|
|
13
|
+
export interface SendTeamCreateResponse {
|
|
14
|
+
/**
|
|
15
|
+
* Result of the send Teams message action
|
|
16
|
+
*/
|
|
17
|
+
result: unknown;
|
|
18
|
+
}
|
|
19
|
+
export interface SendTeamCreateParams {
|
|
20
|
+
/**
|
|
21
|
+
* An enumeration.
|
|
22
|
+
*/
|
|
23
|
+
action_type: 'PUBLIC_CHANNEL_MESSAGE' | 'SINGLE_DIRECT_MESSAGE';
|
|
24
|
+
message: string;
|
|
25
|
+
recipients?: Array<string> | null;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace SendTeams {
|
|
28
|
+
export { type SendTeamCreateResponse as SendTeamCreateResponse, type SendTeamCreateParams as SendTeamCreateParams, };
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=send-teams.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-teams.d.mts","sourceRoot":"","sources":["../src/resources/send-teams.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGjG;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,WAAW,EAAE,wBAAwB,GAAG,uBAAuB,CAAC;IAEhE,OAAO,EAAE,MAAM,CAAC;IAEhB,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CACnC;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
6
|
+
*/
|
|
7
|
+
export declare class SendTeams extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Execute the teams message action.
|
|
10
|
+
*/
|
|
11
|
+
create(body: SendTeamCreateParams, options?: RequestOptions): APIPromise<SendTeamCreateResponse>;
|
|
12
|
+
}
|
|
13
|
+
export interface SendTeamCreateResponse {
|
|
14
|
+
/**
|
|
15
|
+
* Result of the send Teams message action
|
|
16
|
+
*/
|
|
17
|
+
result: unknown;
|
|
18
|
+
}
|
|
19
|
+
export interface SendTeamCreateParams {
|
|
20
|
+
/**
|
|
21
|
+
* An enumeration.
|
|
22
|
+
*/
|
|
23
|
+
action_type: 'PUBLIC_CHANNEL_MESSAGE' | 'SINGLE_DIRECT_MESSAGE';
|
|
24
|
+
message: string;
|
|
25
|
+
recipients?: Array<string> | null;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace SendTeams {
|
|
28
|
+
export { type SendTeamCreateResponse as SendTeamCreateResponse, type SendTeamCreateParams as SendTeamCreateParams, };
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=send-teams.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-teams.d.ts","sourceRoot":"","sources":["../src/resources/send-teams.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGjG;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,WAAW,EAAE,wBAAwB,GAAG,uBAAuB,CAAC;IAEhE,OAAO,EAAE,MAAM,CAAC;IAEhB,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CACnC;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SendTeams = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
/**
|
|
7
|
+
* Execute workflow actions like sending emails, Slack messages, and notifications
|
|
8
|
+
*/
|
|
9
|
+
class SendTeams extends resource_1.APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Execute the teams message action.
|
|
12
|
+
*/
|
|
13
|
+
create(body, options) {
|
|
14
|
+
return this._client.post('/send-teams/', { body, ...options });
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.SendTeams = SendTeams;
|
|
18
|
+
//# sourceMappingURL=send-teams.js.map
|