@aimee.shop/sdk 0.34.0-dev.346 → 0.35.0-dev.359

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.
@@ -21856,12 +21856,14 @@ export interface components {
21856
21856
  /** @description Provider display name, e.g. NetSuite */
21857
21857
  providerLabel: string;
21858
21858
  /**
21859
- * @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).
21860
21860
  * @enum {string}
21861
21861
  */
21862
21862
  owner: 'aimee' | 'provider' | 'unresolved';
21863
21863
  /** @description Authoritative system: 'aimee' or the provider slug */
21864
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;
21865
21867
  /**
21866
21868
  * @description Sync direction relative to Aimee; null when not declared
21867
21869
  * @enum {string|null}
@@ -39399,7 +39401,7 @@ export interface operations {
39399
39401
  'application/json': components['schemas']['ProductImportResultDto'];
39400
39402
  };
39401
39403
  };
39402
- /** @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 } */
39403
39405
  503: {
39404
39406
  headers: {
39405
39407
  [name: string]: unknown;
@@ -39688,7 +39690,7 @@ export interface operations {
39688
39690
  };
39689
39691
  content?: never;
39690
39692
  };
39691
- /** @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 } */
39692
39694
  503: {
39693
39695
  headers: {
39694
39696
  [name: string]: unknown;
@@ -39793,7 +39795,7 @@ export interface operations {
39793
39795
  };
39794
39796
  };
39795
39797
  };
39796
- /** @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 } */
39797
39799
  503: {
39798
39800
  headers: {
39799
39801
  [name: string]: unknown;
@@ -39848,7 +39850,7 @@ export interface operations {
39848
39850
  };
39849
39851
  content?: never;
39850
39852
  };
39851
- /** @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 } */
39852
39854
  503: {
39853
39855
  headers: {
39854
39856
  [name: string]: unknown;
@@ -39939,7 +39941,7 @@ export interface operations {
39939
39941
  };
39940
39942
  content?: never;
39941
39943
  };
39942
- /** @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 } */
39943
39945
  503: {
39944
39946
  headers: {
39945
39947
  [name: string]: unknown;
@@ -40942,7 +40944,7 @@ export interface operations {
40942
40944
  };
40943
40945
  content?: never;
40944
40946
  };
40945
- /** @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 } */
40946
40948
  503: {
40947
40949
  headers: {
40948
40950
  [name: string]: unknown;
@@ -41026,7 +41028,7 @@ export interface operations {
41026
41028
  };
41027
41029
  content?: never;
41028
41030
  };
41029
- /** @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 } */
41030
41032
  503: {
41031
41033
  headers: {
41032
41034
  [name: string]: unknown;
@@ -41088,7 +41090,7 @@ export interface operations {
41088
41090
  };
41089
41091
  content?: never;
41090
41092
  };
41091
- /** @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 } */
41092
41094
  503: {
41093
41095
  headers: {
41094
41096
  [name: string]: unknown;
@@ -41481,7 +41483,7 @@ export interface operations {
41481
41483
  };
41482
41484
  content?: never;
41483
41485
  };
41484
- /** @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 } */
41485
41487
  503: {
41486
41488
  headers: {
41487
41489
  [name: string]: unknown;
@@ -41584,7 +41586,7 @@ export interface operations {
41584
41586
  };
41585
41587
  content?: never;
41586
41588
  };
41587
- /** @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 } */
41588
41590
  503: {
41589
41591
  headers: {
41590
41592
  [name: string]: unknown;
@@ -47532,13 +47534,6 @@ export interface operations {
47532
47534
  };
47533
47535
  content?: never;
47534
47536
  };
47535
- /** @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 } */
47536
- 503: {
47537
- headers: {
47538
- [name: string]: unknown;
47539
- };
47540
- content?: never;
47541
- };
47542
47537
  };
47543
47538
  };
47544
47539
  VariantPricesController_bulkCreate: {
@@ -47570,13 +47565,6 @@ export interface operations {
47570
47565
  };
47571
47566
  content?: never;
47572
47567
  };
47573
- /** @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 } */
47574
- 503: {
47575
- headers: {
47576
- [name: string]: unknown;
47577
- };
47578
- content?: never;
47579
- };
47580
47568
  };
47581
47569
  };
47582
47570
  VariantPricesController_findByVariant: {
@@ -47726,13 +47714,6 @@ export interface operations {
47726
47714
  };
47727
47715
  content?: never;
47728
47716
  };
47729
- /** @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 } */
47730
- 503: {
47731
- headers: {
47732
- [name: string]: unknown;
47733
- };
47734
- content?: never;
47735
- };
47736
47717
  };
47737
47718
  };
47738
47719
  VariantPricesController_update: {
@@ -47774,13 +47755,6 @@ export interface operations {
47774
47755
  };
47775
47756
  content?: never;
47776
47757
  };
47777
- /** @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 } */
47778
- 503: {
47779
- headers: {
47780
- [name: string]: unknown;
47781
- };
47782
- content?: never;
47783
- };
47784
47758
  };
47785
47759
  };
47786
47760
  VariantPricesController_resolvePrices: {
@@ -48824,13 +48798,6 @@ export interface operations {
48824
48798
  };
48825
48799
  content?: never;
48826
48800
  };
48827
- /** @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 } */
48828
- 503: {
48829
- headers: {
48830
- [name: string]: unknown;
48831
- };
48832
- content?: never;
48833
- };
48834
48801
  };
48835
48802
  };
48836
48803
  PricingController_findAll: {
@@ -48964,13 +48931,6 @@ export interface operations {
48964
48931
  };
48965
48932
  content?: never;
48966
48933
  };
48967
- /** @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 } */
48968
- 503: {
48969
- headers: {
48970
- [name: string]: unknown;
48971
- };
48972
- content?: never;
48973
- };
48974
48934
  };
48975
48935
  };
48976
48936
  PricingController_update: {
@@ -49012,13 +48972,6 @@ export interface operations {
49012
48972
  };
49013
48973
  content?: never;
49014
48974
  };
49015
- /** @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 } */
49016
- 503: {
49017
- headers: {
49018
- [name: string]: unknown;
49019
- };
49020
- content?: never;
49021
- };
49022
48975
  };
49023
48976
  };
49024
48977
  PricingController_calculatePrice: {
@@ -52721,7 +52674,7 @@ export interface operations {
52721
52674
  };
52722
52675
  content?: never;
52723
52676
  };
52724
- /** @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 } */
52725
52678
  503: {
52726
52679
  headers: {
52727
52680
  [name: string]: unknown;
@@ -52897,7 +52850,7 @@ export interface operations {
52897
52850
  };
52898
52851
  content?: never;
52899
52852
  };
52900
- /** @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 } */
52901
52854
  503: {
52902
52855
  headers: {
52903
52856
  [name: string]: unknown;
@@ -52959,7 +52912,7 @@ export interface operations {
52959
52912
  };
52960
52913
  content?: never;
52961
52914
  };
52962
- /** @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 } */
52963
52916
  503: {
52964
52917
  headers: {
52965
52918
  [name: string]: unknown;
@@ -53307,7 +53260,7 @@ export interface operations {
53307
53260
  };
53308
53261
  content?: never;
53309
53262
  };
53310
- /** @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 } */
53311
53264
  503: {
53312
53265
  headers: {
53313
53266
  [name: string]: unknown;
@@ -53455,7 +53408,7 @@ export interface operations {
53455
53408
  };
53456
53409
  content?: never;
53457
53410
  };
53458
- /** @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 } */
53459
53412
  503: {
53460
53413
  headers: {
53461
53414
  [name: string]: unknown;
@@ -53510,7 +53463,7 @@ export interface operations {
53510
53463
  };
53511
53464
  content?: never;
53512
53465
  };
53513
- /** @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 } */
53514
53467
  503: {
53515
53468
  headers: {
53516
53469
  [name: string]: unknown;
@@ -53565,7 +53518,7 @@ export interface operations {
53565
53518
  };
53566
53519
  content?: never;
53567
53520
  };
53568
- /** @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 } */
53569
53522
  503: {
53570
53523
  headers: {
53571
53524
  [name: string]: unknown;