@rippling/rippling-sdk 0.2.0-alpha.64 → 0.2.0-alpha.69

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 (36) hide show
  1. package/examples/manifest/dental-practice-management/dental-practice-management.ts +135 -5
  2. package/examples/manifest/gym-membership-management/gym-membership-management.ts +2 -2
  3. package/examples/manifest/simple-todo-app/simple-todo-app.ts +1 -1
  4. package/examples/manifest/todo-app-without-object-list-view/functions/todo-page.ts +487 -0
  5. package/examples/manifest/todo-app-without-object-list-view/todo-app-without-object-list-view.ts +111 -0
  6. package/functions.d.mts +5 -5
  7. package/functions.d.mts.map +1 -1
  8. package/functions.d.ts +5 -5
  9. package/functions.d.ts.map +1 -1
  10. package/functions.js +1 -1
  11. package/functions.js.map +1 -1
  12. package/functions.mjs +1 -1
  13. package/functions.mjs.map +1 -1
  14. package/lib/manifest/field.d.mts +9 -0
  15. package/lib/manifest/field.d.mts.map +1 -1
  16. package/lib/manifest/field.d.ts +9 -0
  17. package/lib/manifest/field.d.ts.map +1 -1
  18. package/lib/manifest/field.js +3 -0
  19. package/lib/manifest/field.js.map +1 -1
  20. package/lib/manifest/field.mjs +3 -0
  21. package/lib/manifest/field.mjs.map +1 -1
  22. package/package.json +1 -1
  23. package/resources/workers.d.mts +37 -2
  24. package/resources/workers.d.mts.map +1 -1
  25. package/resources/workers.d.ts +37 -2
  26. package/resources/workers.d.ts.map +1 -1
  27. package/resources/workers.js +2 -2
  28. package/resources/workers.mjs +2 -2
  29. package/src/functions.ts +10 -5
  30. package/src/lib/manifest/field.ts +12 -0
  31. package/src/resources/workers.ts +43 -2
  32. package/src/version.ts +1 -1
  33. package/version.d.mts +1 -1
  34. package/version.d.ts +1 -1
  35. package/version.js +1 -1
  36. package/version.mjs +1 -1
@@ -742,6 +742,15 @@ export interface LookupFieldProps extends CommonFieldProps {
742
742
  * Optional.
743
743
  */
744
744
  relatedDataLabel?: string;
745
+ /**
746
+ * RQL condition restricting which target records appear in the lookup picker.
747
+ * Evaluated against fields on the target object.
748
+ *
749
+ * Example: `'(retired__c == False)'` to exclude retired records.
750
+ *
751
+ * Optional.
752
+ */
753
+ lookup_filter_rql_condition?: string;
745
754
  /** Whether a value is required on save. Optional. */
746
755
  required?: boolean;
747
756
  }
@@ -771,6 +780,9 @@ export class LookupField extends Field {
771
780
  og_model_rql_name: targetApiName,
772
781
  edge_type: 'LOOKUP',
773
782
  ...(props.relatedDataLabel != null ? { related_data_label: props.relatedDataLabel } : {}),
783
+ ...(props.lookup_filter_rql_condition != null ?
784
+ { lookup_filter_rql_condition: props.lookup_filter_rql_condition }
785
+ : {}),
774
786
  },
775
787
  required: props.required,
776
788
  description: props.description,
@@ -25,8 +25,8 @@ export class Workers extends APIResource {
25
25
  * - Filterable fields: `status`, `work_email`, `user_id`, `created_at`,
26
26
  * `updated_at`
27
27
  * - Expandable fields: `user`, `manager`, `legal_entity`, `employment_type`,
28
- * `compensation`, `department`, `teams`, `level`, `custom_fields`,
29
- * `business_partners`
28
+ * `compensation`, `department`, `teams`, `level`, `job_function`,
29
+ * `custom_fields`, `business_partners`
30
30
  * - Sortable fields: `id`, `created_at`, `updated_at`
31
31
  */
32
32
  list(
@@ -684,6 +684,19 @@ export interface Worker {
684
684
  */
685
685
  is_manager?: boolean;
686
686
 
687
+ /**
688
+ * The worker's job function. When expanded, this field requires
689
+ * `job-functions.read`.
690
+ *
691
+ * Expandable field
692
+ */
693
+ job_function?: Worker.JobFunction;
694
+
695
+ /**
696
+ * ID of the worker's job function.
697
+ */
698
+ job_function_id?: string;
699
+
687
700
  /**
688
701
  * The worker's associated legal entity.
689
702
  *
@@ -865,6 +878,34 @@ export namespace Worker {
865
878
  }
866
879
  }
867
880
 
881
+ /**
882
+ * The worker's job function. When expanded, this field requires
883
+ * `job-functions.read`.
884
+ *
885
+ * Expandable field
886
+ */
887
+ export interface JobFunction {
888
+ /**
889
+ * Identifier field
890
+ */
891
+ id: string;
892
+
893
+ /**
894
+ * Record creation date
895
+ */
896
+ created_at: string;
897
+
898
+ /**
899
+ * Record update date
900
+ */
901
+ updated_at: string;
902
+
903
+ /**
904
+ * Displayed name of the job function
905
+ */
906
+ name?: string;
907
+ }
908
+
868
909
  /**
869
910
  * The location that the worker is mapped to for tax purposes. In the case that a
870
911
  * worker is remote, the location's type is remote.
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.2.0-alpha.64'; // x-release-please-version
1
+ export const VERSION = '0.2.0-alpha.69'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.2.0-alpha.64";
1
+ export declare const VERSION = "0.2.0-alpha.69";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.2.0-alpha.64";
1
+ export declare const VERSION = "0.2.0-alpha.69";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.2.0-alpha.64'; // x-release-please-version
4
+ exports.VERSION = '0.2.0-alpha.69'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.2.0-alpha.64'; // x-release-please-version
1
+ export const VERSION = '0.2.0-alpha.69'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map