@aimee.shop/sdk 0.24.0-dev.238 → 0.25.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 (29) hide show
  1. package/dist/generated/core-api.d.ts +453 -314
  2. package/dist/generated/core-api.d.ts.map +1 -1
  3. package/dist/index.d.ts +3 -3
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js.map +1 -1
  6. package/dist/services/core/categories.client.d.ts +9 -0
  7. package/dist/services/core/categories.client.d.ts.map +1 -1
  8. package/dist/services/core/categories.client.js +8 -0
  9. package/dist/services/core/categories.client.js.map +1 -1
  10. package/dist/services/core/cms/collections.client.d.ts +7 -1
  11. package/dist/services/core/cms/collections.client.d.ts.map +1 -1
  12. package/dist/services/core/cms/collections.client.js +8 -0
  13. package/dist/services/core/cms/collections.client.js.map +1 -1
  14. package/dist/services/core/cms/entries.client.d.ts +7 -1
  15. package/dist/services/core/cms/entries.client.d.ts.map +1 -1
  16. package/dist/services/core/cms/entries.client.js +8 -0
  17. package/dist/services/core/cms/entries.client.js.map +1 -1
  18. package/dist/services/core/cms/modules.client.d.ts +7 -1
  19. package/dist/services/core/cms/modules.client.d.ts.map +1 -1
  20. package/dist/services/core/cms/modules.client.js +8 -0
  21. package/dist/services/core/cms/modules.client.js.map +1 -1
  22. package/dist/services/core/cms/types.d.ts +9 -0
  23. package/dist/services/core/cms/types.d.ts.map +1 -1
  24. package/dist/services/core/cms/types.js.map +1 -1
  25. package/dist/services/core/discounts.client.d.ts +8 -0
  26. package/dist/services/core/discounts.client.d.ts.map +1 -1
  27. package/dist/services/core/discounts.client.js +8 -0
  28. package/dist/services/core/discounts.client.js.map +1 -1
  29. package/package.json +1 -1
@@ -780,6 +780,26 @@ export interface paths {
780
780
  patch: operations['ProductCategoryController_update'];
781
781
  trace?: never;
782
782
  };
783
+ '/v1/categories/bulk-status': {
784
+ parameters: {
785
+ query?: never;
786
+ header?: never;
787
+ path?: never;
788
+ cookie?: never;
789
+ };
790
+ get?: never;
791
+ put?: never;
792
+ post?: never;
793
+ delete?: never;
794
+ options?: never;
795
+ head?: never;
796
+ /**
797
+ * Bulk activate or deactivate categories
798
+ * @description Sets isActive on 1-100 categories. Returns the updated categories; 404 if any id is missing.
799
+ */
800
+ patch: operations['ProductCategoryController_bulkUpdateStatus'];
801
+ trace?: never;
802
+ };
783
803
  '/v1/facets/{id}': {
784
804
  parameters: {
785
805
  query?: never;
@@ -1654,6 +1674,32 @@ export interface paths {
1654
1674
  patch?: never;
1655
1675
  trace?: never;
1656
1676
  };
1677
+ '/v1/tenants/{id}/linked-sandbox': {
1678
+ parameters: {
1679
+ query?: never;
1680
+ header?: never;
1681
+ path?: never;
1682
+ cookie?: never;
1683
+ };
1684
+ get?: never;
1685
+ put?: never;
1686
+ /**
1687
+ * Add a linked sandbox to an existing tenant
1688
+ * @description Creates the sandbox tenant and its default store for a production tenant
1689
+ * that does not have one, then links the two. A retry after a partial
1690
+ * failure finishes the missing steps.
1691
+ *
1692
+ * Different from POST /tenants/:id/sandbox, which sets the isSandbox flag.
1693
+ *
1694
+ * Requires system admin privileges.
1695
+ */
1696
+ post: operations['TenantProvisioningController_createLinkedSandbox'];
1697
+ delete?: never;
1698
+ options?: never;
1699
+ head?: never;
1700
+ patch?: never;
1701
+ trace?: never;
1702
+ };
1657
1703
  '/v1/tenants/{tenantId}/providers': {
1658
1704
  parameters: {
1659
1705
  query?: never;
@@ -1983,7 +2029,7 @@ export interface paths {
1983
2029
  put?: never;
1984
2030
  /**
1985
2031
  * Re-run default store setup
1986
- * @description Idempotently creates any missing defaults: configuration, market, internal tax provider and the free Standard shipping rate. Existing rows are left as they are.
2032
+ * @description Idempotently creates any missing defaults: configuration, market, internal tax and shipping providers, and on a sandbox store the free Standard shipping rate. Existing rows are left as they are.
1987
2033
  */
1988
2034
  post: operations['StoresController_bootstrap'];
1989
2035
  delete?: never;
@@ -3912,7 +3958,7 @@ export interface paths {
3912
3958
  put?: never;
3913
3959
  /**
3914
3960
  * Preview a content copy operation (dry-run)
3915
- * @description Analyzes source resources and detects conflicts in the target store without making changes. Returns conflict report with suggested resolutions.
3961
+ * @description Analyzes source resources and detects conflicts in the target store without making changes. Returns conflict report with suggested resolutions. A sandbox tenant may target a store in its linked production tenant: user sessions only, and the caller needs content-copy:preview on both tenants.
3916
3962
  */
3917
3963
  post: operations['ContentCopyController_preview'];
3918
3964
  delete?: never;
@@ -3932,7 +3978,7 @@ export interface paths {
3932
3978
  put?: never;
3933
3979
  /**
3934
3980
  * Execute a content copy operation
3935
- * @description Copies resources from source store to target store within a transaction. Applies the specified conflict resolution strategy. Returns ID mappings and warnings.
3981
+ * @description Copies resources from source store to target store within a transaction. Applies the specified conflict resolution strategy. Returns ID mappings and warnings. A sandbox tenant may target a store in its linked production tenant: user sessions only, and the caller needs content-copy:execute on both tenants. New copies are never live: CMS entries are drafts, products are disabled, categories, discounts, collections and modules are inactive. Overwrite keeps the status of the target item, so the content of a live item changes at once. Branding has no draft state and applies at once.
3936
3982
  */
3937
3983
  post: operations['ContentCopyController_execute'];
3938
3984
  delete?: never;
@@ -6491,93 +6537,6 @@ export interface paths {
6491
6537
  patch?: never;
6492
6538
  trace?: never;
6493
6539
  };
6494
- '/v1/promotion/promote': {
6495
- parameters: {
6496
- query?: never;
6497
- header?: never;
6498
- path?: never;
6499
- cookie?: never;
6500
- };
6501
- get?: never;
6502
- put?: never;
6503
- /**
6504
- * Promote resources from sandbox to production
6505
- * @description Promotes specified resources from a sandbox tenant to its linked production tenant.
6506
- *
6507
- * **Supported Resource Types:**
6508
- * - product: Products with variants and relationships
6509
- * - (Future: category, discount, etc.)
6510
- *
6511
- * **Operation Modes:**
6512
- * - CREATE: Creates new resources in production
6513
- * - UPDATE: Updates existing resources (matched by slug/code)
6514
- *
6515
- * **Dependency Handling:**
6516
- * - Variants: Reconciled by SKU (update existing, create new)
6517
- * - Assets: (Future) Copied to production S3 bucket
6518
- * - Categories: (Future) Connected to existing by slug
6519
- *
6520
- * **Transaction Safety:**
6521
- * All operations are atomic - if any step fails, the entire promotion rolls back.
6522
- *
6523
- * Tenant and actor come from auth context (x-tenant-id / JWT), not the body.
6524
- */
6525
- post: operations['PromotionController_promoteResources'];
6526
- delete?: never;
6527
- options?: never;
6528
- head?: never;
6529
- patch?: never;
6530
- trace?: never;
6531
- };
6532
- '/v1/promotion/supported-types': {
6533
- parameters: {
6534
- query?: never;
6535
- header?: never;
6536
- path?: never;
6537
- cookie?: never;
6538
- };
6539
- /**
6540
- * Get list of supported resource types for promotion
6541
- * @description Returns all resource types that have registered promotion handlers.
6542
- *
6543
- * **Example Response:**
6544
- * ```json
6545
- * ["product", "category", "discount"]
6546
- * ```
6547
- */
6548
- get: operations['PromotionController_getSupportedResourceTypes'];
6549
- put?: never;
6550
- post?: never;
6551
- delete?: never;
6552
- options?: never;
6553
- head?: never;
6554
- patch?: never;
6555
- trace?: never;
6556
- };
6557
- '/v1/promotion/supported-types/{type}': {
6558
- parameters: {
6559
- query?: never;
6560
- header?: never;
6561
- path?: never;
6562
- cookie?: never;
6563
- };
6564
- /**
6565
- * Check if specific resource type is supported for promotion
6566
- * @description Checks whether a specific resource type has a registered promotion handler.
6567
- *
6568
- * **Example Usage:**
6569
- * - `GET /promotion/supported-types/product` → `true`
6570
- * - `GET /promotion/supported-types/unknown` → `false`
6571
- */
6572
- get: operations['PromotionController_isResourceTypeSupported'];
6573
- put?: never;
6574
- post?: never;
6575
- delete?: never;
6576
- options?: never;
6577
- head?: never;
6578
- patch?: never;
6579
- trace?: never;
6580
- };
6581
6540
  '/v1/signup': {
6582
6541
  parameters: {
6583
6542
  query?: never;
@@ -7152,6 +7111,26 @@ export interface paths {
7152
7111
  patch?: never;
7153
7112
  trace?: never;
7154
7113
  };
7114
+ '/v1/discounts/bulk-status': {
7115
+ parameters: {
7116
+ query?: never;
7117
+ header?: never;
7118
+ path?: never;
7119
+ cookie?: never;
7120
+ };
7121
+ get?: never;
7122
+ put?: never;
7123
+ post?: never;
7124
+ delete?: never;
7125
+ options?: never;
7126
+ head?: never;
7127
+ /**
7128
+ * Bulk activate or deactivate discounts
7129
+ * @description Sets isActive on 1-100 discounts. Returns the updated discounts; 404 if any id is missing.
7130
+ */
7131
+ patch: operations['DiscountsController_bulkUpdateStatus'];
7132
+ trace?: never;
7133
+ };
7155
7134
  '/v1/discounts/calculate': {
7156
7135
  parameters: {
7157
7136
  query?: never;
@@ -11292,6 +11271,26 @@ export interface paths {
11292
11271
  patch?: never;
11293
11272
  trace?: never;
11294
11273
  };
11274
+ '/v1/cms/collections/bulk-status': {
11275
+ parameters: {
11276
+ query?: never;
11277
+ header?: never;
11278
+ path?: never;
11279
+ cookie?: never;
11280
+ };
11281
+ get?: never;
11282
+ put?: never;
11283
+ post?: never;
11284
+ delete?: never;
11285
+ options?: never;
11286
+ head?: never;
11287
+ /**
11288
+ * Bulk activate or deactivate collections
11289
+ * @description Sets isActive on 1-100 collections in the current store. Returns the updated collections; 404 if any id is missing.
11290
+ */
11291
+ patch: operations['CmsController_bulkUpdateCollectionStatus'];
11292
+ trace?: never;
11293
+ };
11295
11294
  '/v1/cms/entries': {
11296
11295
  parameters: {
11297
11296
  query?: never;
@@ -11489,6 +11488,26 @@ export interface paths {
11489
11488
  patch?: never;
11490
11489
  trace?: never;
11491
11490
  };
11491
+ '/v1/cms/entries/bulk-status': {
11492
+ parameters: {
11493
+ query?: never;
11494
+ header?: never;
11495
+ path?: never;
11496
+ cookie?: never;
11497
+ };
11498
+ get?: never;
11499
+ put?: never;
11500
+ post?: never;
11501
+ delete?: never;
11502
+ options?: never;
11503
+ head?: never;
11504
+ /**
11505
+ * Bulk publish, unpublish or apply held updates on entries
11506
+ * @description Publishes, unpublishes or applies the held update of 1-100 entries in the current store through the single-entry paths. apply-latest-version applies a held copied update; it reverts to that version, so an undo version is written. Each id reports its own result: one that fails (missing, invalid state, publish validation, no held update) does not stop the rest.
11507
+ */
11508
+ patch: operations['CmsController_bulkUpdateEntryStatus'];
11509
+ trace?: never;
11510
+ };
11492
11511
  '/v1/cms/entries/{entryId}/publish': {
11493
11512
  parameters: {
11494
11513
  query?: never;
@@ -11687,6 +11706,26 @@ export interface paths {
11687
11706
  patch?: never;
11688
11707
  trace?: never;
11689
11708
  };
11709
+ '/v1/cms/modules/bulk-status': {
11710
+ parameters: {
11711
+ query?: never;
11712
+ header?: never;
11713
+ path?: never;
11714
+ cookie?: never;
11715
+ };
11716
+ get?: never;
11717
+ put?: never;
11718
+ post?: never;
11719
+ delete?: never;
11720
+ options?: never;
11721
+ head?: never;
11722
+ /**
11723
+ * Bulk activate or deactivate modules
11724
+ * @description Sets isActive on 1-100 modules in the current store. Returns the updated modules; 404 if any id is missing.
11725
+ */
11726
+ patch: operations['CmsController_bulkUpdateModuleStatus'];
11727
+ trace?: never;
11728
+ };
11690
11729
  '/v1/cms/modules/{id}/attach': {
11691
11730
  parameters: {
11692
11731
  query?: never;
@@ -15178,6 +15217,12 @@ export interface components {
15178
15217
  */
15179
15218
  metaKeywords?: string;
15180
15219
  };
15220
+ BulkUpdateCategoryStatusDto: {
15221
+ /** @description Category IDs to activate or deactivate */
15222
+ categoryIds: string[];
15223
+ /** @description Target active state */
15224
+ isActive: boolean;
15225
+ };
15181
15226
  UpdateProductCategoryDto: {
15182
15227
  /**
15183
15228
  * @description Display name of the category
@@ -17264,11 +17309,11 @@ export interface components {
17264
17309
  completedSteps: string[];
17265
17310
  pendingSteps: string[];
17266
17311
  nextActions: string[];
17267
- /** @description ID of the linked sandbox tenant (if createSandbox=true) */
17312
+ /** @description ID of the linked sandbox tenant, when linked */
17268
17313
  sandboxTenantId?: string;
17269
- /** @description ID of the sandbox store (if createSandbox=true) */
17314
+ /** @description ID of the sandbox store, when linked */
17270
17315
  sandboxStoreId?: string;
17271
- /** @description Domain of the sandbox store (if createSandbox=true) */
17316
+ /** @description Domain of the sandbox store, when linked */
17272
17317
  sandboxDomain?: string;
17273
17318
  };
17274
17319
  EnsureBootstrapDto: {
@@ -17296,6 +17341,19 @@ export interface components {
17296
17341
  created: string[];
17297
17342
  skipped: components['schemas']['EnsureBootstrapSkippedItemDto'][];
17298
17343
  };
17344
+ CreateLinkedSandboxDto: {
17345
+ /**
17346
+ * @description Domain for the sandbox store. Defaults to sandbox.{primaryDomain} of the default store.
17347
+ * @example sandbox.acme.example.com
17348
+ */
17349
+ sandboxDomain?: string;
17350
+ };
17351
+ LinkedSandboxResultDto: {
17352
+ tenantId: string;
17353
+ sandboxTenantId: string;
17354
+ sandboxStoreId: string;
17355
+ sandboxDomain: string;
17356
+ };
17299
17357
  ConfigureProviderDto: {
17300
17358
  /**
17301
17359
  * @description Provider category (shipping, tax, or communication). Payment providers managed by payments-service.
@@ -21230,7 +21288,7 @@ export interface components {
21230
21288
  sourceStoreId: string;
21231
21289
  /**
21232
21290
  * Format: uuid
21233
- * @description Target store ID to copy to
21291
+ * @description Target store ID to copy to: a store in the same tenant, or from a sandbox tenant a store in its linked production tenant
21234
21292
  */
21235
21293
  targetStoreId: string;
21236
21294
  /**
@@ -21279,6 +21337,11 @@ export interface components {
21279
21337
  * @example blue-widget-us-store
21280
21338
  */
21281
21339
  suggestedSlug?: string;
21340
+ /**
21341
+ * @description Status the resource has in the target store after the copy. New copies are non-live (draft, disabled or inactive); a conflicting item reports the target's current status, which overwrite keeps
21342
+ * @example draft
21343
+ */
21344
+ contentStatus?: string;
21282
21345
  };
21283
21346
  CopyPreviewSummaryDto: {
21284
21347
  /** @description Total resources analyzed */
@@ -21323,7 +21386,7 @@ export interface components {
21323
21386
  sourceStoreId: string;
21324
21387
  /**
21325
21388
  * Format: uuid
21326
- * @description Target store ID to copy to
21389
+ * @description Target store ID to copy to: a store in the same tenant, or from a sandbox tenant a store in its linked production tenant
21327
21390
  */
21328
21391
  targetStoreId: string;
21329
21392
  /**
@@ -26603,137 +26666,6 @@ export interface components {
26603
26666
  [key: string]: unknown;
26604
26667
  };
26605
26668
  };
26606
- PromotionRequestDto: {
26607
- /**
26608
- * @description Resource type to promote
26609
- * @example product
26610
- * @enum {string}
26611
- */
26612
- resourceType: 'product' | 'category' | 'price_list' | 'discount' | 'cms_page';
26613
- /**
26614
- * @description Array of resource IDs to promote
26615
- * @example [
26616
- * "123e4567-e89b-12d3-a456-426614174001"
26617
- * ]
26618
- */
26619
- resourceIds: string[];
26620
- /**
26621
- * @description Optional array of dependency types to include (e.g., ["variant", "asset"])
26622
- * @example [
26623
- * "variant",
26624
- * "asset"
26625
- * ]
26626
- */
26627
- includeDependencies?: string[];
26628
- };
26629
- PromotedResourceDto: {
26630
- /**
26631
- * @description Original resource ID in sandbox environment
26632
- * @example 123e4567-e89b-12d3-a456-426614174001
26633
- */
26634
- sandboxId: string;
26635
- /**
26636
- * @description New resource ID in production environment
26637
- * @example 987e6543-e21b-98d7-a654-426614174999
26638
- */
26639
- productionId: string;
26640
- /**
26641
- * @description Resource type
26642
- * @example product
26643
- */
26644
- type: string;
26645
- };
26646
- DependentResourceDto: {
26647
- /**
26648
- * @description Resource ID
26649
- * @example 123e4567-e89b-12d3-a456-426614174005
26650
- */
26651
- id: string;
26652
- /**
26653
- * @description Resource name or identifier
26654
- * @example Product Variant: Red/Large
26655
- */
26656
- name: string;
26657
- /**
26658
- * @description Resource type
26659
- * @example variant
26660
- */
26661
- type: string;
26662
- };
26663
- DependencyAnalysisDto: {
26664
- /**
26665
- * @description Dependency type identifier
26666
- * @example variant
26667
- */
26668
- type: string;
26669
- /**
26670
- * @description Human-readable dependency label
26671
- * @example Product Variants
26672
- */
26673
- label: string;
26674
- /**
26675
- * @description Number of dependent resources found
26676
- * @example 3
26677
- */
26678
- count: number;
26679
- /** @description Array of dependent resources */
26680
- resources: components['schemas']['DependentResourceDto'][];
26681
- /**
26682
- * @description Whether this dependency is required
26683
- * @example true
26684
- */
26685
- required: boolean;
26686
- /**
26687
- * @description Explanation of the dependency relationship
26688
- * @example Product variants define the available options (size, color) for this product
26689
- */
26690
- explanation: string;
26691
- };
26692
- PromotionResultDto: {
26693
- /**
26694
- * @description Promotion operation status
26695
- * @example success
26696
- * @enum {string}
26697
- */
26698
- status: 'success' | 'pending_confirmation' | 'failed';
26699
- /**
26700
- * @description Production tenant ID (for successful promotions)
26701
- * @example 123e4567-e89b-12d3-a456-426614174003
26702
- */
26703
- productionTenantId?: string;
26704
- /** @description Array of promoted resources with ID mappings */
26705
- promotedResources?: components['schemas']['PromotedResourceDto'][];
26706
- /** @description Dependencies requiring user confirmation (when status=pending_confirmation) */
26707
- dependencies?: components['schemas']['DependencyAnalysisDto'][];
26708
- /**
26709
- * @description Human-readable message describing the result
26710
- * @example Successfully promoted 5 products to production
26711
- */
26712
- message?: string;
26713
- /**
26714
- * @description Operation duration in milliseconds
26715
- * @example 1523
26716
- */
26717
- duration?: number;
26718
- /**
26719
- * @description Audit trail ID for this promotion
26720
- * @example 123e4567-e89b-12d3-a456-426614174004
26721
- */
26722
- auditId?: string;
26723
- /**
26724
- * @description OpenTelemetry trace ID
26725
- * @example 1234567890abcdef
26726
- */
26727
- traceId?: string;
26728
- /**
26729
- * @description Dependency types that were included
26730
- * @example [
26731
- * "variant",
26732
- * "asset"
26733
- * ]
26734
- */
26735
- dependenciesIncluded?: string[];
26736
- };
26737
26669
  StartSignupDto: {
26738
26670
  /** @example owner@acme.com */
26739
26671
  email: string;
@@ -28801,6 +28733,12 @@ export interface components {
28801
28733
  page: number;
28802
28734
  limit: number;
28803
28735
  };
28736
+ BulkUpdateDiscountStatusDto: {
28737
+ /** @description Discount IDs to activate or deactivate */
28738
+ discountIds: string[];
28739
+ /** @description Target active state */
28740
+ isActive: boolean;
28741
+ };
28804
28742
  UpdateDiscountDto: {
28805
28743
  /**
28806
28744
  * @description Internal name for the discount
@@ -35730,6 +35668,12 @@ export interface components {
35730
35668
  /** @example 2 */
35731
35669
  archived: number;
35732
35670
  };
35671
+ BulkUpdateCollectionStatusDto: {
35672
+ /** @description Collection IDs to activate or deactivate */
35673
+ collectionIds: string[];
35674
+ /** @description Target active state */
35675
+ isActive: boolean;
35676
+ };
35733
35677
  UpdateContentCollectionDto: {
35734
35678
  /** @description Name of the collection */
35735
35679
  name?: string;
@@ -35867,6 +35811,8 @@ export interface components {
35867
35811
  /** @enum {string} */
35868
35812
  status: 'draft' | 'in_review' | 'published' | 'scheduled' | 'archived';
35869
35813
  currentVersionNumber: number;
35814
+ /** @description True when the version at currentVersionNumber is a copied update held unapplied. The entry and its blocks still hold the old content. Returned on entry list and detail for admin callers. */
35815
+ hasHeldUpdate?: boolean;
35870
35816
  /** Format: date-time */
35871
35817
  publishedAt?: string | null;
35872
35818
  /** Format: date-time */
@@ -36053,6 +35999,29 @@ export interface components {
36053
35999
  /** @description Feedback from reviewer */
36054
36000
  feedback?: string;
36055
36001
  };
36002
+ BulkUpdateEntryStatusDto: {
36003
+ /** @description Entry IDs to publish, unpublish or apply */
36004
+ entryIds: string[];
36005
+ /**
36006
+ * @description publish sends entries live; unpublish returns them to draft; apply-latest-version applies a held copied update
36007
+ * @enum {string}
36008
+ */
36009
+ action: 'publish' | 'unpublish' | 'apply-latest-version';
36010
+ };
36011
+ BulkEntryStatusResultItemDto: {
36012
+ /** @description Entry ID */
36013
+ id: string;
36014
+ /** @description Whether the transition was applied */
36015
+ success: boolean;
36016
+ /** @description Entry status after the call; unchanged when it failed */
36017
+ status?: string;
36018
+ /** @description Why the transition failed, for example a missing entry, a publish validation error or no held update */
36019
+ error?: string;
36020
+ };
36021
+ BulkEntryStatusResultDto: {
36022
+ /** @description One result per requested ID, in request order */
36023
+ results: components['schemas']['BulkEntryStatusResultItemDto'][];
36024
+ };
36056
36025
  PublishContentDto: {
36057
36026
  /**
36058
36027
  * @description Optional publish timestamp (ISO 8601). Omit for now. Must not be in the future; use entries.schedule for future dates.
@@ -36153,6 +36122,12 @@ export interface components {
36153
36122
  /** @example 20 */
36154
36123
  limit: number;
36155
36124
  };
36125
+ BulkUpdateModuleStatusDto: {
36126
+ /** @description Module IDs to activate or deactivate */
36127
+ moduleIds: string[];
36128
+ /** @description Target active state */
36129
+ isActive: boolean;
36130
+ };
36156
36131
  UpdateContentModuleDto: {
36157
36132
  /** @description Name of the content module */
36158
36133
  name?: string;
@@ -39834,6 +39809,44 @@ export interface operations {
39834
39809
  };
39835
39810
  };
39836
39811
  };
39812
+ ProductCategoryController_bulkUpdateStatus: {
39813
+ parameters: {
39814
+ query?: never;
39815
+ header?: never;
39816
+ path?: never;
39817
+ cookie?: never;
39818
+ };
39819
+ requestBody: {
39820
+ content: {
39821
+ 'application/json': components['schemas']['BulkUpdateCategoryStatusDto'];
39822
+ };
39823
+ };
39824
+ responses: {
39825
+ /** @description Categories updated */
39826
+ 200: {
39827
+ headers: {
39828
+ [name: string]: unknown;
39829
+ };
39830
+ content: {
39831
+ 'application/json': components['schemas']['ProductCategoryDto'][];
39832
+ };
39833
+ };
39834
+ /** @description Invalid ids or body */
39835
+ 400: {
39836
+ headers: {
39837
+ [name: string]: unknown;
39838
+ };
39839
+ content?: never;
39840
+ };
39841
+ /** @description Category not found */
39842
+ 404: {
39843
+ headers: {
39844
+ [name: string]: unknown;
39845
+ };
39846
+ content?: never;
39847
+ };
39848
+ };
39849
+ };
39837
39850
  FacetController_findOne: {
39838
39851
  parameters: {
39839
39852
  query?: never;
@@ -42254,6 +42267,61 @@ export interface operations {
42254
42267
  };
42255
42268
  };
42256
42269
  };
42270
+ TenantProvisioningController_createLinkedSandbox: {
42271
+ parameters: {
42272
+ query?: never;
42273
+ header?: never;
42274
+ path: {
42275
+ /** @description Production tenant ID (UUID) */
42276
+ id: string;
42277
+ };
42278
+ cookie?: never;
42279
+ };
42280
+ requestBody?: {
42281
+ content: {
42282
+ 'application/json': components['schemas']['CreateLinkedSandboxDto'];
42283
+ };
42284
+ };
42285
+ responses: {
42286
+ /** @description Linked sandbox created */
42287
+ 201: {
42288
+ headers: {
42289
+ [name: string]: unknown;
42290
+ };
42291
+ content: {
42292
+ 'application/json': components['schemas']['LinkedSandboxResultDto'];
42293
+ };
42294
+ };
42295
+ /** @description Unauthorized - authentication required */
42296
+ 401: {
42297
+ headers: {
42298
+ [name: string]: unknown;
42299
+ };
42300
+ content?: never;
42301
+ };
42302
+ /** @description Forbidden - system admin role required */
42303
+ 403: {
42304
+ headers: {
42305
+ [name: string]: unknown;
42306
+ };
42307
+ content?: never;
42308
+ };
42309
+ /** @description Tenant not found */
42310
+ 404: {
42311
+ headers: {
42312
+ [name: string]: unknown;
42313
+ };
42314
+ content?: never;
42315
+ };
42316
+ /** @description Conflict - tenant is itself a sandbox, already has a linked sandbox, has no default store, or the sandbox slug or domain is taken */
42317
+ 409: {
42318
+ headers: {
42319
+ [name: string]: unknown;
42320
+ };
42321
+ content?: never;
42322
+ };
42323
+ };
42324
+ };
42257
42325
  TenantProvidersController_getProviders: {
42258
42326
  parameters: {
42259
42327
  query?: {
@@ -48246,6 +48314,13 @@ export interface operations {
48246
48314
  };
48247
48315
  content?: never;
48248
48316
  };
48317
+ /** @description Caller may not write to the linked production tenant */
48318
+ 403: {
48319
+ headers: {
48320
+ [name: string]: unknown;
48321
+ };
48322
+ content?: never;
48323
+ };
48249
48324
  /** @description Source or target store not found */
48250
48325
  404: {
48251
48326
  headers: {
@@ -48284,6 +48359,13 @@ export interface operations {
48284
48359
  };
48285
48360
  content?: never;
48286
48361
  };
48362
+ /** @description Caller may not write to the linked production tenant */
48363
+ 403: {
48364
+ headers: {
48365
+ [name: string]: unknown;
48366
+ };
48367
+ content?: never;
48368
+ };
48287
48369
  /** @description Source or target store not found, or resources not found */
48288
48370
  404: {
48289
48371
  headers: {
@@ -53340,94 +53422,6 @@ export interface operations {
53340
53422
  };
53341
53423
  };
53342
53424
  };
53343
- PromotionController_promoteResources: {
53344
- parameters: {
53345
- query?: never;
53346
- header?: never;
53347
- path?: never;
53348
- cookie?: never;
53349
- };
53350
- requestBody: {
53351
- content: {
53352
- 'application/json': components['schemas']['PromotionRequestDto'];
53353
- };
53354
- };
53355
- responses: {
53356
- /** @description Resources promoted successfully */
53357
- 201: {
53358
- headers: {
53359
- [name: string]: unknown;
53360
- };
53361
- content: {
53362
- 'application/json': components['schemas']['PromotionResultDto'];
53363
- };
53364
- };
53365
- /** @description Invalid request (unsupported resource type, validation errors) */
53366
- 400: {
53367
- headers: {
53368
- [name: string]: unknown;
53369
- };
53370
- content?: never;
53371
- };
53372
- /** @description Resources not found (sandbox tenant, production tenant, or resources) */
53373
- 404: {
53374
- headers: {
53375
- [name: string]: unknown;
53376
- };
53377
- content?: never;
53378
- };
53379
- /** @description Promotion operation failed */
53380
- 500: {
53381
- headers: {
53382
- [name: string]: unknown;
53383
- };
53384
- content?: never;
53385
- };
53386
- };
53387
- };
53388
- PromotionController_getSupportedResourceTypes: {
53389
- parameters: {
53390
- query?: never;
53391
- header?: never;
53392
- path?: never;
53393
- cookie?: never;
53394
- };
53395
- requestBody?: never;
53396
- responses: {
53397
- /** @description List of supported resource types */
53398
- 200: {
53399
- headers: {
53400
- [name: string]: unknown;
53401
- };
53402
- content: {
53403
- 'application/json': string[];
53404
- };
53405
- };
53406
- };
53407
- };
53408
- PromotionController_isResourceTypeSupported: {
53409
- parameters: {
53410
- query?: never;
53411
- header?: never;
53412
- path: {
53413
- /** @description Resource type to check (e.g., product, category) */
53414
- type: string;
53415
- };
53416
- cookie?: never;
53417
- };
53418
- requestBody?: never;
53419
- responses: {
53420
- /** @description Whether resource type is supported */
53421
- 200: {
53422
- headers: {
53423
- [name: string]: unknown;
53424
- };
53425
- content: {
53426
- 'application/json': boolean;
53427
- };
53428
- };
53429
- };
53430
- };
53431
53425
  SignupController_start: {
53432
53426
  parameters: {
53433
53427
  query?: never;
@@ -54625,6 +54619,44 @@ export interface operations {
54625
54619
  };
54626
54620
  };
54627
54621
  };
54622
+ DiscountsController_bulkUpdateStatus: {
54623
+ parameters: {
54624
+ query?: never;
54625
+ header?: never;
54626
+ path?: never;
54627
+ cookie?: never;
54628
+ };
54629
+ requestBody: {
54630
+ content: {
54631
+ 'application/json': components['schemas']['BulkUpdateDiscountStatusDto'];
54632
+ };
54633
+ };
54634
+ responses: {
54635
+ /** @description Discounts updated */
54636
+ 200: {
54637
+ headers: {
54638
+ [name: string]: unknown;
54639
+ };
54640
+ content: {
54641
+ 'application/json': components['schemas']['DiscountDto'][];
54642
+ };
54643
+ };
54644
+ /** @description Invalid ids or body */
54645
+ 400: {
54646
+ headers: {
54647
+ [name: string]: unknown;
54648
+ };
54649
+ content?: never;
54650
+ };
54651
+ /** @description Discount not found */
54652
+ 404: {
54653
+ headers: {
54654
+ [name: string]: unknown;
54655
+ };
54656
+ content?: never;
54657
+ };
54658
+ };
54659
+ };
54628
54660
  DiscountsController_calculate: {
54629
54661
  parameters: {
54630
54662
  query?: never;
@@ -63654,6 +63686,44 @@ export interface operations {
63654
63686
  };
63655
63687
  };
63656
63688
  };
63689
+ CmsController_bulkUpdateCollectionStatus: {
63690
+ parameters: {
63691
+ query?: never;
63692
+ header?: never;
63693
+ path?: never;
63694
+ cookie?: never;
63695
+ };
63696
+ requestBody: {
63697
+ content: {
63698
+ 'application/json': components['schemas']['BulkUpdateCollectionStatusDto'];
63699
+ };
63700
+ };
63701
+ responses: {
63702
+ /** @description Collections updated */
63703
+ 200: {
63704
+ headers: {
63705
+ [name: string]: unknown;
63706
+ };
63707
+ content: {
63708
+ 'application/json': components['schemas']['ContentCollectionResponseDto'][];
63709
+ };
63710
+ };
63711
+ /** @description Invalid ids or body */
63712
+ 400: {
63713
+ headers: {
63714
+ [name: string]: unknown;
63715
+ };
63716
+ content?: never;
63717
+ };
63718
+ /** @description Collection not found */
63719
+ 404: {
63720
+ headers: {
63721
+ [name: string]: unknown;
63722
+ };
63723
+ content?: never;
63724
+ };
63725
+ };
63726
+ };
63657
63727
  CmsController_getEntries: {
63658
63728
  parameters: {
63659
63729
  query?: {
@@ -64052,6 +64122,37 @@ export interface operations {
64052
64122
  };
64053
64123
  };
64054
64124
  };
64125
+ CmsController_bulkUpdateEntryStatus: {
64126
+ parameters: {
64127
+ query?: never;
64128
+ header?: never;
64129
+ path?: never;
64130
+ cookie?: never;
64131
+ };
64132
+ requestBody: {
64133
+ content: {
64134
+ 'application/json': components['schemas']['BulkUpdateEntryStatusDto'];
64135
+ };
64136
+ };
64137
+ responses: {
64138
+ /** @description Per-id results */
64139
+ 200: {
64140
+ headers: {
64141
+ [name: string]: unknown;
64142
+ };
64143
+ content: {
64144
+ 'application/json': components['schemas']['BulkEntryStatusResultDto'];
64145
+ };
64146
+ };
64147
+ /** @description Invalid ids or body */
64148
+ 400: {
64149
+ headers: {
64150
+ [name: string]: unknown;
64151
+ };
64152
+ content?: never;
64153
+ };
64154
+ };
64155
+ };
64055
64156
  CmsController_publishEntry: {
64056
64157
  parameters: {
64057
64158
  query?: never;
@@ -64446,6 +64547,44 @@ export interface operations {
64446
64547
  };
64447
64548
  };
64448
64549
  };
64550
+ CmsController_bulkUpdateModuleStatus: {
64551
+ parameters: {
64552
+ query?: never;
64553
+ header?: never;
64554
+ path?: never;
64555
+ cookie?: never;
64556
+ };
64557
+ requestBody: {
64558
+ content: {
64559
+ 'application/json': components['schemas']['BulkUpdateModuleStatusDto'];
64560
+ };
64561
+ };
64562
+ responses: {
64563
+ /** @description Modules updated */
64564
+ 200: {
64565
+ headers: {
64566
+ [name: string]: unknown;
64567
+ };
64568
+ content: {
64569
+ 'application/json': components['schemas']['ContentModuleResponseDto'][];
64570
+ };
64571
+ };
64572
+ /** @description Invalid ids or body */
64573
+ 400: {
64574
+ headers: {
64575
+ [name: string]: unknown;
64576
+ };
64577
+ content?: never;
64578
+ };
64579
+ /** @description Module not found */
64580
+ 404: {
64581
+ headers: {
64582
+ [name: string]: unknown;
64583
+ };
64584
+ content?: never;
64585
+ };
64586
+ };
64587
+ };
64449
64588
  CmsController_attachModule: {
64450
64589
  parameters: {
64451
64590
  query?: never;