@shopware/api-client 1.2.0 → 1.2.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.
@@ -83,6 +83,11 @@
83
83
  }
84
84
  }
85
85
  ],
86
+ "CartItems": [
87
+ {
88
+ "required": ["items"]
89
+ }
90
+ ],
86
91
  "Category": [
87
92
  {
88
93
  "required": ["breadcrumb"],
@@ -554,6 +559,28 @@
554
559
  }
555
560
  }
556
561
  }
562
+ },
563
+ {
564
+ "requestBody": {
565
+ "content": {
566
+ "application/json": {
567
+ "schema": {
568
+ "required": "_DELETE_"
569
+ }
570
+ }
571
+ }
572
+ }
573
+ },
574
+ {
575
+ "requestBody": {
576
+ "content": {
577
+ "application/json": {
578
+ "schema": {
579
+ "required": ["firstName", "lastName"]
580
+ }
581
+ }
582
+ }
583
+ }
557
584
  }
558
585
  ]
559
586
  },
@@ -592,7 +619,7 @@
592
619
  ]
593
620
  },
594
621
  "/account/register": {
595
- "post":[
622
+ "post": [
596
623
  {
597
624
  "requestBody": {
598
625
  "content": {
@@ -655,6 +682,36 @@
655
682
  }
656
683
  }
657
684
  }
685
+ },
686
+ {
687
+ "requestBody": {
688
+ "content": {
689
+ "application/json": {
690
+ "schema": {
691
+ "required": "_DELETE_"
692
+ }
693
+ }
694
+ }
695
+ }
696
+ },
697
+ {
698
+ "requestBody": {
699
+ "content": {
700
+ "application/json": {
701
+ "schema": {
702
+ "required": [
703
+ "email",
704
+ "password",
705
+ "firstName",
706
+ "lastName",
707
+ "acceptedDataProtection",
708
+ "storefrontUrl",
709
+ "billingAddress"
710
+ ]
711
+ }
712
+ }
713
+ }
714
+ }
658
715
  }
659
716
  ]
660
717
  },
@@ -779,8 +836,90 @@
779
836
  }
780
837
  }
781
838
  }
839
+ ],
840
+ "patch": [
841
+ {
842
+ "requestBody": {
843
+ "content": {
844
+ "application/json": {
845
+ "schema": {
846
+ "$ref": "_DELETE_",
847
+ "type": "object",
848
+ "required": ["items"],
849
+ "properties": {
850
+ "items": {
851
+ "type": "array",
852
+ "minItems": 1,
853
+ "items": {
854
+ "type": "object",
855
+ "required": ["id", "quantity"],
856
+ "properties": {
857
+ "id": { "type": "string" },
858
+ "quantity": { "type": "number" }
859
+ }
860
+ }
861
+ }
862
+ }
863
+ }
864
+ }
865
+ }
866
+ }
867
+ }
782
868
  ]
783
869
  },
870
+ "/contact-form": {
871
+ "post": [
872
+ {
873
+ "requestBody": {
874
+ "content": {
875
+ "application/json": {
876
+ "schema": {
877
+ "required": "_DELETE_"
878
+ }
879
+ }
880
+ }
881
+ }
882
+ },
883
+ {
884
+ "requestBody": {
885
+ "content": {
886
+ "application/json": {
887
+ "schema": {
888
+ "required": ["email", "subject", "comment"]
889
+ }
890
+ }
891
+ }
892
+ }
893
+ }
894
+ ]
895
+ },
896
+ "/employee/{id}": {
897
+ "get": {
898
+ "operationId": "readB2bEmployee",
899
+ "parameters": [
900
+ {
901
+ "name": "id",
902
+ "in": "path",
903
+ "description": "Identifier of the employee to be read",
904
+ "required": true,
905
+ "schema": {
906
+ "type": "string",
907
+ "format": "uuid"
908
+ }
909
+ }
910
+ ],
911
+ "responses": {
912
+ "200": {
913
+ "description": "Employee",
914
+ "content": {
915
+ "application/json": {
916
+ "schema": { "$ref": "#/components/schemas/B2bEmployee" }
917
+ }
918
+ }
919
+ }
920
+ }
921
+ }
922
+ },
784
923
  "/quote/detail/{id}": {
785
924
  "post": [
786
925
  {
@@ -804,6 +943,21 @@
804
943
  }
805
944
  }
806
945
  },
946
+ "/product": {
947
+ "post": {
948
+ "responses": {
949
+ "200": {
950
+ "content": {
951
+ "application/json": {
952
+ "schema": {
953
+ "required": ["elements"]
954
+ }
955
+ }
956
+ }
957
+ }
958
+ }
959
+ }
960
+ },
807
961
  "/product/{productId}": {
808
962
  "post": [
809
963
  {
@@ -851,6 +1005,21 @@
851
1005
  }
852
1006
  ]
853
1007
  }
1008
+ },
1009
+ "/shipping-method": {
1010
+ "post": {
1011
+ "responses": {
1012
+ "200": {
1013
+ "content": {
1014
+ "application/json": {
1015
+ "schema": {
1016
+ "required": ["elements"]
1017
+ }
1018
+ }
1019
+ }
1020
+ }
1021
+ }
1022
+ }
854
1023
  }
855
1024
  }
856
1025
  }