@rippling/rippling-sdk 0.2.0-alpha.97 → 0.2.0-alpha.98

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 (95) hide show
  1. package/client.d.mts +25 -4
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +25 -4
  4. package/client.d.ts.map +1 -1
  5. package/client.js +21 -0
  6. package/client.js.map +1 -1
  7. package/client.mjs +22 -1
  8. package/client.mjs.map +1 -1
  9. package/package.json +2 -1
  10. package/resources/index.d.mts +5 -2
  11. package/resources/index.d.mts.map +1 -1
  12. package/resources/index.d.ts +5 -2
  13. package/resources/index.d.ts.map +1 -1
  14. package/resources/index.js +7 -1
  15. package/resources/index.js.map +1 -1
  16. package/resources/index.mjs +4 -1
  17. package/resources/index.mjs.map +1 -1
  18. package/resources/metadata/index.d.mts +1 -1
  19. package/resources/metadata/index.d.mts.map +1 -1
  20. package/resources/metadata/index.d.ts +1 -1
  21. package/resources/metadata/index.d.ts.map +1 -1
  22. package/resources/metadata/index.js.map +1 -1
  23. package/resources/metadata/index.mjs +1 -1
  24. package/resources/metadata/index.mjs.map +1 -1
  25. package/resources/metadata/metadata.d.mts +47 -1
  26. package/resources/metadata/metadata.d.mts.map +1 -1
  27. package/resources/metadata/metadata.d.ts +47 -1
  28. package/resources/metadata/metadata.d.ts.map +1 -1
  29. package/resources/metadata/metadata.js +15 -0
  30. package/resources/metadata/metadata.js.map +1 -1
  31. package/resources/metadata/metadata.mjs +15 -0
  32. package/resources/metadata/metadata.mjs.map +1 -1
  33. package/resources/sandboxes.d.mts +224 -1
  34. package/resources/sandboxes.d.mts.map +1 -1
  35. package/resources/sandboxes.d.ts +224 -1
  36. package/resources/sandboxes.d.ts.map +1 -1
  37. package/resources/sandboxes.js +6 -0
  38. package/resources/sandboxes.js.map +1 -1
  39. package/resources/sandboxes.mjs +6 -0
  40. package/resources/sandboxes.mjs.map +1 -1
  41. package/resources/sites.d.mts +3 -0
  42. package/resources/sites.d.mts.map +1 -1
  43. package/resources/sites.d.ts +3 -0
  44. package/resources/sites.d.ts.map +1 -1
  45. package/resources/sites.js +3 -0
  46. package/resources/sites.js.map +1 -1
  47. package/resources/sites.mjs +3 -0
  48. package/resources/sites.mjs.map +1 -1
  49. package/resources/variable-compensation-payout-labels.d.mts +155 -0
  50. package/resources/variable-compensation-payout-labels.d.mts.map +1 -0
  51. package/resources/variable-compensation-payout-labels.d.ts +155 -0
  52. package/resources/variable-compensation-payout-labels.d.ts.map +1 -0
  53. package/resources/variable-compensation-payout-labels.js +41 -0
  54. package/resources/variable-compensation-payout-labels.js.map +1 -0
  55. package/resources/variable-compensation-payout-labels.mjs +37 -0
  56. package/resources/variable-compensation-payout-labels.mjs.map +1 -0
  57. package/resources/variable-compensation-payout-types.d.mts +334 -0
  58. package/resources/variable-compensation-payout-types.d.mts.map +1 -0
  59. package/resources/variable-compensation-payout-types.d.ts +334 -0
  60. package/resources/variable-compensation-payout-types.d.ts.map +1 -0
  61. package/resources/variable-compensation-payout-types.js +52 -0
  62. package/resources/variable-compensation-payout-types.js.map +1 -0
  63. package/resources/variable-compensation-payout-types.mjs +48 -0
  64. package/resources/variable-compensation-payout-types.mjs.map +1 -0
  65. package/resources/variable-compensation-payout-writes.d.mts +6 -17
  66. package/resources/variable-compensation-payout-writes.d.mts.map +1 -1
  67. package/resources/variable-compensation-payout-writes.d.ts +6 -17
  68. package/resources/variable-compensation-payout-writes.d.ts.map +1 -1
  69. package/resources/variable-compensation-payout-writes.js +2 -1
  70. package/resources/variable-compensation-payout-writes.js.map +1 -1
  71. package/resources/variable-compensation-payout-writes.mjs +2 -1
  72. package/resources/variable-compensation-payout-writes.mjs.map +1 -1
  73. package/resources/variable-compensation-payouts.d.mts +501 -0
  74. package/resources/variable-compensation-payouts.d.mts.map +1 -0
  75. package/resources/variable-compensation-payouts.d.ts +501 -0
  76. package/resources/variable-compensation-payouts.d.ts.map +1 -0
  77. package/resources/variable-compensation-payouts.js +41 -0
  78. package/resources/variable-compensation-payouts.js.map +1 -0
  79. package/resources/variable-compensation-payouts.mjs +37 -0
  80. package/resources/variable-compensation-payouts.mjs.map +1 -0
  81. package/src/client.ts +94 -1
  82. package/src/resources/index.ts +38 -1
  83. package/src/resources/metadata/index.ts +7 -1
  84. package/src/resources/metadata/metadata.ts +54 -0
  85. package/src/resources/sandboxes.ts +265 -0
  86. package/src/resources/sites.ts +3 -0
  87. package/src/resources/variable-compensation-payout-labels.ts +227 -0
  88. package/src/resources/variable-compensation-payout-types.ts +440 -0
  89. package/src/resources/variable-compensation-payout-writes.ts +6 -20
  90. package/src/resources/variable-compensation-payouts.ts +702 -0
  91. package/src/version.ts +1 -1
  92. package/version.d.mts +1 -1
  93. package/version.d.ts +1 -1
  94. package/version.js +1 -1
  95. package/version.mjs +1 -1
package/src/client.ts CHANGED
@@ -501,6 +501,7 @@ import {
501
501
  SandboxListParams,
502
502
  SandboxListResponse,
503
503
  SandboxListResponsesPageCursorURL,
504
+ SandboxRetrieveResponse,
504
505
  Sandboxes,
505
506
  } from './resources/sandboxes';
506
507
  import {
@@ -654,11 +655,41 @@ import {
654
655
  Unassignedshifts,
655
656
  } from './resources/unassignedshifts';
656
657
  import { User, UserListParams, UserRetrieveResponse, Users, UsersPageCursorURL } from './resources/users';
658
+ import {
659
+ VariableCompensationPayoutLabelCreateParams,
660
+ VariableCompensationPayoutLabelCreateResponse,
661
+ VariableCompensationPayoutLabelListParams,
662
+ VariableCompensationPayoutLabelListResponse,
663
+ VariableCompensationPayoutLabelListResponsesPageCursorURL,
664
+ VariableCompensationPayoutLabelRetrieveResponse,
665
+ VariableCompensationPayoutLabelUpdateParams,
666
+ VariableCompensationPayoutLabelUpdateResponse,
667
+ VariableCompensationPayoutLabels,
668
+ } from './resources/variable-compensation-payout-labels';
669
+ import {
670
+ VariableCompensationPayoutTypeCreateParams,
671
+ VariableCompensationPayoutTypeCreateResponse,
672
+ VariableCompensationPayoutTypeListResponse,
673
+ VariableCompensationPayoutTypeListResponsesPageCursorURL,
674
+ VariableCompensationPayoutTypeRetrieveResponse,
675
+ VariableCompensationPayoutTypeUpdateParams,
676
+ VariableCompensationPayoutTypeUpdateResponse,
677
+ VariableCompensationPayoutTypes,
678
+ } from './resources/variable-compensation-payout-types';
657
679
  import {
658
680
  VariableCompensationPayoutWriteCreateParams,
659
681
  VariableCompensationPayoutWriteCreateResponse,
660
682
  VariableCompensationPayoutWrites,
661
683
  } from './resources/variable-compensation-payout-writes';
684
+ import {
685
+ VariableCompensationPayoutCreateParams,
686
+ VariableCompensationPayoutCreateResponse,
687
+ VariableCompensationPayoutListParams,
688
+ VariableCompensationPayoutListResponse,
689
+ VariableCompensationPayoutListResponsesPageCursorURL,
690
+ VariableCompensationPayoutRetrieveResponse,
691
+ VariableCompensationPayouts,
692
+ } from './resources/variable-compensation-payouts';
662
693
  import {
663
694
  WorkLocation,
664
695
  WorkLocationCreateParams,
@@ -747,7 +778,13 @@ import {
747
778
  Functions,
748
779
  FunctionsPageCursorURL,
749
780
  } from './resources/functions/functions';
750
- import { Metadata, MetadataExtractParams, MetadataExtractResponse } from './resources/metadata/metadata';
781
+ import {
782
+ Metadata,
783
+ MetadataExtractByIdentifiersParams,
784
+ MetadataExtractByIdentifiersResponse,
785
+ MetadataExtractParams,
786
+ MetadataExtractResponse,
787
+ } from './resources/metadata/metadata';
751
788
  import {
752
789
  PackageVersionRetrieveResponse,
753
790
  PackageVersionUpdateParams,
@@ -1854,6 +1891,9 @@ export class RipplingSDK {
1854
1891
  * Shift assignments assigned to workers
1855
1892
  */
1856
1893
  shiftassignments: API.Shiftassignments = new API.Shiftassignments(this);
1894
+ /**
1895
+ * Custom sites hosted on Rippling
1896
+ */
1857
1897
  sites: API.Sites = new API.Sites(this);
1858
1898
  /**
1859
1899
  * Software deployed to company devices
@@ -1867,6 +1907,20 @@ export class RipplingSDK {
1867
1907
  * Unassigned shifts that are part of a schedule
1868
1908
  */
1869
1909
  unassignedshifts: API.Unassignedshifts = new API.Unassignedshifts(this);
1910
+ /**
1911
+ * Compensation associated with workers
1912
+ */
1913
+ variableCompensationPayouts: API.VariableCompensationPayouts = new API.VariableCompensationPayouts(this);
1914
+ /**
1915
+ * Compensation associated with workers
1916
+ */
1917
+ variableCompensationPayoutLabels: API.VariableCompensationPayoutLabels =
1918
+ new API.VariableCompensationPayoutLabels(this);
1919
+ /**
1920
+ * Compensation associated with workers
1921
+ */
1922
+ variableCompensationPayoutTypes: API.VariableCompensationPayoutTypes =
1923
+ new API.VariableCompensationPayoutTypes(this);
1870
1924
  /**
1871
1925
  * Compensation associated with workers
1872
1926
  */
@@ -1994,6 +2048,9 @@ RipplingSDK.Sites = Sites;
1994
2048
  RipplingSDK.SoftwareDeployments = SoftwareDeployments;
1995
2049
  RipplingSDK.Titles = Titles;
1996
2050
  RipplingSDK.Unassignedshifts = Unassignedshifts;
2051
+ RipplingSDK.VariableCompensationPayouts = VariableCompensationPayouts;
2052
+ RipplingSDK.VariableCompensationPayoutLabels = VariableCompensationPayoutLabels;
2053
+ RipplingSDK.VariableCompensationPayoutTypes = VariableCompensationPayoutTypes;
1997
2054
  RipplingSDK.VariableCompensationPayoutWrites = VariableCompensationPayoutWrites;
1998
2055
  RipplingSDK.WorkerChanges = WorkerChanges;
1999
2056
  RipplingSDK.WorkerChangeFields = WorkerChangeFields;
@@ -2727,6 +2784,7 @@ export declare namespace RipplingSDK {
2727
2784
  Sandboxes as Sandboxes,
2728
2785
  type SandboxListResponse as SandboxListResponse,
2729
2786
  type SandboxCreateResponse as SandboxCreateResponse,
2787
+ type SandboxRetrieveResponse as SandboxRetrieveResponse,
2730
2788
  type SandboxDeveloperSandboxEntryRolesResponse as SandboxDeveloperSandboxEntryRolesResponse,
2731
2789
  type SandboxListResponsesPageCursorURL as SandboxListResponsesPageCursorURL,
2732
2790
  type SandboxListParams as SandboxListParams,
@@ -2823,6 +2881,39 @@ export declare namespace RipplingSDK {
2823
2881
  type UnassignedshiftUpdateParams as UnassignedshiftUpdateParams,
2824
2882
  };
2825
2883
 
2884
+ export {
2885
+ VariableCompensationPayouts as VariableCompensationPayouts,
2886
+ type VariableCompensationPayoutListResponse as VariableCompensationPayoutListResponse,
2887
+ type VariableCompensationPayoutCreateResponse as VariableCompensationPayoutCreateResponse,
2888
+ type VariableCompensationPayoutRetrieveResponse as VariableCompensationPayoutRetrieveResponse,
2889
+ type VariableCompensationPayoutListResponsesPageCursorURL as VariableCompensationPayoutListResponsesPageCursorURL,
2890
+ type VariableCompensationPayoutListParams as VariableCompensationPayoutListParams,
2891
+ type VariableCompensationPayoutCreateParams as VariableCompensationPayoutCreateParams,
2892
+ };
2893
+
2894
+ export {
2895
+ VariableCompensationPayoutLabels as VariableCompensationPayoutLabels,
2896
+ type VariableCompensationPayoutLabelListResponse as VariableCompensationPayoutLabelListResponse,
2897
+ type VariableCompensationPayoutLabelCreateResponse as VariableCompensationPayoutLabelCreateResponse,
2898
+ type VariableCompensationPayoutLabelRetrieveResponse as VariableCompensationPayoutLabelRetrieveResponse,
2899
+ type VariableCompensationPayoutLabelUpdateResponse as VariableCompensationPayoutLabelUpdateResponse,
2900
+ type VariableCompensationPayoutLabelListResponsesPageCursorURL as VariableCompensationPayoutLabelListResponsesPageCursorURL,
2901
+ type VariableCompensationPayoutLabelListParams as VariableCompensationPayoutLabelListParams,
2902
+ type VariableCompensationPayoutLabelCreateParams as VariableCompensationPayoutLabelCreateParams,
2903
+ type VariableCompensationPayoutLabelUpdateParams as VariableCompensationPayoutLabelUpdateParams,
2904
+ };
2905
+
2906
+ export {
2907
+ VariableCompensationPayoutTypes as VariableCompensationPayoutTypes,
2908
+ type VariableCompensationPayoutTypeListResponse as VariableCompensationPayoutTypeListResponse,
2909
+ type VariableCompensationPayoutTypeCreateResponse as VariableCompensationPayoutTypeCreateResponse,
2910
+ type VariableCompensationPayoutTypeRetrieveResponse as VariableCompensationPayoutTypeRetrieveResponse,
2911
+ type VariableCompensationPayoutTypeUpdateResponse as VariableCompensationPayoutTypeUpdateResponse,
2912
+ type VariableCompensationPayoutTypeListResponsesPageCursorURL as VariableCompensationPayoutTypeListResponsesPageCursorURL,
2913
+ type VariableCompensationPayoutTypeCreateParams as VariableCompensationPayoutTypeCreateParams,
2914
+ type VariableCompensationPayoutTypeUpdateParams as VariableCompensationPayoutTypeUpdateParams,
2915
+ };
2916
+
2826
2917
  export {
2827
2918
  VariableCompensationPayoutWrites as VariableCompensationPayoutWrites,
2828
2919
  type VariableCompensationPayoutWriteCreateResponse as VariableCompensationPayoutWriteCreateResponse,
@@ -2893,7 +2984,9 @@ export declare namespace RipplingSDK {
2893
2984
  export {
2894
2985
  Metadata as Metadata,
2895
2986
  type MetadataExtractResponse as MetadataExtractResponse,
2987
+ type MetadataExtractByIdentifiersResponse as MetadataExtractByIdentifiersResponse,
2896
2988
  type MetadataExtractParams as MetadataExtractParams,
2989
+ type MetadataExtractByIdentifiersParams as MetadataExtractByIdentifiersParams,
2897
2990
  };
2898
2991
 
2899
2992
  export type Address = API.Address;
@@ -450,7 +450,13 @@ export {
450
450
  type LocationFactorListParams,
451
451
  type LocationFactorListResponsesPageCursorURL,
452
452
  } from './location-factors';
453
- export { Metadata, type MetadataExtractResponse, type MetadataExtractParams } from './metadata/metadata';
453
+ export {
454
+ Metadata,
455
+ type MetadataExtractResponse,
456
+ type MetadataExtractByIdentifiersResponse,
457
+ type MetadataExtractParams,
458
+ type MetadataExtractByIdentifiersParams,
459
+ } from './metadata/metadata';
454
460
  export {
455
461
  ObjectCategories,
456
462
  type ObjectCategory,
@@ -536,6 +542,7 @@ export {
536
542
  Sandboxes,
537
543
  type SandboxListResponse,
538
544
  type SandboxCreateResponse,
545
+ type SandboxRetrieveResponse,
539
546
  type SandboxDeveloperSandboxEntryRolesResponse,
540
547
  type SandboxListParams,
541
548
  type SandboxCreateParams,
@@ -704,11 +711,41 @@ export {
704
711
  type UserListParams,
705
712
  type UsersPageCursorURL,
706
713
  } from './users';
714
+ export {
715
+ VariableCompensationPayoutLabels,
716
+ type VariableCompensationPayoutLabelListResponse,
717
+ type VariableCompensationPayoutLabelCreateResponse,
718
+ type VariableCompensationPayoutLabelRetrieveResponse,
719
+ type VariableCompensationPayoutLabelUpdateResponse,
720
+ type VariableCompensationPayoutLabelListParams,
721
+ type VariableCompensationPayoutLabelCreateParams,
722
+ type VariableCompensationPayoutLabelUpdateParams,
723
+ type VariableCompensationPayoutLabelListResponsesPageCursorURL,
724
+ } from './variable-compensation-payout-labels';
725
+ export {
726
+ VariableCompensationPayoutTypes,
727
+ type VariableCompensationPayoutTypeListResponse,
728
+ type VariableCompensationPayoutTypeCreateResponse,
729
+ type VariableCompensationPayoutTypeRetrieveResponse,
730
+ type VariableCompensationPayoutTypeUpdateResponse,
731
+ type VariableCompensationPayoutTypeCreateParams,
732
+ type VariableCompensationPayoutTypeUpdateParams,
733
+ type VariableCompensationPayoutTypeListResponsesPageCursorURL,
734
+ } from './variable-compensation-payout-types';
707
735
  export {
708
736
  VariableCompensationPayoutWrites,
709
737
  type VariableCompensationPayoutWriteCreateResponse,
710
738
  type VariableCompensationPayoutWriteCreateParams,
711
739
  } from './variable-compensation-payout-writes';
740
+ export {
741
+ VariableCompensationPayouts,
742
+ type VariableCompensationPayoutListResponse,
743
+ type VariableCompensationPayoutCreateResponse,
744
+ type VariableCompensationPayoutRetrieveResponse,
745
+ type VariableCompensationPayoutListParams,
746
+ type VariableCompensationPayoutCreateParams,
747
+ type VariableCompensationPayoutListResponsesPageCursorURL,
748
+ } from './variable-compensation-payouts';
712
749
  export {
713
750
  WorkLocations,
714
751
  type WorkLocation,
@@ -13,7 +13,13 @@ export {
13
13
  type DeploymentRunGetResponse,
14
14
  type DeploymentRunCreateParams,
15
15
  } from './deployment-runs';
16
- export { Metadata, type MetadataExtractResponse, type MetadataExtractParams } from './metadata';
16
+ export {
17
+ Metadata,
18
+ type MetadataExtractResponse,
19
+ type MetadataExtractByIdentifiersResponse,
20
+ type MetadataExtractParams,
21
+ type MetadataExtractByIdentifiersParams,
22
+ } from './metadata';
17
23
  export { Schema, type SchemaGetResponse, type SchemaGetParams } from './schema';
18
24
  export { Types, type TypeListResponse } from './types';
19
25
  export {
@@ -57,6 +57,25 @@ export class Metadata extends APIResource {
57
57
  ): APIPromise<MetadataExtractResponse> {
58
58
  return this._client.get('/metadata/extract/', { query, ...options });
59
59
  }
60
+
61
+ /**
62
+ * Extract exact metadata components and their complete dependency closure.
63
+ *
64
+ * Requires the Metadata entitlement.
65
+ *
66
+ * @example
67
+ * ```ts
68
+ * const response = await client.metadata.extractByIdentifiers(
69
+ * { identifiers: [{ foo: 'bar' }] },
70
+ * );
71
+ * ```
72
+ */
73
+ extractByIdentifiers(
74
+ body: MetadataExtractByIdentifiersParams,
75
+ options?: RequestOptions,
76
+ ): APIPromise<MetadataExtractByIdentifiersResponse> {
77
+ return this._client.post('/metadata/extract/', { body, ...options });
78
+ }
60
79
  }
61
80
 
62
81
  export interface MetadataExtractResponse {
@@ -127,6 +146,35 @@ export namespace MetadataExtractResponse {
127
146
  }
128
147
  }
129
148
 
149
+ export interface MetadataExtractByIdentifiersResponse {
150
+ /**
151
+ * Full component configs needed to recreate the requested roots.
152
+ */
153
+ component_configs: Array<MetadataExtractByIdentifiersResponse.ComponentConfig>;
154
+
155
+ external_managed_dependencies: Array<{ [key: string]: unknown }>;
156
+
157
+ /**
158
+ * Topological install order for the extracted package.
159
+ */
160
+ install_order: Array<{ [key: string]: unknown }>;
161
+ }
162
+
163
+ export namespace MetadataExtractByIdentifiersResponse {
164
+ /**
165
+ * A metadata component config. The `type` field selects the concrete component
166
+ * schema. Fetch type-specific fields from GET /metadata/schema/?type=<TYPE>.
167
+ */
168
+ export interface ComponentConfig {
169
+ /**
170
+ * Metadata component type, such as CUSTOM_OBJECT or CUSTOM_OBJECT_FIELD.
171
+ */
172
+ type: string;
173
+
174
+ [k: string]: unknown;
175
+ }
176
+ }
177
+
130
178
  export interface MetadataExtractParams {
131
179
  /**
132
180
  * Maximum search results to return when q is provided.
@@ -139,6 +187,10 @@ export interface MetadataExtractParams {
139
187
  q?: string;
140
188
  }
141
189
 
190
+ export interface MetadataExtractByIdentifiersParams {
191
+ identifiers: Array<{ [key: string]: unknown }>;
192
+ }
193
+
142
194
  Metadata.Types = Types;
143
195
  Metadata.Schema = Schema;
144
196
  Metadata.Components = Components;
@@ -148,7 +200,9 @@ Metadata.DeploymentRuns = DeploymentRuns;
148
200
  export declare namespace Metadata {
149
201
  export {
150
202
  type MetadataExtractResponse as MetadataExtractResponse,
203
+ type MetadataExtractByIdentifiersResponse as MetadataExtractByIdentifiersResponse,
151
204
  type MetadataExtractParams as MetadataExtractParams,
205
+ type MetadataExtractByIdentifiersParams as MetadataExtractByIdentifiersParams,
152
206
  };
153
207
 
154
208
  export { Types as Types, type TypeListResponse as TypeListResponse };
@@ -1,6 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../core/resource';
4
+ import * as BusinessPartnersAPI from './business-partners';
4
5
  import { APIPromise } from '../core/api-promise';
5
6
  import { PageCursorURL, PagePromise } from '../core/pagination';
6
7
  import { buildHeaders } from '../internal/headers';
@@ -32,6 +33,13 @@ export class Sandboxes extends APIResource {
32
33
  return this._client.post('/sandboxes/', { body, ...options });
33
34
  }
34
35
 
36
+ /**
37
+ * Retrieve a specific sandbox
38
+ */
39
+ retrieve(id: string, options?: RequestOptions): APIPromise<SandboxRetrieveResponse> {
40
+ return this._client.get(path`/sandboxes/${id}/`, options);
41
+ }
42
+
35
43
  /**
36
44
  * Delete a sandbox
37
45
  */
@@ -561,6 +569,262 @@ export namespace SandboxCreateResponse {
561
569
  }
562
570
  }
563
571
 
572
+ /**
573
+ * Meta information for the response.
574
+ */
575
+ export interface SandboxRetrieveResponse extends BusinessPartnersAPI.Meta {
576
+ /**
577
+ * Identifier field
578
+ */
579
+ id: string;
580
+
581
+ /**
582
+ * Record creation date
583
+ */
584
+ created_at: string;
585
+
586
+ /**
587
+ * Display name of the sandbox.
588
+ */
589
+ name: string;
590
+
591
+ /**
592
+ * Sandbox type: developer or full data.
593
+ */
594
+ type: string;
595
+
596
+ /**
597
+ * Record update date
598
+ */
599
+ updated_at: string;
600
+
601
+ /**
602
+ * Type-specific sandbox configuration. Optional for developer sandboxes.
603
+ */
604
+ config_override?: SandboxRetrieveResponse.ConfigOverride;
605
+
606
+ /**
607
+ * Optional sandbox description.
608
+ */
609
+ description?: string;
610
+
611
+ /**
612
+ * Server-generated sandbox handle.
613
+ */
614
+ handle?: string;
615
+
616
+ /**
617
+ * Current lifecycle status.
618
+ */
619
+ status?: string;
620
+ }
621
+
622
+ export namespace SandboxRetrieveResponse {
623
+ /**
624
+ * Type-specific sandbox configuration. Optional for developer sandboxes.
625
+ */
626
+ export interface ConfigOverride {
627
+ /**
628
+ * Custom objects copied into the sandbox.
629
+ */
630
+ custom_objects?: ConfigOverride.CustomObjects;
631
+
632
+ /**
633
+ * Required for developer sandboxes and omitted for full-data sandboxes.
634
+ */
635
+ developer?: ConfigOverride.Developer;
636
+
637
+ /**
638
+ * General outbound notification controls.
639
+ */
640
+ general_notifications?: ConfigOverride.GeneralNotifications;
641
+
642
+ /**
643
+ * Required for connected full-data sandboxes.
644
+ */
645
+ integrations?: ConfigOverride.Integrations;
646
+
647
+ /**
648
+ * Required for full-data sandboxes. Developer sandboxes default to CONNECTED.
649
+ */
650
+ sandbox_mode?: 'CONNECTED' | 'ISOLATED';
651
+
652
+ /**
653
+ * Workflow webhook controls.
654
+ */
655
+ workflow_webhooks?: ConfigOverride.WorkflowWebhooks;
656
+ }
657
+
658
+ export namespace ConfigOverride {
659
+ /**
660
+ * Custom objects copied into the sandbox.
661
+ */
662
+ export interface CustomObjects {
663
+ /**
664
+ * Custom object API names copied into the sandbox.
665
+ */
666
+ co_api_names?: Array<string>;
667
+ }
668
+
669
+ /**
670
+ * Required for developer sandboxes and omitted for full-data sandboxes.
671
+ */
672
+ export interface Developer {
673
+ /**
674
+ * Seed company size for the developer sandbox.
675
+ */
676
+ company_size: 'SMALL' | 'MID' | 'XL';
677
+ }
678
+
679
+ /**
680
+ * General outbound notification controls.
681
+ */
682
+ export interface GeneralNotifications {
683
+ /**
684
+ * Email notification configuration.
685
+ */
686
+ email: GeneralNotifications.Email;
687
+
688
+ /**
689
+ * Push notification configuration.
690
+ */
691
+ push_notifications: GeneralNotifications.PushNotifications;
692
+
693
+ /**
694
+ * SMS notification configuration.
695
+ */
696
+ sms: GeneralNotifications.SMS;
697
+
698
+ /**
699
+ * Slack notification configuration.
700
+ */
701
+ slack?: GeneralNotifications.Slack;
702
+
703
+ /**
704
+ * Microsoft Teams notification configuration.
705
+ */
706
+ teams?: GeneralNotifications.Teams;
707
+ }
708
+
709
+ export namespace GeneralNotifications {
710
+ /**
711
+ * Email notification configuration.
712
+ */
713
+ export interface Email {
714
+ /**
715
+ * Whether outbound messages are allowed or suppressed.
716
+ */
717
+ outbound_behavior: 'SUPPRESS' | 'ALLOW';
718
+
719
+ /**
720
+ * Users allowed to receive outbound messages.
721
+ */
722
+ allowed_users?: Array<string>;
723
+ }
724
+
725
+ /**
726
+ * Push notification configuration.
727
+ */
728
+ export interface PushNotifications {
729
+ /**
730
+ * Whether outbound messages are allowed or suppressed.
731
+ */
732
+ outbound_behavior: 'SUPPRESS' | 'ALLOW';
733
+
734
+ /**
735
+ * Users allowed to receive outbound messages.
736
+ */
737
+ allowed_users?: Array<string>;
738
+ }
739
+
740
+ /**
741
+ * SMS notification configuration.
742
+ */
743
+ export interface SMS {
744
+ /**
745
+ * Whether outbound messages are allowed or suppressed.
746
+ */
747
+ outbound_behavior: 'SUPPRESS' | 'ALLOW';
748
+
749
+ /**
750
+ * Users allowed to receive outbound messages.
751
+ */
752
+ allowed_users?: Array<string>;
753
+ }
754
+
755
+ /**
756
+ * Slack notification configuration.
757
+ */
758
+ export interface Slack {
759
+ /**
760
+ * Whether outbound messages are allowed or suppressed.
761
+ */
762
+ outbound_behavior: 'SUPPRESS' | 'ALLOW';
763
+
764
+ /**
765
+ * Public channels allowed to receive outbound messages.
766
+ */
767
+ allowed_public_channels?: Array<string>;
768
+
769
+ /**
770
+ * Users allowed to receive outbound messages.
771
+ */
772
+ allowed_users?: Array<string>;
773
+ }
774
+
775
+ /**
776
+ * Microsoft Teams notification configuration.
777
+ */
778
+ export interface Teams {
779
+ /**
780
+ * Whether outbound messages are allowed or suppressed.
781
+ */
782
+ outbound_behavior: 'SUPPRESS' | 'ALLOW';
783
+
784
+ /**
785
+ * Public channels allowed to receive outbound messages.
786
+ */
787
+ allowed_public_channels?: Array<string>;
788
+
789
+ /**
790
+ * Users allowed to receive outbound messages.
791
+ */
792
+ allowed_users?: Array<string>;
793
+ }
794
+ }
795
+
796
+ /**
797
+ * Required for connected full-data sandboxes.
798
+ */
799
+ export interface Integrations {
800
+ /**
801
+ * Confirms acceptance of the risks of connected third-party integrations.
802
+ */
803
+ is_risk_acknowledged: boolean;
804
+ }
805
+
806
+ /**
807
+ * Workflow webhook controls.
808
+ */
809
+ export interface WorkflowWebhooks {
810
+ /**
811
+ * IP addresses allowed to receive workflow webhooks.
812
+ */
813
+ allowed_ips?: Array<string>;
814
+
815
+ /**
816
+ * Webhook URLs allowed in the sandbox.
817
+ */
818
+ allowlisted_webhook_urls?: Array<string>;
819
+
820
+ /**
821
+ * Whether workflow webhook traffic is allowed or suppressed.
822
+ */
823
+ outbound_behavior?: 'SUPPRESS' | 'ALLOW';
824
+ }
825
+ }
826
+ }
827
+
564
828
  /**
565
829
  * Company and administrator role used to enter a developer sandbox.
566
830
  */
@@ -821,6 +1085,7 @@ export declare namespace Sandboxes {
821
1085
  export {
822
1086
  type SandboxListResponse as SandboxListResponse,
823
1087
  type SandboxCreateResponse as SandboxCreateResponse,
1088
+ type SandboxRetrieveResponse as SandboxRetrieveResponse,
824
1089
  type SandboxDeveloperSandboxEntryRolesResponse as SandboxDeveloperSandboxEntryRolesResponse,
825
1090
  type SandboxListResponsesPageCursorURL as SandboxListResponsesPageCursorURL,
826
1091
  type SandboxListParams as SandboxListParams,
@@ -8,6 +8,9 @@ import { buildHeaders } from '../internal/headers';
8
8
  import { RequestOptions } from '../internal/request-options';
9
9
  import { path } from '../internal/utils/path';
10
10
 
11
+ /**
12
+ * Custom sites hosted on Rippling
13
+ */
11
14
  export class Sites extends APIResource {
12
15
  /**
13
16
  * Retrieves sites that the user has view or edit access on. Optional query param