@aimee.shop/sdk 0.36.0-dev.385 → 0.36.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.
@@ -41,4 +41,20 @@ export declare function isErpAuthorityConflict(error: unknown): error is ErpAuth
41
41
  export declare function isErpAuthorityUnresolved(error: unknown): error is ErpAuthorityUnresolvedError;
42
42
  /** Either ERP authority refusal. Narrow further on `error.details.code` or `statusCode`. */
43
43
  export declare function isErpAuthorityError(error: unknown): error is ErpAuthorityConflictError | ErpAuthorityUnresolvedError;
44
+ /** Error codes core-api returns for fields an ERP app owns (`lockedFields`). */
45
+ export declare const FIELD_LOCK_ERROR_CODES: {
46
+ /** 409: the write changes a field another app installation owns. */
47
+ readonly LOCKED: "FIELD_LOCKED";
48
+ /** 403: `lockedFields` was sent without an app installation API key. */
49
+ readonly REQUIRES_APP: "FIELD_LOCK_REQUIRES_APP";
50
+ };
51
+ export type FieldLockErrorCode = (typeof FIELD_LOCK_ERROR_CODES)[keyof typeof FIELD_LOCK_ERROR_CODES];
52
+ /** `details` of a 409 `FIELD_LOCKED` refusal. `message` is safe to show to the merchant. */
53
+ export interface FieldLockedErrorBody {
54
+ code: typeof FIELD_LOCK_ERROR_CODES.LOCKED;
55
+ message: string;
56
+ entityType: 'product' | 'variant';
57
+ /** The locked fields the write tried to change. */
58
+ fields: string[];
59
+ }
44
60
  //# sourceMappingURL=erp-authority.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"erp-authority.d.ts","sourceRoot":"","sources":["../../../../../src/core/errors/erp-authority.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAErD,0FAA0F;AAC1F,eAAO,MAAM,yBAAyB;IACpC,2EAA2E;;IAE3E,2EAA2E;;CAEnE,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAC/B,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,OAAO,yBAAyB,CA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B;IACnC,IAAI,EAAE,OAAO,sBAAsB,CAAC,MAAM,CAAC;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,SAAS,GAAG,SAAS,CAAC;IAClC,mDAAmD;IACnD,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB"}
@@ -46,4 +46,11 @@ export function isErpAuthorityUnresolved(error) {
46
46
  export function isErpAuthorityError(error) {
47
47
  return isErpAuthorityConflict(error) || isErpAuthorityUnresolved(error);
48
48
  }
49
+ /** Error codes core-api returns for fields an ERP app owns (`lockedFields`). */
50
+ export const FIELD_LOCK_ERROR_CODES = {
51
+ /** 409: the write changes a field another app installation owns. */
52
+ LOCKED: 'FIELD_LOCKED',
53
+ /** 403: `lockedFields` was sent without an app installation API key. */
54
+ REQUIRES_APP: 'FIELD_LOCK_REQUIRES_APP',
55
+ };
49
56
  //# sourceMappingURL=erp-authority.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"erp-authority.js","sourceRoot":"","sources":["../../../../../src/core/errors/erp-authority.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAErD,0FAA0F;AAC1F,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,2EAA2E;IAC3E,QAAQ,EAAE,wBAAwB;IAClC,2EAA2E;IAC3E,UAAU,EAAE,0BAA0B;CAC9B,CAAC;AA6BX,SAAS,YAAY,CAAC,KAAc;IAClC,OAAO,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,WAAW,CAAC;AACtD,CAAC;AAED,SAAS,kBAAkB,CACzB,KAAc,EACd,IAA2B;IAE3B,OAAO,CACL,OAAO,KAAK,KAAK,QAAQ;QACzB,KAAK,KAAK,IAAI;QACd,MAAM,IAAI,KAAK;QACf,KAAK,CAAC,IAAI,KAAK,IAAI;QACnB,SAAS,IAAI,KAAK;QAClB,OAAO,KAAK,CAAC,OAAO,KAAK,QAAQ;QACjC,YAAY,IAAI,KAAK;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,QAAQ;QACzB,KAAK,KAAK,IAAI;QACd,MAAM,IAAI,KAAK;QACf,KAAK,CAAC,IAAI,KAAK,IAAI;QACnB,SAAS,IAAI,KAAK;QAClB,OAAO,KAAK,CAAC,OAAO,KAAK,QAAQ;QACjC,YAAY,IAAI,KAAK;QACrB,YAAY,CAAC,KAAK,CAAC,UAAU,CAAC;QAC9B,UAAU,IAAI,KAAK;QACnB,OAAO,KAAK,CAAC,QAAQ,KAAK,QAAQ;QAClC,gBAAgB,IAAI,KAAK;QACzB,OAAO,KAAK,CAAC,cAAc,KAAK,QAAQ,CACzC,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,sBAAsB,CAAC,KAAc;IACnD,OAAO,CACL,KAAK,YAAY,aAAa;QAC9B,kBAAkB,CAAC,KAAK,CAAC,OAAO,EAAE,yBAAyB,CAAC,QAAQ,CAAC,CACtE,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,wBAAwB,CAAC,KAAc;IACrD,OAAO,CACL,KAAK,YAAY,QAAQ;QACzB,KAAK,CAAC,UAAU,KAAK,GAAG;QACxB,kBAAkB,CAAC,KAAK,CAAC,OAAO,EAAE,yBAAyB,CAAC,UAAU,CAAC,CACxE,CAAC;AACJ,CAAC;AAED,4FAA4F;AAC5F,MAAM,UAAU,mBAAmB,CACjC,KAAc;IAEd,OAAO,sBAAsB,CAAC,KAAK,CAAC,IAAI,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAC1E,CAAC;AAED,gFAAgF;AAChF,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,oEAAoE;IACpE,MAAM,EAAE,cAAc;IACtB,wEAAwE;IACxE,YAAY,EAAE,yBAAyB;CAC/B,CAAC"}
@@ -411,7 +411,7 @@ export interface paths {
411
411
  put?: never;
412
412
  /**
413
413
  * Import products from CSV
414
- * @description Parses CSV and creates products, variants, and prices atomically. After products commit, Image Src / Additional Image Srcs / Variant Image Src URLs are fetched server-side, uploaded to the assets bucket, and attached with isPrimary/sortOrder. Image failures are reported per-row in errors and do not roll back products. For scripted bulk attach without CSV: products.assets generateUploadUrl -> S3 PUT -> assets.create with s3Key. For pre-staged library files: POST /assets/ingest/jobs.
414
+ * @description Parses CSV and creates products, variants, and prices. A product with an invalid row is skipped and reported in errors; the valid products commit together. After products commit, Image Src / Additional Image Srcs / Variant Image Src URLs are fetched server-side, uploaded to the assets bucket, and attached with isPrimary/sortOrder. Image failures are reported per-row in errors and do not roll back products. For scripted bulk attach without CSV: products.assets generateUploadUrl -> S3 PUT -> assets.create with s3Key. For pre-staged library files: POST /assets/ingest/jobs.
415
415
  */
416
416
  post: operations['ProductImportController_importFromCSV'];
417
417
  delete?: never;
@@ -14348,6 +14348,16 @@ export interface components {
14348
14348
  * @example true
14349
14349
  */
14350
14350
  isEnabled: boolean;
14351
+ /**
14352
+ * @description Fields the connected ERP app owns: only that app may change them, other writes get 409 FIELD_LOCKED. Admin renders them read-only. Empty when none.
14353
+ * @example [
14354
+ * "sku",
14355
+ * "isEnabled"
14356
+ * ]
14357
+ */
14358
+ lockedFields: string[];
14359
+ /** @description App installation that set lockedFields; null when none */
14360
+ lockedByInstallationId: string | null;
14351
14361
  /**
14352
14362
  * @description OrderItem rows for this variant in the current tenant and store, including removed line items. Always present on GET by id. Explicit 0 means no ledger history.
14353
14363
  * @example 0
@@ -14611,6 +14621,16 @@ export interface components {
14611
14621
  * @example 150
14612
14622
  */
14613
14623
  nmfcCode?: string | null;
14624
+ /**
14625
+ * @description Fields the connected ERP app owns: only that app may change them, other writes get 409 FIELD_LOCKED. Admin renders them read-only. Empty when none.
14626
+ * @example [
14627
+ * "isEnabled",
14628
+ * "isAvailable"
14629
+ * ]
14630
+ */
14631
+ lockedFields: string[];
14632
+ /** @description App installation that set lockedFields; null when none */
14633
+ lockedByInstallationId: string | null;
14614
14634
  /**
14615
14635
  * @description True when the product is geo-restricted for the supplied region. Present only when country, state, or postalCode query params are sent (annotate-only; the product is never excluded server-side).
14616
14636
  * @example false
@@ -14661,6 +14681,16 @@ export interface components {
14661
14681
  lastModified?: string;
14662
14682
  /** @description Optional existing Aimee product UUID for direct update */
14663
14683
  productId?: string;
14684
+ /**
14685
+ * @description Fields the calling app owns: a bare name is a product field, variant.<field> a variant field. Replaces the product and variant locks and binds them to the calling app installation; only that installation may change those fields afterwards. Omit to leave locks unchanged; send [] to clear them. Unknown names are refused (400). Requires an app installation API key (403 otherwise).
14686
+ * @example [
14687
+ * "isEnabled",
14688
+ * "isAvailable",
14689
+ * "variant.sku",
14690
+ * "variant.isEnabled"
14691
+ * ]
14692
+ */
14693
+ lockedFields?: ('isEnabled' | 'isAvailable' | 'variant.sku' | 'variant.isEnabled')[];
14664
14694
  };
14665
14695
  ErpProductSyncResponseDto: {
14666
14696
  /** @description Aimee product UUID */
@@ -16181,6 +16211,16 @@ export interface components {
16181
16211
  * @example true
16182
16212
  */
16183
16213
  isEnabled: boolean;
16214
+ /**
16215
+ * @description Fields the connected ERP app owns: only that app may change them, other writes get 409 FIELD_LOCKED. Admin renders them read-only. Empty when none.
16216
+ * @example [
16217
+ * "sku",
16218
+ * "isEnabled"
16219
+ * ]
16220
+ */
16221
+ lockedFields: string[];
16222
+ /** @description App installation that set lockedFields; null when none */
16223
+ lockedByInstallationId: string | null;
16184
16224
  /**
16185
16225
  * @description OrderItem rows for this variant in the current tenant and store, including removed line items. Always present on GET by id. Explicit 0 means no ledger history.
16186
16226
  * @example 0
@@ -21897,7 +21937,7 @@ export interface components {
21897
21937
  owner: 'aimee' | 'provider' | 'unresolved';
21898
21938
  /** @description Authoritative system: 'aimee' or the provider slug */
21899
21939
  authority: string | null;
21900
- /** @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. */
21940
+ /** @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. Always false for product: product and variant fields lock one by one (lockedFields on the product and variant). */
21901
21941
  editLocked: boolean;
21902
21942
  /**
21903
21943
  * @description Sync direction relative to Aimee; null when not declared
@@ -26029,7 +26069,7 @@ export interface components {
26029
26069
  isPickupLocation?: boolean;
26030
26070
  /**
26031
26071
  * @description Priority for allocation (higher = higher priority)
26032
- * @default 0
26072
+ * @default 1
26033
26073
  * @example 10
26034
26074
  */
26035
26075
  priority?: number;
@@ -26311,7 +26351,7 @@ export interface components {
26311
26351
  */
26312
26352
  name?: string;
26313
26353
  /**
26314
- * @description Short code for identification
26354
+ * @description Fixed at creation. May be resent unchanged (case ignored); any other value is refused
26315
26355
  * @example WH1
26316
26356
  */
26317
26357
  code?: string;
@@ -39467,13 +39507,6 @@ export interface operations {
39467
39507
  'application/json': components['schemas']['ProductImportResultDto'];
39468
39508
  };
39469
39509
  };
39470
- /** @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 } */
39471
- 503: {
39472
- headers: {
39473
- [name: string]: unknown;
39474
- };
39475
- content?: never;
39476
- };
39477
39510
  };
39478
39511
  };
39479
39512
  ProductRelationsBulkController_bulkUpsert: {
@@ -39758,13 +39791,6 @@ export interface operations {
39758
39791
  };
39759
39792
  content?: never;
39760
39793
  };
39761
- /** @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 } */
39762
- 503: {
39763
- headers: {
39764
- [name: string]: unknown;
39765
- };
39766
- content?: never;
39767
- };
39768
39794
  };
39769
39795
  };
39770
39796
  ProductsController_findOne: {
@@ -39867,13 +39893,6 @@ export interface operations {
39867
39893
  };
39868
39894
  };
39869
39895
  };
39870
- /** @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 } */
39871
- 503: {
39872
- headers: {
39873
- [name: string]: unknown;
39874
- };
39875
- content?: never;
39876
- };
39877
39896
  };
39878
39897
  };
39879
39898
  ProductsController_update: {
@@ -39922,13 +39941,6 @@ export interface operations {
39922
39941
  };
39923
39942
  content?: never;
39924
39943
  };
39925
- /** @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 } */
39926
- 503: {
39927
- headers: {
39928
- [name: string]: unknown;
39929
- };
39930
- content?: never;
39931
- };
39932
39944
  };
39933
39945
  };
39934
39946
  ProductsController_findBySlug: {
@@ -40017,13 +40029,6 @@ export interface operations {
40017
40029
  };
40018
40030
  content?: never;
40019
40031
  };
40020
- /** @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 } */
40021
- 503: {
40022
- headers: {
40023
- [name: string]: unknown;
40024
- };
40025
- content?: never;
40026
- };
40027
40032
  };
40028
40033
  };
40029
40034
  ProductsController_getProductCategories: {
@@ -41020,13 +41025,6 @@ export interface operations {
41020
41025
  };
41021
41026
  content?: never;
41022
41027
  };
41023
- /** @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 } */
41024
- 503: {
41025
- headers: {
41026
- [name: string]: unknown;
41027
- };
41028
- content?: never;
41029
- };
41030
41028
  };
41031
41029
  };
41032
41030
  VariantController_findOne: {
@@ -41104,13 +41102,6 @@ export interface operations {
41104
41102
  };
41105
41103
  content?: never;
41106
41104
  };
41107
- /** @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 } */
41108
- 503: {
41109
- headers: {
41110
- [name: string]: unknown;
41111
- };
41112
- content?: never;
41113
- };
41114
41105
  };
41115
41106
  };
41116
41107
  VariantController_update: {
@@ -41166,13 +41157,6 @@ export interface operations {
41166
41157
  };
41167
41158
  content?: never;
41168
41159
  };
41169
- /** @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 } */
41170
- 503: {
41171
- headers: {
41172
- [name: string]: unknown;
41173
- };
41174
- content?: never;
41175
- };
41176
41160
  };
41177
41161
  };
41178
41162
  VariantController_generateAssetUploadUrl: {
@@ -41559,13 +41543,6 @@ export interface operations {
41559
41543
  };
41560
41544
  content?: never;
41561
41545
  };
41562
- /** @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 } */
41563
- 503: {
41564
- headers: {
41565
- [name: string]: unknown;
41566
- };
41567
- content?: never;
41568
- };
41569
41546
  };
41570
41547
  };
41571
41548
  ProductVariantCollectionController_previewGeneratedVariants: {
@@ -41662,13 +41639,6 @@ export interface operations {
41662
41639
  };
41663
41640
  content?: never;
41664
41641
  };
41665
- /** @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 } */
41666
- 503: {
41667
- headers: {
41668
- [name: string]: unknown;
41669
- };
41670
- content?: never;
41671
- };
41672
41642
  };
41673
41643
  };
41674
41644
  OptionTypeController_findOne: {