@satorijs/adapter-lark 3.11.7 → 3.11.9

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/lib/index.cjs CHANGED
@@ -986,7 +986,10 @@ var LarkMessageEncoder = class extends import_core3.MessageEncoder {
986
986
  } else if (type === "hr") {
987
987
  this.flushText();
988
988
  this.richContent.push([{ tag: "hr" }]);
989
- this.elements.push({ tag: "hr" });
989
+ this.elements.push({
990
+ tag: "hr",
991
+ margin: attrs.margin
992
+ });
990
993
  } else if (type === "form") {
991
994
  this.flushText();
992
995
  const parent = this.elements;
@@ -1017,7 +1020,9 @@ var LarkMessageEncoder = class extends import_core3.MessageEncoder {
1017
1020
  disabled_tips: attrs.disabledTips && {
1018
1021
  tag: "plain_text",
1019
1022
  content: attrs.disabledTips
1020
- }
1023
+ },
1024
+ behaviors: this.createBehaviors(attrs),
1025
+ margin: attrs.margin
1021
1026
  });
1022
1027
  this.textContent = "";
1023
1028
  } else if (attrs.type === "submit") {
@@ -1032,7 +1037,8 @@ var LarkMessageEncoder = class extends import_core3.MessageEncoder {
1032
1037
  content: this.textContent
1033
1038
  },
1034
1039
  form_action_type: "submit",
1035
- behaviors: this.createBehaviors(attrs)
1040
+ behaviors: this.createBehaviors(attrs),
1041
+ margin: attrs.margin
1036
1042
  });
1037
1043
  this.textContent = "";
1038
1044
  } else {
@@ -1056,7 +1062,8 @@ var LarkMessageEncoder = class extends import_core3.MessageEncoder {
1056
1062
  default_value: attrs.value,
1057
1063
  disabled: attrs.disabled,
1058
1064
  required: attrs.required,
1059
- behaviors: this.createBehaviors(attrs)
1065
+ behaviors: this.createBehaviors(attrs),
1066
+ margin: attrs.margin
1060
1067
  };
1061
1068
  this.elements.push(input);
1062
1069
  }
@@ -1074,7 +1081,8 @@ var LarkMessageEncoder = class extends import_core3.MessageEncoder {
1074
1081
  content: attrs.placeholder
1075
1082
  },
1076
1083
  options: [],
1077
- behaviors: this.createBehaviors(attrs)
1084
+ behaviors: this.createBehaviors(attrs),
1085
+ margin: attrs.margin
1078
1086
  };
1079
1087
  for (const child of children) {
1080
1088
  if (child.type !== "option") continue;
@@ -1115,7 +1123,8 @@ var LarkMessageEncoder = class extends import_core3.MessageEncoder {
1115
1123
  tag: "plain_text",
1116
1124
  content: attrs.disabledTips
1117
1125
  },
1118
- behaviors: this.createBehaviors(attrs)
1126
+ behaviors: this.createBehaviors(attrs),
1127
+ margin: attrs.margin
1119
1128
  });
1120
1129
  this.textContent = "";
1121
1130
  } else if (type === "div") {
@@ -1259,6 +1268,7 @@ var LarkMessageEncoder = class extends import_core3.MessageEncoder {
1259
1268
  tag: "column",
1260
1269
  width: child.attrs.width,
1261
1270
  weight: child.attrs.weight,
1271
+ margin: child.attrs.margin,
1262
1272
  padding: child.attrs.padding,
1263
1273
  vertical_align: child.attrs.verticalAlign ?? "center",
1264
1274
  vertical_spacing: child.attrs.verticalSpacing ?? "0px",
@@ -1590,6 +1600,9 @@ __export(types_exports, {
1590
1600
  Approval: () => Approval,
1591
1601
  Attendance: () => Attendance,
1592
1602
  Bitable: () => Bitable,
1603
+ ColorType: () => ColorType,
1604
+ ConnectorArrowStyle: () => ConnectorArrowStyle,
1605
+ ConnectorLineShape: () => ConnectorLineShape,
1593
1606
  Contact: () => Contact,
1594
1607
  Corehr: () => Corehr,
1595
1608
  CustomFieldValueEnumType: () => CustomFieldValueEnumType,
@@ -1604,7 +1617,10 @@ __export(types_exports, {
1604
1617
  Hire: () => Hire,
1605
1618
  IdentityProvider: () => IdentityProvider,
1606
1619
  Mail: () => Mail,
1620
+ MindMapLayout: () => MindMapLayout,
1621
+ MindMapType: () => MindMapType,
1607
1622
  Okr: () => Okr,
1623
+ PaintType: () => PaintType,
1608
1624
  Passport: () => Passport,
1609
1625
  Payroll: () => Payroll,
1610
1626
  Performance: () => Performance,
@@ -1613,6 +1629,8 @@ __export(types_exports, {
1613
1629
  ResignTypeDirectory: () => ResignTypeDirectory,
1614
1630
  RunStatus: () => RunStatus,
1615
1631
  Search: () => Search,
1632
+ SecurityAndCompliance: () => SecurityAndCompliance,
1633
+ SnapTo: () => SnapTo,
1616
1634
  Vc: () => Vc
1617
1635
  });
1618
1636
 
@@ -1783,6 +1801,9 @@ Internal.define({
1783
1801
 
1784
1802
  // src/types/apaas.ts
1785
1803
  Internal.define({
1804
+ "/apaas/v1/apps": {
1805
+ GET: { name: "apaas.app.list", pagination: { argIndex: 0 } }
1806
+ },
1786
1807
  "/apaas/v1/seat_assignments": {
1787
1808
  GET: { name: "apaas.seatAssignment.list", pagination: { argIndex: 0 } }
1788
1809
  },
@@ -1801,6 +1822,12 @@ Internal.define({
1801
1822
  "/apaas/v1/applications/{namespace}/audit_log/data_change_log_detail": {
1802
1823
  GET: "apaas.application.auditLog.dataChangeLogDetail"
1803
1824
  },
1825
+ "/apaas/v1/applications/{namespace}/record_permissions/{record_permission_api_name}/member/batch_remove_authorization": {
1826
+ POST: "apaas.application.recordPermission.member.batchRemoveAuthorization"
1827
+ },
1828
+ "/apaas/v1/applications/{namespace}/record_permissions/{record_permission_api_name}/member/batch_create_authorization": {
1829
+ POST: "apaas.application.recordPermission.member.batchCreateAuthorization"
1830
+ },
1804
1831
  "/apaas/v1/applications/{namespace}/roles/{role_api_name}/member/batch_remove_authorization": {
1805
1832
  POST: "apaas.application.role.member.batchRemoveAuthorization"
1806
1833
  },
@@ -1810,12 +1837,6 @@ Internal.define({
1810
1837
  "/apaas/v1/applications/{namespace}/roles/{role_api_name}/member": {
1811
1838
  GET: "apaas.application.role.member.get"
1812
1839
  },
1813
- "/apaas/v1/applications/{namespace}/record_permissions/{record_permission_api_name}/member/batch_remove_authorization": {
1814
- POST: "apaas.application.recordPermission.member.batchRemoveAuthorization"
1815
- },
1816
- "/apaas/v1/applications/{namespace}/record_permissions/{record_permission_api_name}/member/batch_create_authorization": {
1817
- POST: "apaas.application.recordPermission.member.batchCreateAuthorization"
1818
- },
1819
1840
  "/apaas/v1/applications/{namespace}/objects/oql_query": {
1820
1841
  POST: "apaas.application.object.oqlQuery"
1821
1842
  },
@@ -2576,11 +2597,18 @@ Internal.define({
2576
2597
 
2577
2598
  // src/types/board.ts
2578
2599
  Internal.define({
2579
- "/board/v1/whiteboards/{whiteboard_id}/nodes": {
2580
- GET: "board.whiteboard.node.list"
2600
+ "/board/v1/whiteboards/{whiteboard_id}/theme": {
2601
+ GET: "board.whiteboard.theme"
2602
+ },
2603
+ "/board/v1/whiteboards/{whiteboard_id}/update_theme": {
2604
+ POST: "board.whiteboard.updateTheme"
2581
2605
  },
2582
2606
  "/board/v1/whiteboards/{whiteboard_id}/download_as_image": {
2583
2607
  GET: { name: "board.whiteboard.downloadAsImage", type: "binary" }
2608
+ },
2609
+ "/board/v1/whiteboards/{whiteboard_id}/nodes": {
2610
+ POST: "board.whiteboard.node.create",
2611
+ GET: "board.whiteboard.node.list"
2584
2612
  }
2585
2613
  });
2586
2614
 
@@ -2598,9 +2626,18 @@ Internal.define({
2598
2626
  "/calendar/v4/calendars/primary": {
2599
2627
  POST: "calendar.primary"
2600
2628
  },
2629
+ "/calendar/v4/calendars/primarys": {
2630
+ POST: "calendar.primarys"
2631
+ },
2632
+ "/calendar/v4/calendars/mget": {
2633
+ POST: "calendar.mget"
2634
+ },
2601
2635
  "/calendar/v4/freebusy/list": {
2602
2636
  POST: "calendar.freebusy.list"
2603
2637
  },
2638
+ "/calendar/v4/freebusy/batch": {
2639
+ POST: "calendar.freebusy.batch"
2640
+ },
2604
2641
  "/calendar/v4/calendars/search": {
2605
2642
  POST: { name: "calendar.search", pagination: { argIndex: 1 } }
2606
2643
  },
@@ -2723,6 +2760,9 @@ Internal.define({
2723
2760
 
2724
2761
  // src/types/compensation.ts
2725
2762
  Internal.define({
2763
+ "/compensation/v1/archives": {
2764
+ POST: "compensation.archive.create"
2765
+ },
2726
2766
  "/compensation/v1/archives/query": {
2727
2767
  POST: { name: "compensation.archive.query", pagination: { argIndex: 1 } }
2728
2768
  },
@@ -2740,6 +2780,48 @@ Internal.define({
2740
2780
  },
2741
2781
  "/compensation/v1/change_reasons": {
2742
2782
  GET: { name: "compensation.changeReason.list", pagination: { argIndex: 0 } }
2783
+ },
2784
+ "/compensation/v1/social_insurances": {
2785
+ GET: "compensation.socialInsurance.list"
2786
+ },
2787
+ "/compensation/v1/social_plans/query": {
2788
+ POST: "compensation.socialPlan.query"
2789
+ },
2790
+ "/compensation/v1/social_plans": {
2791
+ GET: { name: "compensation.socialPlan.list", pagination: { argIndex: 0, itemsKey: "plans" } }
2792
+ },
2793
+ "/compensation/v1/social_archive_adjust_record/query": {
2794
+ POST: "compensation.socialArchiveAdjustRecord.query"
2795
+ },
2796
+ "/compensation/v1/social_archive/query": {
2797
+ POST: "compensation.socialArchive.query"
2798
+ },
2799
+ "/compensation/v1/lump_sum_payment/batch_create": {
2800
+ POST: "compensation.lumpSumPayment.batchCreate"
2801
+ },
2802
+ "/compensation/v1/lump_sum_payment/batch_update": {
2803
+ POST: "compensation.lumpSumPayment.batchUpdate"
2804
+ },
2805
+ "/compensation/v1/lump_sum_payment/query": {
2806
+ POST: { name: "compensation.lumpSumPayment.query", pagination: { argIndex: 1, itemsKey: "records" } }
2807
+ },
2808
+ "/compensation/v1/lump_sum_payment/query_detail": {
2809
+ POST: { name: "compensation.lumpSumPayment.queryDetail", pagination: { argIndex: 1, itemsKey: "records" } }
2810
+ },
2811
+ "/compensation/v1/lump_sum_payment/batch_remove": {
2812
+ POST: "compensation.lumpSumPayment.batchRemove"
2813
+ },
2814
+ "/compensation/v1/recurring_payment/query": {
2815
+ POST: { name: "compensation.recurringPayment.query", pagination: { argIndex: 1, itemsKey: "records" } }
2816
+ },
2817
+ "/compensation/v1/recurring_payment/batch_update": {
2818
+ POST: "compensation.recurringPayment.batchUpdate"
2819
+ },
2820
+ "/compensation/v1/recurring_payment/batch_remove": {
2821
+ POST: "compensation.recurringPayment.batchRemove"
2822
+ },
2823
+ "/compensation/v1/recurring_payment/batch_create": {
2824
+ POST: "compensation.recurringPayment.batchCreate"
2743
2825
  }
2744
2826
  });
2745
2827
 
@@ -3266,6 +3348,14 @@ Internal.define({
3266
3348
  "/corehr/v2/employees/job_datas/batch_get": {
3267
3349
  POST: "corehr.employees.jobData.batchGet"
3268
3350
  },
3351
+ "/corehr/v2/employees/international_assignments": {
3352
+ POST: "corehr.employees.internationalAssignment.create",
3353
+ GET: "corehr.employees.internationalAssignment.list"
3354
+ },
3355
+ "/corehr/v2/employees/international_assignments/{international_assignment_id}": {
3356
+ PATCH: "corehr.employees.internationalAssignment.patch",
3357
+ DELETE: "corehr.employees.internationalAssignment.delete"
3358
+ },
3269
3359
  "/corehr/v2/employees/additional_jobs": {
3270
3360
  POST: "corehr.employees.additionalJob.create"
3271
3361
  },
@@ -3418,6 +3508,12 @@ Internal.define({
3418
3508
  "/corehr/v2/custom_orgs/delete_org": {
3419
3509
  POST: "corehr.customOrg.deleteOrg"
3420
3510
  },
3511
+ "/corehr/v2/drafts/{draft_id}": {
3512
+ GET: "corehr.draft.get"
3513
+ },
3514
+ "/corehr/v2/approval_groups/open_query_position_change_list_by_ids": {
3515
+ POST: "corehr.approvalGroups.openQueryPositionChangeListByIds"
3516
+ },
3421
3517
  "/corehr/v2/approval_groups/{process_id}": {
3422
3518
  GET: "corehr.approvalGroups.get"
3423
3519
  },
@@ -3442,6 +3538,9 @@ Internal.define({
3442
3538
  "/corehr/v2/job_families/batch_get": {
3443
3539
  POST: "corehr.jobFamily.batchGet"
3444
3540
  },
3541
+ "/corehr/v2/job_families/query_multi_timeline": {
3542
+ POST: "corehr.jobFamily.queryMultiTimeline"
3543
+ },
3445
3544
  "/corehr/v1/job_levels": {
3446
3545
  POST: "corehr.jobLevel.create",
3447
3546
  GET: { name: "corehr.jobLevel.list", pagination: { argIndex: 0 } }
@@ -3470,6 +3569,19 @@ Internal.define({
3470
3569
  "/corehr/v2/job_grades/query_recent_change": {
3471
3570
  GET: "corehr.jobGrade.queryRecentChange"
3472
3571
  },
3572
+ "/corehr/v2/pathways": {
3573
+ POST: "corehr.pathway.create"
3574
+ },
3575
+ "/corehr/v2/pathways/{pathway_id}": {
3576
+ PATCH: "corehr.pathway.patch",
3577
+ DELETE: "corehr.pathway.delete"
3578
+ },
3579
+ "/corehr/v2/pathways/active": {
3580
+ POST: "corehr.pathway.active"
3581
+ },
3582
+ "/corehr/v2/pathways/batch_get": {
3583
+ POST: "corehr.pathway.batchGet"
3584
+ },
3473
3585
  "/corehr/v1/jobs": {
3474
3586
  POST: "corehr.job.create"
3475
3587
  },
@@ -3483,9 +3595,33 @@ Internal.define({
3483
3595
  "/corehr/v2/jobs": {
3484
3596
  GET: { name: "corehr.job.list", pagination: { argIndex: 0 } }
3485
3597
  },
3598
+ "/corehr/v2/jobs/batch_get": {
3599
+ POST: "corehr.job.batchGet"
3600
+ },
3601
+ "/corehr/v2/jobs/query_multi_timeline": {
3602
+ POST: "corehr.job.queryMultiTimeline"
3603
+ },
3486
3604
  "/corehr/v2/jobs/query_recent_change": {
3487
3605
  GET: "corehr.job.queryRecentChange"
3488
3606
  },
3607
+ "/corehr/v2/positions": {
3608
+ POST: "corehr.position.create"
3609
+ },
3610
+ "/corehr/v2/positions/{position_id}": {
3611
+ PATCH: "corehr.position.patch"
3612
+ },
3613
+ "/corehr/v2/positions/query": {
3614
+ POST: { name: "corehr.position.query", pagination: { argIndex: 1 } }
3615
+ },
3616
+ "/corehr/v2/positions/query_recent_change": {
3617
+ GET: "corehr.position.queryRecentChange"
3618
+ },
3619
+ "/corehr/v2/positions/active": {
3620
+ POST: "corehr.position.active"
3621
+ },
3622
+ "/corehr/v2/positions/del_position": {
3623
+ POST: "corehr.position.delPosition"
3624
+ },
3489
3625
  "/corehr/v2/pre_hires/withdraw_onboarding": {
3490
3626
  POST: "corehr.preHire.withdrawOnboarding"
3491
3627
  },
@@ -3508,6 +3644,9 @@ Internal.define({
3508
3644
  "/corehr/v2/pre_hires/{pre_hire_id}/transit_task": {
3509
3645
  POST: "corehr.preHire.transitTask"
3510
3646
  },
3647
+ "/corehr/v2/pre_hires/transform_onboarding_task": {
3648
+ POST: "corehr.preHire.transformOnboardingTask"
3649
+ },
3511
3650
  "/corehr/v2/pre_hires/{pre_hire_id}/complete": {
3512
3651
  POST: "corehr.preHire.complete"
3513
3652
  },
@@ -3656,6 +3795,9 @@ Internal.define({
3656
3795
  "/corehr/v2/processes/{process_id}": {
3657
3796
  GET: "corehr.process.get"
3658
3797
  },
3798
+ "/corehr/v2/processes/{process_id}/flow_variable_data": {
3799
+ GET: "corehr.process.flowVariableData"
3800
+ },
3659
3801
  "/corehr/v2/processes/{process_id}/form_variable_data": {
3660
3802
  GET: "corehr.process.formVariableData.get"
3661
3803
  },
@@ -3745,9 +3887,6 @@ Internal.define({
3745
3887
  "/directory/v1/employees/search": {
3746
3888
  POST: "directory.employee.search"
3747
3889
  },
3748
- "/directory/v1/employees/idconvert": {
3749
- POST: "directory.employee.idconvert"
3750
- },
3751
3890
  "/directory/v1/departments": {
3752
3891
  POST: "directory.department.create"
3753
3892
  },
@@ -3764,9 +3903,6 @@ Internal.define({
3764
3903
  "/directory/v1/departments/search": {
3765
3904
  POST: "directory.department.search"
3766
3905
  },
3767
- "/directory/v1/departments/idconvert": {
3768
- POST: "directory.department.idconvert"
3769
- },
3770
3906
  "/directory/v1/share_entities": {
3771
3907
  GET: "directory.collborationShareEntity.list"
3772
3908
  },
@@ -3909,6 +4045,9 @@ Internal.define({
3909
4045
  },
3910
4046
  "/docx/v1/documents/{document_id}/blocks/{block_id}/children/batch_delete": {
3911
4047
  DELETE: "docx.document.block.children.batchDelete"
4048
+ },
4049
+ "/docx/v1/documents/blocks/convert": {
4050
+ POST: "docx.document.convert"
3912
4051
  }
3913
4052
  });
3914
4053
 
@@ -4012,32 +4151,32 @@ Internal.define({
4012
4151
  "/drive/v1/files/{file_token}/delete_subscribe": {
4013
4152
  DELETE: "drive.file.deleteSubscribe"
4014
4153
  },
4154
+ "/drive/v1/permissions/{token}/members": {
4155
+ POST: "drive.permission.member.create",
4156
+ GET: "drive.permission.member.list"
4157
+ },
4015
4158
  "/drive/v1/permissions/{token}/members/batch_create": {
4016
4159
  POST: "drive.permission.member.batchCreate"
4017
4160
  },
4161
+ "/drive/v1/permissions/{token}/members/{member_id}": {
4162
+ PUT: "drive.permission.member.update",
4163
+ DELETE: "drive.permission.member.delete"
4164
+ },
4018
4165
  "/drive/v1/permissions/{token}/members/transfer_owner": {
4019
4166
  POST: "drive.permission.member.transferOwner"
4020
4167
  },
4021
4168
  "/drive/v1/permissions/{token}/members/auth": {
4022
4169
  GET: "drive.permission.member.auth"
4023
4170
  },
4024
- "/drive/v1/permissions/{token}/members": {
4025
- GET: "drive.permission.member.list",
4026
- POST: "drive.permission.member.create"
4027
- },
4028
- "/drive/v1/permissions/{token}/members/{member_id}": {
4029
- PUT: "drive.permission.member.update",
4030
- DELETE: "drive.permission.member.delete"
4171
+ "/drive/v2/permissions/{token}/public": {
4172
+ PATCH: "drive.permission.public.patch",
4173
+ GET: "drive.permission.public.get"
4031
4174
  },
4032
4175
  "/drive/v1/permissions/{token}/public/password": {
4033
4176
  POST: "drive.permission.public.password.create",
4034
4177
  PUT: "drive.permission.public.password.update",
4035
4178
  DELETE: "drive.permission.public.password.delete"
4036
4179
  },
4037
- "/drive/v2/permissions/{token}/public": {
4038
- GET: "drive.permission.public.get",
4039
- PATCH: "drive.permission.public.patch"
4040
- },
4041
4180
  "/drive/v1/files/{file_token}/comments": {
4042
4181
  GET: { name: "drive.file.comment.list", pagination: { argIndex: 1 } },
4043
4182
  POST: "drive.file.comment.create"
@@ -4611,6 +4750,9 @@ var Hire;
4611
4750
  })(OfferSchema = Hire2.OfferSchema || (Hire2.OfferSchema = {}));
4612
4751
  })(Hire || (Hire = {}));
4613
4752
  Internal.define({
4753
+ "/hire/v1/portal_apply_schemas": {
4754
+ GET: { name: "hire.portalApplySchema.list", pagination: { argIndex: 0 } }
4755
+ },
4614
4756
  "/hire/v1/locations/query": {
4615
4757
  POST: { name: "hire.location.query", pagination: { argIndex: 1 } }
4616
4758
  },
@@ -4715,6 +4857,9 @@ Internal.define({
4715
4857
  "/hire/v1/interviewers/{interviewer_id}": {
4716
4858
  PATCH: "hire.interviewer.patch"
4717
4859
  },
4860
+ "/hire/v1/offer_approval_templates": {
4861
+ GET: { name: "hire.offerApprovalTemplate.list", pagination: { argIndex: 0 } }
4862
+ },
4718
4863
  "/hire/v1/offer_custom_fields/{offer_custom_field_id}": {
4719
4864
  PUT: "hire.offerCustomField.update"
4720
4865
  },
@@ -4963,6 +5108,9 @@ Internal.define({
4963
5108
  "/hire/v1/background_check_orders": {
4964
5109
  GET: { name: "hire.backgroundCheckOrder.list", pagination: { argIndex: 0 } }
4965
5110
  },
5111
+ "/hire/v1/background_check_orders/batch_query": {
5112
+ POST: { name: "hire.backgroundCheckOrder.batchQuery", pagination: { argIndex: 1 } }
5113
+ },
4966
5114
  "/hire/v1/tripartite_agreements": {
4967
5115
  POST: "hire.tripartiteAgreement.create",
4968
5116
  GET: { name: "hire.tripartiteAgreement.list", pagination: { argIndex: 0 } }
@@ -5654,6 +5802,15 @@ Internal.define({
5654
5802
  // src/types/payroll.ts
5655
5803
  var Payroll;
5656
5804
  ((Payroll2) => {
5805
+ let CostAllocationDetail;
5806
+ ((CostAllocationDetail2) => {
5807
+ let ListQueryReportType;
5808
+ ((ListQueryReportType2) => {
5809
+ ListQueryReportType2[ListQueryReportType2["Default"] = 0] = "Default";
5810
+ ListQueryReportType2[ListQueryReportType2["Accrued"] = 1] = "Accrued";
5811
+ ListQueryReportType2[ListQueryReportType2["Paid"] = 2] = "Paid";
5812
+ })(ListQueryReportType = CostAllocationDetail2.ListQueryReportType || (CostAllocationDetail2.ListQueryReportType = {}));
5813
+ })(CostAllocationDetail = Payroll2.CostAllocationDetail || (Payroll2.CostAllocationDetail = {}));
5657
5814
  let CostAllocationReport;
5658
5815
  ((CostAllocationReport2) => {
5659
5816
  let ListQueryReportType;
@@ -5665,17 +5822,14 @@ var Payroll;
5665
5822
  })(CostAllocationReport = Payroll2.CostAllocationReport || (Payroll2.CostAllocationReport = {}));
5666
5823
  })(Payroll || (Payroll = {}));
5667
5824
  Internal.define({
5668
- "/payroll/v1/payment_activity_details": {
5669
- GET: "payroll.paymentActivityDetail.list"
5670
- },
5671
- "/payroll/v1/payment_detail/query": {
5672
- POST: "payroll.paymentDetail.query"
5825
+ "/payroll/v1/acct_items": {
5826
+ GET: { name: "payroll.acctItem.list", pagination: { argIndex: 0 } }
5673
5827
  },
5674
- "/payroll/v1/payment_activitys/archive": {
5675
- POST: "payroll.paymentActivity.archive"
5828
+ "/payroll/v1/paygroups": {
5829
+ GET: { name: "payroll.paygroup.list", pagination: { argIndex: 0 } }
5676
5830
  },
5677
- "/payroll/v1/payment_activitys": {
5678
- GET: { name: "payroll.paymentActivity.list", pagination: { argIndex: 0, itemsKey: "payment_activitys" } }
5831
+ "/payroll/v1/datasources": {
5832
+ GET: { name: "payroll.datasource.list", pagination: { argIndex: 0, itemsKey: "datasources" } }
5679
5833
  },
5680
5834
  "/payroll/v1/datasource_records/save": {
5681
5835
  POST: "payroll.datasourceRecord.save"
@@ -5683,20 +5837,26 @@ Internal.define({
5683
5837
  "/payroll/v1/datasource_records/query": {
5684
5838
  POST: { name: "payroll.datasourceRecord.query", pagination: { argIndex: 1, itemsKey: "records" } }
5685
5839
  },
5686
- "/payroll/v1/datasources": {
5687
- GET: { name: "payroll.datasource.list", pagination: { argIndex: 0, itemsKey: "datasources" } }
5840
+ "/payroll/v1/payment_activitys/archive": {
5841
+ POST: "payroll.paymentActivity.archive"
5688
5842
  },
5689
- "/payroll/v1/acct_items": {
5690
- GET: { name: "payroll.acctItem.list", pagination: { argIndex: 0 } }
5843
+ "/payroll/v1/payment_activitys": {
5844
+ GET: { name: "payroll.paymentActivity.list", pagination: { argIndex: 0, itemsKey: "payment_activitys" } }
5845
+ },
5846
+ "/payroll/v1/payment_activity_details": {
5847
+ GET: "payroll.paymentActivityDetail.list"
5848
+ },
5849
+ "/payroll/v1/payment_detail/query": {
5850
+ POST: "payroll.paymentDetail.query"
5851
+ },
5852
+ "/payroll/v1/cost_allocation_details": {
5853
+ GET: "payroll.costAllocationDetail.list"
5691
5854
  },
5692
5855
  "/payroll/v1/cost_allocation_reports": {
5693
5856
  GET: "payroll.costAllocationReport.list"
5694
5857
  },
5695
5858
  "/payroll/v1/cost_allocation_plans": {
5696
5859
  GET: { name: "payroll.costAllocationPlan.list", pagination: { argIndex: 0 } }
5697
- },
5698
- "/payroll/v1/paygroups": {
5699
- GET: { name: "payroll.paygroup.list", pagination: { argIndex: 0 } }
5700
5860
  }
5701
5861
  });
5702
5862
 
@@ -5875,7 +6035,101 @@ Internal.define({
5875
6035
  });
5876
6036
 
5877
6037
  // src/types/security_and_compliance.ts
6038
+ var SecurityAndCompliance;
6039
+ ((SecurityAndCompliance2) => {
6040
+ let DeviceRecord;
6041
+ ((DeviceRecord2) => {
6042
+ let MineResponseDeviceOwnership;
6043
+ ((MineResponseDeviceOwnership2) => {
6044
+ MineResponseDeviceOwnership2[MineResponseDeviceOwnership2["Unknown"] = 0] = "Unknown";
6045
+ MineResponseDeviceOwnership2[MineResponseDeviceOwnership2["Personal"] = 1] = "Personal";
6046
+ MineResponseDeviceOwnership2[MineResponseDeviceOwnership2["Company"] = 2] = "Company";
6047
+ })(MineResponseDeviceOwnership = DeviceRecord2.MineResponseDeviceOwnership || (DeviceRecord2.MineResponseDeviceOwnership = {}));
6048
+ let MineResponseDeviceStatus;
6049
+ ((MineResponseDeviceStatus2) => {
6050
+ MineResponseDeviceStatus2[MineResponseDeviceStatus2["Unknown"] = 0] = "Unknown";
6051
+ MineResponseDeviceStatus2[MineResponseDeviceStatus2["Trusted"] = 1] = "Trusted";
6052
+ MineResponseDeviceStatus2[MineResponseDeviceStatus2["Untrusted"] = 2] = "Untrusted";
6053
+ })(MineResponseDeviceStatus = DeviceRecord2.MineResponseDeviceStatus || (DeviceRecord2.MineResponseDeviceStatus = {}));
6054
+ let CreateRequestDeviceSystem;
6055
+ ((CreateRequestDeviceSystem2) => {
6056
+ CreateRequestDeviceSystem2[CreateRequestDeviceSystem2["Windows"] = 1] = "Windows";
6057
+ CreateRequestDeviceSystem2[CreateRequestDeviceSystem2["MacOS"] = 2] = "MacOS";
6058
+ CreateRequestDeviceSystem2[CreateRequestDeviceSystem2["Linux"] = 3] = "Linux";
6059
+ CreateRequestDeviceSystem2[CreateRequestDeviceSystem2["Android"] = 4] = "Android";
6060
+ CreateRequestDeviceSystem2[CreateRequestDeviceSystem2["IOS"] = 5] = "IOS";
6061
+ CreateRequestDeviceSystem2[CreateRequestDeviceSystem2["OpenHarmony"] = 6] = "OpenHarmony";
6062
+ })(CreateRequestDeviceSystem = DeviceRecord2.CreateRequestDeviceSystem || (DeviceRecord2.CreateRequestDeviceSystem = {}));
6063
+ let CreateRequestDeviceOwnership;
6064
+ ((CreateRequestDeviceOwnership2) => {
6065
+ CreateRequestDeviceOwnership2[CreateRequestDeviceOwnership2["Unknown"] = 0] = "Unknown";
6066
+ CreateRequestDeviceOwnership2[CreateRequestDeviceOwnership2["Personal"] = 1] = "Personal";
6067
+ CreateRequestDeviceOwnership2[CreateRequestDeviceOwnership2["Company"] = 2] = "Company";
6068
+ })(CreateRequestDeviceOwnership = DeviceRecord2.CreateRequestDeviceOwnership || (DeviceRecord2.CreateRequestDeviceOwnership = {}));
6069
+ let CreateRequestDeviceStatus;
6070
+ ((CreateRequestDeviceStatus2) => {
6071
+ CreateRequestDeviceStatus2[CreateRequestDeviceStatus2["Unknown"] = 0] = "Unknown";
6072
+ CreateRequestDeviceStatus2[CreateRequestDeviceStatus2["Trusted"] = 1] = "Trusted";
6073
+ CreateRequestDeviceStatus2[CreateRequestDeviceStatus2["Untrusted"] = 2] = "Untrusted";
6074
+ })(CreateRequestDeviceStatus = DeviceRecord2.CreateRequestDeviceStatus || (DeviceRecord2.CreateRequestDeviceStatus = {}));
6075
+ let ListQueryDeviceOwnership;
6076
+ ((ListQueryDeviceOwnership2) => {
6077
+ ListQueryDeviceOwnership2[ListQueryDeviceOwnership2["Unknown"] = 0] = "Unknown";
6078
+ ListQueryDeviceOwnership2[ListQueryDeviceOwnership2["Personal"] = 1] = "Personal";
6079
+ ListQueryDeviceOwnership2[ListQueryDeviceOwnership2["Company"] = 2] = "Company";
6080
+ })(ListQueryDeviceOwnership = DeviceRecord2.ListQueryDeviceOwnership || (DeviceRecord2.ListQueryDeviceOwnership = {}));
6081
+ let ListQueryDeviceStatus;
6082
+ ((ListQueryDeviceStatus2) => {
6083
+ ListQueryDeviceStatus2[ListQueryDeviceStatus2["Unknown"] = 0] = "Unknown";
6084
+ ListQueryDeviceStatus2[ListQueryDeviceStatus2["Trusted"] = 1] = "Trusted";
6085
+ ListQueryDeviceStatus2[ListQueryDeviceStatus2["Untrusted"] = 2] = "Untrusted";
6086
+ })(ListQueryDeviceStatus = DeviceRecord2.ListQueryDeviceStatus || (DeviceRecord2.ListQueryDeviceStatus = {}));
6087
+ let ListQueryDeviceTerminalType;
6088
+ ((ListQueryDeviceTerminalType2) => {
6089
+ ListQueryDeviceTerminalType2[ListQueryDeviceTerminalType2["Unknown"] = 0] = "Unknown";
6090
+ ListQueryDeviceTerminalType2[ListQueryDeviceTerminalType2["Mobile"] = 1] = "Mobile";
6091
+ ListQueryDeviceTerminalType2[ListQueryDeviceTerminalType2["PC"] = 2] = "PC";
6092
+ })(ListQueryDeviceTerminalType = DeviceRecord2.ListQueryDeviceTerminalType || (DeviceRecord2.ListQueryDeviceTerminalType = {}));
6093
+ let ListQueryOs;
6094
+ ((ListQueryOs2) => {
6095
+ ListQueryOs2[ListQueryOs2["Unknown"] = 0] = "Unknown";
6096
+ ListQueryOs2[ListQueryOs2["Windows"] = 1] = "Windows";
6097
+ ListQueryOs2[ListQueryOs2["MacOS"] = 2] = "MacOS";
6098
+ ListQueryOs2[ListQueryOs2["Linux"] = 3] = "Linux";
6099
+ ListQueryOs2[ListQueryOs2["Android"] = 4] = "Android";
6100
+ ListQueryOs2[ListQueryOs2["IOS"] = 5] = "IOS";
6101
+ ListQueryOs2[ListQueryOs2["OpenHarmony"] = 6] = "OpenHarmony";
6102
+ })(ListQueryOs = DeviceRecord2.ListQueryOs || (DeviceRecord2.ListQueryOs = {}));
6103
+ let UpdateRequestDeviceOwnership;
6104
+ ((UpdateRequestDeviceOwnership2) => {
6105
+ UpdateRequestDeviceOwnership2[UpdateRequestDeviceOwnership2["Unknown"] = 0] = "Unknown";
6106
+ UpdateRequestDeviceOwnership2[UpdateRequestDeviceOwnership2["Personal"] = 1] = "Personal";
6107
+ UpdateRequestDeviceOwnership2[UpdateRequestDeviceOwnership2["Company"] = 2] = "Company";
6108
+ })(UpdateRequestDeviceOwnership = DeviceRecord2.UpdateRequestDeviceOwnership || (DeviceRecord2.UpdateRequestDeviceOwnership = {}));
6109
+ let UpdateRequestDeviceStatus;
6110
+ ((UpdateRequestDeviceStatus2) => {
6111
+ UpdateRequestDeviceStatus2[UpdateRequestDeviceStatus2["Unknown"] = 0] = "Unknown";
6112
+ UpdateRequestDeviceStatus2[UpdateRequestDeviceStatus2["Trusted"] = 1] = "Trusted";
6113
+ UpdateRequestDeviceStatus2[UpdateRequestDeviceStatus2["Untrusted"] = 2] = "Untrusted";
6114
+ })(UpdateRequestDeviceStatus = DeviceRecord2.UpdateRequestDeviceStatus || (DeviceRecord2.UpdateRequestDeviceStatus = {}));
6115
+ })(DeviceRecord = SecurityAndCompliance2.DeviceRecord || (SecurityAndCompliance2.DeviceRecord = {}));
6116
+ })(SecurityAndCompliance || (SecurityAndCompliance = {}));
5878
6117
  Internal.define({
6118
+ "/security_and_compliance/v2/device_records/mine": {
6119
+ GET: "securityAndCompliance.deviceRecord.mine"
6120
+ },
6121
+ "/security_and_compliance/v2/device_records": {
6122
+ POST: "securityAndCompliance.deviceRecord.create",
6123
+ GET: { name: "securityAndCompliance.deviceRecord.list", pagination: { argIndex: 0 } }
6124
+ },
6125
+ "/security_and_compliance/v2/device_records/{device_record_id}": {
6126
+ GET: "securityAndCompliance.deviceRecord.get",
6127
+ PUT: "securityAndCompliance.deviceRecord.update",
6128
+ DELETE: "securityAndCompliance.deviceRecord.delete"
6129
+ },
6130
+ "/security_and_compliance/v2/device_apply_records/{device_apply_record_id}": {
6131
+ PUT: "securityAndCompliance.deviceApplyRecord.update"
6132
+ },
5879
6133
  "/security_and_compliance/v1/openapi_logs/list_data": {
5880
6134
  POST: "securityAndCompliance.openapiLog.listData"
5881
6135
  }
@@ -6553,6 +6807,36 @@ var AilySenderType = /* @__PURE__ */ ((AilySenderType2) => {
6553
6807
  AilySenderType2["SenderTypeAssistant"] = "ASSISTANT";
6554
6808
  return AilySenderType2;
6555
6809
  })(AilySenderType || {});
6810
+ var ColorType = /* @__PURE__ */ ((ColorType2) => {
6811
+ ColorType2[ColorType2["SystemColor"] = 0] = "SystemColor";
6812
+ ColorType2[ColorType2["CustomColor"] = 1] = "CustomColor";
6813
+ return ColorType2;
6814
+ })(ColorType || {});
6815
+ var ConnectorArrowStyle = /* @__PURE__ */ ((ConnectorArrowStyle2) => {
6816
+ ConnectorArrowStyle2["None"] = "none";
6817
+ ConnectorArrowStyle2["LineArrow"] = "line_arrow";
6818
+ ConnectorArrowStyle2["TriangleArrow"] = "triangle_arrow";
6819
+ ConnectorArrowStyle2["EmptyTriangleArrow"] = "empty_triangle_arrow";
6820
+ ConnectorArrowStyle2["CircleArrow"] = "circle_arrow";
6821
+ ConnectorArrowStyle2["EmptyCircleArrow"] = "empty_circle_arrow";
6822
+ ConnectorArrowStyle2["DiamondArrow"] = "diamond_arrow";
6823
+ ConnectorArrowStyle2["EmptyDiamondArrow"] = "empty_diamond_arrow";
6824
+ ConnectorArrowStyle2["SingleArrow"] = "single_arrow";
6825
+ ConnectorArrowStyle2["MultiArrow"] = "multi_arrow";
6826
+ ConnectorArrowStyle2["ExactSingleArrow"] = "exact_single_arrow";
6827
+ ConnectorArrowStyle2["ZeroOrMultiArrow"] = "zero_or_multi_arrow";
6828
+ ConnectorArrowStyle2["ZeroOrSingleArrow"] = "zero_or_single_arrow";
6829
+ ConnectorArrowStyle2["SingleOrMultiArrow"] = "single_or_multi_arrow";
6830
+ ConnectorArrowStyle2["XArrow"] = "x_arrow";
6831
+ return ConnectorArrowStyle2;
6832
+ })(ConnectorArrowStyle || {});
6833
+ var ConnectorLineShape = /* @__PURE__ */ ((ConnectorLineShape2) => {
6834
+ ConnectorLineShape2["Straight"] = "straight";
6835
+ ConnectorLineShape2["Polyline"] = "polyline";
6836
+ ConnectorLineShape2["Curve"] = "curve";
6837
+ ConnectorLineShape2["RightAngledPolyline"] = "right_angled_polyline";
6838
+ return ConnectorLineShape2;
6839
+ })(ConnectorLineShape || {});
6556
6840
  var CustomFieldValueEnumType = /* @__PURE__ */ ((CustomFieldValueEnumType2) => {
6557
6841
  CustomFieldValueEnumType2["CustomFieldValueEnumTypeText"] = "1";
6558
6842
  CustomFieldValueEnumType2["CustomFieldValueEnumTypePicture"] = "2";
@@ -6605,6 +6889,27 @@ var IdentityProvider = /* @__PURE__ */ ((IdentityProvider2) => {
6605
6889
  IdentityProvider2["IdentityProviderFeishu"] = "FEISHU";
6606
6890
  return IdentityProvider2;
6607
6891
  })(IdentityProvider || {});
6892
+ var MindMapLayout = /* @__PURE__ */ ((MindMapLayout2) => {
6893
+ MindMapLayout2["UpDown"] = "up_down";
6894
+ MindMapLayout2["LeftRight"] = "left_right";
6895
+ MindMapLayout2["TreeLeft"] = "tree_left";
6896
+ MindMapLayout2["TreeRight"] = "tree_right";
6897
+ MindMapLayout2["TreeBalance"] = "tree_balance";
6898
+ MindMapLayout2["VerticalTimeLine"] = "vertical_time_line";
6899
+ MindMapLayout2["HorizontalTimeLine"] = "horizontal_time_line";
6900
+ return MindMapLayout2;
6901
+ })(MindMapLayout || {});
6902
+ var MindMapType = /* @__PURE__ */ ((MindMapType2) => {
6903
+ MindMapType2["MindMapText"] = "mind_map_text";
6904
+ MindMapType2["MindMapFullRoundRect"] = "mind_map_full_round_rect";
6905
+ MindMapType2["MindMapRoundRect"] = "mind_map_round_rect";
6906
+ return MindMapType2;
6907
+ })(MindMapType || {});
6908
+ var PaintType = /* @__PURE__ */ ((PaintType2) => {
6909
+ PaintType2["Marker"] = "marker";
6910
+ PaintType2["Highlight"] = "highlight";
6911
+ return PaintType2;
6912
+ })(PaintType || {});
6608
6913
  var ResignReasonDirectory = /* @__PURE__ */ ((ResignReasonDirectory2) => {
6609
6914
  ResignReasonDirectory2["ResignReasonDirectoryEmpty"] = "0";
6610
6915
  ResignReasonDirectory2["ResignReasonDirectoryNotSatisfiedWithSalary"] = "1";
@@ -6651,6 +6956,14 @@ var RunStatus = /* @__PURE__ */ ((RunStatus2) => {
6651
6956
  RunStatus2["RunStatusExpired"] = "EXPIRED";
6652
6957
  return RunStatus2;
6653
6958
  })(RunStatus || {});
6959
+ var SnapTo = /* @__PURE__ */ ((SnapTo2) => {
6960
+ SnapTo2["Auto"] = "auto";
6961
+ SnapTo2["Top"] = "top";
6962
+ SnapTo2["Right"] = "right";
6963
+ SnapTo2["Bottom"] = "bottom";
6964
+ SnapTo2["Left"] = "left";
6965
+ return SnapTo2;
6966
+ })(SnapTo || {});
6654
6967
 
6655
6968
  // src/index.ts
6656
6969
  var index_default = LarkBot;