@epilot/sdk 2.15.10 → 2.15.12

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 (138) hide show
  1. package/definitions/app.json +3 -2
  2. package/definitions/deduplication-runtime.json +1 -1
  3. package/definitions/deduplication.json +396 -4
  4. package/dist/apis/access-token.cjs +6 -6
  5. package/dist/apis/access-token.js +1 -1
  6. package/dist/apis/address-suggestions.cjs +6 -6
  7. package/dist/apis/address-suggestions.js +1 -1
  8. package/dist/apis/address.cjs +6 -6
  9. package/dist/apis/address.js +1 -1
  10. package/dist/apis/ai-agents.cjs +6 -6
  11. package/dist/apis/ai-agents.js +1 -1
  12. package/dist/apis/app.cjs +6 -6
  13. package/dist/apis/app.d.cts +2 -2
  14. package/dist/apis/app.d.ts +2 -2
  15. package/dist/apis/app.js +1 -1
  16. package/dist/apis/audit-logs.cjs +6 -6
  17. package/dist/apis/audit-logs.js +1 -1
  18. package/dist/apis/automation.cjs +6 -6
  19. package/dist/apis/automation.js +1 -1
  20. package/dist/apis/billing.cjs +6 -6
  21. package/dist/apis/billing.js +1 -1
  22. package/dist/apis/blueprint-manifest.cjs +6 -6
  23. package/dist/apis/blueprint-manifest.js +1 -1
  24. package/dist/apis/calendar.cjs +6 -6
  25. package/dist/apis/calendar.js +1 -1
  26. package/dist/apis/configuration-hub.cjs +6 -6
  27. package/dist/apis/configuration-hub.js +1 -1
  28. package/dist/apis/consent.cjs +6 -6
  29. package/dist/apis/consent.js +1 -1
  30. package/dist/apis/customer-portal.cjs +6 -6
  31. package/dist/apis/customer-portal.js +1 -1
  32. package/dist/apis/dashboard.cjs +6 -6
  33. package/dist/apis/dashboard.js +1 -1
  34. package/dist/apis/data-governance.cjs +6 -6
  35. package/dist/apis/data-governance.js +1 -1
  36. package/dist/apis/deduplication.cjs +8 -8
  37. package/dist/apis/deduplication.d.cts +2 -2
  38. package/dist/apis/deduplication.d.ts +2 -2
  39. package/dist/apis/deduplication.js +2 -2
  40. package/dist/apis/design.cjs +6 -6
  41. package/dist/apis/design.js +1 -1
  42. package/dist/apis/document.cjs +6 -6
  43. package/dist/apis/document.js +1 -1
  44. package/dist/apis/email-settings.cjs +6 -6
  45. package/dist/apis/email-settings.js +1 -1
  46. package/dist/apis/email-template.cjs +6 -6
  47. package/dist/apis/email-template.js +1 -1
  48. package/dist/apis/entity-mapping.cjs +6 -6
  49. package/dist/apis/entity-mapping.js +1 -1
  50. package/dist/apis/entity.cjs +6 -6
  51. package/dist/apis/entity.js +1 -1
  52. package/dist/apis/environments.cjs +6 -6
  53. package/dist/apis/environments.js +1 -1
  54. package/dist/apis/event-catalog.cjs +6 -6
  55. package/dist/apis/event-catalog.js +1 -1
  56. package/dist/apis/file.cjs +6 -6
  57. package/dist/apis/file.js +1 -1
  58. package/dist/apis/iban.cjs +6 -6
  59. package/dist/apis/iban.js +1 -1
  60. package/dist/apis/integration-toolkit.cjs +6 -6
  61. package/dist/apis/integration-toolkit.js +1 -1
  62. package/dist/apis/journey.cjs +6 -6
  63. package/dist/apis/journey.js +1 -1
  64. package/dist/apis/kanban.cjs +6 -6
  65. package/dist/apis/kanban.js +1 -1
  66. package/dist/apis/message.cjs +6 -6
  67. package/dist/apis/message.js +1 -1
  68. package/dist/apis/metering.cjs +6 -6
  69. package/dist/apis/metering.js +1 -1
  70. package/dist/apis/notes.cjs +6 -6
  71. package/dist/apis/notes.js +1 -1
  72. package/dist/apis/notification.cjs +6 -6
  73. package/dist/apis/notification.js +1 -1
  74. package/dist/apis/organization.cjs +6 -6
  75. package/dist/apis/organization.js +1 -1
  76. package/dist/apis/partner-directory.cjs +6 -6
  77. package/dist/apis/partner-directory.js +1 -1
  78. package/dist/apis/permissions.cjs +6 -6
  79. package/dist/apis/permissions.js +1 -1
  80. package/dist/apis/pricing-tier.cjs +6 -6
  81. package/dist/apis/pricing-tier.js +1 -1
  82. package/dist/apis/pricing.cjs +6 -6
  83. package/dist/apis/pricing.js +1 -1
  84. package/dist/apis/purpose.cjs +6 -6
  85. package/dist/apis/purpose.js +1 -1
  86. package/dist/apis/query.cjs +6 -6
  87. package/dist/apis/query.js +1 -1
  88. package/dist/apis/sandbox.cjs +6 -6
  89. package/dist/apis/sandbox.js +1 -1
  90. package/dist/apis/sharing.cjs +6 -6
  91. package/dist/apis/sharing.js +1 -1
  92. package/dist/apis/snapshot.cjs +6 -6
  93. package/dist/apis/snapshot.js +1 -1
  94. package/dist/apis/submission.cjs +6 -6
  95. package/dist/apis/submission.js +1 -1
  96. package/dist/apis/target.cjs +6 -6
  97. package/dist/apis/target.js +1 -1
  98. package/dist/apis/targeting.cjs +6 -6
  99. package/dist/apis/targeting.js +1 -1
  100. package/dist/apis/template-variables.cjs +6 -6
  101. package/dist/apis/template-variables.js +1 -1
  102. package/dist/apis/user.cjs +6 -6
  103. package/dist/apis/user.js +1 -1
  104. package/dist/apis/validation-rules.cjs +6 -6
  105. package/dist/apis/validation-rules.js +1 -1
  106. package/dist/apis/webhooks.cjs +6 -6
  107. package/dist/apis/webhooks.js +1 -1
  108. package/dist/apis/workflow-definition.cjs +6 -6
  109. package/dist/apis/workflow-definition.js +1 -1
  110. package/dist/apis/workflow.cjs +6 -6
  111. package/dist/apis/workflow.js +1 -1
  112. package/dist/{app-2PHMS5XK.js → app-4OOR6HHG.js} +1 -1
  113. package/dist/{app-J4RJL6KV.cjs → app-KQMSUXFH.cjs} +1 -1
  114. package/dist/{app.d-E1es05Ga.d.cts → app.d-BdFPyoJZ.d.cts} +2 -2
  115. package/dist/{app.d-E1es05Ga.d.ts → app.d-BdFPyoJZ.d.ts} +2 -2
  116. package/dist/chunk-CKD3HAHW.js +14 -0
  117. package/dist/{chunk-B4LJU7Y7.cjs → chunk-ENUGTVR3.cjs} +3 -3
  118. package/dist/{chunk-IFYIYXKG.js → chunk-ONOSCVR7.js} +3 -3
  119. package/dist/{chunk-IAHSYVYB.cjs → chunk-TWI3P2QA.cjs} +1 -1
  120. package/dist/deduplication-XYMFEQEE.cjs +7 -0
  121. package/dist/deduplication-YYNT5C3M.js +7 -0
  122. package/dist/{deduplication-runtime-VL4R2VIG.js → deduplication-runtime-5TJHUSQN.js} +1 -1
  123. package/dist/{deduplication-runtime-5QS6I4S7.cjs → deduplication-runtime-ZKX6LN5P.cjs} +2 -2
  124. package/dist/deduplication.d-DaUo5gZo.d.cts +550 -0
  125. package/dist/deduplication.d-DaUo5gZo.d.ts +550 -0
  126. package/dist/index.cjs +10 -10
  127. package/dist/index.d.cts +2 -2
  128. package/dist/index.d.ts +2 -2
  129. package/dist/index.js +2 -2
  130. package/dist/js-yaml-DLCVPJ7G.js +0 -0
  131. package/docs/app.md +1 -1
  132. package/docs/deduplication.md +425 -0
  133. package/package.json +11 -12
  134. package/dist/chunk-X2SC4GW5.js +0 -14
  135. package/dist/deduplication-G2ZY4NMX.js +0 -7
  136. package/dist/deduplication-PKKTZAEA.cjs +0 -7
  137. package/dist/deduplication.d-D5GYddVu.d.cts +0 -218
  138. package/dist/deduplication.d-D5GYddVu.d.ts +0 -218
@@ -0,0 +1,550 @@
1
+ import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
2
+
3
+ /* Auto-copied from deduplication-client */
4
+
5
+
6
+ declare namespace Components {
7
+ namespace Schemas {
8
+ /**
9
+ * Response returned immediately when a deduplication job is submitted
10
+ */
11
+ export interface DeduplicateAsyncResponse {
12
+ /**
13
+ * Job ID to poll for status via GET /v1/deduplicate/jobs/{jobId}
14
+ */
15
+ jobId: string;
16
+ status: JobStatus;
17
+ /**
18
+ * Initial status message
19
+ */
20
+ message: string;
21
+ }
22
+ export type DeduplicateRequestBody = [
23
+ {
24
+ /**
25
+ * Entity id to keep and merge the duplicates into
26
+ */
27
+ toKeep: string;
28
+ /**
29
+ * Non-empty list of duplicate entity ids to merge into toKeep and delete
30
+ */
31
+ toDelete: [
32
+ string,
33
+ ...string[]
34
+ ];
35
+ },
36
+ ...{
37
+ /**
38
+ * Entity id to keep and merge the duplicates into
39
+ */
40
+ toKeep: string;
41
+ /**
42
+ * Non-empty list of duplicate entity ids to merge into toKeep and delete
43
+ */
44
+ toDelete: [
45
+ string,
46
+ ...string[]
47
+ ];
48
+ }[]
49
+ ];
50
+ export type DeduplicateRequestResponse = /* Base Entity schema */ Entity[];
51
+ /**
52
+ * Represents an async deduplication job
53
+ */
54
+ export interface DeduplicationJob {
55
+ /**
56
+ * Unique identifier for the deduplication job
57
+ */
58
+ jobId: string;
59
+ status: JobStatus;
60
+ /**
61
+ * Human-readable status message (e.g. progress info or error details)
62
+ */
63
+ message?: string;
64
+ /**
65
+ * Array of deduplicated entities, present when status is completed
66
+ */
67
+ result?: /* Base Entity schema */ Entity[];
68
+ /**
69
+ * ISO 8601 timestamp of job creation
70
+ */
71
+ createdAt: string; // date-time
72
+ /**
73
+ * ISO 8601 timestamp of last update
74
+ */
75
+ updatedAt: string; // date-time
76
+ }
77
+ export interface DetectDuplicatesRequestBody {
78
+ /**
79
+ * Entity schema to search (e.g. 'contact'). Must have UniquenessCriteria configured for the calling org.
80
+ */
81
+ schema: string;
82
+ /**
83
+ * The entity to look up potential duplicates for. Attribute values are extracted from this entity per the schema's match rules; system fields such as '_id' are supported. A rule is evaluated when at least one of its attributes resolves to a non-empty value on this entity; attributes without a value require candidates to also lack a value for them.
84
+ */
85
+ entity: {
86
+ [name: string]: any;
87
+ };
88
+ }
89
+ export interface DetectDuplicatesResponse {
90
+ matches: DetectedDuplicateMatch[];
91
+ }
92
+ export interface DetectedDuplicateMatch {
93
+ entity: /* Base Entity schema */ Entity;
94
+ /**
95
+ * Confidence score for the match, between 0 and 1.
96
+ */
97
+ confidence: number;
98
+ /**
99
+ * Names of the attributes that matched on the rule that produced this hit.
100
+ */
101
+ matched_attributes: [
102
+ string,
103
+ ...string[]
104
+ ];
105
+ }
106
+ /**
107
+ * Base Entity schema
108
+ */
109
+ export interface Entity {
110
+ /**
111
+ * Entity ID of the Deduplication entry
112
+ */
113
+ _id: string;
114
+ /**
115
+ * ID of the Organization that owns this Deduplication
116
+ */
117
+ _org?: string;
118
+ /**
119
+ * The Entity schema of this Deduplication
120
+ */
121
+ _schema?: string;
122
+ /**
123
+ * The timestamp of when this Deduplication was created
124
+ */
125
+ _created_at?: string; // date-time
126
+ /**
127
+ * The timestamp of when this Deduplication was last updated
128
+ */
129
+ _updated_at?: string; // date-time
130
+ /**
131
+ * The Entity ID of the User that created this Deduplication
132
+ */
133
+ _created_by?: /* The Entity ID of the User that created this Deduplication */ string | number;
134
+ /**
135
+ * The Entity ID of the User that created this Deduplication
136
+ */
137
+ created_by?: /* The Entity ID of the User that created this Deduplication */ string | number;
138
+ /**
139
+ * Tags associated with this Deduplication
140
+ */
141
+ _tags?: string[];
142
+ /**
143
+ * Access Control List for this Deduplication entry
144
+ */
145
+ _acl?: {
146
+ [name: string]: string[];
147
+ };
148
+ _owners?: {
149
+ org_id: string;
150
+ user_id: string;
151
+ }[];
152
+ /**
153
+ * Entity ID of the Deduplication entry
154
+ */
155
+ type?: string;
156
+ }
157
+ export type JobStatus = "pending" | "processing" | "completed" | "failed";
158
+ /**
159
+ * One attribute participating in a match rule. Wrapped as an object so per-attribute options can be added later.
160
+ */
161
+ export interface MatchAttribute {
162
+ /**
163
+ * Name of the entity attribute to match on. Its query path is resolved from the entity schema at query time.
164
+ */
165
+ attribute: string;
166
+ }
167
+ /**
168
+ * One way to identify the same entity. Evaluated in order; first rule whose attributes are all available and that returns hits wins.
169
+ */
170
+ export interface MatchRule {
171
+ /**
172
+ * Optional human-readable label for the rule. Purely descriptive; not used during matching.
173
+ */
174
+ name?: string;
175
+ /**
176
+ * Attributes that must all match for this rule to fire. Attributes without a value on the source entity must also have no value on a matching candidate.
177
+ */
178
+ attributes: [
179
+ /* One attribute participating in a match rule. Wrapped as an object so per-attribute options can be added later. */ MatchAttribute,
180
+ .../* One attribute participating in a match rule. Wrapped as an object so per-attribute options can be added later. */ MatchAttribute[]
181
+ ];
182
+ /**
183
+ * Confidence assigned to matches produced by this rule, between 0 and 1.
184
+ */
185
+ confidence: number;
186
+ }
187
+ /**
188
+ * Defines what makes an entity of a given schema unique within an organization.
189
+ */
190
+ export interface UniquenessCriteria {
191
+ /**
192
+ * Unique identifier of the criteria record.
193
+ */
194
+ id: string; // uuid
195
+ /**
196
+ * Organization the criteria belong to.
197
+ */
198
+ orgId: string;
199
+ /**
200
+ * Entity schema these criteria apply to (e.g. 'contact').
201
+ */
202
+ schema: string;
203
+ /**
204
+ * Ordered list of match rules. Order is the evaluation priority.
205
+ */
206
+ matchRules: [
207
+ /* One way to identify the same entity. Evaluated in order; first rule whose attributes are all available and that returns hits wins. */ MatchRule,
208
+ .../* One way to identify the same entity. Evaluated in order; first rule whose attributes are all available and that returns hits wins. */ MatchRule[]
209
+ ];
210
+ /**
211
+ * ISO 8601 timestamp of record creation.
212
+ */
213
+ createdAt: string; // date-time
214
+ /**
215
+ * ISO 8601 timestamp of last update.
216
+ */
217
+ updatedAt: string; // date-time
218
+ }
219
+ export interface UniquenessCriteriaCreateBody {
220
+ /**
221
+ * Entity schema these criteria apply to.
222
+ */
223
+ schema: string;
224
+ matchRules: [
225
+ /* One way to identify the same entity. Evaluated in order; first rule whose attributes are all available and that returns hits wins. */ MatchRule,
226
+ .../* One way to identify the same entity. Evaluated in order; first rule whose attributes are all available and that returns hits wins. */ MatchRule[]
227
+ ];
228
+ }
229
+ export interface UniquenessCriteriaListResponse {
230
+ items: /* Defines what makes an entity of a given schema unique within an organization. */ UniquenessCriteria[];
231
+ }
232
+ export interface UniquenessCriteriaUpdateBody {
233
+ matchRules: [
234
+ /* One way to identify the same entity. Evaluated in order; first rule whose attributes are all available and that returns hits wins. */ MatchRule,
235
+ .../* One way to identify the same entity. Evaluated in order; first rule whose attributes are all available and that returns hits wins. */ MatchRule[]
236
+ ];
237
+ }
238
+ }
239
+ }
240
+ declare namespace Paths {
241
+ namespace CreateUniquenessCriteria {
242
+ export type RequestBody = Components.Schemas.UniquenessCriteriaCreateBody;
243
+ namespace Responses {
244
+ export type $201 = /* Defines what makes an entity of a given schema unique within an organization. */ Components.Schemas.UniquenessCriteria;
245
+ }
246
+ }
247
+ namespace Deduplicate {
248
+ export type RequestBody = Components.Schemas.DeduplicateRequestBody;
249
+ namespace Responses {
250
+ export type $200 = Components.Schemas.DeduplicateRequestResponse;
251
+ }
252
+ }
253
+ namespace DeduplicateAsync {
254
+ export type RequestBody = Components.Schemas.DeduplicateRequestBody;
255
+ namespace Responses {
256
+ export type $202 = /* Response returned immediately when a deduplication job is submitted */ Components.Schemas.DeduplicateAsyncResponse;
257
+ }
258
+ }
259
+ namespace DeleteUniquenessCriteria {
260
+ namespace Parameters {
261
+ export type Schema = string;
262
+ }
263
+ export interface PathParameters {
264
+ schema: Parameters.Schema;
265
+ }
266
+ namespace Responses {
267
+ export interface $204 {
268
+ }
269
+ export interface $404 {
270
+ }
271
+ }
272
+ }
273
+ namespace DetectDuplicates {
274
+ export type RequestBody = Components.Schemas.DetectDuplicatesRequestBody;
275
+ namespace Responses {
276
+ export type $200 = Components.Schemas.DetectDuplicatesResponse;
277
+ }
278
+ }
279
+ namespace GetDeduplicationJob {
280
+ namespace Parameters {
281
+ export type JobId = string;
282
+ }
283
+ export interface PathParameters {
284
+ jobId: Parameters.JobId;
285
+ }
286
+ namespace Responses {
287
+ export type $200 = /* Represents an async deduplication job */ Components.Schemas.DeduplicationJob;
288
+ export interface $404 {
289
+ }
290
+ }
291
+ }
292
+ namespace GetUniquenessCriteria {
293
+ namespace Parameters {
294
+ export type Schema = string;
295
+ }
296
+ export interface PathParameters {
297
+ schema: Parameters.Schema;
298
+ }
299
+ namespace Responses {
300
+ export type $200 = /* Defines what makes an entity of a given schema unique within an organization. */ Components.Schemas.UniquenessCriteria;
301
+ export interface $404 {
302
+ }
303
+ }
304
+ }
305
+ namespace ListUniquenessCriteria {
306
+ namespace Parameters {
307
+ export type Schema = string;
308
+ }
309
+ export interface QueryParameters {
310
+ schema?: Parameters.Schema;
311
+ }
312
+ namespace Responses {
313
+ export type $200 = Components.Schemas.UniquenessCriteriaListResponse;
314
+ }
315
+ }
316
+ namespace UpdateUniquenessCriteria {
317
+ namespace Parameters {
318
+ export type Schema = string;
319
+ }
320
+ export interface PathParameters {
321
+ schema: Parameters.Schema;
322
+ }
323
+ export type RequestBody = Components.Schemas.UniquenessCriteriaUpdateBody;
324
+ namespace Responses {
325
+ export type $200 = /* Defines what makes an entity of a given schema unique within an organization. */ Components.Schemas.UniquenessCriteria;
326
+ export interface $404 {
327
+ }
328
+ }
329
+ }
330
+ }
331
+
332
+
333
+ interface OperationMethods {
334
+ /**
335
+ * deduplicate - deduplicate
336
+ *
337
+ * Deduplicates Entities
338
+ */
339
+ 'deduplicate'(
340
+ parameters?: Parameters<UnknownParamsObject> | null,
341
+ data?: Paths.Deduplicate.RequestBody,
342
+ config?: AxiosRequestConfig
343
+ ): OperationResponse<Paths.Deduplicate.Responses.$200>
344
+ /**
345
+ * deduplicateAsync - deduplicateAsync
346
+ *
347
+ * Submits an async deduplication job. Returns a job ID immediately. Poll GET /v1/deduplicate/jobs/{jobId} for status.
348
+ */
349
+ 'deduplicateAsync'(
350
+ parameters?: Parameters<UnknownParamsObject> | null,
351
+ data?: Paths.DeduplicateAsync.RequestBody,
352
+ config?: AxiosRequestConfig
353
+ ): OperationResponse<Paths.DeduplicateAsync.Responses.$202>
354
+ /**
355
+ * getDeduplicationJob - getDeduplicationJob
356
+ *
357
+ * Returns the current status of an async deduplication job
358
+ */
359
+ 'getDeduplicationJob'(
360
+ parameters?: Parameters<Paths.GetDeduplicationJob.PathParameters> | null,
361
+ data?: any,
362
+ config?: AxiosRequestConfig
363
+ ): OperationResponse<Paths.GetDeduplicationJob.Responses.$200>
364
+ /**
365
+ * detectDuplicates - detectDuplicates
366
+ *
367
+ * Detects potential duplicate entities for the given entity using the schema's prioritized uniqueness rules. Returns matches with a confidence score.
368
+ */
369
+ 'detectDuplicates'(
370
+ parameters?: Parameters<UnknownParamsObject> | null,
371
+ data?: Paths.DetectDuplicates.RequestBody,
372
+ config?: AxiosRequestConfig
373
+ ): OperationResponse<Paths.DetectDuplicates.Responses.$200>
374
+ /**
375
+ * listUniquenessCriteria - listUniquenessCriteria
376
+ *
377
+ * Lists UniquenessCriteria for the requesting organization. Optionally filtered by schema.
378
+ */
379
+ 'listUniquenessCriteria'(
380
+ parameters?: Parameters<Paths.ListUniquenessCriteria.QueryParameters> | null,
381
+ data?: any,
382
+ config?: AxiosRequestConfig
383
+ ): OperationResponse<Paths.ListUniquenessCriteria.Responses.$200>
384
+ /**
385
+ * createUniquenessCriteria - createUniquenessCriteria
386
+ *
387
+ * Creates a new UniquenessCriteria record.
388
+ */
389
+ 'createUniquenessCriteria'(
390
+ parameters?: Parameters<UnknownParamsObject> | null,
391
+ data?: Paths.CreateUniquenessCriteria.RequestBody,
392
+ config?: AxiosRequestConfig
393
+ ): OperationResponse<Paths.CreateUniquenessCriteria.Responses.$201>
394
+ /**
395
+ * getUniquenessCriteria - getUniquenessCriteria
396
+ *
397
+ * Fetch a single UniquenessCriteria record.
398
+ */
399
+ 'getUniquenessCriteria'(
400
+ parameters?: Parameters<Paths.GetUniquenessCriteria.PathParameters> | null,
401
+ data?: any,
402
+ config?: AxiosRequestConfig
403
+ ): OperationResponse<Paths.GetUniquenessCriteria.Responses.$200>
404
+ /**
405
+ * updateUniquenessCriteria - updateUniquenessCriteria
406
+ *
407
+ * Replace the matchRules on an existing UniquenessCriteria record.
408
+ */
409
+ 'updateUniquenessCriteria'(
410
+ parameters?: Parameters<Paths.UpdateUniquenessCriteria.PathParameters> | null,
411
+ data?: Paths.UpdateUniquenessCriteria.RequestBody,
412
+ config?: AxiosRequestConfig
413
+ ): OperationResponse<Paths.UpdateUniquenessCriteria.Responses.$200>
414
+ /**
415
+ * deleteUniquenessCriteria - deleteUniquenessCriteria
416
+ *
417
+ * Delete a UniquenessCriteria record.
418
+ */
419
+ 'deleteUniquenessCriteria'(
420
+ parameters?: Parameters<Paths.DeleteUniquenessCriteria.PathParameters> | null,
421
+ data?: any,
422
+ config?: AxiosRequestConfig
423
+ ): OperationResponse<Paths.DeleteUniquenessCriteria.Responses.$204>
424
+ }
425
+
426
+ interface PathsDictionary {
427
+ ['/v1/deduplicate']: {
428
+ /**
429
+ * deduplicate - deduplicate
430
+ *
431
+ * Deduplicates Entities
432
+ */
433
+ 'post'(
434
+ parameters?: Parameters<UnknownParamsObject> | null,
435
+ data?: Paths.Deduplicate.RequestBody,
436
+ config?: AxiosRequestConfig
437
+ ): OperationResponse<Paths.Deduplicate.Responses.$200>
438
+ }
439
+ ['/v1/deduplicate/job']: {
440
+ /**
441
+ * deduplicateAsync - deduplicateAsync
442
+ *
443
+ * Submits an async deduplication job. Returns a job ID immediately. Poll GET /v1/deduplicate/jobs/{jobId} for status.
444
+ */
445
+ 'post'(
446
+ parameters?: Parameters<UnknownParamsObject> | null,
447
+ data?: Paths.DeduplicateAsync.RequestBody,
448
+ config?: AxiosRequestConfig
449
+ ): OperationResponse<Paths.DeduplicateAsync.Responses.$202>
450
+ }
451
+ ['/v1/deduplicate/jobs/{jobId}']: {
452
+ /**
453
+ * getDeduplicationJob - getDeduplicationJob
454
+ *
455
+ * Returns the current status of an async deduplication job
456
+ */
457
+ 'get'(
458
+ parameters?: Parameters<Paths.GetDeduplicationJob.PathParameters> | null,
459
+ data?: any,
460
+ config?: AxiosRequestConfig
461
+ ): OperationResponse<Paths.GetDeduplicationJob.Responses.$200>
462
+ }
463
+ ['/v1/detect-duplicates']: {
464
+ /**
465
+ * detectDuplicates - detectDuplicates
466
+ *
467
+ * Detects potential duplicate entities for the given entity using the schema's prioritized uniqueness rules. Returns matches with a confidence score.
468
+ */
469
+ 'post'(
470
+ parameters?: Parameters<UnknownParamsObject> | null,
471
+ data?: Paths.DetectDuplicates.RequestBody,
472
+ config?: AxiosRequestConfig
473
+ ): OperationResponse<Paths.DetectDuplicates.Responses.$200>
474
+ }
475
+ ['/v1/uniqueness-criteria']: {
476
+ /**
477
+ * listUniquenessCriteria - listUniquenessCriteria
478
+ *
479
+ * Lists UniquenessCriteria for the requesting organization. Optionally filtered by schema.
480
+ */
481
+ 'get'(
482
+ parameters?: Parameters<Paths.ListUniquenessCriteria.QueryParameters> | null,
483
+ data?: any,
484
+ config?: AxiosRequestConfig
485
+ ): OperationResponse<Paths.ListUniquenessCriteria.Responses.$200>
486
+ /**
487
+ * createUniquenessCriteria - createUniquenessCriteria
488
+ *
489
+ * Creates a new UniquenessCriteria record.
490
+ */
491
+ 'post'(
492
+ parameters?: Parameters<UnknownParamsObject> | null,
493
+ data?: Paths.CreateUniquenessCriteria.RequestBody,
494
+ config?: AxiosRequestConfig
495
+ ): OperationResponse<Paths.CreateUniquenessCriteria.Responses.$201>
496
+ }
497
+ ['/v1/uniqueness-criteria/{schema}']: {
498
+ /**
499
+ * getUniquenessCriteria - getUniquenessCriteria
500
+ *
501
+ * Fetch a single UniquenessCriteria record.
502
+ */
503
+ 'get'(
504
+ parameters?: Parameters<Paths.GetUniquenessCriteria.PathParameters> | null,
505
+ data?: any,
506
+ config?: AxiosRequestConfig
507
+ ): OperationResponse<Paths.GetUniquenessCriteria.Responses.$200>
508
+ /**
509
+ * updateUniquenessCriteria - updateUniquenessCriteria
510
+ *
511
+ * Replace the matchRules on an existing UniquenessCriteria record.
512
+ */
513
+ 'put'(
514
+ parameters?: Parameters<Paths.UpdateUniquenessCriteria.PathParameters> | null,
515
+ data?: Paths.UpdateUniquenessCriteria.RequestBody,
516
+ config?: AxiosRequestConfig
517
+ ): OperationResponse<Paths.UpdateUniquenessCriteria.Responses.$200>
518
+ /**
519
+ * deleteUniquenessCriteria - deleteUniquenessCriteria
520
+ *
521
+ * Delete a UniquenessCriteria record.
522
+ */
523
+ 'delete'(
524
+ parameters?: Parameters<Paths.DeleteUniquenessCriteria.PathParameters> | null,
525
+ data?: any,
526
+ config?: AxiosRequestConfig
527
+ ): OperationResponse<Paths.DeleteUniquenessCriteria.Responses.$204>
528
+ }
529
+ }
530
+
531
+ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
532
+
533
+
534
+ type DeduplicateAsyncResponse = Components.Schemas.DeduplicateAsyncResponse;
535
+ type DeduplicateRequestBody = Components.Schemas.DeduplicateRequestBody;
536
+ type DeduplicateRequestResponse = Components.Schemas.DeduplicateRequestResponse;
537
+ type DeduplicationJob = Components.Schemas.DeduplicationJob;
538
+ type DetectDuplicatesRequestBody = Components.Schemas.DetectDuplicatesRequestBody;
539
+ type DetectDuplicatesResponse = Components.Schemas.DetectDuplicatesResponse;
540
+ type DetectedDuplicateMatch = Components.Schemas.DetectedDuplicateMatch;
541
+ type Entity = Components.Schemas.Entity;
542
+ type JobStatus = Components.Schemas.JobStatus;
543
+ type MatchAttribute = Components.Schemas.MatchAttribute;
544
+ type MatchRule = Components.Schemas.MatchRule;
545
+ type UniquenessCriteria = Components.Schemas.UniquenessCriteria;
546
+ type UniquenessCriteriaCreateBody = Components.Schemas.UniquenessCriteriaCreateBody;
547
+ type UniquenessCriteriaListResponse = Components.Schemas.UniquenessCriteriaListResponse;
548
+ type UniquenessCriteriaUpdateBody = Components.Schemas.UniquenessCriteriaUpdateBody;
549
+
550
+ export { type Client as C, type DeduplicateAsyncResponse as D, type Entity as E, type JobStatus as J, type MatchAttribute as M, type OperationMethods as O, Paths as P, type UniquenessCriteria as U, Components as a, type PathsDictionary as b, type DeduplicateRequestBody as c, type DeduplicateRequestResponse as d, type DeduplicationJob as e, type DetectDuplicatesRequestBody as f, type DetectDuplicatesResponse as g, type DetectedDuplicateMatch as h, type MatchRule as i, type UniquenessCriteriaCreateBody as j, type UniquenessCriteriaListResponse as k, type UniquenessCriteriaUpdateBody as l };
package/dist/index.cjs CHANGED
@@ -84,7 +84,7 @@ var _chunkJM63KEFZcjs = require('./chunk-JM63KEFZ.cjs');
84
84
  var _chunkXNC4FWS2cjs = require('./chunk-XNC4FWS2.cjs');
85
85
 
86
86
 
87
- var _chunkIAHSYVYBcjs = require('./chunk-IAHSYVYB.cjs');
87
+ var _chunkTWI3P2QAcjs = require('./chunk-TWI3P2QA.cjs');
88
88
 
89
89
 
90
90
  var _chunkWHXYES2Dcjs = require('./chunk-WHXYES2D.cjs');
@@ -158,7 +158,7 @@ var _chunkDVM27A7Ecjs = require('./chunk-DVM27A7E.cjs');
158
158
 
159
159
 
160
160
 
161
- var _chunkB4LJU7Y7cjs = require('./chunk-B4LJU7Y7.cjs');
161
+ var _chunkENUGTVR3cjs = require('./chunk-ENUGTVR3.cjs');
162
162
 
163
163
 
164
164
  var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
@@ -225,7 +225,7 @@ var resolveClient = (params) => {
225
225
  }
226
226
  if (!entry.instance) {
227
227
  const definition = entry.loader();
228
- entry.instance = _chunkB4LJU7Y7cjs.createApiClient.call(void 0, {
228
+ entry.instance = _chunkENUGTVR3cjs.createApiClient.call(void 0, {
229
229
  definition,
230
230
  token: state.token,
231
231
  headers: state.globalHeaders,
@@ -258,7 +258,7 @@ var resetAllClients = (registry) => {
258
258
  };
259
259
 
260
260
  // src/apis/_registry.ts
261
- var expandDef = (mod) => _chunkB4LJU7Y7cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
261
+ var expandDef = (mod) => _chunkENUGTVR3cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
262
262
  var registerBuiltinApis = (registry) => {
263
263
  registerApi({
264
264
  registry,
@@ -338,7 +338,7 @@ var registerBuiltinApis = (registry) => {
338
338
  registerApi({
339
339
  registry,
340
340
  name: "deduplication",
341
- loader: () => expandDef(_chunkIAHSYVYBcjs.require_deduplication_runtime.call(void 0, ))
341
+ loader: () => expandDef(_chunkTWI3P2QAcjs.require_deduplication_runtime.call(void 0, ))
342
342
  });
343
343
  registerApi({
344
344
  registry,
@@ -601,9 +601,9 @@ var createSDK = () => {
601
601
  const available = [...registry.keys()].join(", ");
602
602
  throw new Error(`Unknown API: "${name}". Available: ${available}`);
603
603
  }
604
- return _chunkB4LJU7Y7cjs.createApiHandle.call(void 0, {
604
+ return _chunkENUGTVR3cjs.createApiHandle.call(void 0, {
605
605
  resolveClient: () => resolveClient({ registry, name, state }),
606
- createClient: () => _chunkB4LJU7Y7cjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
606
+ createClient: () => _chunkENUGTVR3cjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
607
607
  apiName: name
608
608
  });
609
609
  };
@@ -651,9 +651,9 @@ var createSDK = () => {
651
651
  return interceptorUse;
652
652
  }
653
653
  case "help":
654
- return (apiName) => _chunkB4LJU7Y7cjs.help.call(void 0, apiName);
654
+ return (apiName) => _chunkENUGTVR3cjs.help.call(void 0, apiName);
655
655
  case "openapi":
656
- return (apiName) => _chunkB4LJU7Y7cjs.openapi.call(void 0, apiName);
656
+ return (apiName) => _chunkENUGTVR3cjs.openapi.call(void 0, apiName);
657
657
  case "then":
658
658
  case "catch":
659
659
  case "finally":
@@ -683,4 +683,4 @@ var epilot = createSDK();
683
683
 
684
684
 
685
685
 
686
- exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkB4LJU7Y7cjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkB4LJU7Y7cjs.help; exports.openapi = _chunkB4LJU7Y7cjs.openapi;
686
+ exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkENUGTVR3cjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkENUGTVR3cjs.help; exports.openapi = _chunkENUGTVR3cjs.openapi;
package/dist/index.d.cts CHANGED
@@ -7,7 +7,7 @@ import { C as Client } from './access-token.d-BhRUc8I-.cjs';
7
7
  import { C as Client$1 } from './address.d-CwAPOVxa.cjs';
8
8
  import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.cjs';
9
9
  import { C as Client$3 } from './ai-agents.d-D-7bTH-9.cjs';
10
- import { C as Client$4 } from './app.d-E1es05Ga.cjs';
10
+ import { C as Client$4 } from './app.d-BdFPyoJZ.cjs';
11
11
  import { C as Client$5 } from './audit-logs.d-BRToFqeX.cjs';
12
12
  import { C as Client$6 } from './automation.d-Beojxb43.cjs';
13
13
  import { C as Client$7 } from './billing.d-N_1F759g.cjs';
@@ -18,7 +18,7 @@ import { C as Client$b } from './consent.d-C2PROHhX.cjs';
18
18
  import { C as Client$c } from './customer-portal.d-JVkJjm_e.cjs';
19
19
  import { C as Client$d } from './dashboard.d-CsGcA74I.cjs';
20
20
  import { C as Client$e } from './data-governance.d-BbZ466j5.cjs';
21
- import { C as Client$f } from './deduplication.d-D5GYddVu.cjs';
21
+ import { C as Client$f } from './deduplication.d-DaUo5gZo.cjs';
22
22
  import { C as Client$g } from './design.d-DzSDu8cy.cjs';
23
23
  import { C as Client$h } from './document.d-DN37pjdx.cjs';
24
24
  import { C as Client$i } from './email-settings.d-CR4lORuR.cjs';
package/dist/index.d.ts CHANGED
@@ -7,7 +7,7 @@ import { C as Client } from './access-token.d-BhRUc8I-.js';
7
7
  import { C as Client$1 } from './address.d-CwAPOVxa.js';
8
8
  import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.js';
9
9
  import { C as Client$3 } from './ai-agents.d-D-7bTH-9.js';
10
- import { C as Client$4 } from './app.d-E1es05Ga.js';
10
+ import { C as Client$4 } from './app.d-BdFPyoJZ.js';
11
11
  import { C as Client$5 } from './audit-logs.d-BRToFqeX.js';
12
12
  import { C as Client$6 } from './automation.d-Beojxb43.js';
13
13
  import { C as Client$7 } from './billing.d-N_1F759g.js';
@@ -18,7 +18,7 @@ import { C as Client$b } from './consent.d-C2PROHhX.js';
18
18
  import { C as Client$c } from './customer-portal.d-JVkJjm_e.js';
19
19
  import { C as Client$d } from './dashboard.d-CsGcA74I.js';
20
20
  import { C as Client$e } from './data-governance.d-BbZ466j5.js';
21
- import { C as Client$f } from './deduplication.d-D5GYddVu.js';
21
+ import { C as Client$f } from './deduplication.d-DaUo5gZo.js';
22
22
  import { C as Client$g } from './design.d-DzSDu8cy.js';
23
23
  import { C as Client$h } from './document.d-DN37pjdx.js';
24
24
  import { C as Client$i } from './email-settings.d-CR4lORuR.js';
package/dist/index.js CHANGED
@@ -84,7 +84,7 @@ import {
84
84
  } from "./chunk-LE4OZS7T.js";
85
85
  import {
86
86
  require_deduplication_runtime
87
- } from "./chunk-X2SC4GW5.js";
87
+ } from "./chunk-CKD3HAHW.js";
88
88
  import {
89
89
  require_design_runtime
90
90
  } from "./chunk-P4NA7NWG.js";
@@ -158,7 +158,7 @@ import {
158
158
  expand,
159
159
  help,
160
160
  openapi
161
- } from "./chunk-IFYIYXKG.js";
161
+ } from "./chunk-ONOSCVR7.js";
162
162
  import {
163
163
  __require
164
164
  } from "./chunk-YPSWSI3M.js";
File without changes
package/docs/app.md CHANGED
@@ -1977,7 +1977,7 @@ type ApiProxyComponent = {
1977
1977
  type CustomCapabilityComponent = {
1978
1978
  component_type: "CUSTOM_CAPABILITY"
1979
1979
  configuration: {
1980
- type?: "tab" | "group"
1980
+ type?: "tab" | "group" | "widget"
1981
1981
  allowed_schemas?: string[]
1982
1982
  }
1983
1983
  surfaces?: {