@restorecommerce/protos 6.8.1 → 6.8.2

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [6.8.2](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.8.1...@restorecommerce/protos@6.8.2) (2024-04-19)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **ordering:** remove fulfillment state and payment state from order ([73ab259](https://github.com/restorecommerce/libs/commit/73ab25928fb7ce3cc9b19e7ac06cda31b2f0f78e))
12
+ * **protos:** rename State to FulfillmentState ([4debc8b](https://github.com/restorecommerce/libs/commit/4debc8bfcb7e870ca827826cb3d58c2f6aa20840))
13
+
14
+
15
+
16
+
17
+
6
18
  ## [6.8.1](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.8.0...@restorecommerce/protos@6.8.1) (2024-04-15)
7
19
 
8
20
 
@@ -89,7 +89,7 @@ service FulfillmentService {
89
89
  rpc TriggerInvoice (FulfillmentInvoiceRequestList) returns (io.restorecommerce.status.StatusListResponse);
90
90
  }
91
91
 
92
- enum State {
92
+ enum FulfillmentState {
93
93
  PENDING = 0;
94
94
  INVALID = 1;
95
95
  SUBMITTED = 2;
@@ -133,7 +133,7 @@ message Label {
133
133
  }
134
134
  optional string parcel_id = 4;
135
135
  optional string shipment_number = 5; //filled on Order
136
- optional State state = 6; //update by Track
136
+ optional FulfillmentState state = 6; //update by Track
137
137
  optional io.restorecommerce.status.Status status = 7; //API status
138
138
  }
139
139
 
@@ -207,7 +207,7 @@ message Fulfillment {
207
207
  repeated Label labels = 8; //set by service
208
208
  repeated Tracking trackings = 9; //set by service
209
209
  repeated io.restorecommerce.amount.Amount total_amounts = 10; //set by service
210
- optional State state = 11; //set by service
210
+ optional FulfillmentState fulfillment_state = 11; //set by service
211
211
  }
212
212
 
213
213
  message FulfillmentList {
@@ -124,15 +124,13 @@ message Order {
124
124
  ];
125
125
  repeated Item items = 6;
126
126
  optional OrderState order_state = 7; // Set by service
127
- optional io.restorecommerce.fulfillment.State fulfillment_state = 8; // Set by kafka
128
- optional io.restorecommerce.invoice.PaymentState payment_state = 9; // Set by kafka
129
- repeated io.restorecommerce.amount.Amount total_amounts = 10; // Set by service --- repeated in case of variant currency?
130
- optional io.restorecommerce.address.ShippingAddress shipping_address = 11;
131
- optional io.restorecommerce.address.BillingAddress billing_address = 12;
132
- optional string notification_email = 13;
133
- optional string customer_order_nr = 14;
134
- optional string customer_remark = 15;
135
- optional io.restorecommerce.fulfillment_product.Preferences packaging_preferences = 16;
127
+ repeated io.restorecommerce.amount.Amount total_amounts = 8; // Set by service --- repeated in case of variant currency?
128
+ optional io.restorecommerce.address.ShippingAddress shipping_address = 9;
129
+ optional io.restorecommerce.address.BillingAddress billing_address = 10;
130
+ optional string notification_email = 11;
131
+ optional string customer_order_nr = 12;
132
+ optional string customer_remark = 13;
133
+ optional io.restorecommerce.fulfillment_product.Preferences packaging_preferences = 14;
136
134
  }
137
135
 
138
136
  message OrderIdList {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restorecommerce/protos",
3
- "version": "6.8.1",
3
+ "version": "6.8.2",
4
4
  "description": "Protobuf descriptors for Restorecommerce services",
5
5
  "author": "n-fuse GmbH",
6
6
  "repository": {
@@ -15,5 +15,5 @@
15
15
  "protobufs"
16
16
  ],
17
17
  "scripts": {},
18
- "gitHead": "068f1450161f53afd87f8ae9615778001edd66ce"
18
+ "gitHead": "a612bb7c4da0d4aeebdabe4d5b9c4f15224188a1"
19
19
  }