@salesforce/lds-worker-api 1.412.1 → 1.414.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.
@@ -4280,7 +4280,7 @@
4280
4280
  }
4281
4281
  callbacks.push(callback);
4282
4282
  }
4283
- // version: 1.412.1-054d9a1111
4283
+ // version: 1.414.0-ff06871479
4284
4284
 
4285
4285
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
4286
4286
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -5324,7 +5324,7 @@
5324
5324
  const { apiFamily, name } = metadata;
5325
5325
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
5326
5326
  }
5327
- // version: 1.412.1-054d9a1111
5327
+ // version: 1.414.0-ff06871479
5328
5328
 
5329
5329
  /**
5330
5330
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -11482,7 +11482,7 @@
11482
11482
  function createResourceRequest$1c(config) {
11483
11483
  const headers = {};
11484
11484
  return {
11485
- baseUri: '/services/data/v66.0',
11485
+ baseUri: '/services/data/v67.0',
11486
11486
  basePath: '/ui-api/records/' + config.urlParams.recordId + '',
11487
11487
  method: 'get',
11488
11488
  body: null,
@@ -11911,7 +11911,7 @@
11911
11911
  function createResourceRequest$1b(config) {
11912
11912
  const headers = {};
11913
11913
  return {
11914
- baseUri: '/services/data/v66.0',
11914
+ baseUri: '/services/data/v67.0',
11915
11915
  basePath: '/ui-api/records/batch/' + config.urlParams.recordIds + '',
11916
11916
  method: 'get',
11917
11917
  body: null,
@@ -12731,7 +12731,7 @@
12731
12731
  function createResourceRequest$1a(config) {
12732
12732
  const headers = {};
12733
12733
  return {
12734
- baseUri: '/services/data/v66.0',
12734
+ baseUri: '/services/data/v67.0',
12735
12735
  basePath: '/ui-api/list-ui/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
12736
12736
  method: 'get',
12737
12737
  body: null,
@@ -12781,7 +12781,7 @@
12781
12781
  function createResourceRequest$19(config) {
12782
12782
  const headers = {};
12783
12783
  return {
12784
- baseUri: '/services/data/v66.0',
12784
+ baseUri: '/services/data/v67.0',
12785
12785
  basePath: '/ui-api/list-ui/' + config.urlParams.listViewId + '',
12786
12786
  method: 'get',
12787
12787
  body: null,
@@ -12823,7 +12823,7 @@
12823
12823
  function createResourceRequest$18(config) {
12824
12824
  const headers = {};
12825
12825
  return {
12826
- baseUri: '/services/data/v66.0',
12826
+ baseUri: '/services/data/v67.0',
12827
12827
  basePath: '/ui-api/list-records/' + config.urlParams.listViewId + '',
12828
12828
  method: 'get',
12829
12829
  body: null,
@@ -13648,7 +13648,7 @@
13648
13648
  function createResourceRequest$17(config) {
13649
13649
  const headers = {};
13650
13650
  return {
13651
- baseUri: '/services/data/v66.0',
13651
+ baseUri: '/services/data/v67.0',
13652
13652
  basePath: '/ui-api/list-records/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
13653
13653
  method: 'post',
13654
13654
  body: config.body,
@@ -14119,7 +14119,7 @@
14119
14119
  function createResourceRequest$16(config) {
14120
14120
  const headers = {};
14121
14121
  return {
14122
- baseUri: '/services/data/v66.0',
14122
+ baseUri: '/services/data/v67.0',
14123
14123
  basePath: '/ui-api/list-ui/' + config.urlParams.objectApiName + '',
14124
14124
  method: 'get',
14125
14125
  body: null,
@@ -14314,7 +14314,7 @@
14314
14314
  function createResourceRequest$15(config) {
14315
14315
  const headers = {};
14316
14316
  return {
14317
- baseUri: '/services/data/v66.0',
14317
+ baseUri: '/services/data/v67.0',
14318
14318
  basePath: '/ui-api/mru-list-ui/' + config.urlParams.objectApiName + '',
14319
14319
  method: 'get',
14320
14320
  body: null,
@@ -14356,7 +14356,7 @@
14356
14356
  function createResourceRequest$14(config) {
14357
14357
  const headers = {};
14358
14358
  return {
14359
- baseUri: '/services/data/v66.0',
14359
+ baseUri: '/services/data/v67.0',
14360
14360
  basePath: '/ui-api/mru-list-records/' + config.urlParams.objectApiName + '',
14361
14361
  method: 'get',
14362
14362
  body: null,
@@ -15331,7 +15331,7 @@
15331
15331
  function createResourceRequest$13(config) {
15332
15332
  const headers = {};
15333
15333
  return {
15334
- baseUri: '/services/data/v66.0',
15334
+ baseUri: '/services/data/v67.0',
15335
15335
  basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '',
15336
15336
  method: 'get',
15337
15337
  body: null,
@@ -15778,7 +15778,7 @@
15778
15778
  function createResourceRequest$12(config) {
15779
15779
  const headers = {};
15780
15780
  return {
15781
- baseUri: '/services/data/v66.0',
15781
+ baseUri: '/services/data/v67.0',
15782
15782
  basePath: '/ui-api/record-ui/' + config.urlParams.recordIds + '',
15783
15783
  method: 'get',
15784
15784
  body: null,
@@ -17780,7 +17780,7 @@
17780
17780
  function createResourceRequest$11(config) {
17781
17781
  const headers = {};
17782
17782
  return {
17783
- baseUri: '/services/data/v66.0',
17783
+ baseUri: '/services/data/v67.0',
17784
17784
  basePath: '/ui-api/actions/global',
17785
17785
  method: 'get',
17786
17786
  body: null,
@@ -17974,7 +17974,7 @@
17974
17974
  function createResourceRequest$10(config) {
17975
17975
  const headers = {};
17976
17976
  return {
17977
- baseUri: '/services/data/v66.0',
17977
+ baseUri: '/services/data/v67.0',
17978
17978
  basePath: '/ui-api/actions/layout/' + config.urlParams.actionApiName + '',
17979
17979
  method: 'get',
17980
17980
  body: null,
@@ -18138,7 +18138,7 @@
18138
18138
  function createResourceRequest$$(config) {
18139
18139
  const headers = {};
18140
18140
  return {
18141
- baseUri: '/services/data/v66.0',
18141
+ baseUri: '/services/data/v67.0',
18142
18142
  basePath: '/ui-api/actions/lookup/' + config.urlParams.objectApiNames + '',
18143
18143
  method: 'get',
18144
18144
  body: null,
@@ -18272,7 +18272,7 @@
18272
18272
  function createResourceRequest$_(config) {
18273
18273
  const headers = {};
18274
18274
  return {
18275
- baseUri: '/services/data/v66.0',
18275
+ baseUri: '/services/data/v67.0',
18276
18276
  basePath: '/ui-api/actions/object/' + config.urlParams.objectApiName + '/record-create',
18277
18277
  method: 'get',
18278
18278
  body: null,
@@ -18435,7 +18435,7 @@
18435
18435
  function createResourceRequest$Z(config) {
18436
18436
  const headers = {};
18437
18437
  return {
18438
- baseUri: '/services/data/v66.0',
18438
+ baseUri: '/services/data/v67.0',
18439
18439
  basePath: '/ui-api/actions/overrides/' + config.urlParams.objectApiName + '',
18440
18440
  method: 'get',
18441
18441
  body: null,
@@ -18612,7 +18612,7 @@
18612
18612
  function createResourceRequest$Y(config) {
18613
18613
  const headers = {};
18614
18614
  return {
18615
- baseUri: '/services/data/v66.0',
18615
+ baseUri: '/services/data/v67.0',
18616
18616
  basePath: '/ui-api/actions/formula-activation/' + config.urlParams.actionFeature + '',
18617
18617
  method: 'get',
18618
18618
  body: null,
@@ -19219,7 +19219,7 @@
19219
19219
  function createResourceRequest$X(config) {
19220
19220
  const headers = {};
19221
19221
  return {
19222
- baseUri: '/services/data/v66.0',
19222
+ baseUri: '/services/data/v67.0',
19223
19223
  basePath: '/ui-api/actions/quick-action-info/' + config.urlParams.actionApiName + '',
19224
19224
  method: 'get',
19225
19225
  body: null,
@@ -19421,7 +19421,7 @@
19421
19421
  function createResourceRequest$W(config) {
19422
19422
  const headers = {};
19423
19423
  return {
19424
- baseUri: '/services/data/v66.0',
19424
+ baseUri: '/services/data/v67.0',
19425
19425
  basePath: '/ui-api/actions/record-defaults/' + config.urlParams.actionApiName + '',
19426
19426
  method: 'get',
19427
19427
  body: null,
@@ -19577,7 +19577,7 @@
19577
19577
  function createResourceRequest$V(config) {
19578
19578
  const headers = {};
19579
19579
  return {
19580
- baseUri: '/services/data/v66.0',
19580
+ baseUri: '/services/data/v67.0',
19581
19581
  basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '',
19582
19582
  method: 'get',
19583
19583
  body: null,
@@ -19717,7 +19717,7 @@
19717
19717
  function createResourceRequest$U(config) {
19718
19718
  const headers = {};
19719
19719
  return {
19720
- baseUri: '/services/data/v66.0',
19720
+ baseUri: '/services/data/v67.0',
19721
19721
  basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/record-edit',
19722
19722
  method: 'get',
19723
19723
  body: null,
@@ -19921,7 +19921,7 @@
19921
19921
  function createResourceRequest$T(config) {
19922
19922
  const headers = {};
19923
19923
  return {
19924
- baseUri: '/services/data/v66.0',
19924
+ baseUri: '/services/data/v67.0',
19925
19925
  basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list/' + config.urlParams.relatedListId + '',
19926
19926
  method: 'post',
19927
19927
  body: config.body,
@@ -20196,7 +20196,7 @@
20196
20196
  function createResourceRequest$S(config) {
20197
20197
  const headers = {};
20198
20198
  return {
20199
- baseUri: '/services/data/v66.0',
20199
+ baseUri: '/services/data/v67.0',
20200
20200
  basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list/batch',
20201
20201
  method: 'post',
20202
20202
  body: config.body,
@@ -20430,7 +20430,7 @@
20430
20430
  function createResourceRequest$R(config) {
20431
20431
  const headers = {};
20432
20432
  return {
20433
- baseUri: '/services/data/v66.0',
20433
+ baseUri: '/services/data/v67.0',
20434
20434
  basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list-record/' + config.urlParams.relatedListRecordIds + '',
20435
20435
  method: 'get',
20436
20436
  body: null,
@@ -21151,7 +21151,7 @@
21151
21151
  function createResourceRequest$Q(config) {
21152
21152
  const headers = {};
21153
21153
  return {
21154
- baseUri: '/services/data/v66.0',
21154
+ baseUri: '/services/data/v67.0',
21155
21155
  basePath: '/ui-api/apps',
21156
21156
  method: 'get',
21157
21157
  body: null,
@@ -21285,7 +21285,7 @@
21285
21285
  function createResourceRequest$P(config) {
21286
21286
  const headers = {};
21287
21287
  return {
21288
- baseUri: '/services/data/v66.0',
21288
+ baseUri: '/services/data/v67.0',
21289
21289
  basePath: '/ui-api/apps/' + config.urlParams.appId + '',
21290
21290
  method: 'get',
21291
21291
  body: null,
@@ -21621,7 +21621,7 @@
21621
21621
  function createResourceRequest$O(config) {
21622
21622
  const headers = {};
21623
21623
  return {
21624
- baseUri: '/services/data/v66.0',
21624
+ baseUri: '/services/data/v67.0',
21625
21625
  basePath: '/ui-api/duplicates/' + config.urlParams.objectApiName + '',
21626
21626
  method: 'get',
21627
21627
  body: null,
@@ -21757,7 +21757,7 @@
21757
21757
  function createResourceRequest$N(config) {
21758
21758
  const headers = {};
21759
21759
  return {
21760
- baseUri: '/services/data/v66.0',
21760
+ baseUri: '/services/data/v67.0',
21761
21761
  basePath: '/ui-api/layout/' + config.urlParams.objectApiName + '',
21762
21762
  method: 'get',
21763
21763
  body: null,
@@ -21894,7 +21894,7 @@
21894
21894
  function createResourceRequest$M(config) {
21895
21895
  const headers = {};
21896
21896
  return {
21897
- baseUri: '/services/data/v66.0',
21897
+ baseUri: '/services/data/v67.0',
21898
21898
  basePath: '/ui-api/layout/' + config.urlParams.objectApiName + '/user-state',
21899
21899
  method: 'get',
21900
21900
  body: null,
@@ -22120,7 +22120,7 @@
22120
22120
  function createResourceRequest$L(config) {
22121
22121
  const headers = {};
22122
22122
  return {
22123
- baseUri: '/services/data/v66.0',
22123
+ baseUri: '/services/data/v67.0',
22124
22124
  basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
22125
22125
  method: 'get',
22126
22126
  body: null,
@@ -22379,7 +22379,7 @@
22379
22379
  function createResourceRequest$K(config) {
22380
22380
  const headers = {};
22381
22381
  return {
22382
- baseUri: '/services/data/v66.0',
22382
+ baseUri: '/services/data/v67.0',
22383
22383
  basePath: '/ui-api/list-info/batch',
22384
22384
  method: 'get',
22385
22385
  body: null,
@@ -22516,7 +22516,7 @@
22516
22516
  function createResourceRequest$J(config) {
22517
22517
  const headers = {};
22518
22518
  return {
22519
- baseUri: '/services/data/v66.0',
22519
+ baseUri: '/services/data/v67.0',
22520
22520
  basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '',
22521
22521
  method: 'get',
22522
22522
  body: null,
@@ -22814,7 +22814,7 @@
22814
22814
  function createResourceRequest$I(config) {
22815
22815
  const headers = {};
22816
22816
  return {
22817
- baseUri: '/services/data/v66.0',
22817
+ baseUri: '/services/data/v67.0',
22818
22818
  basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '',
22819
22819
  method: 'post',
22820
22820
  body: config.body,
@@ -22924,7 +22924,7 @@
22924
22924
  function createResourceRequest$H(config) {
22925
22925
  const headers = {};
22926
22926
  return {
22927
- baseUri: '/services/data/v66.0',
22927
+ baseUri: '/services/data/v67.0',
22928
22928
  basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
22929
22929
  method: 'delete',
22930
22930
  body: null,
@@ -23091,7 +23091,7 @@
23091
23091
  function createResourceRequest$G(config) {
23092
23092
  const headers = {};
23093
23093
  return {
23094
- baseUri: '/services/data/v66.0',
23094
+ baseUri: '/services/data/v67.0',
23095
23095
  basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
23096
23096
  method: 'patch',
23097
23097
  body: config.body,
@@ -23636,7 +23636,7 @@
23636
23636
  function createResourceRequest$F(config) {
23637
23637
  const headers = {};
23638
23638
  return {
23639
- baseUri: '/services/data/v66.0',
23639
+ baseUri: '/services/data/v67.0',
23640
23640
  basePath: '/ui-api/list-object-info/' + config.urlParams.objectApiName + '',
23641
23641
  method: 'get',
23642
23642
  body: null,
@@ -23872,7 +23872,7 @@
23872
23872
  function createResourceRequest$E(config) {
23873
23873
  const headers = {};
23874
23874
  return {
23875
- baseUri: '/services/data/v66.0',
23875
+ baseUri: '/services/data/v67.0',
23876
23876
  basePath: '/ui-api/list-preferences/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
23877
23877
  method: 'get',
23878
23878
  body: null,
@@ -24008,7 +24008,7 @@
24008
24008
  function createResourceRequest$D(config) {
24009
24009
  const headers = {};
24010
24010
  return {
24011
- baseUri: '/services/data/v66.0',
24011
+ baseUri: '/services/data/v67.0',
24012
24012
  basePath: '/ui-api/list-preferences/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
24013
24013
  method: 'patch',
24014
24014
  body: config.body,
@@ -24248,7 +24248,7 @@
24248
24248
  function createResourceRequest$C(config) {
24249
24249
  const headers = {};
24250
24250
  return {
24251
- baseUri: '/services/data/v66.0',
24251
+ baseUri: '/services/data/v67.0',
24252
24252
  basePath: '/ui-api/nav-items',
24253
24253
  method: 'get',
24254
24254
  body: null,
@@ -24376,7 +24376,7 @@
24376
24376
  function createResourceRequest$B(config) {
24377
24377
  const headers = {};
24378
24378
  return {
24379
- baseUri: '/services/data/v66.0',
24379
+ baseUri: '/services/data/v67.0',
24380
24380
  basePath: '/ui-api/object-info',
24381
24381
  method: 'get',
24382
24382
  body: null,
@@ -24708,7 +24708,7 @@
24708
24708
  function createResourceRequest$A(config) {
24709
24709
  const headers = {};
24710
24710
  return {
24711
- baseUri: '/services/data/v66.0',
24711
+ baseUri: '/services/data/v67.0',
24712
24712
  basePath: '/ui-api/object-info/batch/' + config.urlParams.objectApiNames + '',
24713
24713
  method: 'get',
24714
24714
  body: null,
@@ -24962,8 +24962,8 @@
24962
24962
  const keyBuilderFromType$i$1 =
24963
24963
  /**
24964
24964
  * custom key builder from PicklistValuesRepresentation.
24965
- * PicklistValuesRepresentation.url is like /services/data/v66.0/ui-api/object-info/Account/picklist-values/012000000000000AAA/AccountSource
24966
- * the '/services/data/v66.0' in the key make trouble for new js release. so chop it off make the key unique cross releases.
24965
+ * PicklistValuesRepresentation.url is like /services/data/v67.0/ui-api/object-info/Account/picklist-values/012000000000000AAA/AccountSource
24966
+ * the '/services/data/v67.0' in the key make trouble for new js release. so chop it off make the key unique cross releases.
24967
24967
  */
24968
24968
  function PicklistValuesRepresentationKeyBuilderFromType(luvio, object) {
24969
24969
  const id = object.url.substring(object.url.indexOf('/ui-api'));
@@ -25153,7 +25153,7 @@
25153
25153
  function createResourceRequest$z(config) {
25154
25154
  const headers = {};
25155
25155
  return {
25156
- baseUri: '/services/data/v66.0',
25156
+ baseUri: '/services/data/v67.0',
25157
25157
  basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '/picklist-values/' + config.urlParams.recordTypeId + '',
25158
25158
  method: 'get',
25159
25159
  body: null,
@@ -25255,7 +25255,7 @@
25255
25255
  function createResourceRequest$y(config) {
25256
25256
  const headers = {};
25257
25257
  return {
25258
- baseUri: '/services/data/v66.0',
25258
+ baseUri: '/services/data/v67.0',
25259
25259
  basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '/picklist-values/' + config.urlParams.recordTypeId + '/' + config.urlParams.fieldApiName + '',
25260
25260
  method: 'get',
25261
25261
  body: null,
@@ -25460,7 +25460,7 @@
25460
25460
  function createResourceRequest$x(config) {
25461
25461
  const headers = {};
25462
25462
  return {
25463
- baseUri: '/services/data/v66.0',
25463
+ baseUri: '/services/data/v67.0',
25464
25464
  basePath: '/ui-api/path/layout/' + config.urlParams.objectApiName + '',
25465
25465
  method: 'get',
25466
25466
  body: null,
@@ -25631,7 +25631,7 @@
25631
25631
  function createResourceRequest$w(config) {
25632
25632
  const headers = {};
25633
25633
  return {
25634
- baseUri: '/services/data/v66.0',
25634
+ baseUri: '/services/data/v67.0',
25635
25635
  basePath: '/ui-api/predupe',
25636
25636
  method: 'post',
25637
25637
  body: config.body,
@@ -26423,7 +26423,7 @@
26423
26423
  function createResourceRequest$v(config) {
26424
26424
  const headers = {};
26425
26425
  return {
26426
- baseUri: '/services/data/v66.0',
26426
+ baseUri: '/services/data/v67.0',
26427
26427
  basePath: '/ui-api/record-avatars/batch/' + config.urlParams.recordIds + '',
26428
26428
  method: 'get',
26429
26429
  body: null,
@@ -27033,7 +27033,7 @@
27033
27033
  function createResourceRequest$u(config) {
27034
27034
  const headers = {};
27035
27035
  return {
27036
- baseUri: '/services/data/v66.0',
27036
+ baseUri: '/services/data/v67.0',
27037
27037
  basePath: '/ui-api/related-list-count/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListId + '',
27038
27038
  method: 'get',
27039
27039
  body: null,
@@ -27288,7 +27288,7 @@
27288
27288
  function createResourceRequest$t(config) {
27289
27289
  const headers = {};
27290
27290
  return {
27291
- baseUri: '/services/data/v66.0',
27291
+ baseUri: '/services/data/v67.0',
27292
27292
  basePath: '/ui-api/related-list-count/batch/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListNames + '',
27293
27293
  method: 'get',
27294
27294
  body: null,
@@ -27651,7 +27651,7 @@
27651
27651
  function createResourceRequest$s(config) {
27652
27652
  const headers = {};
27653
27653
  return {
27654
- baseUri: '/services/data/v66.0',
27654
+ baseUri: '/services/data/v67.0',
27655
27655
  basePath: '/ui-api/related-list-info/' + config.urlParams.parentObjectApiName + '/' + config.urlParams.relatedListId + '',
27656
27656
  method: 'get',
27657
27657
  body: null,
@@ -27911,7 +27911,7 @@
27911
27911
  function createResourceRequest$r(config) {
27912
27912
  const headers = {};
27913
27913
  return {
27914
- baseUri: '/services/data/v66.0',
27914
+ baseUri: '/services/data/v67.0',
27915
27915
  basePath: '/ui-api/related-list-info/batch/' + config.urlParams.parentObjectApiName + '/' + config.urlParams.relatedListNames + '',
27916
27916
  method: 'get',
27917
27917
  body: null,
@@ -28102,7 +28102,7 @@
28102
28102
  function createResourceRequest$q(config) {
28103
28103
  const headers = {};
28104
28104
  return {
28105
- baseUri: '/services/data/v66.0',
28105
+ baseUri: '/services/data/v67.0',
28106
28106
  basePath: '/ui-api/related-list-info/' + config.urlParams.parentObjectApiName + '',
28107
28107
  method: 'get',
28108
28108
  body: null,
@@ -28345,7 +28345,7 @@
28345
28345
  function createResourceRequest$p(config) {
28346
28346
  const headers = {};
28347
28347
  return {
28348
- baseUri: '/services/data/v66.0',
28348
+ baseUri: '/services/data/v67.0',
28349
28349
  basePath: '/ui-api/related-list-info/' + config.urlParams.parentObjectApiName + '/' + config.urlParams.relatedListId + '',
28350
28350
  method: 'patch',
28351
28351
  body: config.body,
@@ -28515,7 +28515,7 @@
28515
28515
  function createResourceRequest$o(config) {
28516
28516
  const headers = {};
28517
28517
  return {
28518
- baseUri: '/services/data/v66.0',
28518
+ baseUri: '/services/data/v67.0',
28519
28519
  basePath: '/ui-api/related-list-preferences/' + config.urlParams.preferencesId + '',
28520
28520
  method: 'get',
28521
28521
  body: null,
@@ -28767,7 +28767,7 @@
28767
28767
  function createResourceRequest$n$1(config) {
28768
28768
  const headers = {};
28769
28769
  return {
28770
- baseUri: '/services/data/v66.0',
28770
+ baseUri: '/services/data/v67.0',
28771
28771
  basePath: '/ui-api/related-list-preferences/batch/' + config.urlParams.preferencesIds + '',
28772
28772
  method: 'get',
28773
28773
  body: null,
@@ -28965,7 +28965,7 @@
28965
28965
  function createResourceRequest$m$1(config) {
28966
28966
  const headers = {};
28967
28967
  return {
28968
- baseUri: '/services/data/v66.0',
28968
+ baseUri: '/services/data/v67.0',
28969
28969
  basePath: '/ui-api/related-list-preferences/' + config.urlParams.preferencesId + '',
28970
28970
  method: 'patch',
28971
28971
  body: config.body,
@@ -29746,7 +29746,7 @@
29746
29746
  function createResourceRequest$l$1(config) {
29747
29747
  const headers = {};
29748
29748
  return {
29749
- baseUri: '/services/data/v66.0',
29749
+ baseUri: '/services/data/v67.0',
29750
29750
  basePath: '/ui-api/related-list-records/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListId + '',
29751
29751
  method: 'post',
29752
29752
  body: config.body,
@@ -30021,7 +30021,7 @@
30021
30021
  function createResourceRequest$k$1(config) {
30022
30022
  const headers = {};
30023
30023
  return {
30024
- baseUri: '/services/data/v66.0',
30024
+ baseUri: '/services/data/v67.0',
30025
30025
  basePath: '/ui-api/related-list-records/batch/' + config.urlParams.parentRecordId + '',
30026
30026
  method: 'post',
30027
30027
  body: config.body,
@@ -30390,7 +30390,7 @@
30390
30390
  function createResourceRequest$j$1(config) {
30391
30391
  const headers = {};
30392
30392
  return {
30393
- baseUri: '/services/data/v66.0',
30393
+ baseUri: '/services/data/v67.0',
30394
30394
  basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/filters',
30395
30395
  method: 'get',
30396
30396
  body: null,
@@ -30573,7 +30573,7 @@
30573
30573
  function createResourceRequest$i$1(config) {
30574
30574
  const headers = {};
30575
30575
  return {
30576
- baseUri: '/services/data/v66.0',
30576
+ baseUri: '/services/data/v67.0',
30577
30577
  basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/filters/' + config.urlParams.filterApiName + '/options',
30578
30578
  method: 'get',
30579
30579
  body: null,
@@ -30754,7 +30754,7 @@
30754
30754
  function createResourceRequest$h$1(config) {
30755
30755
  const headers = {};
30756
30756
  return {
30757
- baseUri: '/services/data/v66.0',
30757
+ baseUri: '/services/data/v67.0',
30758
30758
  basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/lookup/' + config.urlParams.fieldApiName + '',
30759
30759
  method: 'get',
30760
30760
  body: null,
@@ -31073,7 +31073,7 @@
31073
31073
  function createResourceRequest$g$1(config) {
31074
31074
  const headers = {};
31075
31075
  return {
31076
- baseUri: '/services/data/v66.0',
31076
+ baseUri: '/services/data/v67.0',
31077
31077
  basePath: '/ui-api/search/results',
31078
31078
  method: 'post',
31079
31079
  body: config.body,
@@ -31276,7 +31276,7 @@
31276
31276
  function createResourceRequest$f$1(config) {
31277
31277
  const headers = {};
31278
31278
  return {
31279
- baseUri: '/services/data/v66.0',
31279
+ baseUri: '/services/data/v67.0',
31280
31280
  basePath: '/ui-api/search/results/keyword',
31281
31281
  method: 'post',
31282
31282
  body: config.body,
@@ -31532,7 +31532,7 @@
31532
31532
  function createResourceRequest$e$1(config) {
31533
31533
  const headers = {};
31534
31534
  return {
31535
- baseUri: '/services/data/v66.0',
31535
+ baseUri: '/services/data/v67.0',
31536
31536
  basePath: '/ui-api/records/batch',
31537
31537
  method: 'post',
31538
31538
  body: config.body,
@@ -31652,7 +31652,7 @@
31652
31652
  function createResourceRequest$d$1(config) {
31653
31653
  const headers = {};
31654
31654
  return {
31655
- baseUri: '/services/data/v66.0',
31655
+ baseUri: '/services/data/v67.0',
31656
31656
  basePath: '/ui-api/actions/perform-quick-action/' + config.urlParams.actionApiName + '',
31657
31657
  method: 'patch',
31658
31658
  body: config.body,
@@ -31711,7 +31711,7 @@
31711
31711
  function createResourceRequest$c$1(config) {
31712
31712
  const headers = {};
31713
31713
  return {
31714
- baseUri: '/services/data/v66.0',
31714
+ baseUri: '/services/data/v67.0',
31715
31715
  basePath: '/ui-api/actions/perform-quick-action/' + config.urlParams.actionApiName + '',
31716
31716
  method: 'post',
31717
31717
  body: config.body,
@@ -31780,7 +31780,7 @@
31780
31780
  function createResourceRequest$b$1(config) {
31781
31781
  const headers = {};
31782
31782
  return {
31783
- baseUri: '/services/data/v66.0',
31783
+ baseUri: '/services/data/v67.0',
31784
31784
  basePath: '/ui-api/layout/' + config.urlParams.objectApiName + '/user-state',
31785
31785
  method: 'patch',
31786
31786
  body: config.body,
@@ -32258,7 +32258,7 @@
32258
32258
  function createResourceRequest$a$1(config) {
32259
32259
  const headers = {};
32260
32260
  return {
32261
- baseUri: '/services/data/v66.0',
32261
+ baseUri: '/services/data/v67.0',
32262
32262
  basePath: '/ui-api/lookups/' + config.urlParams.objectApiName + '/' + config.urlParams.fieldApiName + '',
32263
32263
  method: 'post',
32264
32264
  body: config.body,
@@ -32497,7 +32497,7 @@
32497
32497
  function createResourceRequest$9$1(config) {
32498
32498
  const headers = {};
32499
32499
  return {
32500
- baseUri: '/services/data/v66.0',
32500
+ baseUri: '/services/data/v67.0',
32501
32501
  basePath: '/ui-api/record-avatars/' + config.urlParams.recordId + '/association',
32502
32502
  method: 'post',
32503
32503
  body: config.body,
@@ -32849,7 +32849,7 @@
32849
32849
  function createResourceRequest$8$1(config) {
32850
32850
  const headers = {};
32851
32851
  return {
32852
- baseUri: '/services/data/v66.0',
32852
+ baseUri: '/services/data/v67.0',
32853
32853
  basePath: '/ui-api/record-defaults/create/' + config.urlParams.objectApiName + '',
32854
32854
  method: 'get',
32855
32855
  body: null,
@@ -33391,7 +33391,7 @@
33391
33391
  function createResourceRequest$7$1(config) {
33392
33392
  const headers = {};
33393
33393
  return {
33394
- baseUri: '/services/data/v66.0',
33394
+ baseUri: '/services/data/v67.0',
33395
33395
  basePath: '/ui-api/record-defaults/template/clone/' + config.urlParams.recordId + '',
33396
33396
  method: 'get',
33397
33397
  body: null,
@@ -33922,7 +33922,7 @@
33922
33922
  function createResourceRequest$6$1(config) {
33923
33923
  const headers = {};
33924
33924
  return {
33925
- baseUri: '/services/data/v66.0',
33925
+ baseUri: '/services/data/v67.0',
33926
33926
  basePath: '/ui-api/record-defaults/template/create/' + config.urlParams.objectApiName + '',
33927
33927
  method: 'get',
33928
33928
  body: null,
@@ -34127,7 +34127,7 @@
34127
34127
  function createResourceRequest$5$1(config) {
34128
34128
  const headers = {};
34129
34129
  return {
34130
- baseUri: '/services/data/v66.0',
34130
+ baseUri: '/services/data/v67.0',
34131
34131
  basePath: '/ui-api/records',
34132
34132
  method: 'post',
34133
34133
  body: config.body,
@@ -34233,7 +34233,7 @@
34233
34233
  function createResourceRequest$3$1(config) {
34234
34234
  const headers = {};
34235
34235
  return {
34236
- baseUri: '/services/data/v66.0',
34236
+ baseUri: '/services/data/v67.0',
34237
34237
  basePath: '/ui-api/records/' + config.urlParams.recordId + '',
34238
34238
  method: 'delete',
34239
34239
  body: null,
@@ -34320,7 +34320,7 @@
34320
34320
  headers['If-Unmodified-Since'] = header_ifUnmodifiedSince;
34321
34321
  }
34322
34322
  return {
34323
- baseUri: '/services/data/v66.0',
34323
+ baseUri: '/services/data/v67.0',
34324
34324
  basePath: '/ui-api/records/' + config.urlParams.recordId + '',
34325
34325
  method: 'patch',
34326
34326
  body: config.body,
@@ -34620,7 +34620,7 @@
34620
34620
  function createResourceRequest$1$2(config) {
34621
34621
  const headers = {};
34622
34622
  return {
34623
- baseUri: '/services/data/v66.0',
34623
+ baseUri: '/services/data/v67.0',
34624
34624
  basePath: '/ui-api/records/content-documents/' +
34625
34625
  config.urlParams.contentDocumentId +
34626
34626
  '/content-versions',
@@ -34733,7 +34733,7 @@
34733
34733
  function createResourceRequest$1e(config) {
34734
34734
  const headers = {};
34735
34735
  return {
34736
- baseUri: '/services/data/v66.0',
34736
+ baseUri: '/services/data/v67.0',
34737
34737
  basePath: '/ui-api/records/content-documents/content-versions',
34738
34738
  method: 'post',
34739
34739
  body: config.body,
@@ -35479,7 +35479,7 @@
35479
35479
  throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
35480
35480
  throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
35481
35481
  });
35482
- // version: 1.412.1-944b7de7af
35482
+ // version: 1.414.0-3d95b40524
35483
35483
 
35484
35484
  var allowUpdatesForNonCachedRecords = {
35485
35485
  isOpen: function (e) {
@@ -47125,7 +47125,7 @@
47125
47125
  const { hasOwnProperty: hasOwnProperty$5 } = Object.prototype;
47126
47126
  const { isArray: isArray$7 } = Array;
47127
47127
  const { stringify: stringify$9, parse: parse$9 } = JSON;
47128
- let Ok$3 = class Ok {
47128
+ let Ok$4 = class Ok {
47129
47129
  constructor(value) {
47130
47130
  this.value = value;
47131
47131
  }
@@ -47136,7 +47136,7 @@
47136
47136
  return !this.isOk();
47137
47137
  }
47138
47138
  };
47139
- let Err$3 = class Err {
47139
+ let Err$4 = class Err {
47140
47140
  constructor(error) {
47141
47141
  this.error = error;
47142
47142
  }
@@ -47147,8 +47147,8 @@
47147
47147
  return !this.isOk();
47148
47148
  }
47149
47149
  };
47150
- const ok$3 = (value) => new Ok$3(value);
47151
- const err$3 = (err2) => new Err$3(err2);
47150
+ const ok$4 = (value) => new Ok$4(value);
47151
+ const err$4 = (err2) => new Err$4(err2);
47152
47152
  function resolvedPromiseLike$4(result) {
47153
47153
  if (isPromiseLike$4(result)) {
47154
47154
  return result.then((nextResult) => nextResult);
@@ -47297,40 +47297,33 @@
47297
47297
  * All rights reserved.
47298
47298
  * For full license text, see the LICENSE.txt file
47299
47299
  */
47300
- function resolve(published, requested) {
47301
- const result = {};
47302
- for (const [name, request] of Object.entries(requested)) {
47303
- const matchingService = published.find(
47304
- (s) => (
47305
- // service types must match
47306
- s.type === request.type && // version of the service must satisfy the requested version
47307
- satisfies(s.version, request.version) && // no tags requested, or the service matches every requested tag value
47308
- (request.tags === void 0 || Object.keys(request.tags).every((tag) => {
47309
- var _a;
47310
- return ((_a = s.tags) == null ? void 0 : _a[tag]) === request.tags[tag];
47311
- }))
47312
- )
47313
- );
47314
- if (matchingService) {
47315
- result[name] = matchingService.service;
47316
- } else if (!("optional" in request && request.optional)) {
47317
- return;
47318
- }
47319
- }
47320
- return result;
47300
+ function serviceSatisfies(service, request) {
47301
+ return (
47302
+ // service types must match
47303
+ service.type === request.type && // version of the service must satisfy the requested version
47304
+ satisfies(service.version, request.version) && // no tags requested, or the service matches every requested tag value
47305
+ (request.tags === void 0 || Object.keys(request.tags).every((tag) => {
47306
+ var _a;
47307
+ return ((_a = service.tags) == null ? void 0 : _a[tag]) === request.tags[tag];
47308
+ }))
47309
+ );
47321
47310
  }
47322
- let servicesAvailable;
47323
- let waitForServices = new Promise(
47324
- (resolve2) => servicesAvailable = resolve2
47311
+ let resolverAvailable;
47312
+ let waitForResolver = new Promise(
47313
+ (resolve2) => resolverAvailable = resolve2
47325
47314
  );
47326
47315
  function getServices(request, timeout = 3e4) {
47327
- const servicesPromise = waitForServices.then((services) => {
47328
- const result = resolve(services, request);
47329
- if (result) {
47330
- return result;
47331
- }
47332
- throw new Error("no matches found for one or more requested services");
47333
- });
47316
+ const servicesPromise = waitForResolver.then(
47317
+ (resolver) => (
47318
+ // try to resolve the requested services against our services
47319
+ resolver(request).then(([resolved, unresolved]) => {
47320
+ if (unresolved.length === 0) {
47321
+ return resolved;
47322
+ }
47323
+ throw new Error("no matches found for one or more requested services");
47324
+ })
47325
+ )
47326
+ );
47334
47327
  let timeoutId;
47335
47328
  let timeoutPromise = new Promise((_, reject) => {
47336
47329
  timeoutId = setTimeout(() => reject(new Error("OneStore services unavailable")), timeout);
@@ -47348,8 +47341,26 @@
47348
47341
  );
47349
47342
  }
47350
47343
  function setServices(services) {
47351
- waitForServices = resolvedPromiseLike$4(services);
47352
- servicesAvailable(services);
47344
+ setServiceResolver(buildStaticServiceResolver(services));
47345
+ }
47346
+ function setServiceResolver(resolver) {
47347
+ waitForResolver = resolvedPromiseLike$4(resolver);
47348
+ resolverAvailable(resolver);
47349
+ }
47350
+ function buildStaticServiceResolver(services) {
47351
+ return (requested) => {
47352
+ const resolved = {};
47353
+ const unresolved = [];
47354
+ for (const [name, req] of Object.entries(requested)) {
47355
+ const matchingService = services.find((s) => serviceSatisfies(s, req));
47356
+ if (matchingService) {
47357
+ resolved[name] = matchingService.service;
47358
+ } else if (!("optional" in req && req.optional)) {
47359
+ unresolved.push(name);
47360
+ }
47361
+ }
47362
+ return resolvedPromiseLike$4([resolved, unresolved]);
47363
+ };
47353
47364
  }
47354
47365
 
47355
47366
  /*!
@@ -47379,20 +47390,20 @@
47379
47390
  const existingNormalizedData = (_a = cache.get(key)) == null ? void 0 : _a.value;
47380
47391
  const normalized = this.normalizeData(cache, { ...input, existingNormalizedData });
47381
47392
  if (normalized.isErr()) {
47382
- return err$3(normalized.error);
47393
+ return err$4(normalized.error);
47383
47394
  }
47384
47395
  cache.set(key, {
47385
47396
  value: normalized.value,
47386
47397
  metadata: this.cacheMetadata
47387
47398
  });
47388
- return ok$3({
47399
+ return ok$4({
47389
47400
  type: "link",
47390
47401
  linkedKey: key
47391
47402
  });
47392
47403
  }
47393
47404
  validateEntry(entry) {
47394
47405
  if (!isCacheEntryForType(entry, this)) {
47395
- return err$3([
47406
+ return err$4([
47396
47407
  {
47397
47408
  type: "incorrectType",
47398
47409
  expectedType: this.typeName,
@@ -47400,7 +47411,7 @@
47400
47411
  }
47401
47412
  ]);
47402
47413
  }
47403
- return ok$3(void 0);
47414
+ return ok$4(void 0);
47404
47415
  }
47405
47416
  query(cache, query) {
47406
47417
  return this.read(cache, {
@@ -47418,12 +47429,12 @@
47418
47429
  if (cacheEntry) {
47419
47430
  const validationResult = this.validateEntry(cacheEntry);
47420
47431
  if (validationResult.isErr()) {
47421
- return err$3([...validationResult.error]);
47432
+ return err$4([...validationResult.error]);
47422
47433
  }
47423
47434
  const normalizedData = cacheEntry.value;
47424
47435
  return this.denormalizeData(cache, { ...input, normalizedData });
47425
47436
  }
47426
- return err$3([this.buildMissingDataError()]);
47437
+ return err$4([this.buildMissingDataError()]);
47427
47438
  }
47428
47439
  equals(x, y) {
47429
47440
  return deepEquals$2(x, y);
@@ -47446,9 +47457,9 @@
47446
47457
  }
47447
47458
  function buildReadWriteResult(data, errors) {
47448
47459
  if (errors.length > 0) {
47449
- return err$3(errors);
47460
+ return err$4(errors);
47450
47461
  }
47451
- return ok$3(data);
47462
+ return ok$4(data);
47452
47463
  }
47453
47464
 
47454
47465
  /**
@@ -48296,8 +48307,40 @@
48296
48307
  }
48297
48308
  const referenceMap = /* @__PURE__ */ new WeakMap();
48298
48309
  const astResolver = function(astReference) {
48310
+ if (typeof astReference !== "object" || astReference === null) {
48311
+ return void 0;
48312
+ }
48299
48313
  return referenceMap.get(astReference);
48300
48314
  };
48315
+ /*!
48316
+ * Copyright (c) 2022, Salesforce, Inc.,
48317
+ * All rights reserved.
48318
+ * For full license text, see the LICENSE.txt file
48319
+ */
48320
+ let Ok$3 = class Ok {
48321
+ constructor(value) {
48322
+ this.value = value;
48323
+ }
48324
+ isOk() {
48325
+ return true;
48326
+ }
48327
+ isErr() {
48328
+ return !this.isOk();
48329
+ }
48330
+ };
48331
+ let Err$3 = class Err {
48332
+ constructor(error) {
48333
+ this.error = error;
48334
+ }
48335
+ isOk() {
48336
+ return false;
48337
+ }
48338
+ isErr() {
48339
+ return !this.isOk();
48340
+ }
48341
+ };
48342
+ const ok$3 = (value) => new Ok$3(value);
48343
+ const err$3 = (err2) => new Err$3(err2);
48301
48344
  function findExecutableOperation$2(document, operationName) {
48302
48345
  const operations = document.definitions.filter(
48303
48346
  (def) => def.kind === Kind$2.OPERATION_DEFINITION
@@ -48330,25 +48373,40 @@
48330
48373
  }
48331
48374
  function resolveAst(ast) {
48332
48375
  if (ast === null || ast === void 0) {
48333
- return;
48376
+ return void 0;
48334
48377
  }
48335
- const result = astResolver(ast);
48336
- if (result === void 0) {
48337
- throw new Error("Could not resolve AST. Did you parse the query with gql?");
48378
+ return astResolver(ast);
48379
+ }
48380
+ function resolveAndValidateGraphQLConfig(config, options) {
48381
+ const query = config.query;
48382
+ if (query === null || query === void 0) {
48383
+ return void 0;
48338
48384
  }
48339
- return result;
48385
+ const result = resolveAndValidateGraphQLDocument(query, config.operationName, options);
48386
+ if (result.isErr()) {
48387
+ return err$3(result.error);
48388
+ }
48389
+ return ok$3({
48390
+ ...config,
48391
+ query: result.value
48392
+ });
48340
48393
  }
48341
- function wrapConfigAndVerify(config, options) {
48342
- if (config == null ? void 0 : config.query) {
48343
- config = { ...config, query: resolveAst(config.query) };
48344
- if (config.query === void 0) {
48345
- throw new Error("Internal error in GraphQL adapter occurred: Unable to resolve query");
48346
- }
48347
- validateGraphQLOperations(config, {
48348
- acceptedOperations: (options == null ? void 0 : options.acceptedOperations) ?? ["query"]
48349
- });
48394
+ function resolveAndValidateGraphQLDocument(query, operationName, options) {
48395
+ const resolved = resolveAst(query);
48396
+ if (resolved === void 0) {
48397
+ throw new Error("Could not resolve AST. Did you parse the query with gql?");
48350
48398
  }
48351
- return config;
48399
+ if (resolved.type === "error") {
48400
+ return err$3(resolved.error);
48401
+ }
48402
+ const document = resolved.document;
48403
+ validateGraphQLOperations(
48404
+ { query: document, operationName },
48405
+ {
48406
+ acceptedOperations: (options == null ? void 0 : options.acceptedOperations) ?? ["query"]
48407
+ }
48408
+ );
48409
+ return ok$3(document);
48352
48410
  }
48353
48411
 
48354
48412
  var productConsumedSideEffects = {
@@ -48379,7 +48437,7 @@
48379
48437
  const { isArray: isArray$5 } = Array;
48380
48438
  const { entries: entries$4, keys: keys$6 } = Object;
48381
48439
 
48382
- const UI_API_BASE_URI = '/services/data/v66.0/ui-api';
48440
+ const UI_API_BASE_URI = '/services/data/v67.0/ui-api';
48383
48441
 
48384
48442
  let instrumentation$3 = {
48385
48443
  aggregateUiChunkCount: (_cb) => { },
@@ -53699,7 +53757,7 @@
53699
53757
  function createResourceRequest$l(config) {
53700
53758
  const headers = {};
53701
53759
  return {
53702
- baseUri: '/services/data/v66.0',
53760
+ baseUri: '/services/data/v67.0',
53703
53761
  basePath: '/ui-api/records/' + config.urlParams.recordId + '',
53704
53762
  method: 'get',
53705
53763
  body: null,
@@ -54153,7 +54211,7 @@
54153
54211
  function createResourceRequest$k(config) {
54154
54212
  const headers = {};
54155
54213
  return {
54156
- baseUri: '/services/data/v66.0',
54214
+ baseUri: '/services/data/v67.0',
54157
54215
  basePath: '/ui-api/records/batch/' + config.urlParams.recordIds + '',
54158
54216
  method: 'get',
54159
54217
  body: null,
@@ -55096,7 +55154,7 @@
55096
55154
  function createResourceRequest$j(config) {
55097
55155
  const headers = {};
55098
55156
  return {
55099
- baseUri: '/services/data/v66.0',
55157
+ baseUri: '/services/data/v67.0',
55100
55158
  basePath: '/ui-api/list-ui/' +
55101
55159
  config.urlParams.objectApiName +
55102
55160
  '/' +
@@ -55151,7 +55209,7 @@
55151
55209
  function createResourceRequest$i(config) {
55152
55210
  const headers = {};
55153
55211
  return {
55154
- baseUri: '/services/data/v66.0',
55212
+ baseUri: '/services/data/v67.0',
55155
55213
  basePath: '/ui-api/list-ui/' + config.urlParams.listViewId + '',
55156
55214
  method: 'get',
55157
55215
  body: null,
@@ -55194,7 +55252,7 @@
55194
55252
  function createResourceRequest$h(config) {
55195
55253
  const headers = {};
55196
55254
  return {
55197
- baseUri: '/services/data/v66.0',
55255
+ baseUri: '/services/data/v67.0',
55198
55256
  basePath: '/ui-api/list-records/' + config.urlParams.listViewId + '',
55199
55257
  method: 'get',
55200
55258
  body: null,
@@ -55553,7 +55611,7 @@
55553
55611
  function createResourceRequest$g(config) {
55554
55612
  const headers = {};
55555
55613
  return {
55556
- baseUri: '/services/data/v66.0',
55614
+ baseUri: '/services/data/v67.0',
55557
55615
  basePath: '/ui-api/list-records/' +
55558
55616
  config.urlParams.objectApiName +
55559
55617
  '/' +
@@ -56036,7 +56094,7 @@
56036
56094
  function createResourceRequest$f(config) {
56037
56095
  const headers = {};
56038
56096
  return {
56039
- baseUri: '/services/data/v66.0',
56097
+ baseUri: '/services/data/v67.0',
56040
56098
  basePath: '/ui-api/list-ui/' + config.urlParams.objectApiName + '',
56041
56099
  method: 'get',
56042
56100
  body: null,
@@ -56233,7 +56291,7 @@
56233
56291
  function createResourceRequest$e(config) {
56234
56292
  const headers = {};
56235
56293
  return {
56236
- baseUri: '/services/data/v66.0',
56294
+ baseUri: '/services/data/v67.0',
56237
56295
  basePath: '/ui-api/mru-list-ui/' + config.urlParams.objectApiName + '',
56238
56296
  method: 'get',
56239
56297
  body: null,
@@ -56276,7 +56334,7 @@
56276
56334
  function createResourceRequest$d(config) {
56277
56335
  const headers = {};
56278
56336
  return {
56279
- baseUri: '/services/data/v66.0',
56337
+ baseUri: '/services/data/v67.0',
56280
56338
  basePath: '/ui-api/mru-list-records/' + config.urlParams.objectApiName + '',
56281
56339
  method: 'get',
56282
56340
  body: null,
@@ -57570,7 +57628,7 @@
57570
57628
  function createResourceRequest$c(config) {
57571
57629
  const headers = {};
57572
57630
  return {
57573
- baseUri: '/services/data/v66.0',
57631
+ baseUri: '/services/data/v67.0',
57574
57632
  basePath: '/ui-api/record-ui/' + config.urlParams.recordIds + '',
57575
57633
  method: 'get',
57576
57634
  body: null,
@@ -58846,7 +58904,7 @@
58846
58904
  function createResourceRequest$b(config) {
58847
58905
  const headers = {};
58848
58906
  return {
58849
- baseUri: '/services/data/v66.0',
58907
+ baseUri: '/services/data/v67.0',
58850
58908
  basePath: '/ui-api/actions/record-defaults/' + config.urlParams.actionApiName + '',
58851
58909
  method: 'get',
58852
58910
  body: null,
@@ -59933,7 +59991,7 @@
59933
59991
  function createResourceRequest$a(config) {
59934
59992
  const headers = {};
59935
59993
  return {
59936
- baseUri: '/services/data/v66.0',
59994
+ baseUri: '/services/data/v67.0',
59937
59995
  basePath: '/ui-api/related-list-records/' +
59938
59996
  config.urlParams.parentRecordId +
59939
59997
  '/' +
@@ -60251,7 +60309,7 @@
60251
60309
  function createResourceRequest$9(config) {
60252
60310
  const headers = {};
60253
60311
  return {
60254
- baseUri: '/services/data/v66.0',
60312
+ baseUri: '/services/data/v67.0',
60255
60313
  basePath: '/ui-api/related-list-records/batch/' + config.urlParams.parentRecordId + '',
60256
60314
  method: 'post',
60257
60315
  body: config.body,
@@ -60834,7 +60892,7 @@
60834
60892
  function createResourceRequest$8(config) {
60835
60893
  const headers = {};
60836
60894
  return {
60837
- baseUri: '/services/data/v66.0',
60895
+ baseUri: '/services/data/v67.0',
60838
60896
  basePath: '/ui-api/search/results',
60839
60897
  method: 'post',
60840
60898
  body: config.body,
@@ -61050,7 +61108,7 @@
61050
61108
  function createResourceRequest$7(config) {
61051
61109
  const headers = {};
61052
61110
  return {
61053
- baseUri: '/services/data/v66.0',
61111
+ baseUri: '/services/data/v67.0',
61054
61112
  basePath: '/ui-api/search/results/keyword',
61055
61113
  method: 'post',
61056
61114
  body: config.body,
@@ -61598,7 +61656,7 @@
61598
61656
  function createResourceRequest$6(config) {
61599
61657
  const headers = {};
61600
61658
  return {
61601
- baseUri: '/services/data/v66.0',
61659
+ baseUri: '/services/data/v67.0',
61602
61660
  basePath: '/ui-api/lookups/' +
61603
61661
  config.urlParams.objectApiName +
61604
61662
  '/' +
@@ -62113,7 +62171,7 @@
62113
62171
  function createResourceRequest$5(config) {
62114
62172
  const headers = {};
62115
62173
  return {
62116
- baseUri: '/services/data/v66.0',
62174
+ baseUri: '/services/data/v67.0',
62117
62175
  basePath: '/ui-api/record-defaults/create/' + config.urlParams.objectApiName + '',
62118
62176
  method: 'get',
62119
62177
  body: null,
@@ -62661,7 +62719,7 @@
62661
62719
  function createResourceRequest$4(config) {
62662
62720
  const headers = {};
62663
62721
  return {
62664
- baseUri: '/services/data/v66.0',
62722
+ baseUri: '/services/data/v67.0',
62665
62723
  basePath: '/ui-api/record-defaults/template/clone/' + config.urlParams.recordId + '',
62666
62724
  method: 'get',
62667
62725
  body: null,
@@ -63209,7 +63267,7 @@
63209
63267
  function createResourceRequest$3(config) {
63210
63268
  const headers = {};
63211
63269
  return {
63212
- baseUri: '/services/data/v66.0',
63270
+ baseUri: '/services/data/v67.0',
63213
63271
  basePath: '/ui-api/record-defaults/template/create/' + config.urlParams.objectApiName + '',
63214
63272
  method: 'get',
63215
63273
  body: null,
@@ -93837,7 +93895,7 @@
93837
93895
  }
93838
93896
 
93839
93897
  // note this is automatically incremented by scripts/release/bump-api-version.js at each release
93840
- const apiVersion$1 = `v66.0`;
93898
+ const apiVersion$1 = `v67.0`;
93841
93899
  const basePath = `/services/data/${apiVersion$1}`;
93842
93900
 
93843
93901
  class NetworkRecordLoader {
@@ -94341,7 +94399,7 @@
94341
94399
  // so eslint doesn't complain about nimbus
94342
94400
  /* global __nimbus */
94343
94401
  // note this is automatically incremented by scripts/release/bump-api-version.js at each release
94344
- const apiVersion = `v66.0`;
94402
+ const apiVersion = `v67.0`;
94345
94403
  const batchObjectInfoEndpoint = `/services/data/${apiVersion}/ui-api/object-info/batch`;
94346
94404
  const objectInfoDirectoryEndpoint = `/services/data/${apiVersion}/ui-api/object-info`;
94347
94405
  class NimbusPrimingNetworkAdapter {
@@ -94765,7 +94823,7 @@
94765
94823
  function createResourceRequest$2$1(config) {
94766
94824
  const headers = {};
94767
94825
  return {
94768
- baseUri: '/services/data/v66.0',
94826
+ baseUri: '/services/data/v67.0',
94769
94827
  basePath: '/graphql',
94770
94828
  method: 'post',
94771
94829
  body: { ...config.body, query: print$1(config.body.query) },
@@ -94891,7 +94949,7 @@
94891
94949
  const headers = {};
94892
94950
  const transformedConfig = stripDocumentsOfMetaschema$1(config);
94893
94951
  return {
94894
- baseUri: '/services/data/v66.0',
94952
+ baseUri: '/services/data/v67.0',
94895
94953
  basePath: '/graphql/batch',
94896
94954
  method: 'post',
94897
94955
  body: transformedConfig.body,
@@ -96523,7 +96581,10 @@
96523
96581
  coerceAuraErrors(auraErrors) {
96524
96582
  return toError(auraErrors[0]);
96525
96583
  }
96526
- async coerceFetchErrors(errorResponse) {
96584
+ /**
96585
+ * Customize how non-2xx fetch fallback responses are converted into errors.
96586
+ */
96587
+ async coerceError(errorResponse) {
96527
96588
  return toError(errorResponse.statusText);
96528
96589
  }
96529
96590
  convertAuraResponseToData(responsePromise, coerceError) {
@@ -96561,7 +96622,7 @@
96561
96622
  }
96562
96623
  });
96563
96624
  } else {
96564
- return this.coerceFetchErrors(response2).then((coercedError) => {
96625
+ return this.coerceError(response2).then((coercedError) => {
96565
96626
  return err$1(coercedError);
96566
96627
  }).finally(() => {
96567
96628
  try {
@@ -97202,7 +97263,7 @@
97202
97263
  coerceAuraErrors(auraErrors) {
97203
97264
  return toError(auraErrors[0]);
97204
97265
  }
97205
- async coerceFetchError(errorResponse) {
97266
+ async coerceError(errorResponse) {
97206
97267
  return toError(errorResponse.statusText);
97207
97268
  }
97208
97269
  processAuraReturnValue(auraReturnValue) {
@@ -97248,7 +97309,7 @@
97248
97309
  }
97249
97310
  });
97250
97311
  } else {
97251
- return this.coerceFetchError(response2).then((coercedError) => {
97312
+ return this.coerceError(response2).then((coercedError) => {
97252
97313
  return err$1(coercedError);
97253
97314
  }).finally(() => {
97254
97315
  try {
@@ -97346,7 +97407,7 @@
97346
97407
  coerceAuraErrors(auraErrors) {
97347
97408
  return toError(auraErrors[0]);
97348
97409
  }
97349
- async coerceFetchError(errorResponse) {
97410
+ async coerceError(errorResponse) {
97350
97411
  return toError(errorResponse.statusText);
97351
97412
  }
97352
97413
  processAuraReturnValue(auraReturnValue) {
@@ -97392,7 +97453,7 @@
97392
97453
  }
97393
97454
  });
97394
97455
  } else {
97395
- return this.coerceFetchError(response2).then((coercedError) => {
97456
+ return this.coerceError(response2).then((coercedError) => {
97396
97457
  return err$1(coercedError);
97397
97458
  }).finally(() => {
97398
97459
  try {
@@ -98636,7 +98697,7 @@
98636
98697
  },
98637
98698
  };
98638
98699
  }
98639
- // version: 1.412.1-944b7de7af
98700
+ // version: 1.414.0-3d95b40524
98640
98701
 
98641
98702
  /**
98642
98703
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -98662,7 +98723,7 @@
98662
98723
  },
98663
98724
  };
98664
98725
  }
98665
- // version: 1.412.1-944b7de7af
98726
+ // version: 1.414.0-3d95b40524
98666
98727
 
98667
98728
  /*!
98668
98729
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -99665,7 +99726,16 @@
99665
99726
  return async (...params) => {
99666
99727
  try {
99667
99728
  if (params.length) {
99668
- params[0] = wrapConfigAndVerify(params[0]);
99729
+ const options = {
99730
+ acceptedOperations: ["query"]
99731
+ };
99732
+ const result = resolveAndValidateGraphQLConfig(params[0], options);
99733
+ if (result == null ? void 0 : result.isErr()) {
99734
+ return result.error;
99735
+ }
99736
+ if (result == null ? void 0 : result.isOk()) {
99737
+ params[0] = result.value;
99738
+ }
99669
99739
  }
99670
99740
  return await buildBaseImperativeInvoker(getCommand, (result) => this.transformResult(result, exposeRefresh))(...params);
99671
99741
  } catch (error) {
@@ -99756,7 +99826,19 @@
99756
99826
  class GraphQLLegacyImperativeBindingsService {
99757
99827
  bind(getCommand) {
99758
99828
  const invoke = async (config, requestContext, callback) => {
99759
- config = wrapConfigAndVerify(config);
99829
+ if (config) {
99830
+ const options = {
99831
+ acceptedOperations: ["query"]
99832
+ };
99833
+ const result = resolveAndValidateGraphQLConfig(config, options);
99834
+ if (result == null ? void 0 : result.isErr()) {
99835
+ callback(result.error);
99836
+ return;
99837
+ }
99838
+ if (result == null ? void 0 : result.isOk()) {
99839
+ config = result.value;
99840
+ }
99841
+ }
99760
99842
  const command = getCommand({ config, assertIsValid: assertIsValid$1 });
99761
99843
  try {
99762
99844
  const overrides = getOverridesForLegacyRequestContext(requestContext);
@@ -99785,7 +99867,20 @@
99785
99867
  }
99786
99868
  };
99787
99869
  const subscribe = (config, requestContext, callback) => {
99788
- config = wrapConfigAndVerify(config);
99870
+ if (config) {
99871
+ const options = {
99872
+ acceptedOperations: ["query"]
99873
+ };
99874
+ const result = resolveAndValidateGraphQLConfig(config, options);
99875
+ if (result == null ? void 0 : result.isErr()) {
99876
+ callback(result.error);
99877
+ return () => {
99878
+ };
99879
+ }
99880
+ if (result == null ? void 0 : result.isOk()) {
99881
+ config = result.value;
99882
+ }
99883
+ }
99789
99884
  const command = getCommand({ config, assertIsValid: assertIsValid$1 });
99790
99885
  let unsubscribe = () => {
99791
99886
  };
@@ -99834,9 +99929,19 @@
99834
99929
  return async (...params) => {
99835
99930
  try {
99836
99931
  if (params.length) {
99837
- params[0] = wrapConfigAndVerify(params[0], {
99932
+ const options = {
99838
99933
  acceptedOperations: ["mutation"]
99839
- });
99934
+ };
99935
+ const result2 = resolveAndValidateGraphQLConfig(params[0], options);
99936
+ if (result2 == null ? void 0 : result2.isErr()) {
99937
+ return {
99938
+ data: void 0,
99939
+ errors: result2.error.errors
99940
+ };
99941
+ }
99942
+ if (result2 == null ? void 0 : result2.isOk()) {
99943
+ params[0] = result2.value;
99944
+ }
99840
99945
  }
99841
99946
  const command = getCommand({ params, assertIsValid: assertIsValid$1 });
99842
99947
  const result = await command.execute({ cacheControlConfig: { type: "no-cache" } });
@@ -100166,16 +100271,25 @@
100166
100271
  }
100167
100272
  update(config, _context) {
100168
100273
  this.unsubscribe();
100169
- const resolvedQuery = resolveAst(config.query);
100170
- if (resolvedQuery) {
100171
- validateGraphQLOperations(
100172
- { query: resolvedQuery, operationName: config == null ? void 0 : config.operationName },
100173
- { acceptedOperations: ["query"] }
100174
- );
100274
+ const options = {
100275
+ acceptedOperations: ["query"]
100276
+ };
100277
+ const result = resolveAndValidateGraphQLConfig(config, options);
100278
+ if (!result) {
100279
+ return;
100175
100280
  }
100281
+ if (result.isErr()) {
100282
+ const error = result.error;
100283
+ this.callback({
100284
+ data: void 0,
100285
+ errors: error.errors
100286
+ });
100287
+ return;
100288
+ }
100289
+ const { query, ...rest } = result.value;
100176
100290
  this.config = {
100177
- ...sanitize(config),
100178
- query: resolvedQuery
100291
+ query,
100292
+ ...sanitize(rest)
100179
100293
  };
100180
100294
  this.invokeAdapter();
100181
100295
  }
@@ -101247,7 +101361,7 @@
101247
101361
  id: '@salesforce/lds-network-adapter',
101248
101362
  instrument: instrument$2,
101249
101363
  });
101250
- // version: 1.412.1-054d9a1111
101364
+ // version: 1.414.0-ff06871479
101251
101365
 
101252
101366
  const { create: create$3, keys: keys$3 } = Object;
101253
101367
  const { stringify, parse } = JSON;
@@ -101296,7 +101410,7 @@
101296
101410
  this.errors.unshift(error);
101297
101411
  }
101298
101412
  toValidationResponse() {
101299
- return !this.hasErrors() ? ok$3(true) : err$3(this.errors);
101413
+ return !this.hasErrors() ? ok$4(true) : err$4(this.errors);
101300
101414
  }
101301
101415
  }
101302
101416
  function createThrowableError(errors) {
@@ -101332,10 +101446,10 @@
101332
101446
  );
101333
101447
  }
101334
101448
  function validSchemaResponse() {
101335
- return ok$3(true);
101449
+ return ok$4(true);
101336
101450
  }
101337
101451
  function invalidSchemaResponseWithError(error) {
101338
- return err$3([error]);
101452
+ return err$4([error]);
101339
101453
  }
101340
101454
  function validateJsonSchema(data, schema, path = "$", document = schema) {
101341
101455
  if (schema === true) return validSchemaResponse();
@@ -101848,35 +101962,35 @@
101848
101962
  function extractVariableValue(variableName, variableDefinitions) {
101849
101963
  const variable = variableDefinitions[variableName];
101850
101964
  if (!variable) {
101851
- return err$3(
101965
+ return err$4(
101852
101966
  new Error(`Variable '${variableName}' was used in the query but was not defined`)
101853
101967
  );
101854
101968
  }
101855
101969
  if (variable.value !== void 0) {
101856
- return ok$3(variable.value);
101970
+ return ok$4(variable.value);
101857
101971
  }
101858
101972
  if (variable.definition.defaultValue) {
101859
101973
  return extractValue(variable.definition.defaultValue, variableDefinitions);
101860
101974
  }
101861
- return ok$3(void 0);
101975
+ return ok$4(void 0);
101862
101976
  }
101863
101977
  function validateExpectedType(value, expectedType) {
101864
101978
  if (!expectedType) {
101865
- return ok$3(value);
101979
+ return ok$4(value);
101866
101980
  }
101867
101981
  if (value === null) {
101868
101982
  if (expectedType.nullable) {
101869
- return ok$3(value);
101983
+ return ok$4(value);
101870
101984
  } else {
101871
- return err$3(new Error(`Expected ${expectedType.type}, but got null`));
101985
+ return err$4(new Error(`Expected ${expectedType.type}, but got null`));
101872
101986
  }
101873
101987
  }
101874
101988
  const actualType = typeof value;
101875
101989
  if (actualType === expectedType.type) {
101876
- return ok$3(value);
101990
+ return ok$4(value);
101877
101991
  }
101878
101992
  const expectedTypeString = expectedType.nullable ? `${expectedType.type} | null` : expectedType.type;
101879
- return err$3(
101993
+ return err$4(
101880
101994
  new Error(`Expected ${expectedTypeString}, but got ${actualType}: ${JSON.stringify(value)}`)
101881
101995
  );
101882
101996
  }
@@ -101919,10 +102033,10 @@
101919
102033
  (def) => def.kind === Kind.OPERATION_DEFINITION
101920
102034
  );
101921
102035
  if (operations.length === 0) {
101922
- return err$3(new Error("No operations found in query"));
102036
+ return err$4(new Error("No operations found in query"));
101923
102037
  }
101924
102038
  if (operations.length === 1 && !input.operationName) {
101925
- return ok$3(operations[0]);
102039
+ return ok$4(operations[0]);
101926
102040
  }
101927
102041
  if (input.operationName) {
101928
102042
  const specifiedOperation = operations.find((op) => {
@@ -101930,16 +102044,16 @@
101930
102044
  return ((_a = op.name) == null ? void 0 : _a.value) === input.operationName;
101931
102045
  });
101932
102046
  if (specifiedOperation) {
101933
- return ok$3(specifiedOperation);
102047
+ return ok$4(specifiedOperation);
101934
102048
  }
101935
- return err$3(new Error(`Operation "${input.operationName}" not found in query`));
102049
+ return err$4(new Error(`Operation "${input.operationName}" not found in query`));
101936
102050
  }
101937
- return err$3(new Error("Multiple operations found in query, and no operation name provided"));
102051
+ return err$4(new Error("Multiple operations found in query, and no operation name provided"));
101938
102052
  }
101939
102053
  function buildGraphQLInputExtension(input) {
101940
102054
  const operationResult = findExecutableOperation(input);
101941
102055
  if (operationResult.isErr()) {
101942
- return err$3(operationResult.error);
102056
+ return err$4(operationResult.error);
101943
102057
  }
101944
102058
  const operation = operationResult.value;
101945
102059
  const selections = operation.selectionSet.selections;
@@ -101956,7 +102070,7 @@
101956
102070
  prev[fragment.name.value] = fragment;
101957
102071
  return prev;
101958
102072
  }, {});
101959
- return ok$3({
102073
+ return ok$4({
101960
102074
  selections,
101961
102075
  request: { definitions: { variables, fragments } },
101962
102076
  parentFieldSelection: void 0
@@ -102112,13 +102226,13 @@
102112
102226
  }
102113
102227
  function buildFieldKey(canonicalFieldName, fieldArguments, variables) {
102114
102228
  if (fieldArguments === void 0 || fieldArguments.length === 0) {
102115
- return ok$3(canonicalFieldName);
102229
+ return ok$4(canonicalFieldName);
102116
102230
  }
102117
102231
  const formattedArguments = {};
102118
102232
  for (const arg of fieldArguments) {
102119
102233
  const result = extractValue(arg.value, variables);
102120
102234
  if (result.isErr()) {
102121
- return err$3(
102235
+ return err$4(
102122
102236
  new Error(
102123
102237
  `Failed to extract argument '${arg.name.value}' for field '${canonicalFieldName}': ${result.error.message}`
102124
102238
  )
@@ -102126,7 +102240,7 @@
102126
102240
  }
102127
102241
  formattedArguments[arg.name.value] = result.value;
102128
102242
  }
102129
- return ok$3(`${canonicalFieldName}::${stableJSONStringify$3({ args: formattedArguments })}`);
102243
+ return ok$4(`${canonicalFieldName}::${stableJSONStringify$3({ args: formattedArguments })}`);
102130
102244
  }
102131
102245
  ({
102132
102246
  kind: Kind.FIELD,
@@ -102151,17 +102265,17 @@
102151
102265
  var _a;
102152
102266
  const ifArg = (_a = directive.arguments) == null ? void 0 : _a.find((arg) => arg.name.value === "if");
102153
102267
  if (!ifArg) {
102154
- return err$3(new Error(`@${directiveName} directive requires an 'if' argument`));
102268
+ return err$4(new Error(`@${directiveName} directive requires an 'if' argument`));
102155
102269
  }
102156
102270
  const result = extractValue(ifArg.value, variables, { type: "boolean", nullable: false });
102157
102271
  if (result.isErr()) {
102158
- return err$3(result.error);
102272
+ return err$4(result.error);
102159
102273
  }
102160
- return ok$3(result.value);
102274
+ return ok$4(result.value);
102161
102275
  }
102162
102276
  function shouldSkip(selection, variables) {
102163
102277
  if (!selection.directives || selection.directives.length === 0) {
102164
- return ok$3(false);
102278
+ return ok$4(false);
102165
102279
  }
102166
102280
  for (const directive of selection.directives) {
102167
102281
  if (directive.name.value === "skip") {
@@ -102170,7 +102284,7 @@
102170
102284
  return ifResult;
102171
102285
  }
102172
102286
  if (ifResult.value === true) {
102173
- return ok$3(true);
102287
+ return ok$4(true);
102174
102288
  }
102175
102289
  }
102176
102290
  if (directive.name.value === "include") {
@@ -102179,11 +102293,11 @@
102179
102293
  return ifResult;
102180
102294
  }
102181
102295
  if (ifResult.value === false) {
102182
- return ok$3(true);
102296
+ return ok$4(true);
102183
102297
  }
102184
102298
  }
102185
102299
  }
102186
- return ok$3(false);
102300
+ return ok$4(false);
102187
102301
  }
102188
102302
  class BaseScalarFieldDef {
102189
102303
  constructor(nullable) {
@@ -102191,11 +102305,11 @@
102191
102305
  }
102192
102306
  write(_cache, input) {
102193
102307
  if (input.data === void 0) {
102194
- return ok$3({ type: "missing" });
102308
+ return ok$4({ type: "missing" });
102195
102309
  }
102196
102310
  if (input.data === null) {
102197
102311
  if (!this.nullable) {
102198
- return err$3([
102312
+ return err$4([
102199
102313
  {
102200
102314
  type: "unknown",
102201
102315
  error: new Error(
@@ -102205,14 +102319,14 @@
102205
102319
  ]);
102206
102320
  }
102207
102321
  }
102208
- return ok$3({ type: "data", data: input.data });
102322
+ return ok$4({ type: "data", data: input.data });
102209
102323
  }
102210
102324
  read(_cache, input) {
102211
102325
  const normalizedData = input.normalizedData;
102212
102326
  if (normalizedData.type === "missing") {
102213
- return ok$3(void 0);
102327
+ return ok$4(void 0);
102214
102328
  }
102215
- return ok$3(normalizedData.data);
102329
+ return ok$4(normalizedData.data);
102216
102330
  }
102217
102331
  augmentSelections(input) {
102218
102332
  return input;
@@ -102234,11 +102348,11 @@
102234
102348
  }
102235
102349
  write(cache, input) {
102236
102350
  if (input.data === void 0) {
102237
- return ok$3({ type: "missing" });
102351
+ return ok$4({ type: "missing" });
102238
102352
  }
102239
102353
  if (input.data === null) {
102240
102354
  if (!this.nullable) {
102241
- return err$3([
102355
+ return err$4([
102242
102356
  {
102243
102357
  type: "unknown",
102244
102358
  error: new Error(
@@ -102247,10 +102361,10 @@
102247
102361
  }
102248
102362
  ]);
102249
102363
  }
102250
- return ok$3({ type: "data", data: input.data });
102364
+ return ok$4({ type: "data", data: input.data });
102251
102365
  }
102252
102366
  if (!Array.isArray(input.data)) {
102253
- return err$3([
102367
+ return err$4([
102254
102368
  {
102255
102369
  type: "unknown",
102256
102370
  error: new Error(
@@ -102278,18 +102392,18 @@
102278
102392
  }
102279
102393
  });
102280
102394
  if (arrayNormalizationErrors.length > 0) {
102281
- return err$3(arrayNormalizationErrors);
102395
+ return err$4(arrayNormalizationErrors);
102282
102396
  }
102283
- return ok$3({ type: "data", data: normalizedArray });
102397
+ return ok$4({ type: "data", data: normalizedArray });
102284
102398
  }
102285
102399
  read(cache, input) {
102286
102400
  const normalizedData = input.normalizedData;
102287
102401
  if (normalizedData.type === "missing") {
102288
- return ok$3(void 0);
102402
+ return ok$4(void 0);
102289
102403
  }
102290
102404
  if (normalizedData.data === null) {
102291
102405
  if (!this.nullable) {
102292
- return err$3([
102406
+ return err$4([
102293
102407
  {
102294
102408
  type: "unknown",
102295
102409
  error: new Error(
@@ -102298,10 +102412,10 @@
102298
102412
  }
102299
102413
  ]);
102300
102414
  }
102301
- return ok$3({ type: "data", data: null });
102415
+ return ok$4({ type: "data", data: null });
102302
102416
  }
102303
102417
  if (!Array.isArray(normalizedData.data)) {
102304
- return err$3([
102418
+ return err$4([
102305
102419
  {
102306
102420
  type: "unknown",
102307
102421
  error: new Error(
@@ -102326,9 +102440,9 @@
102326
102440
  }
102327
102441
  });
102328
102442
  if (arrayDenormalizationErrors.length > 0) {
102329
- return err$3(arrayDenormalizationErrors);
102443
+ return err$4(arrayDenormalizationErrors);
102330
102444
  }
102331
- return ok$3(denormalizedArray);
102445
+ return ok$4(denormalizedArray);
102332
102446
  }
102333
102447
  }
102334
102448
  class BaseObjectFieldDef {
@@ -102345,7 +102459,7 @@
102345
102459
  write(cache, input) {
102346
102460
  var _a;
102347
102461
  if (!input.selection.selectionSet) {
102348
- return err$3([
102462
+ return err$4([
102349
102463
  {
102350
102464
  type: "unknown",
102351
102465
  error: new Error(
@@ -102355,11 +102469,11 @@
102355
102469
  ]);
102356
102470
  }
102357
102471
  if (input.data === void 0) {
102358
- return ok$3({ type: "missing" });
102472
+ return ok$4({ type: "missing" });
102359
102473
  }
102360
102474
  if (input.data === null) {
102361
102475
  if (!this.nullable) {
102362
- return err$3([
102476
+ return err$4([
102363
102477
  {
102364
102478
  type: "unknown",
102365
102479
  error: new Error(
@@ -102368,7 +102482,7 @@
102368
102482
  }
102369
102483
  ]);
102370
102484
  }
102371
- return ok$3({ type: "data", data: null });
102485
+ return ok$4({ type: "data", data: null });
102372
102486
  }
102373
102487
  const writeResult = this.repository.write(cache, {
102374
102488
  ...input,
@@ -102381,12 +102495,12 @@
102381
102495
  if (writeResult.isErr()) {
102382
102496
  return writeResult;
102383
102497
  }
102384
- return ok$3({ type: "data", data: writeResult.value });
102498
+ return ok$4({ type: "data", data: writeResult.value });
102385
102499
  }
102386
102500
  read(cache, input) {
102387
102501
  var _a;
102388
102502
  if (!input.selection.selectionSet) {
102389
- return err$3([
102503
+ return err$4([
102390
102504
  {
102391
102505
  type: "unknown",
102392
102506
  error: new Error(
@@ -102397,11 +102511,11 @@
102397
102511
  }
102398
102512
  const normalizedData = input.normalizedData;
102399
102513
  if (normalizedData.type === "missing") {
102400
- return ok$3(void 0);
102514
+ return ok$4(void 0);
102401
102515
  }
102402
102516
  if (normalizedData.data === null) {
102403
102517
  if (!this.nullable) {
102404
- return err$3([
102518
+ return err$4([
102405
102519
  {
102406
102520
  type: "unknown",
102407
102521
  error: new Error(
@@ -102410,7 +102524,7 @@
102410
102524
  }
102411
102525
  ]);
102412
102526
  }
102413
- return ok$3(null);
102527
+ return ok$4(null);
102414
102528
  }
102415
102529
  return this.repository.read(cache, {
102416
102530
  ...input,
@@ -102693,7 +102807,7 @@
102693
102807
  var _a;
102694
102808
  const fieldDef = this.getFieldDef(input, selection);
102695
102809
  if (!fieldDef) {
102696
- return err$3(
102810
+ return err$4(
102697
102811
  new Error(
102698
102812
  `Unknown field "${selection.name.value}" on type "${this.typeName}". Expected one of fields ${Object.keys(this.fields)}.`
102699
102813
  )
@@ -102704,10 +102818,10 @@
102704
102818
  input.request.definitions.variables
102705
102819
  );
102706
102820
  if (cacheFieldKeyResult.isErr()) {
102707
- return err$3(cacheFieldKeyResult.error);
102821
+ return err$4(cacheFieldKeyResult.error);
102708
102822
  }
102709
102823
  const cacheFieldKey = cacheFieldKeyResult.value;
102710
- return ok$3((_a = input.existingNormalizedData || input.normalizedData) == null ? void 0 : _a[cacheFieldKey]);
102824
+ return ok$4((_a = input.existingNormalizedData || input.normalizedData) == null ? void 0 : _a[cacheFieldKey]);
102711
102825
  }
102712
102826
  denormalizeFieldSelection(cache, input, selection, errorCollector) {
102713
102827
  var _a;
@@ -102813,22 +102927,22 @@
102813
102927
  return shouldSkipResult;
102814
102928
  }
102815
102929
  if (shouldSkipResult.value) {
102816
- return ok$3(false);
102930
+ return ok$4(false);
102817
102931
  }
102818
102932
  return this.satisfiesFragmentTypeCondition(input, fragment);
102819
102933
  }
102820
102934
  satisfiesFragmentTypeCondition(_input, fragment) {
102821
102935
  if (!fragment.typeCondition) {
102822
- return ok$3(true);
102936
+ return ok$4(true);
102823
102937
  }
102824
102938
  const conditionalTypeName = fragment.typeCondition.name.value;
102825
102939
  if (conditionalTypeName === this.typeName) {
102826
- return ok$3(true);
102940
+ return ok$4(true);
102827
102941
  }
102828
102942
  if (this.implementedInterfaces.includes(conditionalTypeName)) {
102829
- return ok$3(true);
102943
+ return ok$4(true);
102830
102944
  }
102831
- return ok$3(false);
102945
+ return ok$4(false);
102832
102946
  }
102833
102947
  getCacheKeyFieldArguments(selection) {
102834
102948
  return selection.arguments;
@@ -102887,7 +103001,7 @@
102887
103001
  const key = this.buildKey(this.buildKeyParams(input));
102888
103002
  const normalized = this.normalizeData(cache, input);
102889
103003
  if (normalized.isErr()) {
102890
- return err$3(normalized.error);
103004
+ return err$4(normalized.error);
102891
103005
  }
102892
103006
  const existing = cache.get(key);
102893
103007
  if (!deepEquals$2(existing == null ? void 0 : existing.value, normalized.value)) {
@@ -102896,7 +103010,7 @@
102896
103010
  metadata: this.cacheMetadata
102897
103011
  });
102898
103012
  }
102899
- return ok$3({
103013
+ return ok$4({
102900
103014
  type: "link",
102901
103015
  linkedKey: key
102902
103016
  });
@@ -102911,7 +103025,7 @@
102911
103025
  if (normalizeDataResult.isErr()) {
102912
103026
  return normalizeDataResult;
102913
103027
  }
102914
- return ok$3(
103028
+ return ok$4(
102915
103029
  deepMerge$2(
102916
103030
  {},
102917
103031
  (existingNormalizedData == null ? void 0 : existingNormalizedData.value) || {},
@@ -102981,7 +103095,7 @@
102981
103095
  if (result.isErr()) {
102982
103096
  return result;
102983
103097
  }
102984
- return ok$3({
103098
+ return ok$4({
102985
103099
  data: result.value
102986
103100
  });
102987
103101
  }
@@ -102989,7 +103103,7 @@
102989
103103
  var _a;
102990
103104
  const operationResult = findExecutableOperation(input);
102991
103105
  if (operationResult.isErr()) {
102992
- return err$3(operationResult.error);
103106
+ return err$4(operationResult.error);
102993
103107
  }
102994
103108
  const operation = operationResult.value;
102995
103109
  const fragmentDefinitions = input.query.definitions.filter(
@@ -103012,7 +103126,7 @@
103012
103126
  ...operation,
103013
103127
  selectionSet: { kind: Kind.SELECTION_SET, selections: augmentedOperationSelections }
103014
103128
  };
103015
- return ok$3({
103129
+ return ok$4({
103016
103130
  ...input.query,
103017
103131
  definitions: [
103018
103132
  ...input.query.definitions.filter((def) => def.kind !== Kind.FRAGMENT_DEFINITION).map((def) => {
@@ -103047,7 +103161,7 @@
103047
103161
  }
103048
103162
  write(cache, input) {
103049
103163
  if (typeof input.data !== "object") {
103050
- return err$3([
103164
+ return err$4([
103051
103165
  {
103052
103166
  type: "unknown",
103053
103167
  error: new Error(`Got a non-object value for ${this.typeName} field"`)
@@ -103057,7 +103171,7 @@
103057
103171
  const discriminator = this.getTypeDiscriminator(input.data, input.selections);
103058
103172
  const concreteTypeRepository = this.possibleTypes[discriminator];
103059
103173
  if (!concreteTypeRepository) {
103060
- return err$3([
103174
+ return err$4([
103061
103175
  {
103062
103176
  type: "unknown",
103063
103177
  error: new Error(
@@ -103068,7 +103182,7 @@
103068
103182
  }
103069
103183
  const selectionErr = this.verifyInterfaceFields(input.selections);
103070
103184
  if (selectionErr) {
103071
- return err$3(selectionErr);
103185
+ return err$4(selectionErr);
103072
103186
  }
103073
103187
  const normalizeInput = {
103074
103188
  ...input,
@@ -103080,14 +103194,14 @@
103080
103194
  };
103081
103195
  const result = concreteTypeRepository.write(cache, normalizeInput);
103082
103196
  if (result.isOk()) {
103083
- return ok$3({ discriminator, data: result.value });
103197
+ return ok$4({ discriminator, data: result.value });
103084
103198
  }
103085
103199
  return result;
103086
103200
  }
103087
103201
  read(cache, input) {
103088
103202
  const unionRep = input.normalizedData;
103089
103203
  if (typeof unionRep.data !== "object" || unionRep.data === null) {
103090
- return err$3([
103204
+ return err$4([
103091
103205
  {
103092
103206
  type: "unknown",
103093
103207
  error: new Error(`Got a non-object value for ${this.typeName} field.`)
@@ -103097,7 +103211,7 @@
103097
103211
  const discriminator = unionRep.discriminator;
103098
103212
  const concreteRepository = this.possibleTypes[discriminator];
103099
103213
  if (!concreteRepository) {
103100
- return err$3([
103214
+ return err$4([
103101
103215
  {
103102
103216
  type: "unknown",
103103
103217
  error: new Error(
@@ -103108,7 +103222,7 @@
103108
103222
  }
103109
103223
  const selectionErr = this.verifyInterfaceFields(input.selections);
103110
103224
  if (selectionErr) {
103111
- return err$3(selectionErr);
103225
+ return err$4(selectionErr);
103112
103226
  }
103113
103227
  const denormalizeInput = {
103114
103228
  ...input,
@@ -103213,7 +103327,7 @@
103213
103327
  }
103214
103328
  write(cache, input) {
103215
103329
  if (typeof input.data !== "object") {
103216
- return err$3([
103330
+ return err$4([
103217
103331
  {
103218
103332
  type: "unknown",
103219
103333
  error: new Error(`Got a non-object value for ${this.typeName} field"`)
@@ -103223,7 +103337,7 @@
103223
103337
  const discriminator = this.getTypeDiscriminator(input.data, input.selections);
103224
103338
  const concreteTypeRepository = this.possibleTypes[discriminator];
103225
103339
  if (!concreteTypeRepository) {
103226
- return err$3([
103340
+ return err$4([
103227
103341
  {
103228
103342
  type: "unknown",
103229
103343
  error: new Error(
@@ -103234,7 +103348,7 @@
103234
103348
  }
103235
103349
  const selectionErr = this.verifyUnionFields(input.selections);
103236
103350
  if (selectionErr) {
103237
- return err$3(selectionErr);
103351
+ return err$4(selectionErr);
103238
103352
  }
103239
103353
  const normalizeInput = {
103240
103354
  ...input,
@@ -103246,14 +103360,14 @@
103246
103360
  };
103247
103361
  const result = concreteTypeRepository.write(cache, normalizeInput);
103248
103362
  if (result.isOk()) {
103249
- return ok$3({ discriminator, data: result.value });
103363
+ return ok$4({ discriminator, data: result.value });
103250
103364
  }
103251
103365
  return result;
103252
103366
  }
103253
103367
  read(cache, input) {
103254
103368
  const unionRep = input.normalizedData;
103255
103369
  if (typeof unionRep.data !== "object" || unionRep.data === null) {
103256
- return err$3([
103370
+ return err$4([
103257
103371
  {
103258
103372
  type: "unknown",
103259
103373
  error: new Error(`Got a non-object value for ${this.typeName} field.`)
@@ -103263,7 +103377,7 @@
103263
103377
  const discriminator = unionRep.discriminator;
103264
103378
  const concreteRepository = this.possibleTypes[discriminator];
103265
103379
  if (!concreteRepository) {
103266
- return err$3([
103380
+ return err$4([
103267
103381
  {
103268
103382
  type: "unknown",
103269
103383
  error: new Error(
@@ -103274,7 +103388,7 @@
103274
103388
  }
103275
103389
  const selectionErr = this.verifyUnionFields(input.selections);
103276
103390
  if (selectionErr) {
103277
- return err$3(selectionErr);
103391
+ return err$4(selectionErr);
103278
103392
  }
103279
103393
  const denormalizeInput = {
103280
103394
  ...input,
@@ -107837,7 +107951,7 @@
107837
107951
  this.endpoint = 'RecordUiController.executeGraphQL';
107838
107952
  }
107839
107953
  get url() {
107840
- return '/services/data/v66.0/graphql';
107954
+ return '/services/data/v67.0/graphql';
107841
107955
  }
107842
107956
  get cacheControlStrategyConfig() {
107843
107957
  return {
@@ -115027,15 +115141,13 @@ keys: keys$2,
115027
115141
  const graphql_state_manager_ctor = services.instrumentCommand(buildCommandClass(services.auraGraphQLNormalizedCacheControlCommand), 'graphql_state_manager');
115028
115142
  const factory = (config) => {
115029
115143
  assertIsValid(config, CONFIG_SCHEMA);
115030
- // TODO: really need wrapConfigAndVerify from OneStore
115031
- if (config?.query) {
115032
- const query = resolveAst(config.query);
115033
- if (query === undefined) {
115034
- throw new Error('Internal error in GraphQL adapter occurred: Unable to resolve query');
115035
- }
115036
- config = { ...config, query };
115144
+ const validatedConfig = resolveAndValidateGraphQLConfig(config, {
115145
+ acceptedOperations: ['query'],
115146
+ });
115147
+ if (validatedConfig === undefined || validatedConfig.isErr()) {
115148
+ throw new Error('Internal error in GraphQL adapter occurred: Unable to resolve query');
115037
115149
  }
115038
- return new graphql_state_manager_ctor(config, documentRootType, services);
115150
+ return new graphql_state_manager_ctor(validatedConfig.value, documentRootType, services);
115039
115151
  };
115040
115152
  graphql_state_manager = createStateManager(factory, ['query'], ['variables', 'operationName']);
115041
115153
  const executeMutation_ctor = services.instrumentCommand(buildCommandClass(services.auraGraphQLNormalizedCacheControlCommand), 'graphqlCommand');
@@ -115060,7 +115172,7 @@ keys: keys$2,
115060
115172
  cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, graphql_state_manager, useOneStoreGraphQL);
115061
115173
  }
115062
115174
  }
115063
- // version: 1.412.1-944b7de7af
115175
+ // version: 1.414.0-3d95b40524
115064
115176
 
115065
115177
  function createFragmentMap(documentNode) {
115066
115178
  const fragments = {};
@@ -142887,7 +142999,7 @@ keys: keys$2,
142887
142999
  function createResourceRequest$2(config) {
142888
143000
  const headers = {};
142889
143001
  return {
142890
- baseUri: '/services/data/v66.0',
143002
+ baseUri: '/services/data/v67.0',
142891
143003
  basePath: '/graphql',
142892
143004
  method: 'post',
142893
143005
  body: { ...config.body,
@@ -143313,7 +143425,7 @@ keys: keys$2,
143313
143425
  const headers = {};
143314
143426
  const transformedConfig = stripDocumentsOfMetaschema(config);
143315
143427
  return {
143316
- baseUri: '/services/data/v66.0',
143428
+ baseUri: '/services/data/v67.0',
143317
143429
  basePath: '/graphql/batch',
143318
143430
  method: 'post',
143319
143431
  body: transformedConfig.body,
@@ -144285,7 +144397,7 @@ keys: keys$2,
144285
144397
  configuration: { ...configurationForGraphQLAdapters$1 },
144286
144398
  instrument: instrument$1,
144287
144399
  });
144288
- // version: 1.412.1-944b7de7af
144400
+ // version: 1.414.0-3d95b40524
144289
144401
 
144290
144402
  // On core the unstable adapters are re-exported with different names,
144291
144403
  // we want to match them here.
@@ -144437,7 +144549,7 @@ keys: keys$2,
144437
144549
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
144438
144550
  graphQLImperative = ldsAdapter;
144439
144551
  });
144440
- // version: 1.412.1-944b7de7af
144552
+ // version: 1.414.0-3d95b40524
144441
144553
 
144442
144554
  var gqlApi = /*#__PURE__*/Object.freeze({
144443
144555
  __proto__: null,
@@ -145236,7 +145348,7 @@ keys: keys$2,
145236
145348
  function register(r) {
145237
145349
  callbacks$1.forEach((callback) => callback(r));
145238
145350
  }
145239
- // version: 1.412.1-054d9a1111
145351
+ // version: 1.414.0-ff06871479
145240
145352
 
145241
145353
  /**
145242
145354
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -146573,4 +146685,4 @@ keys: keys$2,
146573
146685
  exports.subscribeToAdapter = subscribeToAdapter;
146574
146686
 
146575
146687
  }));
146576
- // version: 1.412.1-054d9a1111
146688
+ // version: 1.414.0-ff06871479