@roarkanalytics/sdk 5.2.0 → 5.4.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.
Files changed (48) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/client.d.mts +6 -0
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +6 -0
  5. package/client.d.ts.map +1 -1
  6. package/client.js +6 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +6 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/config.d.mts +416 -8
  12. package/resources/config.d.mts.map +1 -1
  13. package/resources/config.d.ts +416 -8
  14. package/resources/config.d.ts.map +1 -1
  15. package/resources/index.d.mts +2 -0
  16. package/resources/index.d.mts.map +1 -1
  17. package/resources/index.d.ts +2 -0
  18. package/resources/index.d.ts.map +1 -1
  19. package/resources/index.js +5 -1
  20. package/resources/index.js.map +1 -1
  21. package/resources/index.mjs +2 -0
  22. package/resources/index.mjs.map +1 -1
  23. package/resources/simulation-group.d.mts +777 -0
  24. package/resources/simulation-group.d.mts.map +1 -0
  25. package/resources/simulation-group.d.ts +777 -0
  26. package/resources/simulation-group.d.ts.map +1 -0
  27. package/resources/simulation-group.js +116 -0
  28. package/resources/simulation-group.js.map +1 -0
  29. package/resources/simulation-group.mjs +112 -0
  30. package/resources/simulation-group.mjs.map +1 -0
  31. package/resources/simulation-run-group.d.mts +890 -0
  32. package/resources/simulation-run-group.d.mts.map +1 -0
  33. package/resources/simulation-run-group.d.ts +890 -0
  34. package/resources/simulation-run-group.d.ts.map +1 -0
  35. package/resources/simulation-run-group.js +91 -0
  36. package/resources/simulation-run-group.js.map +1 -0
  37. package/resources/simulation-run-group.mjs +87 -0
  38. package/resources/simulation-run-group.mjs.map +1 -0
  39. package/src/client.ts +50 -0
  40. package/src/resources/config.ts +759 -31
  41. package/src/resources/index.ts +22 -0
  42. package/src/resources/simulation-group.ts +1105 -0
  43. package/src/resources/simulation-run-group.ts +1489 -0
  44. package/src/version.ts +1 -1
  45. package/version.d.mts +1 -1
  46. package/version.d.ts +1 -1
  47. package/version.js +1 -1
  48. package/version.mjs +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"simulation-group.d.ts","sourceRoot":"","sources":["../src/resources/simulation-group.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;IAI5C;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,OAAO,EAAE,MAAM,EACf,IAAI,GAAE,2BAA2B,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;IAI5C;;;;;;;;;OASG;IACH,IAAI,CACF,KAAK,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;IAI1C;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;IAI5F;;;;;;;;;;OAUG;IACH,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;IAI9F;;;;;;;;;;;;;;;;;;;OAmBG;IACH,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;CAGvF;AAED,MAAM,WAAW,6BAA6B;IAC5C;;;OAGG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,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,OAAO,EACL,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
@@ -0,0 +1,116 @@
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.SimulationGroup = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ const path_1 = require("../internal/utils/path.js");
7
+ class SimulationGroup extends resource_1.APIResource {
8
+ /**
9
+ * Saves a named set of plans to run together, again and again. Nothing runs yet:
10
+ * POST /v1/simulation/group/{groupId}/run starts one run of every plan and groups
11
+ * them into a run group with one combined report.
12
+ *
13
+ * Slack channels need Slack connected to the project. Email is on by default.
14
+ *
15
+ * @example
16
+ * ```ts
17
+ * const simulationGroup = await client.simulationGroup.create(
18
+ * {
19
+ * name: 'Release regression',
20
+ * simulationRunPlanIds: [
21
+ * '3c1d2e4f-5a6b-4c7d-8e9f-0a1b2c3d4e5f',
22
+ * '6d7e8f9a-0b1c-4d2e-9f3a-4b5c6d7e8f9a',
23
+ * ],
24
+ * },
25
+ * );
26
+ * ```
27
+ */
28
+ create(body, options) {
29
+ return this._client.post('/v1/simulation/group', { body, ...options });
30
+ }
31
+ /**
32
+ * Edits a saved simulation group. Omitted fields keep their current value;
33
+ * `notifications`, when sent, replaces the settings as a whole. Run groups it
34
+ * already started keep theirs.
35
+ *
36
+ * A group managed by config as code (`configManaged: true`) returns 409: change it
37
+ * in the config file.
38
+ *
39
+ * @example
40
+ * ```ts
41
+ * const simulationGroup = await client.simulationGroup.update(
42
+ * '2a3b4c5d-6e7f-4a8b-9c0d-1e2f3a4b5c6d',
43
+ * );
44
+ * ```
45
+ */
46
+ update(groupID, body = {}, options) {
47
+ return this._client.put((0, path_1.path) `/v1/simulation/group/${groupID}`, { body, ...options });
48
+ }
49
+ /**
50
+ * Returns the saved simulation groups in the project, most recently edited first,
51
+ * each with its plans in run order and notification settings.
52
+ *
53
+ * @example
54
+ * ```ts
55
+ * const simulationGroups =
56
+ * await client.simulationGroup.list();
57
+ * ```
58
+ */
59
+ list(query = {}, options) {
60
+ return this._client.get('/v1/simulation/group', { query, ...options });
61
+ }
62
+ /**
63
+ * Deletes a saved simulation group and any schedules that run it. Run groups it
64
+ * already started, and their reports, stay. A group managed by config as code
65
+ * returns 409.
66
+ *
67
+ * @example
68
+ * ```ts
69
+ * const simulationGroup = await client.simulationGroup.delete(
70
+ * '2a3b4c5d-6e7f-4a8b-9c0d-1e2f3a4b5c6d',
71
+ * );
72
+ * ```
73
+ */
74
+ delete(groupID, options) {
75
+ return this._client.delete((0, path_1.path) `/v1/simulation/group/${groupID}`, options);
76
+ }
77
+ /**
78
+ * Returns a saved simulation group with its plans in run order and notification
79
+ * settings.
80
+ *
81
+ * @example
82
+ * ```ts
83
+ * const response = await client.simulationGroup.getByID(
84
+ * '2a3b4c5d-6e7f-4a8b-9c0d-1e2f3a4b5c6d',
85
+ * );
86
+ * ```
87
+ */
88
+ getByID(groupID, options) {
89
+ return this._client.get((0, path_1.path) `/v1/simulation/group/${groupID}`, options);
90
+ }
91
+ /**
92
+ * Starts one run of every plan in the group, exactly as POST
93
+ * /v1/simulation/plan/{planId}/job would for each, and groups the runs into a run
94
+ * group whose combined report is announced through the group's notification
95
+ * settings once it is ready. This places real calls. Config-managed groups can be
96
+ * run here too.
97
+ *
98
+ * Returns the run group. Poll GET /v1/simulation/run-group/{groupId} until
99
+ * `latestReport.status` is READY.
100
+ *
101
+ * If a plan cannot start after others did, the runs that started are still grouped
102
+ * and the 400 names the run group id.
103
+ *
104
+ * @example
105
+ * ```ts
106
+ * const response = await client.simulationGroup.run(
107
+ * '2a3b4c5d-6e7f-4a8b-9c0d-1e2f3a4b5c6d',
108
+ * );
109
+ * ```
110
+ */
111
+ run(groupID, options) {
112
+ return this._client.post((0, path_1.path) `/v1/simulation/group/${groupID}/run`, options);
113
+ }
114
+ }
115
+ exports.SimulationGroup = SimulationGroup;
116
+ //# sourceMappingURL=simulation-group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"simulation-group.js","sourceRoot":"","sources":["../src/resources/simulation-group.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,eAAgB,SAAQ,sBAAW;IAC9C;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,OAAe,EACf,OAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,wBAAwB,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;;OASG;IACH,IAAI,CACF,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,OAAe,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,wBAAwB,OAAO,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;OAUG;IACH,OAAO,CAAC,OAAe,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,wBAAwB,OAAO,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,GAAG,CAAC,OAAe,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,wBAAwB,OAAO,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;CACF;AA1HD,0CA0HC"}
@@ -0,0 +1,112 @@
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 SimulationGroup extends APIResource {
5
+ /**
6
+ * Saves a named set of plans to run together, again and again. Nothing runs yet:
7
+ * POST /v1/simulation/group/{groupId}/run starts one run of every plan and groups
8
+ * them into a run group with one combined report.
9
+ *
10
+ * Slack channels need Slack connected to the project. Email is on by default.
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const simulationGroup = await client.simulationGroup.create(
15
+ * {
16
+ * name: 'Release regression',
17
+ * simulationRunPlanIds: [
18
+ * '3c1d2e4f-5a6b-4c7d-8e9f-0a1b2c3d4e5f',
19
+ * '6d7e8f9a-0b1c-4d2e-9f3a-4b5c6d7e8f9a',
20
+ * ],
21
+ * },
22
+ * );
23
+ * ```
24
+ */
25
+ create(body, options) {
26
+ return this._client.post('/v1/simulation/group', { body, ...options });
27
+ }
28
+ /**
29
+ * Edits a saved simulation group. Omitted fields keep their current value;
30
+ * `notifications`, when sent, replaces the settings as a whole. Run groups it
31
+ * already started keep theirs.
32
+ *
33
+ * A group managed by config as code (`configManaged: true`) returns 409: change it
34
+ * in the config file.
35
+ *
36
+ * @example
37
+ * ```ts
38
+ * const simulationGroup = await client.simulationGroup.update(
39
+ * '2a3b4c5d-6e7f-4a8b-9c0d-1e2f3a4b5c6d',
40
+ * );
41
+ * ```
42
+ */
43
+ update(groupID, body = {}, options) {
44
+ return this._client.put(path `/v1/simulation/group/${groupID}`, { body, ...options });
45
+ }
46
+ /**
47
+ * Returns the saved simulation groups in the project, most recently edited first,
48
+ * each with its plans in run order and notification settings.
49
+ *
50
+ * @example
51
+ * ```ts
52
+ * const simulationGroups =
53
+ * await client.simulationGroup.list();
54
+ * ```
55
+ */
56
+ list(query = {}, options) {
57
+ return this._client.get('/v1/simulation/group', { query, ...options });
58
+ }
59
+ /**
60
+ * Deletes a saved simulation group and any schedules that run it. Run groups it
61
+ * already started, and their reports, stay. A group managed by config as code
62
+ * returns 409.
63
+ *
64
+ * @example
65
+ * ```ts
66
+ * const simulationGroup = await client.simulationGroup.delete(
67
+ * '2a3b4c5d-6e7f-4a8b-9c0d-1e2f3a4b5c6d',
68
+ * );
69
+ * ```
70
+ */
71
+ delete(groupID, options) {
72
+ return this._client.delete(path `/v1/simulation/group/${groupID}`, options);
73
+ }
74
+ /**
75
+ * Returns a saved simulation group with its plans in run order and notification
76
+ * settings.
77
+ *
78
+ * @example
79
+ * ```ts
80
+ * const response = await client.simulationGroup.getByID(
81
+ * '2a3b4c5d-6e7f-4a8b-9c0d-1e2f3a4b5c6d',
82
+ * );
83
+ * ```
84
+ */
85
+ getByID(groupID, options) {
86
+ return this._client.get(path `/v1/simulation/group/${groupID}`, options);
87
+ }
88
+ /**
89
+ * Starts one run of every plan in the group, exactly as POST
90
+ * /v1/simulation/plan/{planId}/job would for each, and groups the runs into a run
91
+ * group whose combined report is announced through the group's notification
92
+ * settings once it is ready. This places real calls. Config-managed groups can be
93
+ * run here too.
94
+ *
95
+ * Returns the run group. Poll GET /v1/simulation/run-group/{groupId} until
96
+ * `latestReport.status` is READY.
97
+ *
98
+ * If a plan cannot start after others did, the runs that started are still grouped
99
+ * and the 400 names the run group id.
100
+ *
101
+ * @example
102
+ * ```ts
103
+ * const response = await client.simulationGroup.run(
104
+ * '2a3b4c5d-6e7f-4a8b-9c0d-1e2f3a4b5c6d',
105
+ * );
106
+ * ```
107
+ */
108
+ run(groupID, options) {
109
+ return this._client.post(path `/v1/simulation/group/${groupID}/run`, options);
110
+ }
111
+ }
112
+ //# sourceMappingURL=simulation-group.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"simulation-group.mjs","sourceRoot":"","sources":["../src/resources/simulation-group.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,OAAe,EACf,OAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,wBAAwB,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;;OASG;IACH,IAAI,CACF,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,OAAe,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,wBAAw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