@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.
Files changed (152) hide show
  1. package/client.d.mts +72 -0
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +72 -0
  4. package/client.d.ts.map +1 -1
  5. package/client.js +72 -0
  6. package/client.js.map +1 -1
  7. package/client.mjs +72 -0
  8. package/client.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/assign-review.d.mts +31 -0
  11. package/resources/assign-review.d.mts.map +1 -0
  12. package/resources/assign-review.d.ts +31 -0
  13. package/resources/assign-review.d.ts.map +1 -0
  14. package/resources/assign-review.js +18 -0
  15. package/resources/assign-review.js.map +1 -0
  16. package/resources/assign-review.mjs +14 -0
  17. package/resources/assign-review.mjs.map +1 -0
  18. package/resources/create-app-notification.d.mts +1 -1
  19. package/resources/create-app-notification.d.ts +1 -1
  20. package/resources/create-app-notification.js +1 -1
  21. package/resources/create-app-notification.mjs +1 -1
  22. package/resources/create-gcal-event.d.mts +55 -0
  23. package/resources/create-gcal-event.d.mts.map +1 -0
  24. package/resources/create-gcal-event.d.ts +55 -0
  25. package/resources/create-gcal-event.d.ts.map +1 -0
  26. package/resources/create-gcal-event.js +18 -0
  27. package/resources/create-gcal-event.js.map +1 -0
  28. package/resources/create-gcal-event.mjs +14 -0
  29. package/resources/create-gcal-event.mjs.map +1 -0
  30. package/resources/delete-custom-object-record.d.mts +26 -0
  31. package/resources/delete-custom-object-record.d.mts.map +1 -0
  32. package/resources/delete-custom-object-record.d.ts +26 -0
  33. package/resources/delete-custom-object-record.d.ts.map +1 -0
  34. package/resources/delete-custom-object-record.js +18 -0
  35. package/resources/delete-custom-object-record.js.map +1 -0
  36. package/resources/delete-custom-object-record.mjs +14 -0
  37. package/resources/delete-custom-object-record.mjs.map +1 -0
  38. package/resources/draft-hires.d.mts +8 -0
  39. package/resources/draft-hires.d.mts.map +1 -1
  40. package/resources/draft-hires.d.ts +8 -0
  41. package/resources/draft-hires.d.ts.map +1 -1
  42. package/resources/evaluate-rql.d.mts +31 -0
  43. package/resources/evaluate-rql.d.mts.map +1 -0
  44. package/resources/evaluate-rql.d.ts +31 -0
  45. package/resources/evaluate-rql.d.ts.map +1 -0
  46. package/resources/evaluate-rql.js +18 -0
  47. package/resources/evaluate-rql.js.map +1 -0
  48. package/resources/evaluate-rql.mjs +14 -0
  49. package/resources/evaluate-rql.mjs.map +1 -0
  50. package/resources/index.d.mts +12 -0
  51. package/resources/index.d.mts.map +1 -1
  52. package/resources/index.d.ts +12 -0
  53. package/resources/index.d.ts.map +1 -1
  54. package/resources/index.js +26 -2
  55. package/resources/index.js.map +1 -1
  56. package/resources/index.mjs +12 -0
  57. package/resources/index.mjs.map +1 -1
  58. package/resources/send-email.d.mts +1 -1
  59. package/resources/send-email.d.ts +1 -1
  60. package/resources/send-email.js +1 -1
  61. package/resources/send-email.mjs +1 -1
  62. package/resources/send-http-request.d.mts +32 -0
  63. package/resources/send-http-request.d.mts.map +1 -0
  64. package/resources/send-http-request.d.ts +32 -0
  65. package/resources/send-http-request.d.ts.map +1 -0
  66. package/resources/send-http-request.js +18 -0
  67. package/resources/send-http-request.js.map +1 -0
  68. package/resources/send-http-request.mjs +14 -0
  69. package/resources/send-http-request.mjs.map +1 -0
  70. package/resources/send-push-notification.d.mts +27 -0
  71. package/resources/send-push-notification.d.mts.map +1 -0
  72. package/resources/send-push-notification.d.ts +27 -0
  73. package/resources/send-push-notification.d.ts.map +1 -0
  74. package/resources/send-push-notification.js +18 -0
  75. package/resources/send-push-notification.js.map +1 -0
  76. package/resources/send-push-notification.mjs +14 -0
  77. package/resources/send-push-notification.mjs.map +1 -0
  78. package/resources/send-report-sftp.d.mts +42 -0
  79. package/resources/send-report-sftp.d.mts.map +1 -0
  80. package/resources/send-report-sftp.d.ts +42 -0
  81. package/resources/send-report-sftp.d.ts.map +1 -0
  82. package/resources/send-report-sftp.js +18 -0
  83. package/resources/send-report-sftp.js.map +1 -0
  84. package/resources/send-report-sftp.mjs +14 -0
  85. package/resources/send-report-sftp.mjs.map +1 -0
  86. package/resources/send-slack.d.mts +1 -1
  87. package/resources/send-slack.d.ts +1 -1
  88. package/resources/send-slack.js +1 -1
  89. package/resources/send-slack.mjs +1 -1
  90. package/resources/send-sms.d.mts +26 -0
  91. package/resources/send-sms.d.mts.map +1 -0
  92. package/resources/send-sms.d.ts +26 -0
  93. package/resources/send-sms.d.ts.map +1 -0
  94. package/resources/send-sms.js +18 -0
  95. package/resources/send-sms.js.map +1 -0
  96. package/resources/send-sms.mjs +14 -0
  97. package/resources/send-sms.mjs.map +1 -0
  98. package/resources/send-survey.d.mts +29 -0
  99. package/resources/send-survey.d.mts.map +1 -0
  100. package/resources/send-survey.d.ts +29 -0
  101. package/resources/send-survey.d.ts.map +1 -0
  102. package/resources/send-survey.js +18 -0
  103. package/resources/send-survey.js.map +1 -0
  104. package/resources/send-survey.mjs +14 -0
  105. package/resources/send-survey.mjs.map +1 -0
  106. package/resources/send-teams.d.mts +30 -0
  107. package/resources/send-teams.d.mts.map +1 -0
  108. package/resources/send-teams.d.ts +30 -0
  109. package/resources/send-teams.d.ts.map +1 -0
  110. package/resources/send-teams.js +18 -0
  111. package/resources/send-teams.js.map +1 -0
  112. package/resources/send-teams.mjs +14 -0
  113. package/resources/send-teams.mjs.map +1 -0
  114. package/resources/update-custom-object-record.d.mts +27 -0
  115. package/resources/update-custom-object-record.d.mts.map +1 -0
  116. package/resources/update-custom-object-record.d.ts +27 -0
  117. package/resources/update-custom-object-record.d.ts.map +1 -0
  118. package/resources/update-custom-object-record.js +18 -0
  119. package/resources/update-custom-object-record.js.map +1 -0
  120. package/resources/update-custom-object-record.mjs +14 -0
  121. package/resources/update-custom-object-record.mjs.map +1 -0
  122. package/resources/upsert-custom-object.d.mts +26 -0
  123. package/resources/upsert-custom-object.d.mts.map +1 -0
  124. package/resources/upsert-custom-object.d.ts +26 -0
  125. package/resources/upsert-custom-object.d.ts.map +1 -0
  126. package/resources/upsert-custom-object.js +18 -0
  127. package/resources/upsert-custom-object.js.map +1 -0
  128. package/resources/upsert-custom-object.mjs +14 -0
  129. package/resources/upsert-custom-object.mjs.map +1 -0
  130. package/src/client.ts +176 -0
  131. package/src/resources/assign-review.ts +44 -0
  132. package/src/resources/create-app-notification.ts +1 -1
  133. package/src/resources/create-gcal-event.ts +86 -0
  134. package/src/resources/delete-custom-object-record.ts +40 -0
  135. package/src/resources/draft-hires.ts +10 -0
  136. package/src/resources/evaluate-rql.ts +44 -0
  137. package/src/resources/index.ts +44 -0
  138. package/src/resources/send-email.ts +1 -1
  139. package/src/resources/send-http-request.ts +49 -0
  140. package/src/resources/send-push-notification.ts +42 -0
  141. package/src/resources/send-report-sftp.ts +66 -0
  142. package/src/resources/send-slack.ts +1 -1
  143. package/src/resources/send-sms.ts +37 -0
  144. package/src/resources/send-survey.ts +43 -0
  145. package/src/resources/send-teams.ts +42 -0
  146. package/src/resources/update-custom-object-record.ts +42 -0
  147. package/src/resources/upsert-custom-object.ts +40 -0
  148. package/src/version.ts +1 -1
  149. package/version.d.mts +1 -1
  150. package/version.d.ts +1 -1
  151. package/version.js +1 -1
  152. package/version.mjs +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-teams.js","sourceRoot":"","sources":["../src/resources/send-teams.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,SAAU,SAAQ,sBAAW;IACxC;;OAEG;IACH,MAAM,CAAC,IAA0B,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;CACF;AAPD,8BAOC"}
@@ -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 SendTeams extends APIResource {
7
+ /**
8
+ * Execute the teams message action.
9
+ */
10
+ create(body, options) {
11
+ return this._client.post('/send-teams/', { body, ...options });
12
+ }
13
+ }
14
+ //# sourceMappingURL=send-teams.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-teams.mjs","sourceRoot":"","sources":["../src/resources/send-teams.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,MAAM,CAAC,IAA0B,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,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 UpdateCustomObjectRecord extends APIResource {
8
+ /**
9
+ * Execute the custom object record update action.
10
+ */
11
+ create(body: UpdateCustomObjectRecordCreateParams, options?: RequestOptions): APIPromise<UpdateCustomObjectRecordCreateResponse>;
12
+ }
13
+ export interface UpdateCustomObjectRecordCreateResponse {
14
+ /**
15
+ * Result of the update custom object record action
16
+ */
17
+ result: unknown;
18
+ }
19
+ export interface UpdateCustomObjectRecordCreateParams {
20
+ customObjectAPIName: string;
21
+ record: unknown;
22
+ recordID: string;
23
+ }
24
+ export declare namespace UpdateCustomObjectRecord {
25
+ export { type UpdateCustomObjectRecordCreateResponse as UpdateCustomObjectRecordCreateResponse, type UpdateCustomObjectRecordCreateParams as UpdateCustomObjectRecordCreateParams, };
26
+ }
27
+ //# sourceMappingURL=update-custom-object-record.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-custom-object-record.d.mts","sourceRoot":"","sources":["../src/resources/update-custom-object-record.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,wBAAyB,SAAQ,WAAW;IACvD;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,oCAAoC,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sCAAsC,CAAC;CAGtD;AAED,MAAM,WAAW,sCAAsC;IACrD;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,oCAAoC;IACnD,mBAAmB,EAAE,MAAM,CAAC;IAE5B,MAAM,EAAE,OAAO,CAAC;IAEhB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,wBAAwB,CAAC;IAChD,OAAO,EACL,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,oCAAoC,IAAI,oCAAoC,GAClF,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 UpdateCustomObjectRecord extends APIResource {
8
+ /**
9
+ * Execute the custom object record update action.
10
+ */
11
+ create(body: UpdateCustomObjectRecordCreateParams, options?: RequestOptions): APIPromise<UpdateCustomObjectRecordCreateResponse>;
12
+ }
13
+ export interface UpdateCustomObjectRecordCreateResponse {
14
+ /**
15
+ * Result of the update custom object record action
16
+ */
17
+ result: unknown;
18
+ }
19
+ export interface UpdateCustomObjectRecordCreateParams {
20
+ customObjectAPIName: string;
21
+ record: unknown;
22
+ recordID: string;
23
+ }
24
+ export declare namespace UpdateCustomObjectRecord {
25
+ export { type UpdateCustomObjectRecordCreateResponse as UpdateCustomObjectRecordCreateResponse, type UpdateCustomObjectRecordCreateParams as UpdateCustomObjectRecordCreateParams, };
26
+ }
27
+ //# sourceMappingURL=update-custom-object-record.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-custom-object-record.d.ts","sourceRoot":"","sources":["../src/resources/update-custom-object-record.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,wBAAyB,SAAQ,WAAW;IACvD;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,oCAAoC,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sCAAsC,CAAC;CAGtD;AAED,MAAM,WAAW,sCAAsC;IACrD;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,oCAAoC;IACnD,mBAAmB,EAAE,MAAM,CAAC;IAE5B,MAAM,EAAE,OAAO,CAAC;IAEhB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,wBAAwB,CAAC;IAChD,OAAO,EACL,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,oCAAoC,IAAI,oCAAoC,GAClF,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.UpdateCustomObjectRecord = 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 UpdateCustomObjectRecord extends resource_1.APIResource {
10
+ /**
11
+ * Execute the custom object record update action.
12
+ */
13
+ create(body, options) {
14
+ return this._client.post('/update-custom-object-record/', { body, ...options });
15
+ }
16
+ }
17
+ exports.UpdateCustomObjectRecord = UpdateCustomObjectRecord;
18
+ //# sourceMappingURL=update-custom-object-record.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-custom-object-record.js","sourceRoot":"","sources":["../src/resources/update-custom-object-record.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,wBAAyB,SAAQ,sBAAW;IACvD;;OAEG;IACH,MAAM,CACJ,IAA0C,EAC1C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;CACF;AAVD,4DAUC"}
@@ -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 UpdateCustomObjectRecord extends APIResource {
7
+ /**
8
+ * Execute the custom object record update action.
9
+ */
10
+ create(body, options) {
11
+ return this._client.post('/update-custom-object-record/', { body, ...options });
12
+ }
13
+ }
14
+ //# sourceMappingURL=update-custom-object-record.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-custom-object-record.mjs","sourceRoot":"","sources":["../src/resources/update-custom-object-record.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB;;GAEG;AACH,MAAM,OAAO,wBAAyB,SAAQ,WAAW;IACvD;;OAEG;IACH,MAAM,CACJ,IAA0C,EAC1C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;CACF"}
@@ -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 UpsertCustomObject extends APIResource {
8
+ /**
9
+ * Execute the custom object upsert action.
10
+ */
11
+ create(body: UpsertCustomObjectCreateParams, options?: RequestOptions): APIPromise<UpsertCustomObjectCreateResponse>;
12
+ }
13
+ export interface UpsertCustomObjectCreateResponse {
14
+ /**
15
+ * Result of the upsert custom object action
16
+ */
17
+ result: unknown;
18
+ }
19
+ export interface UpsertCustomObjectCreateParams {
20
+ customObjectAPIName: string;
21
+ record: unknown;
22
+ }
23
+ export declare namespace UpsertCustomObject {
24
+ export { type UpsertCustomObjectCreateResponse as UpsertCustomObjectCreateResponse, type UpsertCustomObjectCreateParams as UpsertCustomObjectCreateParams, };
25
+ }
26
+ //# sourceMappingURL=upsert-custom-object.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsert-custom-object.d.mts","sourceRoot":"","sources":["../src/resources/upsert-custom-object.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,8BAA8B,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gCAAgC,CAAC;CAGhD;AAED,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,8BAA8B;IAC7C,mBAAmB,EAAE,MAAM,CAAC;IAE5B,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C,OAAO,EACL,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,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 UpsertCustomObject extends APIResource {
8
+ /**
9
+ * Execute the custom object upsert action.
10
+ */
11
+ create(body: UpsertCustomObjectCreateParams, options?: RequestOptions): APIPromise<UpsertCustomObjectCreateResponse>;
12
+ }
13
+ export interface UpsertCustomObjectCreateResponse {
14
+ /**
15
+ * Result of the upsert custom object action
16
+ */
17
+ result: unknown;
18
+ }
19
+ export interface UpsertCustomObjectCreateParams {
20
+ customObjectAPIName: string;
21
+ record: unknown;
22
+ }
23
+ export declare namespace UpsertCustomObject {
24
+ export { type UpsertCustomObjectCreateResponse as UpsertCustomObjectCreateResponse, type UpsertCustomObjectCreateParams as UpsertCustomObjectCreateParams, };
25
+ }
26
+ //# sourceMappingURL=upsert-custom-object.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsert-custom-object.d.ts","sourceRoot":"","sources":["../src/resources/upsert-custom-object.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,8BAA8B,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gCAAgC,CAAC;CAGhD;AAED,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,8BAA8B;IAC7C,mBAAmB,EAAE,MAAM,CAAC;IAE5B,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C,OAAO,EACL,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,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.UpsertCustomObject = 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 UpsertCustomObject extends resource_1.APIResource {
10
+ /**
11
+ * Execute the custom object upsert action.
12
+ */
13
+ create(body, options) {
14
+ return this._client.post('/upsert-custom-object/', { body, ...options });
15
+ }
16
+ }
17
+ exports.UpsertCustomObject = UpsertCustomObject;
18
+ //# sourceMappingURL=upsert-custom-object.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsert-custom-object.js","sourceRoot":"","sources":["../src/resources/upsert-custom-object.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,kBAAmB,SAAQ,sBAAW;IACjD;;OAEG;IACH,MAAM,CACJ,IAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;CACF;AAVD,gDAUC"}
@@ -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 UpsertCustomObject extends APIResource {
7
+ /**
8
+ * Execute the custom object upsert action.
9
+ */
10
+ create(body, options) {
11
+ return this._client.post('/upsert-custom-object/', { body, ...options });
12
+ }
13
+ }
14
+ //# sourceMappingURL=upsert-custom-object.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsert-custom-object.mjs","sourceRoot":"","sources":["../src/resources/upsert-custom-object.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB;;GAEG;AACH,MAAM,OAAO,kBAAmB,SAAQ,WAAW;IACjD;;OAEG;IACH,MAAM,CACJ,IAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;CACF"}
package/src/client.ts CHANGED
@@ -19,6 +19,11 @@ import { AbstractPage, PageCursorURLResponse } from './core/pagination';
19
19
  import * as Uploads from './core/uploads';
20
20
  import * as API from './resources/index';
21
21
  import { APIPromise } from './core/api-promise';
22
+ import {
23
+ AssignReview,
24
+ AssignReviewCreateParams,
25
+ AssignReviewCreateResponse,
26
+ } from './resources/assign-review';
22
27
  import {
23
28
  BusinessPartnerGroup,
24
29
  BusinessPartnerGroupCreateParams,
@@ -72,6 +77,11 @@ import {
72
77
  CreateAppNotificationCreateParams,
73
78
  CreateAppNotificationCreateResponse,
74
79
  } from './resources/create-app-notification';
80
+ import {
81
+ CreateGcalEvent,
82
+ CreateGcalEventCreateParams,
83
+ CreateGcalEventCreateResponse,
84
+ } from './resources/create-gcal-event';
75
85
  import {
76
86
  CustomAppCreateParams,
77
87
  CustomAppCreateResponse,
@@ -109,6 +119,11 @@ import {
109
119
  CustomSettingUpdateResponse,
110
120
  CustomSettings,
111
121
  } from './resources/custom-settings';
122
+ import {
123
+ DeleteCustomObjectRecord,
124
+ DeleteCustomObjectRecordCreateParams,
125
+ DeleteCustomObjectRecordCreateResponse,
126
+ } from './resources/delete-custom-object-record';
112
127
  import {
113
128
  Department,
114
129
  DepartmentCreateParams,
@@ -132,6 +147,7 @@ import {
132
147
  EntitlementListResponsesPageCursorURL,
133
148
  Entitlements,
134
149
  } from './resources/entitlements';
150
+ import { EvaluateRql, EvaluateRqlCreateParams, EvaluateRqlCreateResponse } from './resources/evaluate-rql';
135
151
  import {
136
152
  HeadcountPositionListParams,
137
153
  HeadcountPositionListResponse,
@@ -315,7 +331,25 @@ import {
315
331
  Schedules,
316
332
  } from './resources/schedules';
317
333
  import { SendEmail, SendEmailCreateParams, SendEmailCreateResponse } from './resources/send-email';
334
+ import {
335
+ SendHTTPRequest,
336
+ SendHTTPRequestCreateParams,
337
+ SendHTTPRequestCreateResponse,
338
+ } from './resources/send-http-request';
339
+ import {
340
+ SendPushNotification,
341
+ SendPushNotificationCreateParams,
342
+ SendPushNotificationCreateResponse,
343
+ } from './resources/send-push-notification';
344
+ import {
345
+ SendReportSftp,
346
+ SendReportSftpCreateParams,
347
+ SendReportSftpCreateResponse,
348
+ } from './resources/send-report-sftp';
318
349
  import { SendSlack, SendSlackCreateParams, SendSlackCreateResponse } from './resources/send-slack';
350
+ import { SendSMS, SendSMSCreateParams, SendSMSCreateResponse } from './resources/send-sms';
351
+ import { SendSurvey, SendSurveyCreateParams, SendSurveyCreateResponse } from './resources/send-survey';
352
+ import { SendTeamCreateParams, SendTeamCreateResponse, SendTeams } from './resources/send-teams';
319
353
  import {
320
354
  ShiftAssignmentUpdateCustomfieldsParams,
321
355
  ShiftAssignmentUpdateCustomfieldsResponse,
@@ -414,6 +448,16 @@ import {
414
448
  UnassignedshiftUpdateResponse,
415
449
  Unassignedshifts,
416
450
  } from './resources/unassignedshifts';
451
+ import {
452
+ UpdateCustomObjectRecord,
453
+ UpdateCustomObjectRecordCreateParams,
454
+ UpdateCustomObjectRecordCreateResponse,
455
+ } from './resources/update-custom-object-record';
456
+ import {
457
+ UpsertCustomObject,
458
+ UpsertCustomObjectCreateParams,
459
+ UpsertCustomObjectCreateResponse,
460
+ } from './resources/upsert-custom-object';
417
461
  import { User, UserListParams, UserRetrieveResponse, Users, UsersPageCursorURL } from './resources/users';
418
462
  import {
419
463
  WorkLocation,
@@ -1305,6 +1349,10 @@ export class RipplingSDK {
1305
1349
  * Job related information for the company
1306
1350
  */
1307
1351
  jobPayRateExceptions: API.JobPayRateExceptions = new API.JobPayRateExceptions(this);
1352
+ /**
1353
+ * Execute workflow actions like sending emails, Slack messages, and notifications
1354
+ */
1355
+ assignReview: API.AssignReview = new API.AssignReview(this);
1308
1356
  /**
1309
1357
  * Someone who applies to a job requisition opened by the company
1310
1358
  */
@@ -1321,6 +1369,10 @@ export class RipplingSDK {
1321
1369
  * Execute workflow actions like sending emails, Slack messages, and notifications
1322
1370
  */
1323
1371
  createAppNotification: API.CreateAppNotification = new API.CreateAppNotification(this);
1372
+ /**
1373
+ * Execute workflow actions like sending emails, Slack messages, and notifications
1374
+ */
1375
+ createGcalEvent: API.CreateGcalEvent = new API.CreateGcalEvent(this);
1324
1376
  customApps: API.CustomApps = new API.CustomApps(this);
1325
1377
  /**
1326
1378
  * Custom fields defined by the company
@@ -1328,6 +1380,10 @@ export class RipplingSDK {
1328
1380
  customFields: API.CustomFields = new API.CustomFields(this);
1329
1381
  customPages: API.CustomPages = new API.CustomPages(this);
1330
1382
  customSettings: API.CustomSettings = new API.CustomSettings(this);
1383
+ /**
1384
+ * Execute workflow actions like sending emails, Slack messages, and notifications
1385
+ */
1386
+ deleteCustomObjectRecord: API.DeleteCustomObjectRecord = new API.DeleteCustomObjectRecord(this);
1331
1387
  /**
1332
1388
  * Candidates who have not yet started work at the company
1333
1389
  */
@@ -1336,6 +1392,10 @@ export class RipplingSDK {
1336
1392
  * Availability of API features to the company or Partners.
1337
1393
  */
1338
1394
  entitlements: API.Entitlements = new API.Entitlements(this);
1395
+ /**
1396
+ * Execute workflow actions like sending emails, Slack messages, and notifications
1397
+ */
1398
+ evaluateRql: API.EvaluateRql = new API.EvaluateRql(this);
1339
1399
  /**
1340
1400
  * Headcount allocations for the company
1341
1401
  */
@@ -1384,10 +1444,34 @@ export class RipplingSDK {
1384
1444
  * Execute workflow actions like sending emails, Slack messages, and notifications
1385
1445
  */
1386
1446
  sendEmail: API.SendEmail = new API.SendEmail(this);
1447
+ /**
1448
+ * Execute workflow actions like sending emails, Slack messages, and notifications
1449
+ */
1450
+ sendHTTPRequest: API.SendHTTPRequest = new API.SendHTTPRequest(this);
1451
+ /**
1452
+ * Execute workflow actions like sending emails, Slack messages, and notifications
1453
+ */
1454
+ sendPushNotification: API.SendPushNotification = new API.SendPushNotification(this);
1455
+ /**
1456
+ * Execute workflow actions like sending emails, Slack messages, and notifications
1457
+ */
1458
+ sendReportSftp: API.SendReportSftp = new API.SendReportSftp(this);
1387
1459
  /**
1388
1460
  * Execute workflow actions like sending emails, Slack messages, and notifications
1389
1461
  */
1390
1462
  sendSlack: API.SendSlack = new API.SendSlack(this);
1463
+ /**
1464
+ * Execute workflow actions like sending emails, Slack messages, and notifications
1465
+ */
1466
+ sendSMS: API.SendSMS = new API.SendSMS(this);
1467
+ /**
1468
+ * Execute workflow actions like sending emails, Slack messages, and notifications
1469
+ */
1470
+ sendSurvey: API.SendSurvey = new API.SendSurvey(this);
1471
+ /**
1472
+ * Execute workflow actions like sending emails, Slack messages, and notifications
1473
+ */
1474
+ sendTeams: API.SendTeams = new API.SendTeams(this);
1391
1475
  /**
1392
1476
  * Shift assignments assigned to workers
1393
1477
  */
@@ -1400,6 +1484,14 @@ export class RipplingSDK {
1400
1484
  * Unassigned shifts that are part of a schedule
1401
1485
  */
1402
1486
  unassignedshifts: API.Unassignedshifts = new API.Unassignedshifts(this);
1487
+ /**
1488
+ * Execute workflow actions like sending emails, Slack messages, and notifications
1489
+ */
1490
+ updateCustomObjectRecord: API.UpdateCustomObjectRecord = new API.UpdateCustomObjectRecord(this);
1491
+ /**
1492
+ * Execute workflow actions like sending emails, Slack messages, and notifications
1493
+ */
1494
+ upsertCustomObject: API.UpsertCustomObject = new API.UpsertCustomObject(this);
1403
1495
  /**
1404
1496
  * Shift assignments assigned to workers
1405
1497
  */
@@ -1440,16 +1532,20 @@ RipplingSDK.BusinessPartnerGroups = BusinessPartnerGroups;
1440
1532
  RipplingSDK.Functions = Functions;
1441
1533
  RipplingSDK.JobAssignments = JobAssignments;
1442
1534
  RipplingSDK.JobPayRateExceptions = JobPayRateExceptions;
1535
+ RipplingSDK.AssignReview = AssignReview;
1443
1536
  RipplingSDK.Candidates = Candidates;
1444
1537
  RipplingSDK.CandidateApplications = CandidateApplications;
1445
1538
  RipplingSDK.CompensationBandsDetails = CompensationBandsDetails;
1446
1539
  RipplingSDK.CreateAppNotification = CreateAppNotification;
1540
+ RipplingSDK.CreateGcalEvent = CreateGcalEvent;
1447
1541
  RipplingSDK.CustomApps = CustomApps;
1448
1542
  RipplingSDK.CustomFields = CustomFields;
1449
1543
  RipplingSDK.CustomPages = CustomPages;
1450
1544
  RipplingSDK.CustomSettings = CustomSettings;
1545
+ RipplingSDK.DeleteCustomObjectRecord = DeleteCustomObjectRecord;
1451
1546
  RipplingSDK.DraftHires = DraftHires;
1452
1547
  RipplingSDK.Entitlements = Entitlements;
1548
+ RipplingSDK.EvaluateRql = EvaluateRql;
1453
1549
  RipplingSDK.HeadcountPositions = HeadcountPositions;
1454
1550
  RipplingSDK.HeadcountPriorities = HeadcountPriorities;
1455
1551
  RipplingSDK.JobFunctions = JobFunctions;
@@ -1462,10 +1558,18 @@ RipplingSDK.ReportRuns = ReportRuns;
1462
1558
  RipplingSDK.RunQuery = RunQuery;
1463
1559
  RipplingSDK.Schedules = Schedules;
1464
1560
  RipplingSDK.SendEmail = SendEmail;
1561
+ RipplingSDK.SendHTTPRequest = SendHTTPRequest;
1562
+ RipplingSDK.SendPushNotification = SendPushNotification;
1563
+ RipplingSDK.SendReportSftp = SendReportSftp;
1465
1564
  RipplingSDK.SendSlack = SendSlack;
1565
+ RipplingSDK.SendSMS = SendSMS;
1566
+ RipplingSDK.SendSurvey = SendSurvey;
1567
+ RipplingSDK.SendTeams = SendTeams;
1466
1568
  RipplingSDK.Shiftassignments = Shiftassignments;
1467
1569
  RipplingSDK.Titles = Titles;
1468
1570
  RipplingSDK.Unassignedshifts = Unassignedshifts;
1571
+ RipplingSDK.UpdateCustomObjectRecord = UpdateCustomObjectRecord;
1572
+ RipplingSDK.UpsertCustomObject = UpsertCustomObject;
1469
1573
  RipplingSDK.ShiftAssignments = ShiftAssignments;
1470
1574
  RipplingSDK.UnassignedShifts = UnassignedShifts;
1471
1575
 
@@ -1767,6 +1871,12 @@ export declare namespace RipplingSDK {
1767
1871
  type JobPayRateExceptionListChangeLogParams as JobPayRateExceptionListChangeLogParams,
1768
1872
  };
1769
1873
 
1874
+ export {
1875
+ AssignReview as AssignReview,
1876
+ type AssignReviewCreateResponse as AssignReviewCreateResponse,
1877
+ type AssignReviewCreateParams as AssignReviewCreateParams,
1878
+ };
1879
+
1770
1880
  export {
1771
1881
  Candidates as Candidates,
1772
1882
  type CandidateListResponse as CandidateListResponse,
@@ -1796,6 +1906,12 @@ export declare namespace RipplingSDK {
1796
1906
  type CreateAppNotificationCreateParams as CreateAppNotificationCreateParams,
1797
1907
  };
1798
1908
 
1909
+ export {
1910
+ CreateGcalEvent as CreateGcalEvent,
1911
+ type CreateGcalEventCreateResponse as CreateGcalEventCreateResponse,
1912
+ type CreateGcalEventCreateParams as CreateGcalEventCreateParams,
1913
+ };
1914
+
1799
1915
  export {
1800
1916
  CustomApps as CustomApps,
1801
1917
  type CustomAppListResponse as CustomAppListResponse,
@@ -1837,6 +1953,12 @@ export declare namespace RipplingSDK {
1837
1953
  type CustomSettingUpdateParams as CustomSettingUpdateParams,
1838
1954
  };
1839
1955
 
1956
+ export {
1957
+ DeleteCustomObjectRecord as DeleteCustomObjectRecord,
1958
+ type DeleteCustomObjectRecordCreateResponse as DeleteCustomObjectRecordCreateResponse,
1959
+ type DeleteCustomObjectRecordCreateParams as DeleteCustomObjectRecordCreateParams,
1960
+ };
1961
+
1840
1962
  export {
1841
1963
  DraftHires as DraftHires,
1842
1964
  type DraftHireCreateResponse as DraftHireCreateResponse,
@@ -1849,6 +1971,12 @@ export declare namespace RipplingSDK {
1849
1971
  type EntitlementListResponsesPageCursorURL as EntitlementListResponsesPageCursorURL,
1850
1972
  };
1851
1973
 
1974
+ export {
1975
+ EvaluateRql as EvaluateRql,
1976
+ type EvaluateRqlCreateResponse as EvaluateRqlCreateResponse,
1977
+ type EvaluateRqlCreateParams as EvaluateRqlCreateParams,
1978
+ };
1979
+
1852
1980
  export {
1853
1981
  HeadcountPositions as HeadcountPositions,
1854
1982
  type HeadcountPositionListResponse as HeadcountPositionListResponse,
@@ -1943,12 +2071,48 @@ export declare namespace RipplingSDK {
1943
2071
  type SendEmailCreateParams as SendEmailCreateParams,
1944
2072
  };
1945
2073
 
2074
+ export {
2075
+ SendHTTPRequest as SendHTTPRequest,
2076
+ type SendHTTPRequestCreateResponse as SendHTTPRequestCreateResponse,
2077
+ type SendHTTPRequestCreateParams as SendHTTPRequestCreateParams,
2078
+ };
2079
+
2080
+ export {
2081
+ SendPushNotification as SendPushNotification,
2082
+ type SendPushNotificationCreateResponse as SendPushNotificationCreateResponse,
2083
+ type SendPushNotificationCreateParams as SendPushNotificationCreateParams,
2084
+ };
2085
+
2086
+ export {
2087
+ SendReportSftp as SendReportSftp,
2088
+ type SendReportSftpCreateResponse as SendReportSftpCreateResponse,
2089
+ type SendReportSftpCreateParams as SendReportSftpCreateParams,
2090
+ };
2091
+
1946
2092
  export {
1947
2093
  SendSlack as SendSlack,
1948
2094
  type SendSlackCreateResponse as SendSlackCreateResponse,
1949
2095
  type SendSlackCreateParams as SendSlackCreateParams,
1950
2096
  };
1951
2097
 
2098
+ export {
2099
+ SendSMS as SendSMS,
2100
+ type SendSMSCreateResponse as SendSMSCreateResponse,
2101
+ type SendSMSCreateParams as SendSMSCreateParams,
2102
+ };
2103
+
2104
+ export {
2105
+ SendSurvey as SendSurvey,
2106
+ type SendSurveyCreateResponse as SendSurveyCreateResponse,
2107
+ type SendSurveyCreateParams as SendSurveyCreateParams,
2108
+ };
2109
+
2110
+ export {
2111
+ SendTeams as SendTeams,
2112
+ type SendTeamCreateResponse as SendTeamCreateResponse,
2113
+ type SendTeamCreateParams as SendTeamCreateParams,
2114
+ };
2115
+
1952
2116
  export {
1953
2117
  Shiftassignments as Shiftassignments,
1954
2118
  type ShiftassignmentListResponse as ShiftassignmentListResponse,
@@ -1987,6 +2151,18 @@ export declare namespace RipplingSDK {
1987
2151
  type UnassignedshiftUpdateParams as UnassignedshiftUpdateParams,
1988
2152
  };
1989
2153
 
2154
+ export {
2155
+ UpdateCustomObjectRecord as UpdateCustomObjectRecord,
2156
+ type UpdateCustomObjectRecordCreateResponse as UpdateCustomObjectRecordCreateResponse,
2157
+ type UpdateCustomObjectRecordCreateParams as UpdateCustomObjectRecordCreateParams,
2158
+ };
2159
+
2160
+ export {
2161
+ UpsertCustomObject as UpsertCustomObject,
2162
+ type UpsertCustomObjectCreateResponse as UpsertCustomObjectCreateResponse,
2163
+ type UpsertCustomObjectCreateParams as UpsertCustomObjectCreateParams,
2164
+ };
2165
+
1990
2166
  export {
1991
2167
  ShiftAssignments as ShiftAssignments,
1992
2168
  type ShiftAssignmentUpdateCustomfieldsResponse as ShiftAssignmentUpdateCustomfieldsResponse,
@@ -0,0 +1,44 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../core/resource';
4
+ import { APIPromise } from '../core/api-promise';
5
+ import { RequestOptions } from '../internal/request-options';
6
+
7
+ /**
8
+ * Execute workflow actions like sending emails, Slack messages, and notifications
9
+ */
10
+ export class AssignReview extends APIResource {
11
+ /**
12
+ * Execute the review assignment action.
13
+ */
14
+ create(body: AssignReviewCreateParams, options?: RequestOptions): APIPromise<AssignReviewCreateResponse> {
15
+ return this._client.post('/assign-review/', { body, ...options });
16
+ }
17
+ }
18
+
19
+ export interface AssignReviewCreateResponse {
20
+ /**
21
+ * Result of the assign review action
22
+ */
23
+ result: unknown;
24
+ }
25
+
26
+ export interface AssignReviewCreateParams {
27
+ cycleId: string;
28
+
29
+ reviewees: Array<string>;
30
+
31
+ reviewers: Array<string>;
32
+
33
+ /**
34
+ * An enumeration.
35
+ */
36
+ isReviewerRelativeToReviewee?: 'REVIEWER_RELATIVE_TO_REVIEWEE' | 'REVIEWER_RELATIVE_TO_TRIGGER' | null;
37
+ }
38
+
39
+ export declare namespace AssignReview {
40
+ export {
41
+ type AssignReviewCreateResponse as AssignReviewCreateResponse,
42
+ type AssignReviewCreateParams as AssignReviewCreateParams,
43
+ };
44
+ }
@@ -9,7 +9,7 @@ import { RequestOptions } from '../internal/request-options';
9
9
  */
10
10
  export class CreateAppNotification extends APIResource {
11
11
  /**
12
- * Create an in-app notification for the specified recipients.
12
+ * Execute the app notification action.
13
13
  */
14
14
  create(
15
15
  body: CreateAppNotificationCreateParams,