@salesforce/lds-adapters-uiapi 1.234.0 → 1.236.0

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 (62) hide show
  1. package/dist/es/es2018/types/src/__performance__/utils/sqliteDurableStore.d.ts +3 -1
  2. package/dist/es/es2018/types/src/generated/adapters/getRelatedListRecordsBatch.d.ts +7 -7
  3. package/dist/es/es2018/types/src/generated/adapters/getRelatedListsActions.d.ts +7 -7
  4. package/dist/es/es2018/types/src/generated/fields/types/BatchRepresentation.d.ts +12 -0
  5. package/dist/es/es2018/types/src/generated/fields/types/CompositeRelatedListRecordCollectionResultRepresentation.d.ts +12 -0
  6. package/dist/es/es2018/types/src/generated/fields/types/KeywordSearchResultsRepresentation.d.ts +12 -0
  7. package/dist/es/es2018/types/src/generated/fields/types/ListRecordCollectionRepresentation.d.ts +12 -0
  8. package/dist/es/es2018/types/src/generated/fields/types/ListUiRepresentation.d.ts +12 -0
  9. package/dist/es/es2018/types/src/generated/fields/types/LookupValuesRepresentation.d.ts +12 -0
  10. package/dist/es/es2018/types/src/generated/fields/types/RecordCollectionRepresentation.d.ts +12 -0
  11. package/dist/es/es2018/types/src/generated/fields/types/RelatedListRecordCollectionBatchRepresentation.d.ts +12 -0
  12. package/dist/es/es2018/types/src/generated/fields/types/RelatedListRecordCollectionRepresentation.d.ts +12 -0
  13. package/dist/es/es2018/types/src/generated/fields/types/SearchResultCollectionRepresentation.d.ts +12 -0
  14. package/dist/es/es2018/types/src/generated/graphql/types/type-util.d.ts +1 -1
  15. package/dist/es/es2018/types/src/generated/resources/getUiApiActionsRecordRelatedListBatchByRecordIdsAndRelatedListIds.d.ts +1 -1
  16. package/dist/es/es2018/types/src/generated/resources/postUiApiActionsRecordRelatedListBatchByRecordIds.d.ts +5 -5
  17. package/dist/es/es2018/types/src/generated/resources/postUiApiRelatedListRecordsBatchByParentRecordId.d.ts +5 -5
  18. package/dist/es/es2018/types/src/generated/types/CompositeActionRelatedListsCollectionResultRepresentation.d.ts +10 -4
  19. package/dist/es/es2018/types/src/generated/types/CompositeRelatedListRecordCollectionResultRepresentation.d.ts +10 -4
  20. package/dist/es/es2018/types/src/main.d.ts +3 -2
  21. package/dist/es/es2018/types/src/overrides/resources/postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId.d.ts +2 -2
  22. package/dist/es/es2018/types/src/raml-artifacts/adapters/getLookupRecords/validateAdapterConfig.d.ts +2 -1
  23. package/dist/es/es2018/types/src/wire/getListInfosByName/createChildResourceParams.d.ts +4 -0
  24. package/dist/es/es2018/types/src/wire/getLookupRecords/index.d.ts +2 -0
  25. package/dist/es/es2018/types/src/wire/getRelatedListRecordsBatch/createChildResourceParams.d.ts +4 -0
  26. package/dist/es/es2018/types/src/wire/getRelatedListsActions/createChildResourceParams.d.ts +4 -0
  27. package/dist/es/es2018/types/src/wire/graphqlBatch/index.d.ts +7 -8
  28. package/dist/es/es2018/types/src/{overrides/resources → wire/graphqlBatch}/postGraphqlBatch.d.ts +13 -6
  29. package/dist/es/es2018/uiapi-records-service.js +674 -645
  30. package/package.json +5 -4
  31. package/sfdc/graphqlAdapters.js +4 -5
  32. package/sfdc/index.js +637 -612
  33. package/sfdc/uiapi-static-functions.js +1 -1
  34. package/src/raml/api.raml +140 -572
  35. package/src/raml/luvio.raml +3 -22
  36. package/dist/es/es2018/types/src/generated/resources/deleteUiApiFavoritesByFavoriteId.d.ts +0 -11
  37. package/dist/es/es2018/types/src/generated/resources/deleteUiApiHealthCheck.d.ts +0 -8
  38. package/dist/es/es2018/types/src/generated/resources/getUiApiAggregateUi.d.ts +0 -16
  39. package/dist/es/es2018/types/src/generated/resources/getUiApiFavorites.d.ts +0 -12
  40. package/dist/es/es2018/types/src/generated/resources/getUiApiFavoritesByFavoriteId.d.ts +0 -15
  41. package/dist/es/es2018/types/src/generated/resources/getUiApiHealthCheck.d.ts +0 -12
  42. package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListRecordsBatchByParentRecordId.d.ts +0 -30
  43. package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListRecordsBatchByParentRecordIdAndRelatedListIds.d.ts +0 -23
  44. package/dist/es/es2018/types/src/generated/resources/patchUiApiFavoritesByFavoriteId.d.ts +0 -19
  45. package/dist/es/es2018/types/src/generated/resources/patchUiApiFavoritesUsageByFavoriteId.d.ts +0 -9
  46. package/dist/es/es2018/types/src/generated/resources/patchUiApiHealthCheck.d.ts +0 -6
  47. package/dist/es/es2018/types/src/generated/resources/postGraphqlBatch.d.ts +0 -12
  48. package/dist/es/es2018/types/src/generated/resources/postUiApiActionsRecordRelatedListBatchByRecordIdsAndRelatedListIds.d.ts +0 -17
  49. package/dist/es/es2018/types/src/generated/resources/postUiApiActionsRecordRelatedListByRecordIds.d.ts +0 -19
  50. package/dist/es/es2018/types/src/generated/resources/postUiApiAggregateUi.d.ts +0 -12
  51. package/dist/es/es2018/types/src/generated/resources/postUiApiFavorites.d.ts +0 -21
  52. package/dist/es/es2018/types/src/generated/resources/postUiApiHealthCheck.d.ts +0 -9
  53. package/dist/es/es2018/types/src/generated/resources/postUiApiRelatedListRecordsBatchByParentRecordIdAndRelatedListIds.d.ts +0 -17
  54. package/dist/es/es2018/types/src/generated/resources/putUiApiFavoritesBatch.d.ts +0 -9
  55. package/dist/es/es2018/types/src/generated/resources/putUiApiHealthCheck.d.ts +0 -6
  56. package/dist/es/es2018/types/src/generated/types/CompositeGraphQLResultRepresentation.d.ts +0 -31
  57. package/dist/es/es2018/types/src/generated/types/GraphQLBatchInputRepresentation.d.ts +0 -28
  58. package/dist/es/es2018/types/src/generated/types/GraphQLBatchRepresentation.d.ts +0 -29
  59. package/dist/es/es2018/types/src/generated/types/HealthCheckRepresentation.d.ts +0 -28
  60. package/dist/es/es2018/types/src/overrides/resources/getUiApiListInfoBatch.d.ts +0 -38
  61. package/dist/es/es2018/types/src/overrides/resources/postUiApiActionsRecordRelatedListBatchByRecordIds.d.ts +0 -14
  62. package/dist/es/es2018/types/src/overrides/resources/postUiApiRelatedListRecordsBatchByParentRecordId.d.ts +0 -16
package/src/raml/api.raml CHANGED
@@ -1093,15 +1093,6 @@ types:
1093
1093
  label:
1094
1094
  description: Form section label.
1095
1095
  type: string
1096
- GraphQLBatchInputRepresentation:
1097
- description: GraphQL Batch Input Rep
1098
- type: object
1099
- properties:
1100
- batchQuery:
1101
- description: The list of graphQL operations to keep and update.
1102
- type: array
1103
- items:
1104
- type: object
1105
1096
  GraphQLErrorLocation:
1106
1097
  description: The location where a GraphQL error occurred.
1107
1098
  type: object
@@ -1170,30 +1161,6 @@ types:
1170
1161
  required: false
1171
1162
  items:
1172
1163
  type: GraphQLErrorRepresentation
1173
- GraphQLBatchRepresentation: # TODO: Handrolled
1174
- description: Batch of GraphQL results
1175
- type: object
1176
- properties:
1177
- results:
1178
- description: Collection of batch result items. One for each request input.
1179
- type: array
1180
- items:
1181
- type: CompositeGraphQLResultRepresentation
1182
- CompositeGraphQLResultRepresentation: # TODO: Handrolled
1183
- type: object
1184
- properties:
1185
- statusCode:
1186
- type: number
1187
- result:
1188
- description: object wrapper around inner representation
1189
- type: GraphQLRepresentation
1190
- HealthCheckRepresentation:
1191
- description: api health check output
1192
- type: object
1193
- properties:
1194
- result:
1195
- description: Result.
1196
- type: string
1197
1164
  KeywordSearchRequestInputRepresentation:
1198
1165
  description: Input parameters to request on Search for keyword type
1199
1166
  type: object
@@ -4452,21 +4419,6 @@ types:
4452
4419
  type: GraphQLInputRepresentation
4453
4420
  # required: false - W-9109412: Property 'required' not supported in a RAML 1.0 object node
4454
4421
  (oas-body-name): queryInput
4455
- /graphql/batch:
4456
- post:
4457
- displayName: postGraphQLBatch
4458
- description: Post a batch graphQL request.
4459
- responses:
4460
- '200':
4461
- description: Success
4462
- body:
4463
- application/json:
4464
- type: GraphQLBatchRepresentation # TODO: Handrolled type
4465
- body:
4466
- application/json:
4467
- type: GraphQLBatchInputRepresentation
4468
- # required: false - W-9109412: Property 'required' not supported in a RAML 1.0 object node
4469
- (oas-body-name): batchQueryInput
4470
4422
  /ui-api:
4471
4423
  /actions:
4472
4424
  /flexipage/{flexipageNames}:
@@ -5074,169 +5026,7 @@ types:
5074
5026
  type: string
5075
5027
  (oas-collectionFormat): csv
5076
5028
  /related-list:
5077
- # get:
5078
- # description: Retrieve presentation-ready action data about specific recordId
5079
- # for the RelatedList subcontexts relatedListIds.
5080
- # responses:
5081
- # '200':
5082
- # description: Success
5083
- # body:
5084
- # application/json:
5085
- # type: ActionRepresentation
5086
- # queryParameters:
5087
- # actionTypes:
5088
- # type: array
5089
- # required: false
5090
- # items:
5091
- # type: string
5092
- # enum:
5093
- # - ActionLink
5094
- # - CustomButton
5095
- # - InvocableAction
5096
- # - ProductivityAction
5097
- # - QuickAction
5098
- # - StandardButton
5099
- # (oas-collectionFormat): csv
5100
- # apiNames:
5101
- # type: array
5102
- # required: false
5103
- # items:
5104
- # type: string
5105
- # (oas-collectionFormat): csv
5106
- # formFactor:
5107
- # type: string
5108
- # required: false
5109
- # retrievalMode:
5110
- # type: string
5111
- # required: false
5112
- # enum:
5113
- # - All
5114
- # - PageLayout
5115
- # sections:
5116
- # type: array
5117
- # required: false
5118
- # items:
5119
- # type: string
5120
- # enum:
5121
- # - ActivityComposer
5122
- # - CollaborateComposer
5123
- # - Page
5124
- # - SingleActionLinks
5125
- # (oas-collectionFormat): csv
5126
- post:
5127
- description: Returns record data to populate a related list.
5128
- responses:
5129
- '200':
5130
- description: Success
5131
- body:
5132
- application/json:
5133
- type:
5134
- ActionRepresentation
5135
- # TODO: parameters conflicts
5136
- #queryParameters:
5137
- # actionTypes:
5138
- # type: array
5139
- # required: false
5140
- # items:
5141
- # type: string
5142
- # enum:
5143
- # - ActionLink
5144
- # - CustomButton
5145
- # - InvocableAction
5146
- # - ProductivityAction
5147
- # - QuickAction
5148
- # - StandardButton
5149
- # (oas-collectionFormat): csv
5150
- # apiNames:
5151
- # type: array
5152
- # required: false
5153
- # items:
5154
- # type: string
5155
- # (oas-collectionFormat): csv
5156
- # formFactor:
5157
- # type: string
5158
- # required: false
5159
- # retrievalMode:
5160
- # type: string
5161
- # required: false
5162
- # enum:
5163
- # - All
5164
- # - PageLayout
5165
- # sections:
5166
- # type: array
5167
- # required: false
5168
- # items:
5169
- # type: string
5170
- # enum:
5171
- # - ActivityComposer
5172
- # - CollaborateComposer
5173
- # - Page
5174
- # - SingleActionLinks
5175
- # (oas-collectionFormat): csv
5176
- body:
5177
- application/json:
5178
- type: ActionInputRepresentation
5179
- # required: false - W-9109412: Property 'required' not supported in a RAML 1.0 object node
5180
- (oas-body-name): listRecordActionsQuery
5181
- uriParameters:
5182
- recordIds:
5183
- type: array
5184
- required: true
5185
- items:
5186
- type: string
5187
- (oas-collectionFormat): csv
5188
5029
  /batch:
5189
- # TODO: Hand rolled
5190
- # get:
5191
- # description: Retrieve presentation-ready action data about specific
5192
- # recordId for the RelatedList subcontexts relatedListIds but returned
5193
- # in the manner LDS expects for batching.
5194
- # responses:
5195
- # '200':
5196
- # description: Success
5197
- # body:
5198
- # application/json:
5199
- # type: SimplifiedBatchRepresentation
5200
- # queryParameters:
5201
- # actionTypes:
5202
- # type: array
5203
- # required: false
5204
- # items:
5205
- # type: string
5206
- # enum:
5207
- # - ActionLink
5208
- # - CustomButton
5209
- # - InvocableAction
5210
- # - ProductivityAction
5211
- # - QuickAction
5212
- # - StandardButton
5213
- # (oas-collectionFormat): csv
5214
- # apiNames:
5215
- # type: array
5216
- # required: false
5217
- # items:
5218
- # type: string
5219
- # (oas-collectionFormat): csv
5220
- # formFactor:
5221
- # type: string
5222
- # required: false
5223
- # retrievalMode:
5224
- # type: string
5225
- # required: false
5226
- # enum:
5227
- # - All
5228
- # - PageLayout
5229
- # sections:
5230
- # type: array
5231
- # required: false
5232
- # items:
5233
- # type: string
5234
- # enum:
5235
- # - ActivityComposer
5236
- # - CollaborateComposer
5237
- # - Page
5238
- # - SingleActionLinks
5239
- # (oas-collectionFormat): csv
5240
5030
  post:
5241
5031
  description: Returns a batch of record data to populate several related lists.
5242
5032
  responses:
@@ -5244,7 +5034,7 @@ types:
5244
5034
  description: Success
5245
5035
  body:
5246
5036
  application/json:
5247
- type: SimplifiedBatchRepresentation
5037
+ type: ActionRelatedListsCollectionBatchRepresentation
5248
5038
  body:
5249
5039
  application/json:
5250
5040
  type: ActionRelatedListsBatchInputRepresentation
@@ -5308,32 +5098,6 @@ types:
5308
5098
  - Page
5309
5099
  - SingleActionLinks
5310
5100
  (oas-collectionFormat): csv
5311
- post:
5312
- description: Returns a batch of record data to populate several related
5313
- lists.
5314
- responses:
5315
- '200':
5316
- description: Success
5317
- body:
5318
- application/json:
5319
- type: RelatedListRecordCollectionBatchRepresentation
5320
- body:
5321
- application/json:
5322
- type: ActionRelatedListsBatchInputRepresentation
5323
- # required: false - W-9109412: Property 'required' not supported in a RAML 1.0 object node
5324
- uriParameters:
5325
- recordIds:
5326
- type: array
5327
- required: true
5328
- items:
5329
- type: string
5330
- (oas-collectionFormat): csv
5331
- relatedListIds:
5332
- type: array
5333
- required: true
5334
- items:
5335
- type: string
5336
- (oas-collectionFormat): csv
5337
5101
  /{relatedListId}:
5338
5102
  post:
5339
5103
  displayName: postActionRelatedList
@@ -5452,38 +5216,36 @@ types:
5452
5216
  items:
5453
5217
  type: string
5454
5218
  (oas-collectionFormat): csv
5455
- /aggregate-ui:
5456
- get:
5457
- displayName: getAggregateUi
5458
- description: Retrieve presentation-ready metadata and data.
5459
- responses:
5460
- '200':
5461
- description: Success
5462
- body:
5463
- application/json:
5464
- type: AggregateUiRepresentation
5465
- queryParameters:
5466
- formFactor:
5467
- type: string
5468
- required: false
5469
- default: Large
5470
- query:
5471
- type: string
5472
- required: false
5473
- post:
5474
- displayName: postAggregateUi
5475
- description: Executes multiple requests within a single request
5476
- responses:
5477
- '200':
5478
- description: Success
5479
- body:
5480
- application/json:
5481
- type: AggregateRepresentation
5482
- body:
5483
- application/json:
5484
- type: AggregateInputRepresentation
5485
- # required: false - W-9109412: Property 'required' not supported in a RAML 1.0 object node
5486
- (oas-body-name): input
5219
+ # /aggregate-ui:
5220
+ # get:
5221
+ # description: Retrieve presentation-ready metadata and data.
5222
+ # responses:
5223
+ # '200':
5224
+ # description: Success
5225
+ # body:
5226
+ # application/json:
5227
+ # type: AggregateUiRepresentation
5228
+ # queryParameters:
5229
+ # formFactor:
5230
+ # type: string
5231
+ # required: false
5232
+ # default: Large
5233
+ # query:
5234
+ # type: string
5235
+ # required: false
5236
+ # post:
5237
+ # description: Executes multiple requests within a single request
5238
+ # responses:
5239
+ # '200':
5240
+ # description: Success
5241
+ # body:
5242
+ # application/json:
5243
+ # type: AggregateRepresentation
5244
+ # body:
5245
+ # application/json:
5246
+ # type: AggregateInputRepresentation
5247
+ # # required: false - W-9109412: Property 'required' not supported in a RAML 1.0 object node
5248
+ # (oas-body-name): input
5487
5249
  /apps:
5488
5250
  get:
5489
5251
  displayName: getApps
@@ -5610,121 +5372,114 @@ types:
5610
5372
  required: true
5611
5373
  examples: # TODO: hand rolled
5612
5374
  getDuplicateConfigurationResponse1: 'Lead'
5613
- /favorites:
5614
- get:
5615
- displayName: getFavoriteCollection
5616
- description: Gets a collection of favorites.
5617
- responses:
5618
- '200':
5619
- description: Success
5620
- body:
5621
- application/json:
5622
- type: FavoriteCollectionRepresentation
5623
- post:
5624
- displayName: postFavoriteCollection
5625
- description: Creates a single favorite.
5626
- responses:
5627
- '200':
5628
- description: Success
5629
- body:
5630
- application/json:
5631
- type: FavoriteRepresentation
5632
- queryParameters:
5633
- name:
5634
- type: string
5635
- required: false
5636
- sortOrder:
5637
- type: integer
5638
- required: false
5639
- target:
5640
- type: string
5641
- required: false
5642
- targetType:
5643
- type: string
5644
- required: false
5645
- enum:
5646
- - ListView
5647
- - ObjectHome
5648
- - Record
5649
- - Tab
5650
- body:
5651
- application/json:
5652
- type: FavoriteInputRepresentation
5653
- # required: false - W-9109412: Property 'required' not supported in a RAML 1.0 object node
5654
- (oas-body-name): favorite
5655
- /batch:
5656
- put:
5657
- displayName: putFavoriteBatch
5658
- description: Updates all favorites at once. Sort order is updated to the
5659
- given relative ordering and any favorites missing from the input payload
5660
- are deleted.
5661
- responses:
5662
- '200':
5663
- description: Success
5664
- body:
5665
- application/json:
5666
- type: FavoriteCollectionRepresentation
5667
- body:
5668
- application/json:
5669
- type: FavoriteBatchCollectionInputRepresentation
5670
- # required: false - W-9109412: Property 'required' not supported in a RAML 1.0 object node
5671
- (oas-body-name): favorites
5672
- /{favoriteId}:
5673
- delete:
5674
- displayName: deleteFavorite
5675
- description: Deletes a single favorite by ID.
5676
- responses:
5677
- '200':
5678
- description: Success
5679
- get:
5680
- displayName: getFavorite
5681
- description: Retrieve a single favorite by ID.
5682
- responses:
5683
- '200':
5684
- description: Success
5685
- body:
5686
- application/json:
5687
- type: FavoriteRepresentation
5688
- patch:
5689
- displayName: patchFavorite
5690
- description: Updates a single favorite by ID.
5691
- responses:
5692
- '200':
5693
- description: Success
5694
- body:
5695
- application/json:
5696
- type: FavoriteRepresentation
5697
- queryParameters:
5698
- name:
5699
- type: string
5700
- required: false
5701
- sortOrder:
5702
- type: integer
5703
- required: false
5704
- body:
5705
- application/json:
5706
- type: FavoriteInputRepresentation
5707
- # required: false - W-9109412: Property 'required' not supported in a RAML 1.0 object node
5708
- (oas-body-name): favorite
5709
- uriParameters:
5710
- favoriteId:
5711
- type: string
5712
- required: true
5713
- /{favoriteId}/usage:
5714
- patch:
5715
- displayName: patchFavoriteUsage
5716
- description: Increments the accessCount and sets the lastAccessDate to the
5717
- current system time.
5718
- responses:
5719
- '200':
5720
- description: Success
5721
- body:
5722
- application/json:
5723
- type: FavoriteRepresentation
5724
- uriParameters:
5725
- favoriteId:
5726
- type: string
5727
- required: true
5375
+ # /favorites:
5376
+ # get:
5377
+ # description: Gets a collection of favorites.
5378
+ # responses:
5379
+ # '200':
5380
+ # description: Success
5381
+ # body:
5382
+ # application/json:
5383
+ # type: FavoriteCollectionRepresentation
5384
+ # post:
5385
+ # description: Creates a single favorite.
5386
+ # responses:
5387
+ # '200':
5388
+ # description: Success
5389
+ # body:
5390
+ # application/json:
5391
+ # type: FavoriteRepresentation
5392
+ # queryParameters:
5393
+ # name:
5394
+ # type: string
5395
+ # required: false
5396
+ # sortOrder:
5397
+ # type: integer
5398
+ # required: false
5399
+ # target:
5400
+ # type: string
5401
+ # required: false
5402
+ # targetType:
5403
+ # type: string
5404
+ # required: false
5405
+ # enum:
5406
+ # - ListView
5407
+ # - ObjectHome
5408
+ # - Record
5409
+ # - Tab
5410
+ # body:
5411
+ # application/json:
5412
+ # type: FavoriteInputRepresentation
5413
+ # # required: false - W-9109412: Property 'required' not supported in a RAML 1.0 object node
5414
+ # (oas-body-name): favorite
5415
+ # /batch:
5416
+ # put:
5417
+ # description: Updates all favorites at once. Sort order is updated to the
5418
+ # given relative ordering and any favorites missing from the input payload
5419
+ # are deleted.
5420
+ # responses:
5421
+ # '200':
5422
+ # description: Success
5423
+ # body:
5424
+ # application/json:
5425
+ # type: FavoriteCollectionRepresentation
5426
+ # body:
5427
+ # application/json:
5428
+ # type: FavoriteBatchCollectionInputRepresentation
5429
+ # # required: false - W-9109412: Property 'required' not supported in a RAML 1.0 object node
5430
+ # (oas-body-name): favorites
5431
+ # /{favoriteId}:
5432
+ # delete:
5433
+ # description: Deletes a single favorite by ID.
5434
+ # responses:
5435
+ # '200':
5436
+ # description: Success
5437
+ # get:
5438
+ # description: Retrieve a single favorite by ID.
5439
+ # responses:
5440
+ # '200':
5441
+ # description: Success
5442
+ # body:
5443
+ # application/json:
5444
+ # type: FavoriteRepresentation
5445
+ # patch:
5446
+ # description: Updates a single favorite by ID.
5447
+ # responses:
5448
+ # '200':
5449
+ # description: Success
5450
+ # body:
5451
+ # application/json:
5452
+ # type: FavoriteRepresentation
5453
+ # queryParameters:
5454
+ # name:
5455
+ # type: string
5456
+ # required: false
5457
+ # sortOrder:
5458
+ # type: integer
5459
+ # required: false
5460
+ # body:
5461
+ # application/json:
5462
+ # type: FavoriteInputRepresentation
5463
+ # # required: false - W-9109412: Property 'required' not supported in a RAML 1.0 object node
5464
+ # (oas-body-name): favorite
5465
+ # uriParameters:
5466
+ # favoriteId:
5467
+ # type: string
5468
+ # required: true
5469
+ # /{favoriteId}/usage:
5470
+ # patch:
5471
+ # description: Increments the accessCount and sets the lastAccessDate to the
5472
+ # current system time.
5473
+ # responses:
5474
+ # '200':
5475
+ # description: Success
5476
+ # body:
5477
+ # application/json:
5478
+ # type: FavoriteRepresentation
5479
+ # uriParameters:
5480
+ # favoriteId:
5481
+ # type: string
5482
+ # required: true
5728
5483
  /forms/{apiName}:
5729
5484
  get:
5730
5485
  displayName: getForm
@@ -5739,49 +5494,6 @@ types:
5739
5494
  apiName:
5740
5495
  type: string
5741
5496
  required: true
5742
- /health-check:
5743
- delete:
5744
- displayName: deleteHealthCheck
5745
- description: UI API health check get operation
5746
- responses:
5747
- '200':
5748
- description: Success
5749
- get:
5750
- displayName: getHealthCheck
5751
- description: UI API health check get operation
5752
- responses:
5753
- '200':
5754
- description: Success
5755
- body:
5756
- application/json:
5757
- type: HealthCheckRepresentation
5758
- patch:
5759
- displayName: patchHealthCheck
5760
- description: UI API health check get operation
5761
- responses:
5762
- '200':
5763
- description: Success
5764
- body:
5765
- application/json:
5766
- type: HealthCheckRepresentation
5767
- post:
5768
- displayName: postHealthCheck
5769
- description: UI API health check get operation
5770
- responses:
5771
- '200':
5772
- description: Success
5773
- body:
5774
- application/json:
5775
- type: HealthCheckRepresentation
5776
- put:
5777
- displayName: putHealthCheck
5778
- description: UI API health check get operation
5779
- responses:
5780
- '200':
5781
- description: Success
5782
- body:
5783
- application/json:
5784
- type: HealthCheckRepresentation
5785
5497
  /layout/{objectApiName}:
5786
5498
  get:
5787
5499
  displayName: getLayout
@@ -7406,78 +7118,6 @@ types:
7406
7118
  required: true
7407
7119
  /related-list-records:
7408
7120
  /batch/{parentRecordId}:
7409
- get:
7410
- displayName: getRelatedListRecordsBatch
7411
- description: Returns a batch of record data to populate several related
7412
- lists.
7413
- responses:
7414
- '200':
7415
- description: Success
7416
- body:
7417
- application/json:
7418
- type: SimplifiedBatchRepresentation
7419
- queryParameters:
7420
- fields:
7421
- type: string
7422
- required: false
7423
- optionalFields:
7424
- type: string
7425
- required: false
7426
- pageSize:
7427
- type: string
7428
- required: false
7429
- sortBy:
7430
- type: string
7431
- required: false
7432
- where:
7433
- type: string
7434
- required: false
7435
- post:
7436
- displayName: postRelatedListRecordsBatch
7437
- description: Returns a batch of record data to populate several related
7438
- lists.
7439
- responses:
7440
- '200':
7441
- description: Success
7442
- body:
7443
- application/json:
7444
- type: SimplifiedBatchRepresentation
7445
- body:
7446
- application/json:
7447
- type: RelatedListRecordsBatchInputRepresentation
7448
- # required: false - W-9109412: Property 'required' not supported in a RAML 1.0 object node
7449
- (oas-body-name): listRecordsQuery
7450
- uriParameters:
7451
- parentRecordId:
7452
- type: string
7453
- required: true
7454
- /batch/{parentRecordId}/{relatedListIds}:
7455
- get:
7456
- displayName: getRelatedListRecordsBatch
7457
- description: Returns a batch of record data to populate several related
7458
- lists.
7459
- responses:
7460
- '200':
7461
- description: Success
7462
- body:
7463
- application/json:
7464
- type: SimplifiedBatchRepresentation
7465
- queryParameters:
7466
- fields:
7467
- type: string
7468
- required: false
7469
- optionalFields:
7470
- type: string
7471
- required: false
7472
- pageSize:
7473
- type: string
7474
- required: false
7475
- sortBy:
7476
- type: string
7477
- required: false
7478
- where:
7479
- type: string
7480
- required: false
7481
7121
  post:
7482
7122
  displayName: postRelatedListRecordsBatch
7483
7123
  description: Returns a batch of record data to populate several related
@@ -7487,7 +7127,7 @@ types:
7487
7127
  description: Success
7488
7128
  body:
7489
7129
  application/json:
7490
- type: RelatedListRecordCollectionBatchRepresentation # TODO: hand rolled
7130
+ type: RelatedListRecordCollectionBatchRepresentation # Handrolled due to duplicate raml types
7491
7131
  body:
7492
7132
  application/json:
7493
7133
  type: RelatedListRecordsBatchInputRepresentation
@@ -7497,50 +7137,7 @@ types:
7497
7137
  parentRecordId:
7498
7138
  type: string
7499
7139
  required: true
7500
- relatedListIds:
7501
- type: array
7502
- required: true
7503
- items:
7504
- type: string
7505
- (oas-collectionFormat): csv
7506
7140
  /{parentRecordId}/{relatedListId}:
7507
- # TODO: this breaks the ResourceRequestConfig of getRelatedListRecordsBatch
7508
- # get:
7509
- # description: Returns record data to populate a related list.
7510
- # responses:
7511
- # '200':
7512
- # description: Success
7513
- # body:
7514
- # application/json:
7515
- # type: RelatedListRecordCollectionRepresentation
7516
- # queryParameters:
7517
- # fields:
7518
- # type: array
7519
- # required: false
7520
- # items:
7521
- # type: string
7522
- # (oas-collectionFormat): csv
7523
- # optionalFields:
7524
- # type: array
7525
- # required: false
7526
- # items:
7527
- # type: string
7528
- # (oas-collectionFormat): csv
7529
- # pageSize:
7530
- # type: integer
7531
- # required: false
7532
- # pageToken:
7533
- # type: string
7534
- # required: false
7535
- # sortBy:
7536
- # type: array
7537
- # required: false
7538
- # items:
7539
- # type: string
7540
- # (oas-collectionFormat): csv
7541
- # where:
7542
- # type: string
7543
- # required: false
7544
7141
  post:
7545
7142
  displayName: postRelatedListRecords
7546
7143
  description: Returns record data to populate a related list.
@@ -7550,35 +7147,6 @@ types:
7550
7147
  body:
7551
7148
  application/json:
7552
7149
  type: RelatedListRecordCollectionRepresentation
7553
- # TODO: parameters conflicts
7554
- # queryParameters:
7555
- # fields:
7556
- # type: array
7557
- # required: false
7558
- # items:
7559
- # type: string
7560
- # (oas-collectionFormat): csv
7561
- # optionalFields:
7562
- # type: array
7563
- # required: false
7564
- # items:
7565
- # type: string
7566
- # (oas-collectionFormat): csv
7567
- # pageSize:
7568
- # type: integer
7569
- # required: false
7570
- # pageToken:
7571
- # type: string
7572
- # required: false
7573
- # sortBy:
7574
- # type: array
7575
- # required: false
7576
- # items:
7577
- # type: string
7578
- # (oas-collectionFormat): csv
7579
- # where:
7580
- # type: string
7581
- # required: false
7582
7150
  body:
7583
7151
  application/json:
7584
7152
  type: RelatedListRecordsInputRepresentation