@satorijs/adapter-lark 3.11.8 → 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.
@@ -9,15 +9,111 @@ declare module '../internal' {
9
9
 
10
10
  export namespace Payroll {
11
11
  export interface Methods {
12
+ acctItem: AcctItem.Methods
13
+ paygroup: Paygroup.Methods
14
+ datasource: Datasource.Methods
15
+ datasourceRecord: DatasourceRecord.Methods
16
+ paymentActivity: PaymentActivity.Methods
12
17
  paymentActivityDetail: PaymentActivityDetail.Methods
13
18
  paymentDetail: PaymentDetail.Methods
14
- paymentActivity: PaymentActivity.Methods
15
- datasourceRecord: DatasourceRecord.Methods
16
- datasource: Datasource.Methods
17
- acctItem: AcctItem.Methods
19
+ costAllocationDetail: CostAllocationDetail.Methods
18
20
  costAllocationReport: CostAllocationReport.Methods
19
21
  costAllocationPlan: CostAllocationPlan.Methods
20
- paygroup: Paygroup.Methods
22
+ }
23
+
24
+ export namespace AcctItem {
25
+ export interface Methods {
26
+ /**
27
+ * 批量查询算薪项
28
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/acct_item/list
29
+ */
30
+ list(query?: Pagination): Paginated<Lark.AcctItem>
31
+ }
32
+ }
33
+
34
+ export namespace Paygroup {
35
+ export interface Methods {
36
+ /**
37
+ * 获取薪资组基本信息
38
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/paygroup/list
39
+ */
40
+ list(query?: Pagination): Paginated<Lark.Paygroup>
41
+ }
42
+ }
43
+
44
+ export namespace Datasource {
45
+ export interface Methods {
46
+ /**
47
+ * 获取外部数据源配置信息
48
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/datasource/list
49
+ */
50
+ list(query?: Pagination): Paginated<Lark.Datasource, 'datasources'>
51
+ }
52
+ }
53
+
54
+ export namespace DatasourceRecord {
55
+ export interface Methods {
56
+ /**
57
+ * 创建 / 更新外部算薪数据
58
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/datasource_record/save
59
+ */
60
+ save(body: SaveRequest): Promise<SaveResponse>
61
+ /**
62
+ * 批量查询外部算薪数据记录
63
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/datasource_record/query
64
+ */
65
+ query(body: QueryRequest, query?: Pagination): Paginated<Lark.DatasourceRecord, 'records'>
66
+ }
67
+
68
+ export interface SaveRequest {
69
+ /** 数据源code */
70
+ source_code: string
71
+ /** 需保存的记录列表 */
72
+ records: Lark.DatasourceRecord[]
73
+ }
74
+
75
+ export interface SaveResponse {
76
+ /** 更新的记录条数 */
77
+ affect_counts: string
78
+ }
79
+
80
+ export interface QueryRequest {
81
+ /** 数据源编码 */
82
+ source_code: string
83
+ /** 指定查询的数据源字段。如不传,默认返回所有数据源字段 */
84
+ selected_fields?: string[]
85
+ /** 查询过滤器列表,多个过滤器之间为And关系。本期员工月维度汇总类型数据源,只支持employment_id、payroll_period fieldKey的查询,其中payroll_period必传 */
86
+ field_filters?: Lark.DatasourceRecordFieldFilter[]
87
+ }
88
+ }
89
+
90
+ export namespace PaymentActivity {
91
+ export interface Methods {
92
+ /**
93
+ * 封存发薪活动
94
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/payment_activity/archive
95
+ */
96
+ archive(body: ArchiveRequest): Promise<void>
97
+ /**
98
+ * 查询发薪活动列表
99
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/payment_activity/list
100
+ */
101
+ list(query?: ListQuery): Paginated<Lark.PaymentActivity, 'payment_activitys'>
102
+ }
103
+
104
+ export interface ArchiveRequest {
105
+ /** 发薪活动ID */
106
+ activity_id: string
107
+ }
108
+
109
+ export interface ListQuery extends Pagination {
110
+ /** 发薪日开始时间,格式:YYYY-MM-dd,[pay_period_start_date, pay_period_end_date] 是一个左闭右闭区间。 */
111
+ pay_period_start_date: string
112
+ /** 发薪日结束时间,格式:YYYY-MM-dd,[pay_period_start_date, pay_period_end_date] 是一个左闭右闭区间。 */
113
+ pay_period_end_date: string
114
+ /** 发薪活动审批状态列表,其中:100-待确认发薪名单;150-待提交审批;200-审批中;300-审批被拒绝;350-审批被撤回;360-审批被撤销;375-审批通过;400-已封存。 */
115
+ statuses?: number[]
116
+ }
21
117
  }
22
118
 
23
119
  export namespace PaymentActivityDetail {
@@ -86,88 +182,42 @@ export namespace Payroll {
86
182
  }
87
183
  }
88
184
 
89
- export namespace PaymentActivity {
185
+ export namespace CostAllocationDetail {
90
186
  export interface Methods {
91
187
  /**
92
- * 封存发薪活动
93
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/payment_activity/archive
94
- */
95
- archive(body: ArchiveRequest): Promise<void>
96
- /**
97
- * 查询发薪活动列表
98
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/payment_activity/list
188
+ * 查询成本分摊报表明细
189
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/cost_allocation_detail/list
99
190
  */
100
- list(query?: ListQuery): Paginated<Lark.PaymentActivity, 'payment_activitys'>
191
+ list(query?: ListQuery): Promise<ListResponse>
101
192
  }
102
193
 
103
- export interface ArchiveRequest {
104
- /** 发薪活动ID */
105
- activity_id: string
194
+ export const enum ListQueryReportType {
195
+ /** 默认 */
196
+ Default = 0,
197
+ /** 计提 */
198
+ Accrued = 1,
199
+ /** 实发 */
200
+ Paid = 2,
106
201
  }
107
202
 
108
203
  export interface ListQuery extends Pagination {
109
- /** 发薪日开始时间,格式:YYYY-MM-dd,[pay_period_start_date, pay_period_end_date] 是一个左闭右闭区间。 */
110
- pay_period_start_date: string
111
- /** 发薪日结束时间,格式:YYYY-MM-dd,[pay_period_start_date, pay_period_end_date] 是一个左闭右闭区间。 */
112
- pay_period_end_date: string
113
- /** 发薪活动审批状态列表,其中:100-待确认发薪名单;150-待提交审批;200-审批中;300-审批被拒绝;350-审批被撤回;360-审批被撤销;375-审批通过;400-已封存。 */
114
- statuses?: number[]
115
- }
116
- }
117
-
118
- export namespace DatasourceRecord {
119
- export interface Methods {
120
- /**
121
- * 创建 / 更新外部算薪数据
122
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/datasource_record/save
123
- */
124
- save(body: SaveRequest): Promise<SaveResponse>
125
- /**
126
- * 批量查询外部算薪数据记录
127
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/datasource_record/query
128
- */
129
- query(body: QueryRequest, query?: Pagination): Paginated<Lark.DatasourceRecord, 'records'>
130
- }
131
-
132
- export interface SaveRequest {
133
- /** 数据源code */
134
- source_code: string
135
- /** 需保存的记录列表 */
136
- records: Lark.DatasourceRecord[]
137
- }
138
-
139
- export interface SaveResponse {
140
- /** 更新的记录条数 */
141
- affect_counts: string
142
- }
143
-
144
- export interface QueryRequest {
145
- /** 数据源编码 */
146
- source_code: string
147
- /** 指定查询的数据源字段。如不传,默认返回所有数据源字段 */
148
- selected_fields?: string[]
149
- /** 查询过滤器列表,多个过滤器之间为And关系。本期员工月维度汇总类型数据源,只支持employment_id、payroll_period fieldKey的查询,其中payroll_period必传 */
150
- field_filters?: Lark.DatasourceRecordFieldFilter[]
151
- }
152
- }
153
-
154
- export namespace Datasource {
155
- export interface Methods {
156
- /**
157
- * 获取外部数据源配置信息
158
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/datasource/list
159
- */
160
- list(query?: Pagination): Paginated<Lark.Datasource, 'datasources'>
204
+ /** 成本分摊方案ID */
205
+ cost_allocation_plan_id: string
206
+ /** 期间 */
207
+ pay_period: string
208
+ /** 报表类型 */
209
+ report_type: ListQueryReportType
161
210
  }
162
- }
163
211
 
164
- export namespace AcctItem {
165
- export interface Methods {
166
- /**
167
- * 批量查询算薪项
168
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/acct_item/list
169
- */
170
- list(query?: Pagination): Paginated<Lark.AcctItem>
212
+ export interface ListResponse {
213
+ /** 报表明细数据 */
214
+ cost_allocation_report_datas?: Lark.CostAllocationReportData[]
215
+ /** 报表名称 */
216
+ cost_allocation_report_names?: Lark.I18nContent[]
217
+ /** 期间 */
218
+ pay_period?: string
219
+ page_token?: string
220
+ has_more?: boolean
171
221
  }
172
222
  }
173
223
 
@@ -226,30 +276,17 @@ export namespace Payroll {
226
276
  pay_period: string
227
277
  }
228
278
  }
229
-
230
- export namespace Paygroup {
231
- export interface Methods {
232
- /**
233
- * 获取薪资组基本信息
234
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/payroll-v1/paygroup/list
235
- */
236
- list(query?: Pagination): Paginated<Lark.Paygroup>
237
- }
238
- }
239
279
  }
240
280
 
241
281
  Internal.define({
242
- '/payroll/v1/payment_activity_details': {
243
- GET: 'payroll.paymentActivityDetail.list',
244
- },
245
- '/payroll/v1/payment_detail/query': {
246
- POST: 'payroll.paymentDetail.query',
282
+ '/payroll/v1/acct_items': {
283
+ GET: { name: 'payroll.acctItem.list', pagination: { argIndex: 0 } },
247
284
  },
248
- '/payroll/v1/payment_activitys/archive': {
249
- POST: 'payroll.paymentActivity.archive',
285
+ '/payroll/v1/paygroups': {
286
+ GET: { name: 'payroll.paygroup.list', pagination: { argIndex: 0 } },
250
287
  },
251
- '/payroll/v1/payment_activitys': {
252
- GET: { name: 'payroll.paymentActivity.list', pagination: { argIndex: 0, itemsKey: 'payment_activitys' } },
288
+ '/payroll/v1/datasources': {
289
+ GET: { name: 'payroll.datasource.list', pagination: { argIndex: 0, itemsKey: 'datasources' } },
253
290
  },
254
291
  '/payroll/v1/datasource_records/save': {
255
292
  POST: 'payroll.datasourceRecord.save',
@@ -257,11 +294,20 @@ Internal.define({
257
294
  '/payroll/v1/datasource_records/query': {
258
295
  POST: { name: 'payroll.datasourceRecord.query', pagination: { argIndex: 1, itemsKey: 'records' } },
259
296
  },
260
- '/payroll/v1/datasources': {
261
- GET: { name: 'payroll.datasource.list', pagination: { argIndex: 0, itemsKey: 'datasources' } },
297
+ '/payroll/v1/payment_activitys/archive': {
298
+ POST: 'payroll.paymentActivity.archive',
262
299
  },
263
- '/payroll/v1/acct_items': {
264
- GET: { name: 'payroll.acctItem.list', pagination: { argIndex: 0 } },
300
+ '/payroll/v1/payment_activitys': {
301
+ GET: { name: 'payroll.paymentActivity.list', pagination: { argIndex: 0, itemsKey: 'payment_activitys' } },
302
+ },
303
+ '/payroll/v1/payment_activity_details': {
304
+ GET: 'payroll.paymentActivityDetail.list',
305
+ },
306
+ '/payroll/v1/payment_detail/query': {
307
+ POST: 'payroll.paymentDetail.query',
308
+ },
309
+ '/payroll/v1/cost_allocation_details': {
310
+ GET: 'payroll.costAllocationDetail.list',
265
311
  },
266
312
  '/payroll/v1/cost_allocation_reports': {
267
313
  GET: 'payroll.costAllocationReport.list',
@@ -269,7 +315,4 @@ Internal.define({
269
315
  '/payroll/v1/cost_allocation_plans': {
270
316
  GET: { name: 'payroll.costAllocationPlan.list', pagination: { argIndex: 0 } },
271
317
  },
272
- '/payroll/v1/paygroups': {
273
- GET: { name: 'payroll.paygroup.list', pagination: { argIndex: 0 } },
274
- },
275
318
  })
@@ -242,7 +242,7 @@ export namespace Performance {
242
242
  export namespace ReviewTemplate {
243
243
  export interface Methods {
244
244
  /**
245
- * 获取评估模板配置
245
+ * 获取绩效模板配置
246
246
  * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/performance-v2/review_template/query
247
247
  */
248
248
  query(body: QueryRequest, query?: Pagination): Paginated<Lark.ReviewTemplate, 'review_templates'>
@@ -1,5 +1,5 @@
1
1
  import * as Lark from '.'
2
- import { Internal, Paginated } from '../internal'
2
+ import { Internal, Paginated, Pagination } from '../internal'
3
3
 
4
4
  declare module '../internal' {
5
5
  interface Internal {
@@ -9,9 +9,285 @@ declare module '../internal' {
9
9
 
10
10
  export namespace SecurityAndCompliance {
11
11
  export interface Methods {
12
+ deviceRecord: DeviceRecord.Methods
13
+ deviceApplyRecord: DeviceApplyRecord.Methods
12
14
  openapiLog: OpenapiLog.Methods
13
15
  }
14
16
 
17
+ export namespace DeviceRecord {
18
+ export interface Methods {
19
+ /**
20
+ * 获取客户端设备认证信息
21
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/security_and_compliance-v2/device_record/mine
22
+ */
23
+ mine(): Promise<MineResponse>
24
+ /**
25
+ * 新增设备
26
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/security_and_compliance-v2/device_record/create
27
+ */
28
+ create(body: CreateRequest, query?: CreateQuery): Promise<CreateResponse>
29
+ /**
30
+ * 查询设备信息
31
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/security_and_compliance-v2/device_record/list
32
+ */
33
+ list(query?: ListQuery): Paginated<Lark.DeviceRecord>
34
+ /**
35
+ * 获取设备信息
36
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/security_and_compliance-v2/device_record/get
37
+ */
38
+ get(device_record_id: string, query?: GetQuery): Promise<GetResponse>
39
+ /**
40
+ * 更新设备
41
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/security_and_compliance-v2/device_record/update
42
+ */
43
+ update(device_record_id: string, body: UpdateRequest, query?: UpdateQuery): Promise<void>
44
+ /**
45
+ * 删除设备
46
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/security_and_compliance-v2/device_record/delete
47
+ */
48
+ delete(device_record_id: string): Promise<void>
49
+ }
50
+
51
+ export const enum MineResponseDeviceOwnership {
52
+ /** 未知设备 */
53
+ Unknown = 0,
54
+ /** 个人设备 */
55
+ Personal = 1,
56
+ /** 企业设备 */
57
+ Company = 2,
58
+ }
59
+
60
+ export const enum MineResponseDeviceStatus {
61
+ /** 未知状态 */
62
+ Unknown = 0,
63
+ /** 信任设备 */
64
+ Trusted = 1,
65
+ /** 非信任设备 */
66
+ Untrusted = 2,
67
+ }
68
+
69
+ export interface MineResponse {
70
+ /** 设备认证编码 */
71
+ device_record_id?: string
72
+ /** 设备归属 */
73
+ device_ownership?: MineResponseDeviceOwnership
74
+ /** 可信状态 */
75
+ device_status?: MineResponseDeviceStatus
76
+ }
77
+
78
+ export const enum CreateRequestDeviceSystem {
79
+ /** Windows */
80
+ Windows = 1,
81
+ /** macOS */
82
+ MacOS = 2,
83
+ /** Linux */
84
+ Linux = 3,
85
+ /** Android */
86
+ Android = 4,
87
+ /** iOS */
88
+ IOS = 5,
89
+ /** OpenHarmony */
90
+ OpenHarmony = 6,
91
+ }
92
+
93
+ export const enum CreateRequestDeviceOwnership {
94
+ /** 未知设备 */
95
+ Unknown = 0,
96
+ /** 个人设备 */
97
+ Personal = 1,
98
+ /** 企业设备 */
99
+ Company = 2,
100
+ }
101
+
102
+ export const enum CreateRequestDeviceStatus {
103
+ /** 未知状态 */
104
+ Unknown = 0,
105
+ /** 信任设备 */
106
+ Trusted = 1,
107
+ /** 非信任设备 */
108
+ Untrusted = 2,
109
+ }
110
+
111
+ export interface CreateRequest {
112
+ /** 操作系统 */
113
+ device_system: CreateRequestDeviceSystem
114
+ /** 生产序列号 */
115
+ serial_number?: string
116
+ /** 硬盘序列号 */
117
+ disk_serial_number?: string
118
+ /** 主板UUID */
119
+ uuid?: string
120
+ /** MAC地址 */
121
+ mac_address?: string
122
+ /** Android标识符 */
123
+ android_id?: string
124
+ /** iOS供应商标识符 */
125
+ idfv?: string
126
+ /** Harmony供应商标识符 */
127
+ aaid?: string
128
+ /** 设备归属 */
129
+ device_ownership: CreateRequestDeviceOwnership
130
+ /** 可信状态 */
131
+ device_status: CreateRequestDeviceStatus
132
+ /** 最近登录用户ID */
133
+ latest_user_id?: string
134
+ /** 设备指纹列表 */
135
+ dids?: string[]
136
+ }
137
+
138
+ export interface CreateQuery {
139
+ /** 此次调用中使用的用户ID的类型 */
140
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
141
+ }
142
+
143
+ export interface CreateResponse {
144
+ /** 设备认证编码 */
145
+ device_record_id?: string
146
+ }
147
+
148
+ export const enum ListQueryDeviceOwnership {
149
+ /** 未知设备 */
150
+ Unknown = 0,
151
+ /** 个人设备 */
152
+ Personal = 1,
153
+ /** 企业设备 */
154
+ Company = 2,
155
+ }
156
+
157
+ export const enum ListQueryDeviceStatus {
158
+ /** 未知状态 */
159
+ Unknown = 0,
160
+ /** 信任设备 */
161
+ Trusted = 1,
162
+ /** 非信任设备 */
163
+ Untrusted = 2,
164
+ }
165
+
166
+ export const enum ListQueryDeviceTerminalType {
167
+ /** 未知 */
168
+ Unknown = 0,
169
+ /** 移动端 */
170
+ Mobile = 1,
171
+ /** 桌面端 */
172
+ PC = 2,
173
+ }
174
+
175
+ export const enum ListQueryOs {
176
+ /** 未知 */
177
+ Unknown = 0,
178
+ /** Windows */
179
+ Windows = 1,
180
+ /** macOS */
181
+ MacOS = 2,
182
+ /** Linux */
183
+ Linux = 3,
184
+ /** Android */
185
+ Android = 4,
186
+ /** iOS */
187
+ IOS = 5,
188
+ /** 鸿蒙 */
189
+ OpenHarmony = 6,
190
+ }
191
+
192
+ export interface ListQuery extends Pagination {
193
+ /** 设备认证编码 */
194
+ device_record_id?: string
195
+ /** 当前登录用户ID */
196
+ current_user_id?: string
197
+ /** 此次调用中使用的用户ID的类型 */
198
+ user_id_type?: 'open_id' | 'union_id' | 'user_id'
199
+ /** 设备名称 */
200
+ device_name?: string
201
+ /** 生产序列号 */
202
+ serial_number?: string
203
+ /** 硬盘序列号 */
204
+ disk_serial_number?: string
205
+ /** MAC地址 */
206
+ mac_address?: string
207
+ /** Android标识符 */
208
+ android_id?: string
209
+ /** 主板UUID */
210
+ uuid?: string
211
+ /** iOS供应商标识符 */
212
+ idfv?: string
213
+ /** Harmony供应商标识符 */
214
+ aaid?: string
215
+ /** 设备归属 */
216
+ device_ownership?: ListQueryDeviceOwnership
217
+ /** 可信状态 */
218
+ device_status?: ListQueryDeviceStatus
219
+ /** 设备类型 */
220
+ device_terminal_type?: ListQueryDeviceTerminalType
221
+ /** 设备操作系统 */
222
+ os?: ListQueryOs
223
+ /** 最近登录用户ID */
224
+ latest_user_id?: string
225
+ /** 设备指纹 */
226
+ did?: string
227
+ }
228
+
229
+ export interface GetQuery {
230
+ /** 此次调用中使用的用户ID的类型 */
231
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
232
+ }
233
+
234
+ export interface GetResponse {
235
+ /** 设备记录 */
236
+ device_record?: Lark.DeviceRecord
237
+ }
238
+
239
+ export const enum UpdateRequestDeviceOwnership {
240
+ /** 未知设备 */
241
+ Unknown = 0,
242
+ /** 个人设备 */
243
+ Personal = 1,
244
+ /** 企业设备 */
245
+ Company = 2,
246
+ }
247
+
248
+ export const enum UpdateRequestDeviceStatus {
249
+ /** 未知状态 */
250
+ Unknown = 0,
251
+ /** 信任设备 */
252
+ Trusted = 1,
253
+ /** 非信任设备 */
254
+ Untrusted = 2,
255
+ }
256
+
257
+ export interface UpdateRequest {
258
+ /** 设备归属 */
259
+ device_ownership: UpdateRequestDeviceOwnership
260
+ /** 可信状态 */
261
+ device_status: UpdateRequestDeviceStatus
262
+ /** 最近登录用户ID */
263
+ latest_user_id?: string
264
+ /** 设备指纹列表 */
265
+ dids?: string[]
266
+ }
267
+
268
+ export interface UpdateQuery {
269
+ /** 版本号 */
270
+ version: string
271
+ /** 此次调用中使用的用户ID的类型 */
272
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
273
+ }
274
+ }
275
+
276
+ export namespace DeviceApplyRecord {
277
+ export interface Methods {
278
+ /**
279
+ * 审批设备申报
280
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/security_and_compliance-v2/device_apply_record/update
281
+ */
282
+ update(device_apply_record_id: string, body: UpdateRequest): Promise<void>
283
+ }
284
+
285
+ export interface UpdateRequest {
286
+ /** 是否审批通过 */
287
+ is_approved: boolean
288
+ }
289
+ }
290
+
15
291
  export namespace OpenapiLog {
16
292
  export interface Methods {
17
293
  /**
@@ -39,6 +315,21 @@ export namespace SecurityAndCompliance {
39
315
  }
40
316
 
41
317
  Internal.define({
318
+ '/security_and_compliance/v2/device_records/mine': {
319
+ GET: 'securityAndCompliance.deviceRecord.mine',
320
+ },
321
+ '/security_and_compliance/v2/device_records': {
322
+ POST: 'securityAndCompliance.deviceRecord.create',
323
+ GET: { name: 'securityAndCompliance.deviceRecord.list', pagination: { argIndex: 0 } },
324
+ },
325
+ '/security_and_compliance/v2/device_records/{device_record_id}': {
326
+ GET: 'securityAndCompliance.deviceRecord.get',
327
+ PUT: 'securityAndCompliance.deviceRecord.update',
328
+ DELETE: 'securityAndCompliance.deviceRecord.delete',
329
+ },
330
+ '/security_and_compliance/v2/device_apply_records/{device_apply_record_id}': {
331
+ PUT: 'securityAndCompliance.deviceApplyRecord.update',
332
+ },
42
333
  '/security_and_compliance/v1/openapi_logs/list_data': {
43
334
  POST: 'securityAndCompliance.openapiLog.listData',
44
335
  },