@shopware/api-client 1.0.2 → 1.1.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.
@@ -4,14 +4,6 @@
4
4
  { "additionalProperties": { "$ref": "#/components/schemas/Association" } }
5
5
  ],
6
6
  "CalculatedPrice": [
7
- {
8
- "properties": { "netPrice": { "type": "number" } },
9
- "required": ["netPrice"]
10
- },
11
- {
12
- "properties": { "positionPrice": { "type": "number" } },
13
- "required": ["positionPrice"]
14
- },
15
7
  {
16
8
  "properties": { "rawTotal": { "type": "number" } },
17
9
  "required": ["rawTotal"]
@@ -92,9 +84,6 @@
92
84
  }
93
85
  ],
94
86
  "Category": [
95
- {
96
- "required": ["apiAlias"]
97
- },
98
87
  {
99
88
  "required": ["breadcrumb"],
100
89
  "properties": {
@@ -104,16 +93,11 @@
104
93
  }
105
94
  },
106
95
  {
96
+ "required": ["type"],
107
97
  "properties": {
108
- "children": {
109
- "nullable": "_DELETE_"
110
- }
111
- }
112
- },
113
- {
114
- "properties": {
115
- "translated": {
116
- "required": ["breadcrumb"]
98
+ "type": {
99
+ "type": "string",
100
+ "enum": ["page", "link"]
117
101
  }
118
102
  }
119
103
  }
@@ -404,110 +388,6 @@
404
388
  ]
405
389
  },
406
390
  "SalesChannelContext": [
407
- {
408
- "allOf": "_DELETE_"
409
- },
410
- {
411
- "type": "object",
412
- "properties": {
413
- "token": {
414
- "description": "Context the user session",
415
- "type": "string"
416
- },
417
- "currentCustomerGroup": {
418
- "type": "object",
419
- "description": "Customer group of the current user",
420
- "properties": {
421
- "name": { "type": "string" },
422
- "displayGross": { "type": "boolean" }
423
- }
424
- },
425
- "fallbackCustomerGroup": {
426
- "description": "Fallback group if the default customer group is not applicable",
427
- "type": "object",
428
- "properties": {
429
- "name": { "type": "string" },
430
- "displayGross": { "type": "boolean" }
431
- }
432
- },
433
- "currency": { "$ref": "#/components/schemas/Currency" },
434
- "salesChannel": {
435
- "description": "Information about the current sales channel",
436
- "type": "object",
437
- "properties": {
438
- "typeId": { "type": "string" },
439
- "languageId": { "type": "string" },
440
- "currencyId": { "type": "string" },
441
- "paymentMethodId": { "type": "string" },
442
- "shippingMethodId": { "type": "string" },
443
- "countryId": { "type": "string" },
444
- "navigationCategoryId": { "type": "string" },
445
- "navigationCategoryDepth": {
446
- "type": "integer",
447
- "format": "int32"
448
- },
449
- "footerCategoryId": { "type": "string" },
450
- "serviceCategoryId": { "type": "string" },
451
- "name": { "type": "string" },
452
- "shortName": { "type": "string" },
453
- "accessKey": { "type": "string" },
454
- "active": { "type": "boolean" },
455
- "maintenance": { "type": "boolean" },
456
- "maintenanceIpWhitelist": { "type": "string" },
457
- "mailHeaderFooterId": { "type": "string" },
458
- "customerGroupId": { "type": "string" },
459
- "hreflangActive": { "type": "boolean" },
460
- "hreflangDefaultDomainId": { "type": "string" },
461
- "analyticsId": { "type": "string" }
462
- }
463
- },
464
- "taxRules": {
465
- "type": "array",
466
- "description": "Currently active tax rules and/or rates",
467
- "items": {
468
- "type": "object",
469
- "properties": {
470
- "taxRate": { "type": "number", "format": "float" },
471
- "name": { "type": "string" }
472
- }
473
- }
474
- },
475
- "customer": { "$ref": "#/components/schemas/Customer" },
476
- "paymentMethod": { "$ref": "#/components/schemas/PaymentMethod" },
477
- "shippingLocation": {
478
- "type": "object",
479
- "properties": {
480
- "apiAlias": {
481
- "type": "string",
482
- "enum": ["cart_delivery_shipping_location"]
483
- },
484
- "country": { "$ref": "#/components/schemas/Country" },
485
- "address": { "$ref": "#/components/schemas/CustomerAddress" }
486
- }
487
- },
488
- "shippingMethod": {
489
- "$ref": "#/components/schemas/ShippingMethod"
490
- },
491
- "context": {
492
- "description": "Core context with general configuration values and state",
493
- "type": "object",
494
- "properties": {
495
- "versionId": { "type": "string" },
496
- "currencyId": { "type": "string" },
497
- "currencyFactor": { "type": "integer" },
498
- "currencyPrecision": { "type": "integer", "format": "int32" },
499
- "languageIdChain": {
500
- "type": "array",
501
- "items": { "type": "string" }
502
- },
503
- "scope": { "type": "string" },
504
- "source": { "type": "string" },
505
- "taxState": { "type": "string" },
506
- "useCache": { "type": "boolean" }
507
- }
508
- }
509
- }
510
- },
511
391
  {
512
392
  "properties": {
513
393
  "salesChannel": "_DELETE_"
@@ -532,6 +412,16 @@
532
412
  }
533
413
  ],
534
414
  "Quote": [{ "required": ["price"] }, { "required": ["stateMachineState"] }],
415
+ "SwagPaypalVaultToken": {
416
+ "properties": {
417
+ "id": {
418
+ "type": "string"
419
+ },
420
+ "identifier": {
421
+ "type": "string"
422
+ }
423
+ }
424
+ },
535
425
  "StateMachineState": [
536
426
  {
537
427
  "required": ["translated"]
@@ -737,28 +627,6 @@
737
627
  }
738
628
  }
739
629
  },
740
- "/handle-payment": {
741
- "post": [
742
- {
743
- "responses": {
744
- "200": {
745
- "content": {
746
- "application/json": {
747
- "schema": {
748
- "additionalProperties": "_DELETE_",
749
- "properties": {
750
- "redirectUrl": {
751
- "nullable": "_DELETE_"
752
- }
753
- }
754
- }
755
- }
756
- }
757
- }
758
- }
759
- }
760
- ]
761
- },
762
630
  "/product/{productId}": {
763
631
  "post": [
764
632
  {