@aimee.shop/sdk 0.33.0 → 0.34.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 (38) hide show
  1. package/dist/core/errors/store-context.d.ts +34 -0
  2. package/dist/core/errors/store-context.d.ts.map +1 -0
  3. package/dist/core/errors/store-context.js +65 -0
  4. package/dist/core/errors/store-context.js.map +1 -0
  5. package/dist/core/http-client.d.ts.map +1 -1
  6. package/dist/core/http-client.js +11 -4
  7. package/dist/core/http-client.js.map +1 -1
  8. package/dist/core/sdk.d.ts +7 -0
  9. package/dist/core/sdk.d.ts.map +1 -1
  10. package/dist/core/sdk.js +10 -0
  11. package/dist/core/sdk.js.map +1 -1
  12. package/dist/generated/core-api.d.ts +447 -67
  13. package/dist/generated/core-api.d.ts.map +1 -1
  14. package/dist/index.d.ts +3 -0
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +2 -0
  17. package/dist/index.js.map +1 -1
  18. package/dist/services/core/context.client.d.ts +38 -0
  19. package/dist/services/core/context.client.d.ts.map +1 -0
  20. package/dist/services/core/context.client.js +47 -0
  21. package/dist/services/core/context.client.js.map +1 -0
  22. package/dist/services/core/storefront/storefront-ai-discovery.client.d.ts +10 -6
  23. package/dist/services/core/storefront/storefront-ai-discovery.client.d.ts.map +1 -1
  24. package/dist/services/core/storefront/storefront-ai-discovery.client.js +14 -6
  25. package/dist/services/core/storefront/storefront-ai-discovery.client.js.map +1 -1
  26. package/dist/services/core/storefront/storefront.client.d.ts +7 -1
  27. package/dist/services/core/storefront/storefront.client.d.ts.map +1 -1
  28. package/dist/services/core/storefront/storefront.client.js +14 -1
  29. package/dist/services/core/storefront/storefront.client.js.map +1 -1
  30. package/dist/services/core/stores/configuration.client.d.ts +3 -1
  31. package/dist/services/core/stores/configuration.client.d.ts.map +1 -1
  32. package/dist/services/core/stores/configuration.client.js +6 -1
  33. package/dist/services/core/stores/configuration.client.js.map +1 -1
  34. package/dist/storefront/index.d.ts +12 -2
  35. package/dist/storefront/index.d.ts.map +1 -1
  36. package/dist/storefront/index.js +8 -0
  37. package/dist/storefront/index.js.map +1 -1
  38. package/package.json +1 -1
@@ -2207,6 +2207,46 @@ export interface paths {
2207
2207
  patch?: never;
2208
2208
  trace?: never;
2209
2209
  };
2210
+ '/v1/store/configuration/merged': {
2211
+ parameters: {
2212
+ query?: never;
2213
+ header?: never;
2214
+ path?: never;
2215
+ cookie?: never;
2216
+ };
2217
+ /**
2218
+ * Get merged settings of the current store
2219
+ * @description Store -> tenant -> system defaults, for the store of the calling key. No store id needed.
2220
+ */
2221
+ get: operations['CurrentStoreConfigurationController_getMergedSettings'];
2222
+ put?: never;
2223
+ post?: never;
2224
+ delete?: never;
2225
+ options?: never;
2226
+ head?: never;
2227
+ patch?: never;
2228
+ trace?: never;
2229
+ };
2230
+ '/v1/store/configuration/storefront': {
2231
+ parameters: {
2232
+ query?: never;
2233
+ header?: never;
2234
+ path?: never;
2235
+ cookie?: never;
2236
+ };
2237
+ /**
2238
+ * Get storefront display settings of the current store
2239
+ * @description Inventory display and review submission mode for the store of the calling key. No store id needed.
2240
+ */
2241
+ get: operations['CurrentStoreConfigurationController_getStorefrontSettings'];
2242
+ put?: never;
2243
+ post?: never;
2244
+ delete?: never;
2245
+ options?: never;
2246
+ head?: never;
2247
+ patch?: never;
2248
+ trace?: never;
2249
+ };
2210
2250
  '/v1/users/me/mfa/setup': {
2211
2251
  parameters: {
2212
2252
  query?: never;
@@ -6737,6 +6777,26 @@ export interface paths {
6737
6777
  patch?: never;
6738
6778
  trace?: never;
6739
6779
  };
6780
+ '/v1/context': {
6781
+ parameters: {
6782
+ query?: never;
6783
+ header?: never;
6784
+ path?: never;
6785
+ cookie?: never;
6786
+ };
6787
+ /**
6788
+ * Get the tenant, store and key of the caller
6789
+ * @description Publishable key, secret key or JWT. A store-bound key returns its store. A tenant-wide key or a JWT returns the store named by x-store-id, or storeId null.
6790
+ */
6791
+ get: operations['CallerContextController_getContext'];
6792
+ put?: never;
6793
+ post?: never;
6794
+ delete?: never;
6795
+ options?: never;
6796
+ head?: never;
6797
+ patch?: never;
6798
+ trace?: never;
6799
+ };
6740
6800
  '/v1/customers': {
6741
6801
  parameters: {
6742
6802
  query?: never;
@@ -12508,6 +12568,40 @@ export interface paths {
12508
12568
  patch?: never;
12509
12569
  trace?: never;
12510
12570
  };
12571
+ '/v1/store/ucp-profile': {
12572
+ parameters: {
12573
+ query?: never;
12574
+ header?: never;
12575
+ path?: never;
12576
+ cookie?: never;
12577
+ };
12578
+ /** Get UCP business profile of the current store */
12579
+ get: operations['CurrentStoreUcpProfileController_getProfile'];
12580
+ put?: never;
12581
+ post?: never;
12582
+ delete?: never;
12583
+ options?: never;
12584
+ head?: never;
12585
+ patch?: never;
12586
+ trace?: never;
12587
+ };
12588
+ '/v1/store/ucp-profile/{version}': {
12589
+ parameters: {
12590
+ query?: never;
12591
+ header?: never;
12592
+ path?: never;
12593
+ cookie?: never;
12594
+ };
12595
+ /** Get UCP business profile of the current store for an older release */
12596
+ get: operations['CurrentStoreUcpProfileController_getLeafProfile'];
12597
+ put?: never;
12598
+ post?: never;
12599
+ delete?: never;
12600
+ options?: never;
12601
+ head?: never;
12602
+ patch?: never;
12603
+ trace?: never;
12604
+ };
12511
12605
  '/v1/ucp/config': {
12512
12606
  parameters: {
12513
12607
  query?: never;
@@ -12968,6 +13062,57 @@ export interface paths {
12968
13062
  patch?: never;
12969
13063
  trace?: never;
12970
13064
  };
13065
+ '/v1/store/ai-discovery/llms.txt': {
13066
+ parameters: {
13067
+ query?: never;
13068
+ header?: never;
13069
+ path?: never;
13070
+ cookie?: never;
13071
+ };
13072
+ /** Get published llms.txt of the current store */
13073
+ get: operations['CurrentStoreAiDiscoveryController_getLlmsTxt'];
13074
+ put?: never;
13075
+ post?: never;
13076
+ delete?: never;
13077
+ options?: never;
13078
+ head?: never;
13079
+ patch?: never;
13080
+ trace?: never;
13081
+ };
13082
+ '/v1/store/ai-discovery/store-schema.json': {
13083
+ parameters: {
13084
+ query?: never;
13085
+ header?: never;
13086
+ path?: never;
13087
+ cookie?: never;
13088
+ };
13089
+ /** Get published store JSON-LD of the current store */
13090
+ get: operations['CurrentStoreAiDiscoveryController_getStoreSchema'];
13091
+ put?: never;
13092
+ post?: never;
13093
+ delete?: never;
13094
+ options?: never;
13095
+ head?: never;
13096
+ patch?: never;
13097
+ trace?: never;
13098
+ };
13099
+ '/v1/store/ai-discovery/products-schema.json': {
13100
+ parameters: {
13101
+ query?: never;
13102
+ header?: never;
13103
+ path?: never;
13104
+ cookie?: never;
13105
+ };
13106
+ /** Get published products JSON-LD of the current store */
13107
+ get: operations['CurrentStoreAiDiscoveryController_getProductsSchema'];
13108
+ put?: never;
13109
+ post?: never;
13110
+ delete?: never;
13111
+ options?: never;
13112
+ head?: never;
13113
+ patch?: never;
13114
+ trace?: never;
13115
+ };
12971
13116
  '/v1/storefront-redirects': {
12972
13117
  parameters: {
12973
13118
  query?: never;
@@ -21711,12 +21856,14 @@ export interface components {
21711
21856
  /** @description Provider display name, e.g. NetSuite */
21712
21857
  providerLabel: string;
21713
21858
  /**
21714
- * @description aimee: Aimee owns the entity and saves sync out. provider: the provider owns it and merchant writes are refused (409). unresolved: the policy could not be read and merchant writes fail closed (503).
21859
+ * @description aimee: Aimee owns the entity and saves sync out. provider: the provider owns it and inbound sync feeds it; merchant writes are refused (409) only when editLocked. unresolved: the policy could not be read and merchant writes fail closed (503).
21715
21860
  * @enum {string}
21716
21861
  */
21717
21862
  owner: 'aimee' | 'provider' | 'unresolved';
21718
21863
  /** @description Authoritative system: 'aimee' or the provider slug */
21719
21864
  authority: string | null;
21865
+ /** @description True when merchant writes are refused: provider-owned with the edit lock on, or unresolved. False for a provider-owned entity means edits are accepted and the next inbound sync may overwrite or flag them. */
21866
+ editLocked: boolean;
21720
21867
  /**
21721
21868
  * @description Sync direction relative to Aimee; null when not declared
21722
21869
  * @enum {string|null}
@@ -27196,6 +27343,39 @@ export interface components {
27196
27343
  /** @description Provider SetupIntent id returned by payments (seti_...) */
27197
27344
  setupIntentId: string;
27198
27345
  };
27346
+ CallerContextResponseDto: {
27347
+ /**
27348
+ * Format: uuid
27349
+ * @description Tenant the request acts in
27350
+ */
27351
+ tenantId: string;
27352
+ /**
27353
+ * Format: uuid
27354
+ * @description Store the request acts in: the key-bound store, else a verified x-store-id header, else null
27355
+ */
27356
+ storeId: string | null;
27357
+ /** @description Code of that store, null when storeId is null */
27358
+ storeCode: string | null;
27359
+ /** @enum {string} */
27360
+ authType: 'api-key' | 'jwt';
27361
+ /**
27362
+ * @description pk_ or sk_ key; null for a JWT caller
27363
+ * @enum {string|null}
27364
+ */
27365
+ keyType: 'publishable' | 'secret' | null;
27366
+ /**
27367
+ * @description store: the key is bound to one store. organization: tenant-wide key with no store. null for a JWT caller
27368
+ * @enum {string|null}
27369
+ */
27370
+ keyKind: 'store' | 'organization' | null;
27371
+ /**
27372
+ * @description Key environment from its prefix; null for a JWT caller
27373
+ * @enum {string|null}
27374
+ */
27375
+ environment: 'live' | 'test' | null;
27376
+ /** @description Key principal: service, workflow, partner or app; null for a JWT caller */
27377
+ principalType: string | null;
27378
+ };
27199
27379
  CreateCustomerDto: {
27200
27380
  /**
27201
27381
  * @description Customer email address
@@ -39221,7 +39401,7 @@ export interface operations {
39221
39401
  'application/json': components['schemas']['ProductImportResultDto'];
39222
39402
  };
39223
39403
  };
39224
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
39404
+ /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns with the merchant edit lock on returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
39225
39405
  503: {
39226
39406
  headers: {
39227
39407
  [name: string]: unknown;
@@ -39510,7 +39690,7 @@ export interface operations {
39510
39690
  };
39511
39691
  content?: never;
39512
39692
  };
39513
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
39693
+ /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns with the merchant edit lock on returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
39514
39694
  503: {
39515
39695
  headers: {
39516
39696
  [name: string]: unknown;
@@ -39615,7 +39795,7 @@ export interface operations {
39615
39795
  };
39616
39796
  };
39617
39797
  };
39618
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
39798
+ /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns with the merchant edit lock on returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
39619
39799
  503: {
39620
39800
  headers: {
39621
39801
  [name: string]: unknown;
@@ -39670,7 +39850,7 @@ export interface operations {
39670
39850
  };
39671
39851
  content?: never;
39672
39852
  };
39673
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
39853
+ /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns with the merchant edit lock on returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
39674
39854
  503: {
39675
39855
  headers: {
39676
39856
  [name: string]: unknown;
@@ -39761,7 +39941,7 @@ export interface operations {
39761
39941
  };
39762
39942
  content?: never;
39763
39943
  };
39764
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
39944
+ /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns with the merchant edit lock on returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
39765
39945
  503: {
39766
39946
  headers: {
39767
39947
  [name: string]: unknown;
@@ -40764,7 +40944,7 @@ export interface operations {
40764
40944
  };
40765
40945
  content?: never;
40766
40946
  };
40767
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
40947
+ /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns with the merchant edit lock on returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
40768
40948
  503: {
40769
40949
  headers: {
40770
40950
  [name: string]: unknown;
@@ -40848,7 +41028,7 @@ export interface operations {
40848
41028
  };
40849
41029
  content?: never;
40850
41030
  };
40851
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
41031
+ /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns with the merchant edit lock on returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
40852
41032
  503: {
40853
41033
  headers: {
40854
41034
  [name: string]: unknown;
@@ -40910,7 +41090,7 @@ export interface operations {
40910
41090
  };
40911
41091
  content?: never;
40912
41092
  };
40913
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
41093
+ /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns with the merchant edit lock on returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
40914
41094
  503: {
40915
41095
  headers: {
40916
41096
  [name: string]: unknown;
@@ -41303,7 +41483,7 @@ export interface operations {
41303
41483
  };
41304
41484
  content?: never;
41305
41485
  };
41306
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
41486
+ /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns with the merchant edit lock on returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
41307
41487
  503: {
41308
41488
  headers: {
41309
41489
  [name: string]: unknown;
@@ -41406,7 +41586,7 @@ export interface operations {
41406
41586
  };
41407
41587
  content?: never;
41408
41588
  };
41409
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
41589
+ /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns with the merchant edit lock on returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
41410
41590
  503: {
41411
41591
  headers: {
41412
41592
  [name: string]: unknown;
@@ -44158,6 +44338,58 @@ export interface operations {
44158
44338
  };
44159
44339
  };
44160
44340
  };
44341
+ CurrentStoreConfigurationController_getMergedSettings: {
44342
+ parameters: {
44343
+ query?: never;
44344
+ header?: never;
44345
+ path?: never;
44346
+ cookie?: never;
44347
+ };
44348
+ requestBody?: never;
44349
+ responses: {
44350
+ 200: {
44351
+ headers: {
44352
+ [name: string]: unknown;
44353
+ };
44354
+ content: {
44355
+ 'application/json': components['schemas']['MergedSettingsResponseDto'];
44356
+ };
44357
+ };
44358
+ /** @description STORE_CONTEXT_REQUIRED: tenant-wide key or JWT with no store */
44359
+ 400: {
44360
+ headers: {
44361
+ [name: string]: unknown;
44362
+ };
44363
+ content?: never;
44364
+ };
44365
+ };
44366
+ };
44367
+ CurrentStoreConfigurationController_getStorefrontSettings: {
44368
+ parameters: {
44369
+ query?: never;
44370
+ header?: never;
44371
+ path?: never;
44372
+ cookie?: never;
44373
+ };
44374
+ requestBody?: never;
44375
+ responses: {
44376
+ 200: {
44377
+ headers: {
44378
+ [name: string]: unknown;
44379
+ };
44380
+ content: {
44381
+ 'application/json': components['schemas']['StorefrontSettingsResponseDto'];
44382
+ };
44383
+ };
44384
+ /** @description STORE_CONTEXT_REQUIRED: tenant-wide key or JWT with no store */
44385
+ 400: {
44386
+ headers: {
44387
+ [name: string]: unknown;
44388
+ };
44389
+ content?: never;
44390
+ };
44391
+ };
44392
+ };
44161
44393
  UserSelfServiceController_setupMfa: {
44162
44394
  parameters: {
44163
44395
  query?: never;
@@ -47302,13 +47534,6 @@ export interface operations {
47302
47534
  };
47303
47535
  content?: never;
47304
47536
  };
47305
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
47306
- 503: {
47307
- headers: {
47308
- [name: string]: unknown;
47309
- };
47310
- content?: never;
47311
- };
47312
47537
  };
47313
47538
  };
47314
47539
  VariantPricesController_bulkCreate: {
@@ -47340,13 +47565,6 @@ export interface operations {
47340
47565
  };
47341
47566
  content?: never;
47342
47567
  };
47343
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
47344
- 503: {
47345
- headers: {
47346
- [name: string]: unknown;
47347
- };
47348
- content?: never;
47349
- };
47350
47568
  };
47351
47569
  };
47352
47570
  VariantPricesController_findByVariant: {
@@ -47496,13 +47714,6 @@ export interface operations {
47496
47714
  };
47497
47715
  content?: never;
47498
47716
  };
47499
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
47500
- 503: {
47501
- headers: {
47502
- [name: string]: unknown;
47503
- };
47504
- content?: never;
47505
- };
47506
47717
  };
47507
47718
  };
47508
47719
  VariantPricesController_update: {
@@ -47544,13 +47755,6 @@ export interface operations {
47544
47755
  };
47545
47756
  content?: never;
47546
47757
  };
47547
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
47548
- 503: {
47549
- headers: {
47550
- [name: string]: unknown;
47551
- };
47552
- content?: never;
47553
- };
47554
47758
  };
47555
47759
  };
47556
47760
  VariantPricesController_resolvePrices: {
@@ -48594,13 +48798,6 @@ export interface operations {
48594
48798
  };
48595
48799
  content?: never;
48596
48800
  };
48597
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
48598
- 503: {
48599
- headers: {
48600
- [name: string]: unknown;
48601
- };
48602
- content?: never;
48603
- };
48604
48801
  };
48605
48802
  };
48606
48803
  PricingController_findAll: {
@@ -48734,13 +48931,6 @@ export interface operations {
48734
48931
  };
48735
48932
  content?: never;
48736
48933
  };
48737
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
48738
- 503: {
48739
- headers: {
48740
- [name: string]: unknown;
48741
- };
48742
- content?: never;
48743
- };
48744
48934
  };
48745
48935
  };
48746
48936
  PricingController_update: {
@@ -48782,13 +48972,6 @@ export interface operations {
48782
48972
  };
48783
48973
  content?: never;
48784
48974
  };
48785
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
48786
- 503: {
48787
- headers: {
48788
- [name: string]: unknown;
48789
- };
48790
- content?: never;
48791
- };
48792
48975
  };
48793
48976
  };
48794
48977
  PricingController_calculatePrice: {
@@ -52491,7 +52674,7 @@ export interface operations {
52491
52674
  };
52492
52675
  content?: never;
52493
52676
  };
52494
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
52677
+ /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns with the merchant edit lock on returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
52495
52678
  503: {
52496
52679
  headers: {
52497
52680
  [name: string]: unknown;
@@ -52667,7 +52850,7 @@ export interface operations {
52667
52850
  };
52668
52851
  content?: never;
52669
52852
  };
52670
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
52853
+ /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns with the merchant edit lock on returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
52671
52854
  503: {
52672
52855
  headers: {
52673
52856
  [name: string]: unknown;
@@ -52729,7 +52912,7 @@ export interface operations {
52729
52912
  };
52730
52913
  content?: never;
52731
52914
  };
52732
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
52915
+ /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns with the merchant edit lock on returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
52733
52916
  503: {
52734
52917
  headers: {
52735
52918
  [name: string]: unknown;
@@ -53077,7 +53260,7 @@ export interface operations {
53077
53260
  };
53078
53261
  content?: never;
53079
53262
  };
53080
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
53263
+ /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns with the merchant edit lock on returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
53081
53264
  503: {
53082
53265
  headers: {
53083
53266
  [name: string]: unknown;
@@ -53225,7 +53408,7 @@ export interface operations {
53225
53408
  };
53226
53409
  content?: never;
53227
53410
  };
53228
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
53411
+ /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns with the merchant edit lock on returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
53229
53412
  503: {
53230
53413
  headers: {
53231
53414
  [name: string]: unknown;
@@ -53280,7 +53463,7 @@ export interface operations {
53280
53463
  };
53281
53464
  content?: never;
53282
53465
  };
53283
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
53466
+ /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns with the merchant edit lock on returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
53284
53467
  503: {
53285
53468
  headers: {
53286
53469
  [name: string]: unknown;
@@ -53335,7 +53518,7 @@ export interface operations {
53335
53518
  };
53336
53519
  content?: never;
53337
53520
  };
53338
- /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
53521
+ /** @description ERP_AUTHORITY_UNRESOLVED: the ERP authority policy could not be read; the write fails closed. A write to an entity a connected ERP owns with the merchant edit lock on returns 409 ERP_AUTHORITY_CONFLICT. Both bodies: { code, message, entityType, provider, installationId } */
53339
53522
  503: {
53340
53523
  headers: {
53341
53524
  [name: string]: unknown;
@@ -54383,6 +54566,32 @@ export interface operations {
54383
54566
  };
54384
54567
  };
54385
54568
  };
54569
+ CallerContextController_getContext: {
54570
+ parameters: {
54571
+ query?: never;
54572
+ header?: never;
54573
+ path?: never;
54574
+ cookie?: never;
54575
+ };
54576
+ requestBody?: never;
54577
+ responses: {
54578
+ 200: {
54579
+ headers: {
54580
+ [name: string]: unknown;
54581
+ };
54582
+ content: {
54583
+ 'application/json': components['schemas']['CallerContextResponseDto'];
54584
+ };
54585
+ };
54586
+ /** @description x-store-id names another store */
54587
+ 403: {
54588
+ headers: {
54589
+ [name: string]: unknown;
54590
+ };
54591
+ content?: never;
54592
+ };
54593
+ };
54594
+ };
54386
54595
  CustomersController_findAllCustomers: {
54387
54596
  parameters: {
54388
54597
  query?: {
@@ -66852,6 +67061,75 @@ export interface operations {
66852
67061
  };
66853
67062
  };
66854
67063
  };
67064
+ CurrentStoreUcpProfileController_getProfile: {
67065
+ parameters: {
67066
+ query?: never;
67067
+ header?: never;
67068
+ path?: never;
67069
+ cookie?: never;
67070
+ };
67071
+ requestBody?: never;
67072
+ responses: {
67073
+ 200: {
67074
+ headers: {
67075
+ [name: string]: unknown;
67076
+ };
67077
+ content: {
67078
+ 'application/json': components['schemas']['UcpBusinessProfileDto'];
67079
+ };
67080
+ };
67081
+ /** @description STORE_CONTEXT_REQUIRED: tenant-wide key or JWT with no store */
67082
+ 400: {
67083
+ headers: {
67084
+ [name: string]: unknown;
67085
+ };
67086
+ content?: never;
67087
+ };
67088
+ /** @description UCP not enabled for this store */
67089
+ 404: {
67090
+ headers: {
67091
+ [name: string]: unknown;
67092
+ };
67093
+ content?: never;
67094
+ };
67095
+ };
67096
+ };
67097
+ CurrentStoreUcpProfileController_getLeafProfile: {
67098
+ parameters: {
67099
+ query?: never;
67100
+ header?: never;
67101
+ path: {
67102
+ /** @description Protocol release date */
67103
+ version: '2026-04-08';
67104
+ };
67105
+ cookie?: never;
67106
+ };
67107
+ requestBody?: never;
67108
+ responses: {
67109
+ 200: {
67110
+ headers: {
67111
+ [name: string]: unknown;
67112
+ };
67113
+ content: {
67114
+ 'application/json': components['schemas']['UcpBusinessProfileDto'];
67115
+ };
67116
+ };
67117
+ /** @description STORE_CONTEXT_REQUIRED: tenant-wide key or JWT with no store */
67118
+ 400: {
67119
+ headers: {
67120
+ [name: string]: unknown;
67121
+ };
67122
+ content?: never;
67123
+ };
67124
+ /** @description UCP not enabled for this store, or the release is not served */
67125
+ 404: {
67126
+ headers: {
67127
+ [name: string]: unknown;
67128
+ };
67129
+ content?: never;
67130
+ };
67131
+ };
67132
+ };
66855
67133
  UcpAdminController_getConfig: {
66856
67134
  parameters: {
66857
67135
  query?: never;
@@ -68121,6 +68399,108 @@ export interface operations {
68121
68399
  };
68122
68400
  };
68123
68401
  };
68402
+ CurrentStoreAiDiscoveryController_getLlmsTxt: {
68403
+ parameters: {
68404
+ query?: never;
68405
+ header?: never;
68406
+ path?: never;
68407
+ cookie?: never;
68408
+ };
68409
+ requestBody?: never;
68410
+ responses: {
68411
+ /** @description llms.txt content */
68412
+ 200: {
68413
+ headers: {
68414
+ [name: string]: unknown;
68415
+ };
68416
+ content: {
68417
+ 'text/plain': string;
68418
+ };
68419
+ };
68420
+ /** @description STORE_CONTEXT_REQUIRED: tenant-wide key or JWT with no store */
68421
+ 400: {
68422
+ headers: {
68423
+ [name: string]: unknown;
68424
+ };
68425
+ content?: never;
68426
+ };
68427
+ /** @description Not published */
68428
+ 404: {
68429
+ headers: {
68430
+ [name: string]: unknown;
68431
+ };
68432
+ content?: never;
68433
+ };
68434
+ };
68435
+ };
68436
+ CurrentStoreAiDiscoveryController_getStoreSchema: {
68437
+ parameters: {
68438
+ query?: never;
68439
+ header?: never;
68440
+ path?: never;
68441
+ cookie?: never;
68442
+ };
68443
+ requestBody?: never;
68444
+ responses: {
68445
+ /** @description Store JSON-LD */
68446
+ 200: {
68447
+ headers: {
68448
+ [name: string]: unknown;
68449
+ };
68450
+ content: {
68451
+ 'application/ld+json': string;
68452
+ };
68453
+ };
68454
+ /** @description STORE_CONTEXT_REQUIRED: tenant-wide key or JWT with no store */
68455
+ 400: {
68456
+ headers: {
68457
+ [name: string]: unknown;
68458
+ };
68459
+ content?: never;
68460
+ };
68461
+ /** @description Not published */
68462
+ 404: {
68463
+ headers: {
68464
+ [name: string]: unknown;
68465
+ };
68466
+ content?: never;
68467
+ };
68468
+ };
68469
+ };
68470
+ CurrentStoreAiDiscoveryController_getProductsSchema: {
68471
+ parameters: {
68472
+ query?: never;
68473
+ header?: never;
68474
+ path?: never;
68475
+ cookie?: never;
68476
+ };
68477
+ requestBody?: never;
68478
+ responses: {
68479
+ /** @description Products JSON-LD */
68480
+ 200: {
68481
+ headers: {
68482
+ [name: string]: unknown;
68483
+ };
68484
+ content: {
68485
+ 'application/ld+json': string;
68486
+ };
68487
+ };
68488
+ /** @description STORE_CONTEXT_REQUIRED: tenant-wide key or JWT with no store */
68489
+ 400: {
68490
+ headers: {
68491
+ [name: string]: unknown;
68492
+ };
68493
+ content?: never;
68494
+ };
68495
+ /** @description Not published */
68496
+ 404: {
68497
+ headers: {
68498
+ [name: string]: unknown;
68499
+ };
68500
+ content?: never;
68501
+ };
68502
+ };
68503
+ };
68124
68504
  StorefrontRedirectsAdminController_list: {
68125
68505
  parameters: {
68126
68506
  query?: {