@epilot/sdk 2.18.27 → 2.18.29

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 (131) hide show
  1. package/definitions/integration-toolkit.json +27 -103
  2. package/definitions/permissions.json +85 -2
  3. package/dist/apis/access-token.cjs +6 -6
  4. package/dist/apis/access-token.js +1 -1
  5. package/dist/apis/address-suggestions.cjs +6 -6
  6. package/dist/apis/address-suggestions.js +1 -1
  7. package/dist/apis/address.cjs +6 -6
  8. package/dist/apis/address.js +1 -1
  9. package/dist/apis/ai-agents.cjs +6 -6
  10. package/dist/apis/ai-agents.js +1 -1
  11. package/dist/apis/app.cjs +6 -6
  12. package/dist/apis/app.js +1 -1
  13. package/dist/apis/audit-logs.cjs +6 -6
  14. package/dist/apis/audit-logs.js +1 -1
  15. package/dist/apis/automation.cjs +6 -6
  16. package/dist/apis/automation.js +1 -1
  17. package/dist/apis/billing.cjs +6 -6
  18. package/dist/apis/billing.js +1 -1
  19. package/dist/apis/blueprint-manifest.cjs +6 -6
  20. package/dist/apis/blueprint-manifest.js +1 -1
  21. package/dist/apis/calendar.cjs +6 -6
  22. package/dist/apis/calendar.js +1 -1
  23. package/dist/apis/configuration-hub.cjs +6 -6
  24. package/dist/apis/configuration-hub.js +1 -1
  25. package/dist/apis/consent.cjs +6 -6
  26. package/dist/apis/consent.js +1 -1
  27. package/dist/apis/customer-portal.cjs +6 -6
  28. package/dist/apis/customer-portal.js +1 -1
  29. package/dist/apis/dashboard.cjs +6 -6
  30. package/dist/apis/dashboard.js +1 -1
  31. package/dist/apis/data-governance.cjs +6 -6
  32. package/dist/apis/data-governance.js +1 -1
  33. package/dist/apis/deduplication.cjs +6 -6
  34. package/dist/apis/deduplication.js +1 -1
  35. package/dist/apis/design.cjs +6 -6
  36. package/dist/apis/design.js +1 -1
  37. package/dist/apis/document.cjs +6 -6
  38. package/dist/apis/document.js +1 -1
  39. package/dist/apis/email-settings.cjs +6 -6
  40. package/dist/apis/email-settings.js +1 -1
  41. package/dist/apis/email-template.cjs +6 -6
  42. package/dist/apis/email-template.js +1 -1
  43. package/dist/apis/entity-mapping.cjs +6 -6
  44. package/dist/apis/entity-mapping.js +1 -1
  45. package/dist/apis/entity.cjs +6 -6
  46. package/dist/apis/entity.js +1 -1
  47. package/dist/apis/environments.cjs +6 -6
  48. package/dist/apis/environments.js +1 -1
  49. package/dist/apis/event-catalog.cjs +6 -6
  50. package/dist/apis/event-catalog.js +1 -1
  51. package/dist/apis/file.cjs +6 -6
  52. package/dist/apis/file.js +1 -1
  53. package/dist/apis/iban.cjs +6 -6
  54. package/dist/apis/iban.js +1 -1
  55. package/dist/apis/integration-toolkit.cjs +6 -6
  56. package/dist/apis/integration-toolkit.d.cts +2 -2
  57. package/dist/apis/integration-toolkit.d.ts +2 -2
  58. package/dist/apis/integration-toolkit.js +1 -1
  59. package/dist/apis/journey.cjs +6 -6
  60. package/dist/apis/journey.js +1 -1
  61. package/dist/apis/kanban.cjs +6 -6
  62. package/dist/apis/kanban.js +1 -1
  63. package/dist/apis/message.cjs +6 -6
  64. package/dist/apis/message.js +1 -1
  65. package/dist/apis/metering.cjs +6 -6
  66. package/dist/apis/metering.js +1 -1
  67. package/dist/apis/notes.cjs +6 -6
  68. package/dist/apis/notes.js +1 -1
  69. package/dist/apis/notification.cjs +6 -6
  70. package/dist/apis/notification.js +1 -1
  71. package/dist/apis/organization.cjs +6 -6
  72. package/dist/apis/organization.js +1 -1
  73. package/dist/apis/partner-directory.cjs +6 -6
  74. package/dist/apis/partner-directory.js +1 -1
  75. package/dist/apis/permissions.cjs +6 -6
  76. package/dist/apis/permissions.d.cts +2 -2
  77. package/dist/apis/permissions.d.ts +2 -2
  78. package/dist/apis/permissions.js +1 -1
  79. package/dist/apis/pricing-tier.cjs +6 -6
  80. package/dist/apis/pricing-tier.js +1 -1
  81. package/dist/apis/pricing.cjs +6 -6
  82. package/dist/apis/pricing.js +1 -1
  83. package/dist/apis/purpose.cjs +6 -6
  84. package/dist/apis/purpose.js +1 -1
  85. package/dist/apis/query.cjs +6 -6
  86. package/dist/apis/query.js +1 -1
  87. package/dist/apis/sandbox.cjs +6 -6
  88. package/dist/apis/sandbox.js +1 -1
  89. package/dist/apis/sharing.cjs +6 -6
  90. package/dist/apis/sharing.js +1 -1
  91. package/dist/apis/snapshot.cjs +6 -6
  92. package/dist/apis/snapshot.js +1 -1
  93. package/dist/apis/submission.cjs +6 -6
  94. package/dist/apis/submission.js +1 -1
  95. package/dist/apis/target.cjs +6 -6
  96. package/dist/apis/target.js +1 -1
  97. package/dist/apis/targeting.cjs +6 -6
  98. package/dist/apis/targeting.js +1 -1
  99. package/dist/apis/template-variables.cjs +6 -6
  100. package/dist/apis/template-variables.js +1 -1
  101. package/dist/apis/user.cjs +6 -6
  102. package/dist/apis/user.js +1 -1
  103. package/dist/apis/validation-rules.cjs +6 -6
  104. package/dist/apis/validation-rules.js +1 -1
  105. package/dist/apis/webhooks.cjs +6 -6
  106. package/dist/apis/webhooks.js +1 -1
  107. package/dist/apis/workflow-definition.cjs +6 -6
  108. package/dist/apis/workflow-definition.js +1 -1
  109. package/dist/apis/workflow.cjs +6 -6
  110. package/dist/apis/workflow.js +1 -1
  111. package/dist/{chunk-Q6DT64Q2.js → chunk-AUPMKSFK.js} +2 -2
  112. package/dist/{chunk-6ZJM4MNX.cjs → chunk-DZ6B3JHX.cjs} +2 -2
  113. package/dist/index.cjs +8 -8
  114. package/dist/index.d.cts +2 -2
  115. package/dist/index.d.ts +2 -2
  116. package/dist/index.js +1 -1
  117. package/dist/integration-toolkit-2WF2P4OX.cjs +7 -0
  118. package/dist/integration-toolkit-RDFELVKR.js +7 -0
  119. package/dist/{integration-toolkit.d-Dj-tULW0.d.cts → integration-toolkit.d-D8kNGpJq.d.cts} +282 -211
  120. package/dist/{integration-toolkit.d-Dj-tULW0.d.ts → integration-toolkit.d-D8kNGpJq.d.ts} +282 -211
  121. package/dist/permissions-I2ERCKW4.cjs +7 -0
  122. package/dist/permissions-K4CL2K2A.js +7 -0
  123. package/dist/{permissions.d-l6AT8SYP.d.cts → permissions.d-BKoyMhU7.d.cts} +62 -4
  124. package/dist/{permissions.d-l6AT8SYP.d.ts → permissions.d-BKoyMhU7.d.ts} +62 -4
  125. package/docs/integration-toolkit.md +100 -180
  126. package/docs/permissions.md +29 -1
  127. package/package.json +1 -1
  128. package/dist/integration-toolkit-LMRJVLJA.js +0 -7
  129. package/dist/integration-toolkit-YMVNGSQ5.cjs +0 -7
  130. package/dist/permissions-X3SJVSPC.js +0 -7
  131. package/dist/permissions-ZJHUIBWY.cjs +0 -7
@@ -246,7 +246,6 @@ const { data } = await integrationToolkitClient.acknowledgeTracking(...)
246
246
  - [`WebhookDeliveryConfig`](#webhookdeliveryconfig)
247
247
  - [`PollDeliveryConfig`](#polldeliveryconfig)
248
248
  - [`FileProxyDeliveryConfig`](#fileproxydeliveryconfig)
249
- - [`FileProxyLookup`](#fileproxylookup)
250
249
  - [`OutboundStatusResponse`](#outboundstatusresponse)
251
250
  - [`OutboundUseCaseStatus`](#outboundusecasestatus)
252
251
  - [`OutboundFileProxyTargetStatus`](#outboundfileproxytargetstatus)
@@ -3775,7 +3774,7 @@ A problem found during validation, scoped to the file as a whole rather than to
3775
3774
 
3776
3775
  ```ts
3777
3776
  type ErpImportIssue = {
3778
- code: "UNIQUE_ID_COLUMN_MISSING" | "MAPPED_COLUMN_MISSING" | "MALFORMED_ROW" | "INVALID_ENCODING" | "EMPTY_FILE" | "TOO_MANY_ROWS"
3777
+ code: "UNIQUE_ID_COLUMN_MISSING" | "MAPPED_COLUMN_MISSING" | "MALFORMED_ROW" | "INVALID_ENCODING" | "EMPTY_FILE" | "TOO_MANY_ROWS" | "BLANK_ROWS_SKIPPED"
3779
3778
  severity: "warning" | "blocking"
3780
3779
  columns?: Array<{
3781
3780
  name: string
@@ -3796,7 +3795,7 @@ type ErpImportValidation = {
3796
3795
  warnings: number
3797
3796
  entities: Record<string, number>
3798
3797
  issues?: Array<{
3799
- code: "UNIQUE_ID_COLUMN_MISSING" | "MAPPED_COLUMN_MISSING" | "MALFORMED_ROW" | "INVALID_ENCODING" | "EMPTY_FILE" | "TOO_MANY_ROWS"
3798
+ code: "UNIQUE_ID_COLUMN_MISSING" | "MAPPED_COLUMN_MISSING" | "MALFORMED_ROW" | "INVALID_ENCODING" | "EMPTY_FILE" | "TOO_MANY_ROWS" | "BLANK_ROWS_SKIPPED"
3800
3799
  severity: "warning" | "blocking"
3801
3800
  columns?: Array<{
3802
3801
  name: { ... }
@@ -4789,11 +4788,6 @@ type IntegrationWithUseCases = {
4789
4788
  direction?: { ... }
4790
4789
  upload?: { ... }
4791
4790
  fan_out?: { ... }
4792
- params_mapping?: { ... }
4793
- lookups?: { ... }
4794
- constants?: { ... }
4795
- file_source?: { ... }
4796
- required_params?: { ... }
4797
4791
  secure_proxy?: { ... }
4798
4792
  auth?: { ... }
4799
4793
  params?: { ... }
@@ -4841,7 +4835,6 @@ type IntegrationWithUseCases = {
4841
4835
  allowed_ips?: { ... }
4842
4836
  }
4843
4837
  }>
4844
- // ...
4845
4838
  }
4846
4839
  ```
4847
4840
 
@@ -4942,12 +4935,12 @@ type UpsertIntegrationWithUseCasesRequest = {
4942
4935
  direction?: { ... }
4943
4936
  upload?: { ... }
4944
4937
  fan_out?: { ... }
4945
- params_mapping?: { ... }
4946
- lookups?: { ... }
4947
- constants?: { ... }
4948
- file_source?: { ... }
4949
- required_params?: { ... }
4950
4938
  secure_proxy?: { ... }
4939
+ auth?: { ... }
4940
+ params?: { ... }
4941
+ allowed_origins?: { ... }
4942
+ steps: { ... }
4943
+ response?: { ... }
4951
4944
  // ...
4952
4945
  }
4953
4946
  ```
@@ -5526,25 +5519,13 @@ type EmbeddedUseCaseRequest = {
5526
5519
  configuration?: {
5527
5520
  direction?: "download" | "upload"
5528
5521
  upload?: {
5522
+ max_total_bytes?: { ... }
5529
5523
  max_file_bytes?: { ... }
5530
5524
  max_delivery_attempts?: { ... }
5531
- success_when?: { ... }
5532
- external_id?: { ... }
5533
5525
  }
5534
5526
  fan_out?: {
5535
5527
  enabled: { ... }
5536
- split_expression?: { ... }
5537
5528
  }
5538
- params_mapping?: string
5539
- lookups?: Record<string, {
5540
- source: { ... }
5541
- entries: { ... }
5542
- default?: { ... }
5543
- on_miss?: { ... }
5544
- }>
5545
- constants?: Record<string, unknown>
5546
- file_source?: string
5547
- required_params?: string[]
5548
5529
  secure_proxy?: {
5549
5530
  use_case_slug: { ... }
5550
5531
  }
@@ -5568,6 +5549,18 @@ type EmbeddedUseCaseRequest = {
5568
5549
  description?: { ... }
5569
5550
  }>
5570
5551
  allowed_origins?: string // uri[]
5552
+ steps: Array<{
5553
+ url: { ... }
5554
+ method: { ... }
5555
+ headers?: { ... }
5556
+ body_jsonata?: { ... }
5557
+ enabled?: { ... }
5558
+ body?: { ... }
5559
+ response_type: { ... }
5560
+ }>
5561
+ response?: {
5562
+ body: { ... }
5563
+ encoding: { ... }
5571
5564
  // ...
5572
5565
  }
5573
5566
  ```
@@ -5657,25 +5650,13 @@ type EmbeddedFileProxyUseCaseRequest = {
5657
5650
  configuration?: {
5658
5651
  direction?: "download" | "upload"
5659
5652
  upload?: {
5653
+ max_total_bytes?: { ... }
5660
5654
  max_file_bytes?: { ... }
5661
5655
  max_delivery_attempts?: { ... }
5662
- success_when?: { ... }
5663
- external_id?: { ... }
5664
5656
  }
5665
5657
  fan_out?: {
5666
5658
  enabled: { ... }
5667
- split_expression?: { ... }
5668
5659
  }
5669
- params_mapping?: string
5670
- lookups?: Record<string, {
5671
- source: { ... }
5672
- entries: { ... }
5673
- default?: { ... }
5674
- on_miss?: { ... }
5675
- }>
5676
- constants?: Record<string, unknown>
5677
- file_source?: string
5678
- required_params?: string[]
5679
5660
  secure_proxy?: {
5680
5661
  use_case_slug: { ... }
5681
5662
  }
@@ -5703,6 +5684,8 @@ type EmbeddedFileProxyUseCaseRequest = {
5703
5684
  url: { ... }
5704
5685
  method: { ... }
5705
5686
  headers?: { ... }
5687
+ body_jsonata?: { ... }
5688
+ enabled?: { ... }
5706
5689
  body?: { ... }
5707
5690
  response_type: { ... }
5708
5691
  }>
@@ -5861,25 +5844,13 @@ type FileProxyUseCase = {
5861
5844
  configuration?: {
5862
5845
  direction?: "download" | "upload"
5863
5846
  upload?: {
5847
+ max_total_bytes?: { ... }
5864
5848
  max_file_bytes?: { ... }
5865
5849
  max_delivery_attempts?: { ... }
5866
- success_when?: { ... }
5867
- external_id?: { ... }
5868
5850
  }
5869
5851
  fan_out?: {
5870
5852
  enabled: { ... }
5871
- split_expression?: { ... }
5872
5853
  }
5873
- params_mapping?: string
5874
- lookups?: Record<string, {
5875
- source: { ... }
5876
- entries: { ... }
5877
- default?: { ... }
5878
- on_miss?: { ... }
5879
- }>
5880
- constants?: Record<string, unknown>
5881
- file_source?: string
5882
- required_params?: string[]
5883
5854
  secure_proxy?: {
5884
5855
  use_case_slug: { ... }
5885
5856
  }
@@ -5907,6 +5878,8 @@ type FileProxyUseCase = {
5907
5878
  url: { ... }
5908
5879
  method: { ... }
5909
5880
  headers?: { ... }
5881
+ body_jsonata?: { ... }
5882
+ enabled?: { ... }
5910
5883
  body?: { ... }
5911
5884
  response_type: { ... }
5912
5885
  }>
@@ -6049,25 +6022,13 @@ type UseCase = {
6049
6022
  configuration?: {
6050
6023
  direction?: "download" | "upload"
6051
6024
  upload?: {
6025
+ max_total_bytes?: { ... }
6052
6026
  max_file_bytes?: { ... }
6053
6027
  max_delivery_attempts?: { ... }
6054
- success_when?: { ... }
6055
- external_id?: { ... }
6056
6028
  }
6057
6029
  fan_out?: {
6058
6030
  enabled: { ... }
6059
- split_expression?: { ... }
6060
6031
  }
6061
- params_mapping?: string
6062
- lookups?: Record<string, {
6063
- source: { ... }
6064
- entries: { ... }
6065
- default?: { ... }
6066
- on_miss?: { ... }
6067
- }>
6068
- constants?: Record<string, unknown>
6069
- file_source?: string
6070
- required_params?: string[]
6071
6032
  secure_proxy?: {
6072
6033
  use_case_slug: { ... }
6073
6034
  }
@@ -6079,6 +6040,18 @@ type UseCase = {
6079
6040
  scope?: { ... }
6080
6041
  audience?: { ... }
6081
6042
  resource?: { ... }
6043
+ username?: { ... }
6044
+ password?: { ... }
6045
+ body_params?: { ... }
6046
+ headers?: { ... }
6047
+ query_params?: { ... }
6048
+ }
6049
+ params?: Array<{
6050
+ name: { ... }
6051
+ required: { ... }
6052
+ description?: { ... }
6053
+ }>
6054
+ allowed_origins?: string // uri[]
6082
6055
  // ...
6083
6056
  }
6084
6057
  ```
@@ -6138,25 +6111,13 @@ type CreateUseCaseRequest = {
6138
6111
  configuration?: {
6139
6112
  direction?: "download" | "upload"
6140
6113
  upload?: {
6114
+ max_total_bytes?: { ... }
6141
6115
  max_file_bytes?: { ... }
6142
6116
  max_delivery_attempts?: { ... }
6143
- success_when?: { ... }
6144
- external_id?: { ... }
6145
6117
  }
6146
6118
  fan_out?: {
6147
6119
  enabled: { ... }
6148
- split_expression?: { ... }
6149
6120
  }
6150
- params_mapping?: string
6151
- lookups?: Record<string, {
6152
- source: { ... }
6153
- entries: { ... }
6154
- default?: { ... }
6155
- on_miss?: { ... }
6156
- }>
6157
- constants?: Record<string, unknown>
6158
- file_source?: string
6159
- required_params?: string[]
6160
6121
  secure_proxy?: {
6161
6122
  use_case_slug: { ... }
6162
6123
  }
@@ -6184,8 +6145,20 @@ type CreateUseCaseRequest = {
6184
6145
  url: { ... }
6185
6146
  method: { ... }
6186
6147
  headers?: { ... }
6148
+ body_jsonata?: { ... }
6149
+ enabled?: { ... }
6187
6150
  body?: { ... }
6188
6151
  response_type: { ... }
6152
+ }>
6153
+ response?: {
6154
+ body: { ... }
6155
+ encoding: { ... }
6156
+ filename?: { ... }
6157
+ content_type?: { ... }
6158
+ }
6159
+ prevent_indirect_serving?: boolean
6160
+ }
6161
+ } | {
6189
6162
  // ...
6190
6163
  }
6191
6164
  ```
@@ -6267,25 +6240,13 @@ type CreateFileProxyUseCaseRequest = {
6267
6240
  configuration?: {
6268
6241
  direction?: "download" | "upload"
6269
6242
  upload?: {
6243
+ max_total_bytes?: { ... }
6270
6244
  max_file_bytes?: { ... }
6271
6245
  max_delivery_attempts?: { ... }
6272
- success_when?: { ... }
6273
- external_id?: { ... }
6274
6246
  }
6275
6247
  fan_out?: {
6276
6248
  enabled: { ... }
6277
- split_expression?: { ... }
6278
6249
  }
6279
- params_mapping?: string
6280
- lookups?: Record<string, {
6281
- source: { ... }
6282
- entries: { ... }
6283
- default?: { ... }
6284
- on_miss?: { ... }
6285
- }>
6286
- constants?: Record<string, unknown>
6287
- file_source?: string
6288
- required_params?: string[]
6289
6250
  secure_proxy?: {
6290
6251
  use_case_slug: { ... }
6291
6252
  }
@@ -6313,6 +6274,8 @@ type CreateFileProxyUseCaseRequest = {
6313
6274
  url: { ... }
6314
6275
  method: { ... }
6315
6276
  headers?: { ... }
6277
+ body_jsonata?: { ... }
6278
+ enabled?: { ... }
6316
6279
  body?: { ... }
6317
6280
  response_type: { ... }
6318
6281
  }>
@@ -6423,25 +6386,13 @@ type UpdateUseCaseRequest = {
6423
6386
  configuration?: {
6424
6387
  direction?: "download" | "upload"
6425
6388
  upload?: {
6389
+ max_total_bytes?: { ... }
6426
6390
  max_file_bytes?: { ... }
6427
6391
  max_delivery_attempts?: { ... }
6428
- success_when?: { ... }
6429
- external_id?: { ... }
6430
6392
  }
6431
6393
  fan_out?: {
6432
6394
  enabled: { ... }
6433
- split_expression?: { ... }
6434
6395
  }
6435
- params_mapping?: string
6436
- lookups?: Record<string, {
6437
- source: { ... }
6438
- entries: { ... }
6439
- default?: { ... }
6440
- on_miss?: { ... }
6441
- }>
6442
- constants?: Record<string, unknown>
6443
- file_source?: string
6444
- required_params?: string[]
6445
6396
  secure_proxy?: {
6446
6397
  use_case_slug: { ... }
6447
6398
  }
@@ -6468,6 +6419,18 @@ type UpdateUseCaseRequest = {
6468
6419
  steps: Array<{
6469
6420
  url: { ... }
6470
6421
  method: { ... }
6422
+ headers?: { ... }
6423
+ body_jsonata?: { ... }
6424
+ enabled?: { ... }
6425
+ body?: { ... }
6426
+ response_type: { ... }
6427
+ }>
6428
+ response?: {
6429
+ body: { ... }
6430
+ encoding: { ... }
6431
+ filename?: { ... }
6432
+ content_type?: { ... }
6433
+ }
6471
6434
  // ...
6472
6435
  }
6473
6436
  ```
@@ -6553,25 +6516,13 @@ type UpdateFileProxyUseCaseRequest = {
6553
6516
  configuration?: {
6554
6517
  direction?: "download" | "upload"
6555
6518
  upload?: {
6519
+ max_total_bytes?: { ... }
6556
6520
  max_file_bytes?: { ... }
6557
6521
  max_delivery_attempts?: { ... }
6558
- success_when?: { ... }
6559
- external_id?: { ... }
6560
6522
  }
6561
6523
  fan_out?: {
6562
6524
  enabled: { ... }
6563
- split_expression?: { ... }
6564
6525
  }
6565
- params_mapping?: string
6566
- lookups?: Record<string, {
6567
- source: { ... }
6568
- entries: { ... }
6569
- default?: { ... }
6570
- on_miss?: { ... }
6571
- }>
6572
- constants?: Record<string, unknown>
6573
- file_source?: string
6574
- required_params?: string[]
6575
6526
  secure_proxy?: {
6576
6527
  use_case_slug: { ... }
6577
6528
  }
@@ -6599,6 +6550,8 @@ type UpdateFileProxyUseCaseRequest = {
6599
6550
  url: { ... }
6600
6551
  method: { ... }
6601
6552
  headers?: { ... }
6553
+ body_jsonata?: { ... }
6554
+ enabled?: { ... }
6602
6555
  body?: { ... }
6603
6556
  response_type: { ... }
6604
6557
  }>
@@ -6736,30 +6689,30 @@ type UseCaseHistoryEntry = {
6736
6689
  configuration?: {
6737
6690
  direction?: "download" | "upload"
6738
6691
  upload?: {
6692
+ max_total_bytes?: { ... }
6739
6693
  max_file_bytes?: { ... }
6740
6694
  max_delivery_attempts?: { ... }
6741
- success_when?: { ... }
6742
- external_id?: { ... }
6743
6695
  }
6744
6696
  fan_out?: {
6745
6697
  enabled: { ... }
6746
- split_expression?: { ... }
6747
6698
  }
6748
- params_mapping?: string
6749
- lookups?: Record<string, {
6750
- source: { ... }
6751
- entries: { ... }
6752
- default?: { ... }
6753
- on_miss?: { ... }
6754
- }>
6755
- constants?: Record<string, unknown>
6756
- file_source?: string
6757
- required_params?: string[]
6758
6699
  secure_proxy?: {
6759
6700
  use_case_slug: { ... }
6760
6701
  }
6761
6702
  auth?: {
6762
6703
  type: { ... }
6704
+ token_url: { ... }
6705
+ client_id: { ... }
6706
+ client_secret: { ... }
6707
+ scope?: { ... }
6708
+ audience?: { ... }
6709
+ resource?: { ... }
6710
+ username?: { ... }
6711
+ password?: { ... }
6712
+ body_params?: { ... }
6713
+ headers?: { ... }
6714
+ query_params?: { ... }
6715
+ }
6763
6716
  // ...
6764
6717
  }
6765
6718
  ```
@@ -6873,25 +6826,13 @@ type FileProxyUseCaseHistoryEntry = {
6873
6826
  configuration?: {
6874
6827
  direction?: "download" | "upload"
6875
6828
  upload?: {
6829
+ max_total_bytes?: { ... }
6876
6830
  max_file_bytes?: { ... }
6877
6831
  max_delivery_attempts?: { ... }
6878
- success_when?: { ... }
6879
- external_id?: { ... }
6880
6832
  }
6881
6833
  fan_out?: {
6882
6834
  enabled: { ... }
6883
- split_expression?: { ... }
6884
6835
  }
6885
- params_mapping?: string
6886
- lookups?: Record<string, {
6887
- source: { ... }
6888
- entries: { ... }
6889
- default?: { ... }
6890
- on_miss?: { ... }
6891
- }>
6892
- constants?: Record<string, unknown>
6893
- file_source?: string
6894
- required_params?: string[]
6895
6836
  secure_proxy?: {
6896
6837
  use_case_slug: { ... }
6897
6838
  }
@@ -6919,6 +6860,8 @@ type FileProxyUseCaseHistoryEntry = {
6919
6860
  url: { ... }
6920
6861
  method: { ... }
6921
6862
  headers?: { ... }
6863
+ body_jsonata?: { ... }
6864
+ enabled?: { ... }
6922
6865
  body?: { ... }
6923
6866
  response_type: { ... }
6924
6867
  }>
@@ -7416,25 +7359,13 @@ and serves it to a browser. The downloa
7416
7359
  type FileProxyUseCaseConfiguration = {
7417
7360
  direction?: "download" | "upload"
7418
7361
  upload?: {
7362
+ max_total_bytes?: number
7419
7363
  max_file_bytes?: number
7420
7364
  max_delivery_attempts?: number
7421
- success_when?: string
7422
- external_id?: string
7423
7365
  }
7424
7366
  fan_out?: {
7425
7367
  enabled: boolean
7426
- split_expression?: string
7427
7368
  }
7428
- params_mapping?: string
7429
- lookups?: Record<string, {
7430
- source: string
7431
- entries: Record<string, string>
7432
- default?: string
7433
- on_miss?: "default" | "warn" | "fail"
7434
- }>
7435
- constants?: Record<string, unknown>
7436
- file_source?: string
7437
- required_params?: string[]
7438
7369
  secure_proxy?: {
7439
7370
  use_case_slug: string
7440
7371
  }
@@ -7462,6 +7393,8 @@ type FileProxyUseCaseConfiguration = {
7462
7393
  url: string
7463
7394
  method: "GET" | "POST" | "PUT" | "PATCH"
7464
7395
  headers?: Record<string, string>
7396
+ body_jsonata?: string
7397
+ enabled?: string
7465
7398
  body?: string
7466
7399
  response_type: "json" | "binary"
7467
7400
  }>
@@ -7519,6 +7452,8 @@ type FileProxyStep = {
7519
7452
  url: string
7520
7453
  method: "GET" | "POST" | "PUT" | "PATCH"
7521
7454
  headers?: Record<string, string>
7455
+ body_jsonata?: string
7456
+ enabled?: string
7522
7457
  body?: string
7523
7458
  response_type: "json" | "binary"
7524
7459
  }
@@ -7526,16 +7461,15 @@ type FileProxyStep = {
7526
7461
 
7527
7462
  ### `FileProxyFanOutConfig`
7528
7463
 
7529
- Splits one event into several independent deliveries.
7464
+ Whether one event produces one delivery per file, or a single delivery carrying all of
7465
+ them. The split is always over the event's `event_attachments` — there is no expression
7466
+ to write, because an upload only ever runs on events that declare that field.
7530
7467
 
7531
- Mirrors the inbound mapping idiom, where an entity's JSONata expression returning an array
7532
- produces one entity update per element. Made explicit with a toggle here because an upload
7533
- is also legitimately used without splitting, and because auto-d
7468
+ Each resulting delivery is fully independent:
7534
7469
 
7535
7470
  ```ts
7536
7471
  type FileProxyFanOutConfig = {
7537
7472
  enabled: boolean
7538
- split_expression?: string
7539
7473
  }
7540
7474
  ```
7541
7475
 
@@ -7543,15 +7477,15 @@ type FileProxyFanOutConfig = {
7543
7477
 
7544
7478
  Upload-side settings for a file_proxy use case with `direction: upload`.
7545
7479
  The surrounding file_proxy configuration owns WHAT and HOW to send: `fan_out`,
7546
- `file_source`, `params_mapping`, lookups, constants, auth, and steps. This nested object
7547
- governs upload-specific limits and how the final external r
7480
+ auth, and the steps with their `body_jsonata`. This nested object governs
7481
+ upload-specific limits and how the final external response is judged. The
7482
+
7548
7483
 
7549
7484
  ```ts
7550
7485
  type FileProxyUploadConfig = {
7486
+ max_total_bytes?: number
7551
7487
  max_file_bytes?: number
7552
7488
  max_delivery_attempts?: number
7553
- success_when?: string
7554
- external_id?: string
7555
7489
  }
7556
7490
  ```
7557
7491
 
@@ -7896,20 +7830,6 @@ type FileProxyDeliveryConfig = {
7896
7830
  }
7897
7831
  ```
7898
7832
 
7899
- ### `FileProxyLookup`
7900
-
7901
- A named translation from a value in the event to a value the external system expects.
7902
-
7903
-
7904
- ```ts
7905
- type FileProxyLookup = {
7906
- source: string
7907
- entries: Record<string, string>
7908
- default?: string
7909
- on_miss?: "default" | "warn" | "fail"
7910
- }
7911
- ```
7912
-
7913
7833
  ### `OutboundStatusResponse`
7914
7834
 
7915
7835
  ```ts
@@ -1,5 +1,6 @@
1
1
  # Permissions API
2
2
 
3
+ - **Base URL:** `https://permissions.sls.epilot.io`
3
4
  - **Full API Docs:** [https://docs.epilot.io/api/permissions](https://docs.epilot.io/api/permissions)
4
5
 
5
6
  ## Usage
@@ -45,7 +46,9 @@ const { data } = await permissionsClient.listCurrentRoles(...)
45
46
  - [`GrantWithDependencies`](#grantwithdependencies)
46
47
  - [`GrantCondition`](#grantcondition)
47
48
  - [`EqualsCurrentUserCondition`](#equalscurrentusercondition)
49
+ - [`NotEqualsCurrentUserCondition`](#notequalscurrentusercondition)
48
50
  - [`EqualsCondition`](#equalscondition)
51
+ - [`NotEqualsCondition`](#notequalscondition)
49
52
  - [`RoleId`](#roleid)
50
53
  - [`BaseRole`](#baserole)
51
54
  - [`BaseRoleForCreate`](#baseroleforcreate)
@@ -615,15 +618,28 @@ type GrantCondition = object
615
618
 
616
619
  ### `EqualsCurrentUserCondition`
617
620
 
618
- Check if any relation_user attribute on the entity contains the current user. When attribute is provided, only that specific attribute path is checked.
621
+ Check if any relation_user attribute on the entity contains the current user. When attribute is provided, only that specific attribute path is checked. When attributes is provided, it takes precedence over attribute and the condition passes when the current user appears in ANY of the listed attribut
619
622
 
620
623
  ```ts
621
624
  type EqualsCurrentUserCondition = {
622
625
  attribute?: string
626
+ attributes?: string[]
623
627
  operation: "equals_current_user"
624
628
  }
625
629
  ```
626
630
 
631
+ ### `NotEqualsCurrentUserCondition`
632
+
633
+ Check if the current user is absent from the relation_user attributes on the entity. When attribute is provided, only that specific attribute path is checked. When attributes is provided, it takes precedence over attribute and the condition passes only when the current user appears in NONE of the li
634
+
635
+ ```ts
636
+ type NotEqualsCurrentUserCondition = {
637
+ attribute?: string
638
+ attributes?: string[]
639
+ operation: "not_equals_current_user"
640
+ }
641
+ ```
642
+
627
643
  ### `EqualsCondition`
628
644
 
629
645
  Check if attribute equals to any of the values
@@ -636,6 +652,18 @@ type EqualsCondition = {
636
652
  }
637
653
  ```
638
654
 
655
+ ### `NotEqualsCondition`
656
+
657
+ Passes when the attribute does not equal any of the values. Records where the attribute is missing or empty pass the condition.
658
+
659
+ ```ts
660
+ type NotEqualsCondition = {
661
+ attribute: string
662
+ operation: "not_equals"
663
+ values: unknown[]
664
+ }
665
+ ```
666
+
639
667
  ### `RoleId`
640
668
 
641
669
  Format: `<organization_id>`:`<slug>`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/sdk",
3
- "version": "2.18.27",
3
+ "version": "2.18.29",
4
4
  "description": "JavaScript/TypeScript SDK for epilot APIs",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",