@devite/shopware-client 1.9.0 → 1.9.1

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 (151) hide show
  1. package/dist/index.d.cts +12 -13
  2. package/dist/index.d.mts +12 -13
  3. package/dist/index.d.ts +12 -13
  4. package/dist/types/api/admin/LogEntry.d.ts +1 -1
  5. package/dist/types/api/admin/Notification.d.ts +1 -1
  6. package/dist/types/api/admin/ScheduledTask.d.ts +1 -1
  7. package/dist/types/api/admin/ShopwarePlugin.d.ts +2 -2
  8. package/dist/types/api/admin/SystemConfigEntry.d.ts +1 -1
  9. package/dist/types/api/admin/acl/AclRole.d.ts +1 -1
  10. package/dist/types/api/admin/acl/AclUserRole.d.ts +1 -1
  11. package/dist/types/api/admin/app/App.d.ts +2 -2
  12. package/dist/types/api/admin/app/AppActionButton.d.ts +2 -2
  13. package/dist/types/api/admin/category/Category.d.ts +3 -5
  14. package/dist/types/api/admin/category/MainCategory.d.ts +1 -1
  15. package/dist/types/api/admin/cms/CmsPage.d.ts +5 -1
  16. package/dist/types/api/admin/cms/CmsSection.d.ts +1 -3
  17. package/dist/types/api/admin/cms/CmsSlot.d.ts +1 -1
  18. package/dist/types/api/admin/cms/landingPage/LandingPage.d.ts +1 -1
  19. package/dist/types/api/admin/country/Country.d.ts +1 -1
  20. package/dist/types/api/admin/currency/CurrencyCountryRounding.d.ts +1 -1
  21. package/dist/types/api/admin/custom/field/CustomField.d.ts +1 -1
  22. package/dist/types/api/admin/custom/field/set/CustomFieldSet.d.ts +1 -1
  23. package/dist/types/api/admin/customer/Customer.d.ts +2 -2
  24. package/dist/types/api/admin/customer/CustomerAddress.d.ts +1 -1
  25. package/dist/types/api/admin/customer/{group/CustomerGroup.d.ts → CustomerGroup.d.ts} +2 -2
  26. package/dist/types/api/admin/customer/index.d.ts +1 -1
  27. package/dist/types/api/admin/document/ShopwareDocument.d.ts +1 -1
  28. package/dist/types/api/admin/document/ShopwareDocumentBaseConfig.d.ts +1 -1
  29. package/dist/types/api/admin/locale/Language.d.ts +1 -1
  30. package/dist/types/api/admin/mail/MailHeaderFooter.d.ts +2 -2
  31. package/dist/types/api/admin/mail/template/MailTemplate.d.ts +2 -2
  32. package/dist/types/api/admin/mail/template/MailTemplateType.d.ts +2 -2
  33. package/dist/types/api/admin/media/Media.d.ts +1 -1
  34. package/dist/types/api/admin/media/thumbnail/MediaThumbnail.d.ts +1 -1
  35. package/dist/types/api/admin/media/thumbnail/MediaThumbnailSize.d.ts +1 -1
  36. package/dist/types/api/admin/newsletterRecipient/NewsletterRecipient.d.ts +1 -1
  37. package/dist/types/api/admin/numberRange/NumberRange.d.ts +2 -2
  38. package/dist/types/api/admin/numberRange/NumberRangeState.d.ts +1 -1
  39. package/dist/types/api/admin/numberRange/NumberRangeType.d.ts +2 -2
  40. package/dist/types/api/admin/order/Order.d.ts +2 -2
  41. package/dist/types/api/admin/order/OrderAddress.d.ts +1 -1
  42. package/dist/types/api/admin/order/OrderCustomer.d.ts +1 -1
  43. package/dist/types/api/admin/order/delivery/OrderDelivery.d.ts +1 -1
  44. package/dist/types/api/admin/order/delivery/OrderDeliveryPosition.d.ts +1 -1
  45. package/dist/types/api/admin/order/lineItem/OrderLineItem.d.ts +1 -1
  46. package/dist/types/api/admin/order/lineItem/OrderLineItemDownload.d.ts +1 -1
  47. package/dist/types/api/admin/order/transaction/OrderTransaction.d.ts +1 -1
  48. package/dist/types/api/admin/order/transaction/capture/OrderTransactionCapture.d.ts +1 -1
  49. package/dist/types/api/admin/order/transaction/capture/OrderTransactionCaptureRefund.d.ts +1 -1
  50. package/dist/types/api/admin/order/transaction/capture/OrderTransactionCaptureRefundPosition.d.ts +1 -1
  51. package/dist/types/api/admin/paymentMethod/PaymentMethod.d.ts +1 -1
  52. package/dist/types/api/admin/product/Product.d.ts +17 -11
  53. package/dist/types/api/admin/product/ProductDownload.d.ts +2 -2
  54. package/dist/types/api/admin/product/ProductManufacturer.d.ts +12 -2
  55. package/dist/types/api/admin/product/ProductMedia.d.ts +1 -1
  56. package/dist/types/api/admin/product/ProductPrice.d.ts +1 -1
  57. package/dist/types/api/admin/product/ProductSorting.d.ts +2 -2
  58. package/dist/types/api/admin/product/crossSelling/ProductCrossSellingAssignedProduct.d.ts +1 -1
  59. package/dist/types/api/admin/product/search/ProductSearchKeyword.d.ts +1 -1
  60. package/dist/types/api/admin/product/search/config/ProductSearchConfig.d.ts +1 -1
  61. package/dist/types/api/admin/product/search/config/ProductSearchConfigField.d.ts +1 -1
  62. package/dist/types/api/admin/product/stream/ProductStreamFilter.d.ts +1 -1
  63. package/dist/types/api/admin/promotion/Promotion.d.ts +2 -2
  64. package/dist/types/api/admin/promotion/PromotionIndividualCode.d.ts +1 -1
  65. package/dist/types/api/admin/promotion/PromotionSalesChannel.d.ts +1 -1
  66. package/dist/types/api/admin/promotion/PromotionSetGroup.d.ts +1 -1
  67. package/dist/types/api/admin/promotion/discount/PromotionDiscount.d.ts +1 -1
  68. package/dist/types/api/admin/promotion/discount/PromotionDiscountPrice.d.ts +1 -1
  69. package/dist/types/api/admin/propertyGroup/PropertyGroup.d.ts +1 -1
  70. package/dist/types/api/admin/propertyGroup/PropertyGroupOption.d.ts +1 -1
  71. package/dist/types/api/admin/rule/RuleCondition.d.ts +1 -1
  72. package/dist/types/api/admin/salesChannel/SalesChannel.d.ts +2 -2
  73. package/dist/types/api/admin/salesChannel/SalesChannelDomain.d.ts +1 -1
  74. package/dist/types/api/admin/salesChannel/SalesChannelType.d.ts +2 -2
  75. package/dist/types/api/admin/seo/SeoUrl.d.ts +1 -1
  76. package/dist/types/api/admin/seo/SeoUrlTemplate.d.ts +1 -1
  77. package/dist/types/api/admin/shippingMethod/AppShippingMethod.d.ts +1 -1
  78. package/dist/types/api/admin/shippingMethod/ShippingMethod.d.ts +1 -1
  79. package/dist/types/api/admin/shippingMethod/ShippingMethodPrice.d.ts +1 -1
  80. package/dist/types/api/admin/stateMachine/StateMachine.d.ts +2 -2
  81. package/dist/types/api/admin/stateMachine/StateMachineHistory.d.ts +1 -1
  82. package/dist/types/api/admin/stateMachine/StateMachineTransition.d.ts +1 -1
  83. package/dist/types/api/admin/tax/TaxProvider.d.ts +2 -2
  84. package/dist/types/api/admin/tax/rule/TaxRule.d.ts +1 -1
  85. package/dist/types/api/admin/tax/rule/TaxRuleType.d.ts +2 -2
  86. package/dist/types/api/admin/user/User.d.ts +1 -1
  87. package/dist/types/api/admin/user/UserAccessKey.d.ts +1 -1
  88. package/dist/types/api/admin/user/UserConfig.d.ts +1 -1
  89. package/dist/types/api/admin/webhook/Webhook.d.ts +1 -1
  90. package/dist/types/api/admin/webhook/WebhookEventLog.d.ts +1 -1
  91. package/dist/types/api/store/Currency.d.ts +2 -2
  92. package/dist/types/api/store/DeliveryTime.d.ts +2 -2
  93. package/dist/types/api/store/PaymentMethod.d.ts +2 -2
  94. package/dist/types/api/store/Rule.d.ts +1 -1
  95. package/dist/types/api/store/Salutation.d.ts +2 -2
  96. package/dist/types/api/store/StateMachineState.d.ts +2 -2
  97. package/dist/types/api/store/Tag.d.ts +1 -1
  98. package/dist/types/api/store/Tax.d.ts +1 -1
  99. package/dist/types/api/store/Unit.d.ts +2 -2
  100. package/dist/types/api/store/cart/Cart.d.ts +1 -2
  101. package/dist/types/api/store/cart/delivery/CartDelivery.d.ts +1 -0
  102. package/dist/types/api/store/cart/lineItem/CartLineItem.d.ts +3 -0
  103. package/dist/types/api/store/category/Category.d.ts +5 -6
  104. package/dist/types/api/store/category/MainCategory.d.ts +1 -1
  105. package/dist/types/api/store/cms/CmsBlock.d.ts +1 -1
  106. package/dist/types/api/store/cms/CmsPage.d.ts +2 -2
  107. package/dist/types/api/store/cms/CmsSection.d.ts +3 -2
  108. package/dist/types/api/store/cms/CmsSlot.d.ts +2 -2
  109. package/dist/types/api/store/cms/LandingPage.d.ts +2 -2
  110. package/dist/types/api/store/country/Country.d.ts +2 -2
  111. package/dist/types/api/store/country/CountryState.d.ts +2 -2
  112. package/dist/types/api/store/customer/Customer.d.ts +1 -1
  113. package/dist/types/api/store/customer/CustomerGroup.d.ts +2 -2
  114. package/dist/types/api/store/customer/address/CustomerAddress.d.ts +1 -1
  115. package/dist/types/api/store/customer/address/CustomerAddressBody.d.ts +1 -1
  116. package/dist/types/api/store/document/ShopwareDocument.d.ts +1 -1
  117. package/dist/types/api/store/document/ShopwareDocumentBaseConfig.d.ts +1 -1
  118. package/dist/types/api/store/document/ShopwareDocumentType.d.ts +2 -2
  119. package/dist/types/api/store/locale/Language.d.ts +1 -1
  120. package/dist/types/api/store/locale/Locale.d.ts +2 -2
  121. package/dist/types/api/store/media/Media.d.ts +2 -2
  122. package/dist/types/api/store/media/MediaThumbnail.d.ts +1 -1
  123. package/dist/types/api/store/media/ProductMedia.d.ts +1 -1
  124. package/dist/types/api/store/order/OrderAddress.d.ts +1 -1
  125. package/dist/types/api/store/order/OrderCustomer.d.ts +1 -1
  126. package/dist/types/api/store/order/OrderLineItem.d.ts +5 -29
  127. package/dist/types/api/store/order/OrderLineItemDownload.d.ts +1 -1
  128. package/dist/types/api/store/order/delivery/OrderDelivery.d.ts +1 -1
  129. package/dist/types/api/store/order/delivery/OrderDeliveryPosition.d.ts +1 -1
  130. package/dist/types/api/store/order/transaction/OrderTransaction.d.ts +1 -1
  131. package/dist/types/api/store/order/transaction/capture/OrderTransactionCapture.d.ts +1 -1
  132. package/dist/types/api/store/order/transaction/capture/OrderTransactionCaptureRefund.d.ts +1 -1
  133. package/dist/types/api/store/order/transaction/capture/OrderTransactionCaptureRefundPosition.d.ts +1 -1
  134. package/dist/types/api/store/product/Product.d.ts +4 -8
  135. package/dist/types/api/store/product/ProductDownload.d.ts +1 -1
  136. package/dist/types/api/store/product/ProductListingResult.d.ts +1 -1
  137. package/dist/types/api/store/product/ProductReview.d.ts +1 -1
  138. package/dist/types/api/store/product/ProductStream.d.ts +2 -2
  139. package/dist/types/api/store/product/crossSelling/ProductCrossSelling.d.ts +2 -2
  140. package/dist/types/api/store/product/index.d.ts +0 -1
  141. package/dist/types/api/store/propertyGroup/PropertyGroup.d.ts +2 -2
  142. package/dist/types/api/store/propertyGroup/PropertyGroupOption.d.ts +2 -2
  143. package/dist/types/api/store/salesChannel/SalesChannel.d.ts +2 -2
  144. package/dist/types/api/store/seo/SeoUrlEntity.d.ts +1 -1
  145. package/dist/types/api/store/shippingMethod/ShippingMethod.d.ts +2 -2
  146. package/dist/types/api/store/shippingMethod/ShippingMethodPrice.d.ts +1 -1
  147. package/dist/types/clients/store/AccountClient.d.ts +3 -3
  148. package/package.json +1 -1
  149. package/dist/types/api/admin/customer/group/CustomerGroupRegistrationSalesChannels.d.ts +0 -10
  150. package/dist/types/api/admin/customer/group/index.d.ts +0 -2
  151. package/dist/types/api/store/product/ProductManufacturer.d.ts +0 -15
package/dist/index.d.cts CHANGED
@@ -23,7 +23,6 @@ import { CustomField } from '#types/api/admin/custom/field/CustomField';
23
23
  import { ImpersonationTokenRequest, ImpersonationTokenResponse } from '#types/clients/admin/CustomerClient';
24
24
  import { Customer } from '#types/api/admin/customer/Customer';
25
25
  import { CustomerAddress } from '#types/api/admin/customer/CustomerAddress';
26
- import { CustomerGroup } from '#types/api/admin/customer/group/CustomerGroup';
27
26
  import { DeliveryTime } from '#types/api/admin/DeliveryTime';
28
27
  import { NumberReservationResponse, UploadResponse, DownloadResponse } from '#types/clients/admin/DocumentClient';
29
28
  import { ShopwareDocument } from '#types/api/admin/document/ShopwareDocument';
@@ -808,13 +807,13 @@ declare class CustomerClient extends Client {
808
807
  total: number;
809
808
  data: CustomerGroup[];
810
809
  }>;
811
- create: (data: Partial<CustomerGroup>, responseDetails?: "basic" | "detail") => Promise<{
810
+ create: (data: CustomerGroup, responseDetails?: "basic" | "detail") => Promise<{
812
811
  data: CustomerGroup;
813
812
  }>;
814
813
  get: (id: string) => Promise<{
815
814
  data: CustomerGroup;
816
815
  }>;
817
- update: (id: string, data: Partial<CustomerGroup>, responseDetails?: "basic" | "detail") => Promise<{
816
+ update: (id: string, data: CustomerGroup, responseDetails?: "basic" | "detail") => Promise<{
818
817
  data: CustomerGroup;
819
818
  }>;
820
819
  delete: (id: string) => Promise<void>;
@@ -1287,7 +1286,7 @@ type StateMachineState = StateMachineState$1 & {
1287
1286
  stateMachine?: StateMachine;
1288
1287
  };
1289
1288
 
1290
- type Language = Language$2 & {
1289
+ type Language = Omit<Language$2, "parent" | "children" | "locale" | "translationCode"> & {
1291
1290
  parent?: Language;
1292
1291
  children?: Array<Language>;
1293
1292
  locale?: Locale;
@@ -1300,13 +1299,13 @@ type Locale = Locale$2 & {
1300
1299
 
1301
1300
  type Media = Media$2 & {
1302
1301
  userId?: string;
1303
- user: User;
1302
+ user?: User;
1304
1303
  mediaFolderId?: string;
1305
1304
  };
1306
1305
 
1307
1306
  interface UserAccessKey {
1308
1307
  id: string;
1309
- readonly createdAt?: string;
1308
+ readonly createdAt: string;
1310
1309
  readonly updatedAt?: string;
1311
1310
  accessKey: string;
1312
1311
  secretAccessKey: string;
@@ -1316,7 +1315,7 @@ interface UserAccessKey {
1316
1315
 
1317
1316
  interface UserConfig {
1318
1317
  id: string;
1319
- readonly createdAt?: string;
1318
+ readonly createdAt: string;
1320
1319
  readonly updatedAt?: string;
1321
1320
  key: string;
1322
1321
  value?: string;
@@ -1324,7 +1323,7 @@ interface UserConfig {
1324
1323
 
1325
1324
  interface AclRole {
1326
1325
  id: string;
1327
- readonly createdAt?: string;
1326
+ readonly createdAt: string;
1328
1327
  readonly updatedAt?: string;
1329
1328
  readonly deletedAt?: string;
1330
1329
  name: string;
@@ -1334,7 +1333,7 @@ interface AclRole {
1334
1333
 
1335
1334
  interface User {
1336
1335
  id: string;
1337
- readonly createdAt?: string;
1336
+ readonly createdAt: string;
1338
1337
  readonly updatedAt?: string;
1339
1338
  active?: boolean;
1340
1339
  timeZone?: string;
@@ -1357,7 +1356,7 @@ interface User {
1357
1356
 
1358
1357
  interface StateMachineHistory {
1359
1358
  id: string;
1360
- readonly createdAt?: string;
1359
+ readonly createdAt: string;
1361
1360
  readonly updatedAt?: string;
1362
1361
  referencedId: string;
1363
1362
  referencedVersionId: string;
@@ -1376,7 +1375,7 @@ interface StateMachineHistory {
1376
1375
 
1377
1376
  interface StateMachine {
1378
1377
  id: string;
1379
- readonly createdAt?: string;
1378
+ readonly createdAt: string;
1380
1379
  readonly updatedAt?: string;
1381
1380
  technicalName: string;
1382
1381
  name: string;
@@ -1385,12 +1384,12 @@ interface StateMachine {
1385
1384
  transitions?: Array<StateMachineTransition>;
1386
1385
  historyEntries?: Array<StateMachineHistory>;
1387
1386
  customFields?: GenericRecord;
1388
- translated?: Record<string, string>;
1387
+ translated?: Record<string, any>;
1389
1388
  }
1390
1389
 
1391
1390
  interface StateMachineTransition {
1392
1391
  id: string;
1393
- readonly createdAt?: string;
1392
+ readonly createdAt: string;
1394
1393
  readonly updatedAt?: string;
1395
1394
  actionName: string;
1396
1395
  stateMachineId: string;
package/dist/index.d.mts CHANGED
@@ -23,7 +23,6 @@ import { CustomField } from '#types/api/admin/custom/field/CustomField';
23
23
  import { ImpersonationTokenRequest, ImpersonationTokenResponse } from '#types/clients/admin/CustomerClient';
24
24
  import { Customer } from '#types/api/admin/customer/Customer';
25
25
  import { CustomerAddress } from '#types/api/admin/customer/CustomerAddress';
26
- import { CustomerGroup } from '#types/api/admin/customer/group/CustomerGroup';
27
26
  import { DeliveryTime } from '#types/api/admin/DeliveryTime';
28
27
  import { NumberReservationResponse, UploadResponse, DownloadResponse } from '#types/clients/admin/DocumentClient';
29
28
  import { ShopwareDocument } from '#types/api/admin/document/ShopwareDocument';
@@ -808,13 +807,13 @@ declare class CustomerClient extends Client {
808
807
  total: number;
809
808
  data: CustomerGroup[];
810
809
  }>;
811
- create: (data: Partial<CustomerGroup>, responseDetails?: "basic" | "detail") => Promise<{
810
+ create: (data: CustomerGroup, responseDetails?: "basic" | "detail") => Promise<{
812
811
  data: CustomerGroup;
813
812
  }>;
814
813
  get: (id: string) => Promise<{
815
814
  data: CustomerGroup;
816
815
  }>;
817
- update: (id: string, data: Partial<CustomerGroup>, responseDetails?: "basic" | "detail") => Promise<{
816
+ update: (id: string, data: CustomerGroup, responseDetails?: "basic" | "detail") => Promise<{
818
817
  data: CustomerGroup;
819
818
  }>;
820
819
  delete: (id: string) => Promise<void>;
@@ -1287,7 +1286,7 @@ type StateMachineState = StateMachineState$1 & {
1287
1286
  stateMachine?: StateMachine;
1288
1287
  };
1289
1288
 
1290
- type Language = Language$2 & {
1289
+ type Language = Omit<Language$2, "parent" | "children" | "locale" | "translationCode"> & {
1291
1290
  parent?: Language;
1292
1291
  children?: Array<Language>;
1293
1292
  locale?: Locale;
@@ -1300,13 +1299,13 @@ type Locale = Locale$2 & {
1300
1299
 
1301
1300
  type Media = Media$2 & {
1302
1301
  userId?: string;
1303
- user: User;
1302
+ user?: User;
1304
1303
  mediaFolderId?: string;
1305
1304
  };
1306
1305
 
1307
1306
  interface UserAccessKey {
1308
1307
  id: string;
1309
- readonly createdAt?: string;
1308
+ readonly createdAt: string;
1310
1309
  readonly updatedAt?: string;
1311
1310
  accessKey: string;
1312
1311
  secretAccessKey: string;
@@ -1316,7 +1315,7 @@ interface UserAccessKey {
1316
1315
 
1317
1316
  interface UserConfig {
1318
1317
  id: string;
1319
- readonly createdAt?: string;
1318
+ readonly createdAt: string;
1320
1319
  readonly updatedAt?: string;
1321
1320
  key: string;
1322
1321
  value?: string;
@@ -1324,7 +1323,7 @@ interface UserConfig {
1324
1323
 
1325
1324
  interface AclRole {
1326
1325
  id: string;
1327
- readonly createdAt?: string;
1326
+ readonly createdAt: string;
1328
1327
  readonly updatedAt?: string;
1329
1328
  readonly deletedAt?: string;
1330
1329
  name: string;
@@ -1334,7 +1333,7 @@ interface AclRole {
1334
1333
 
1335
1334
  interface User {
1336
1335
  id: string;
1337
- readonly createdAt?: string;
1336
+ readonly createdAt: string;
1338
1337
  readonly updatedAt?: string;
1339
1338
  active?: boolean;
1340
1339
  timeZone?: string;
@@ -1357,7 +1356,7 @@ interface User {
1357
1356
 
1358
1357
  interface StateMachineHistory {
1359
1358
  id: string;
1360
- readonly createdAt?: string;
1359
+ readonly createdAt: string;
1361
1360
  readonly updatedAt?: string;
1362
1361
  referencedId: string;
1363
1362
  referencedVersionId: string;
@@ -1376,7 +1375,7 @@ interface StateMachineHistory {
1376
1375
 
1377
1376
  interface StateMachine {
1378
1377
  id: string;
1379
- readonly createdAt?: string;
1378
+ readonly createdAt: string;
1380
1379
  readonly updatedAt?: string;
1381
1380
  technicalName: string;
1382
1381
  name: string;
@@ -1385,12 +1384,12 @@ interface StateMachine {
1385
1384
  transitions?: Array<StateMachineTransition>;
1386
1385
  historyEntries?: Array<StateMachineHistory>;
1387
1386
  customFields?: GenericRecord;
1388
- translated?: Record<string, string>;
1387
+ translated?: Record<string, any>;
1389
1388
  }
1390
1389
 
1391
1390
  interface StateMachineTransition {
1392
1391
  id: string;
1393
- readonly createdAt?: string;
1392
+ readonly createdAt: string;
1394
1393
  readonly updatedAt?: string;
1395
1394
  actionName: string;
1396
1395
  stateMachineId: string;
package/dist/index.d.ts CHANGED
@@ -23,7 +23,6 @@ import { CustomField } from '#types/api/admin/custom/field/CustomField';
23
23
  import { ImpersonationTokenRequest, ImpersonationTokenResponse } from '#types/clients/admin/CustomerClient';
24
24
  import { Customer } from '#types/api/admin/customer/Customer';
25
25
  import { CustomerAddress } from '#types/api/admin/customer/CustomerAddress';
26
- import { CustomerGroup } from '#types/api/admin/customer/group/CustomerGroup';
27
26
  import { DeliveryTime } from '#types/api/admin/DeliveryTime';
28
27
  import { NumberReservationResponse, UploadResponse, DownloadResponse } from '#types/clients/admin/DocumentClient';
29
28
  import { ShopwareDocument } from '#types/api/admin/document/ShopwareDocument';
@@ -808,13 +807,13 @@ declare class CustomerClient extends Client {
808
807
  total: number;
809
808
  data: CustomerGroup[];
810
809
  }>;
811
- create: (data: Partial<CustomerGroup>, responseDetails?: "basic" | "detail") => Promise<{
810
+ create: (data: CustomerGroup, responseDetails?: "basic" | "detail") => Promise<{
812
811
  data: CustomerGroup;
813
812
  }>;
814
813
  get: (id: string) => Promise<{
815
814
  data: CustomerGroup;
816
815
  }>;
817
- update: (id: string, data: Partial<CustomerGroup>, responseDetails?: "basic" | "detail") => Promise<{
816
+ update: (id: string, data: CustomerGroup, responseDetails?: "basic" | "detail") => Promise<{
818
817
  data: CustomerGroup;
819
818
  }>;
820
819
  delete: (id: string) => Promise<void>;
@@ -1287,7 +1286,7 @@ type StateMachineState = StateMachineState$1 & {
1287
1286
  stateMachine?: StateMachine;
1288
1287
  };
1289
1288
 
1290
- type Language = Language$2 & {
1289
+ type Language = Omit<Language$2, "parent" | "children" | "locale" | "translationCode"> & {
1291
1290
  parent?: Language;
1292
1291
  children?: Array<Language>;
1293
1292
  locale?: Locale;
@@ -1300,13 +1299,13 @@ type Locale = Locale$2 & {
1300
1299
 
1301
1300
  type Media = Media$2 & {
1302
1301
  userId?: string;
1303
- user: User;
1302
+ user?: User;
1304
1303
  mediaFolderId?: string;
1305
1304
  };
1306
1305
 
1307
1306
  interface UserAccessKey {
1308
1307
  id: string;
1309
- readonly createdAt?: string;
1308
+ readonly createdAt: string;
1310
1309
  readonly updatedAt?: string;
1311
1310
  accessKey: string;
1312
1311
  secretAccessKey: string;
@@ -1316,7 +1315,7 @@ interface UserAccessKey {
1316
1315
 
1317
1316
  interface UserConfig {
1318
1317
  id: string;
1319
- readonly createdAt?: string;
1318
+ readonly createdAt: string;
1320
1319
  readonly updatedAt?: string;
1321
1320
  key: string;
1322
1321
  value?: string;
@@ -1324,7 +1323,7 @@ interface UserConfig {
1324
1323
 
1325
1324
  interface AclRole {
1326
1325
  id: string;
1327
- readonly createdAt?: string;
1326
+ readonly createdAt: string;
1328
1327
  readonly updatedAt?: string;
1329
1328
  readonly deletedAt?: string;
1330
1329
  name: string;
@@ -1334,7 +1333,7 @@ interface AclRole {
1334
1333
 
1335
1334
  interface User {
1336
1335
  id: string;
1337
- readonly createdAt?: string;
1336
+ readonly createdAt: string;
1338
1337
  readonly updatedAt?: string;
1339
1338
  active?: boolean;
1340
1339
  timeZone?: string;
@@ -1357,7 +1356,7 @@ interface User {
1357
1356
 
1358
1357
  interface StateMachineHistory {
1359
1358
  id: string;
1360
- readonly createdAt?: string;
1359
+ readonly createdAt: string;
1361
1360
  readonly updatedAt?: string;
1362
1361
  referencedId: string;
1363
1362
  referencedVersionId: string;
@@ -1376,7 +1375,7 @@ interface StateMachineHistory {
1376
1375
 
1377
1376
  interface StateMachine {
1378
1377
  id: string;
1379
- readonly createdAt?: string;
1378
+ readonly createdAt: string;
1380
1379
  readonly updatedAt?: string;
1381
1380
  technicalName: string;
1382
1381
  name: string;
@@ -1385,12 +1384,12 @@ interface StateMachine {
1385
1384
  transitions?: Array<StateMachineTransition>;
1386
1385
  historyEntries?: Array<StateMachineHistory>;
1387
1386
  customFields?: GenericRecord;
1388
- translated?: Record<string, string>;
1387
+ translated?: Record<string, any>;
1389
1388
  }
1390
1389
 
1391
1390
  interface StateMachineTransition {
1392
1391
  id: string;
1393
- readonly createdAt?: string;
1392
+ readonly createdAt: string;
1394
1393
  readonly updatedAt?: string;
1395
1394
  actionName: string;
1396
1395
  stateMachineId: string;
@@ -1,6 +1,6 @@
1
1
  export interface LogEntry {
2
2
  id: string;
3
- readonly createdAt?: string;
3
+ readonly createdAt: string;
4
4
  readonly updatedAt?: string;
5
5
  level?: number;
6
6
  message?: string;
@@ -1,6 +1,6 @@
1
1
  export interface Notification {
2
2
  id: string;
3
- readonly createdAt?: string;
3
+ readonly createdAt: string;
4
4
  readonly updatedAt?: string;
5
5
  status: string;
6
6
  message: string;
@@ -1,6 +1,6 @@
1
1
  export interface ScheduledTask {
2
2
  id: string;
3
- readonly createdAt?: string;
3
+ readonly createdAt: string;
4
4
  readonly updatedAt?: string;
5
5
  readonly lastExecutionTime: string;
6
6
  readonly nextExecutionTime: string;
@@ -2,7 +2,7 @@ import { GenericRecord } from "#types/api/global/GenericRecord";
2
2
  import { PaymentMethod } from "./paymentMethod/PaymentMethod";
3
3
  export interface ShopwarePlugin {
4
4
  id: string;
5
- readonly createdAt?: string;
5
+ readonly createdAt: string;
6
6
  readonly updatedAt?: string;
7
7
  readonly installedAt?: string;
8
8
  active?: boolean;
@@ -19,5 +19,5 @@ export interface ShopwarePlugin {
19
19
  author?: string;
20
20
  paymentMethods?: Array<PaymentMethod>;
21
21
  customFields?: GenericRecord;
22
- translated?: Record<string, string>;
22
+ translated?: Record<string, any>;
23
23
  }
@@ -1,6 +1,6 @@
1
1
  export interface SystemConfigEntry {
2
2
  id: string;
3
- readonly createdAt?: string;
3
+ readonly createdAt: string;
4
4
  readonly updatedAt?: string;
5
5
  configurationKey: string;
6
6
  configurationValue: {
@@ -1,6 +1,6 @@
1
1
  export interface AclRole {
2
2
  id: string;
3
- readonly createdAt?: string;
3
+ readonly createdAt: string;
4
4
  readonly updatedAt?: string;
5
5
  readonly deletedAt?: string;
6
6
  name: string;
@@ -2,7 +2,7 @@ import { User } from "../user/User";
2
2
  import { AclRole } from "./AclRole";
3
3
  export interface AclUserRole {
4
4
  id?: string;
5
- readonly createdAt?: string;
5
+ readonly createdAt: string;
6
6
  readonly updatedAt?: string;
7
7
  userId: string;
8
8
  user?: User;
@@ -6,7 +6,7 @@ import { PaymentMethod } from "../paymentMethod/PaymentMethod";
6
6
  import { AppShippingMethod } from "../shippingMethod/AppShippingMethod";
7
7
  export interface App {
8
8
  id: string;
9
- readonly createdAt?: string;
9
+ readonly createdAt: string;
10
10
  readonly updatedAt?: string;
11
11
  active?: boolean;
12
12
  allowDisable?: boolean;
@@ -22,5 +22,5 @@ export interface App {
22
22
  appShippingMethods?: Array<AppShippingMethod>;
23
23
  webhooks?: Array<Webhook>;
24
24
  customFields?: GenericRecord;
25
- translated?: Record<string, string>;
25
+ translated?: Record<string, any>;
26
26
  }
@@ -1,9 +1,9 @@
1
1
  export interface AppActionButton {
2
2
  id: string;
3
- readonly createdAt?: string;
3
+ readonly createdAt: string;
4
4
  readonly updatedAt?: string;
5
5
  action: string;
6
6
  label: string;
7
7
  url: string;
8
- translated?: Record<string, string>;
8
+ translated?: Record<string, any>;
9
9
  }
@@ -1,12 +1,10 @@
1
1
  import { Category as StoreApiCategory } from "#types/api/store/category/Category";
2
2
  import { Media } from "../media/Media";
3
3
  import { CmsPage } from "../cms/CmsPage";
4
- import { SeoUrlEntity } from "#types/api/store";
5
- export type Category = StoreApiCategory & {
6
- parent?: Category;
4
+ import { SeoUrl } from "../seo/SeoUrl";
5
+ export type Category = Omit<StoreApiCategory, "children" | "seoUrls" | "cmsPage" | "media"> & {
7
6
  children?: Array<Category>;
8
- seoUrls?: Array<SeoUrlEntity>;
7
+ seoUrls?: Array<SeoUrl>;
9
8
  cmsPage?: CmsPage;
10
9
  media?: Media;
11
- translated?: Record<string, string>;
12
10
  };
@@ -2,7 +2,7 @@ import { MainCategory as StoreApiMainCategory } from "#types/api/store/category/
2
2
  import { Product } from "../product/Product";
3
3
  import { Category } from "./Category";
4
4
  import { SalesChannel } from "../salesChannel/SalesChannel";
5
- export type MainCategory = StoreApiMainCategory & {
5
+ export type MainCategory = Omit<StoreApiMainCategory, "salesChannel"> & {
6
6
  product?: Product;
7
7
  category?: Category;
8
8
  salesChannel?: SalesChannel;
@@ -3,10 +3,14 @@ import { CmsSection } from "./CmsSection";
3
3
  import { Media } from "../media/Media";
4
4
  import { LandingPage } from "./landingPage/LandingPage";
5
5
  import { Product } from "../product/Product";
6
- export type CmsPage = StoreApiCmsPage & {
6
+ import { SeoUrl } from "../seo/SeoUrl";
7
+ import { Tag } from "../Tag";
8
+ export type CmsPage = Omit<StoreApiCmsPage, "previewMedia" | "landingPages" | "sections" | "seoUrls" | "tags"> & {
7
9
  locked?: boolean;
8
10
  previewMedia?: Media;
9
11
  products?: Array<Product>;
10
12
  landingPages?: Array<LandingPage>;
11
13
  sections?: Array<CmsSection>;
14
+ seoUrls?: Array<SeoUrl>;
15
+ tags?: Array<Tag>;
12
16
  };
@@ -2,9 +2,7 @@ import { CmsSection as StoreApiCmsSection } from "#types/api/store/cms/CmsSectio
2
2
  import { CmsPage } from "./CmsPage";
3
3
  import { Media } from "../media/Media";
4
4
  import { CmsBlock } from "./CmsBlock";
5
- export type CmsSection = StoreApiCmsSection & {
6
- id: string;
7
- versionId: string;
5
+ export type CmsSection = Omit<StoreApiCmsSection, "backgroundMedia" | "page" | "blocks"> & {
8
6
  backgroundMedia?: Media;
9
7
  page?: CmsPage;
10
8
  blocks?: Array<CmsBlock>;
@@ -1,5 +1,5 @@
1
1
  import { CmsSlot as StoreApiCmsSlot } from "#types/api/store/cms/CmsSlot";
2
2
  import { CmsBlock } from "./CmsBlock";
3
- export type CmsSlot = StoreApiCmsSlot & {
3
+ export type CmsSlot = Omit<StoreApiCmsSlot, "block"> & {
4
4
  block?: CmsBlock;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { LandingPage as StoreApiLandingPage } from "#types/api/store/cms/LandingPage";
2
2
  import { CmsPage } from "../CmsPage";
3
- export type LandingPage = StoreApiLandingPage & {
3
+ export type LandingPage = Omit<StoreApiLandingPage, "cmsPage"> & {
4
4
  cmsPage?: CmsPage;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Country as StoreApiCountry } from "#types/api/store/country/Country";
2
2
  import { CountryState } from "./CountryState";
3
- export type Country = StoreApiCountry & {
3
+ export type Country = Omit<StoreApiCountry, "states"> & {
4
4
  states?: Array<CountryState>;
5
5
  };
@@ -3,7 +3,7 @@ import { Currency } from "./Currency";
3
3
  import { Country } from "../country/Country";
4
4
  export interface CurrencyCountryRounding {
5
5
  id: string;
6
- readonly createdAt?: string;
6
+ readonly createdAt: string;
7
7
  readonly updatedAt?: string;
8
8
  currencyId: string;
9
9
  currency?: Currency;
@@ -1,7 +1,7 @@
1
1
  import { CustomFieldSet } from "./set/CustomFieldSet";
2
2
  export interface CustomField {
3
3
  id: string;
4
- readonly createdAt?: string;
4
+ readonly createdAt: string;
5
5
  readonly updatedAt?: string;
6
6
  active?: boolean;
7
7
  type: string;
@@ -1,7 +1,7 @@
1
1
  import { GenericRecord } from "#types/api/global/GenericRecord";
2
2
  export interface CustomFieldSet {
3
3
  id: string;
4
- readonly createdAt?: string;
4
+ readonly createdAt: string;
5
5
  readonly updatedAt?: string;
6
6
  active?: boolean;
7
7
  name: string;
@@ -1,5 +1,5 @@
1
1
  import { Customer as StoreApiCustomer } from "#types/api/store/customer/Customer";
2
- import { CustomerGroup } from "./group/CustomerGroup";
2
+ import { CustomerGroup } from "./CustomerGroup";
3
3
  import { SalesChannel } from "../salesChannel/SalesChannel";
4
4
  import { Language } from "../locale/Language";
5
5
  import { PaymentMethod } from "../paymentMethod/PaymentMethod";
@@ -8,7 +8,7 @@ import { Salutation } from "../Salutation";
8
8
  import { Tag } from "../Tag";
9
9
  import { ProductReview } from "../product/ProductReview";
10
10
  import { User } from "../user/User";
11
- export type Customer = StoreApiCustomer & {
11
+ export type Customer = Omit<StoreApiCustomer, "group" | "lastPaymentMethod" | "salutation" | "addresses" | "defaultBillingAddress" | "activeBillingAddress" | "defaultShippingAddress" | "activeShippingAddress" | "productReviews"> & {
12
12
  readonly autoIncrement?: number;
13
13
  createdById?: string;
14
14
  createdBy?: User;
@@ -2,7 +2,7 @@ import { CustomerAddress as StoreApiCustomerAddress } from "#types/api/store/cus
2
2
  import { Country } from "../country/Country";
3
3
  import { CountryState } from "../country/CountryState";
4
4
  import { Salutation } from "../Salutation";
5
- export type CustomerAddress = StoreApiCustomerAddress & {
5
+ export type CustomerAddress = Omit<StoreApiCustomerAddress, "salutation" | "country" | "countryState"> & {
6
6
  salutation?: Salutation;
7
7
  country?: Country;
8
8
  countryState?: CountryState;
@@ -1,6 +1,6 @@
1
1
  import { CustomerGroup as StoreApiCustomerGroup } from "#types/api/store/customer/CustomerGroup";
2
- import { Customer } from "../Customer";
3
- import { SalesChannel } from "../../salesChannel/SalesChannel";
2
+ import { Customer } from "./Customer";
3
+ import { SalesChannel } from "../salesChannel/SalesChannel";
4
4
  export type CustomerGroup = StoreApiCustomerGroup & {
5
5
  customers?: Array<Customer>;
6
6
  salesChannels?: Array<SalesChannel>;
@@ -1,3 +1,3 @@
1
- export * from "./group";
1
+ export { CustomerGroup } from "./CustomerGroup";
2
2
  export { Customer } from "./Customer";
3
3
  export { CustomerAddress } from "./CustomerAddress";
@@ -2,7 +2,7 @@ import { ShopwareDocument as StoreApiShopwareDocument } from "#types/api/store/d
2
2
  import { ShopwareDocumentType } from "./ShopwareDocumentType";
3
3
  import { Media } from "../media/Media";
4
4
  import { Order } from "../order/Order";
5
- export type ShopwareDocument = StoreApiShopwareDocument & {
5
+ export type ShopwareDocument = Omit<StoreApiShopwareDocument, "order" | "documentType" | "referencedDocument" | "dependantDocuments" | "documentMediaFile" | "documentA11yMediaFile"> & {
6
6
  order?: Order;
7
7
  documentType?: ShopwareDocumentType;
8
8
  referencedDocument?: ShopwareDocument;
@@ -1,7 +1,7 @@
1
1
  import { ShopwareDocumentBaseConfig as StoreApiShopwareDocumentBaseConfig } from "#types/api/store/document/ShopwareDocumentBaseConfig";
2
2
  import { ShopwareDocumentType } from "./ShopwareDocumentType";
3
3
  import { Media } from "../media/Media";
4
- export type ShopwareDocumentBaseConfig = StoreApiShopwareDocumentBaseConfig & {
4
+ export type ShopwareDocumentBaseConfig = Omit<StoreApiShopwareDocumentBaseConfig, "documentType" | "logo"> & {
5
5
  documentType?: ShopwareDocumentType;
6
6
  logo?: Media;
7
7
  };
@@ -1,6 +1,6 @@
1
1
  import { Language as StoreApiLanguage } from "#types/api/store/locale/Language";
2
2
  import { Locale } from "./Locale";
3
- export type Language = StoreApiLanguage & {
3
+ export type Language = Omit<StoreApiLanguage, "parent" | "children" | "locale" | "translationCode"> & {
4
4
  parent?: Language;
5
5
  children?: Array<Language>;
6
6
  locale?: Locale;
@@ -1,6 +1,6 @@
1
1
  export interface MailHeaderFooter {
2
2
  id: string;
3
- readonly createdAt?: string;
3
+ readonly createdAt: string;
4
4
  readonly updatedAt?: string;
5
5
  name: string;
6
6
  description?: string;
@@ -8,5 +8,5 @@ export interface MailHeaderFooter {
8
8
  headerPlain?: string;
9
9
  footerHtml?: string;
10
10
  footerPlain?: string;
11
- translated?: Record<string, string>;
11
+ translated?: Record<string, any>;
12
12
  }
@@ -3,7 +3,7 @@ import { MailTemplateType } from "./MailTemplateType";
3
3
  import { MailTemplateMedia } from "./MailTemplateMedia";
4
4
  export interface MailTemplate {
5
5
  id: string;
6
- readonly createdAt?: string;
6
+ readonly createdAt: string;
7
7
  readonly updatedAt?: string;
8
8
  senderName?: string;
9
9
  subject: string;
@@ -14,5 +14,5 @@ export interface MailTemplate {
14
14
  mailTemplateType?: MailTemplateType;
15
15
  media?: Array<MailTemplateMedia>;
16
16
  customFields?: GenericRecord;
17
- translated?: Record<string, string>;
17
+ translated?: Record<string, any>;
18
18
  }