You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: actions/gls-action/scripts/generateDocs.ts
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ export function createGlsDocsConfig(): StandardActionDocsConfig {
15
15
title: "Datatypes",
16
16
description: "All data types registered by the GLS Action.",
17
17
heading: "GLS Action Types",
18
-
intro: `The GLS Action registers the following data types with the Hercules platform. These types are used as inputs and outputs of the GLS functions and can be referenced in your flows.`,
18
+
intro: `The GLS Action registers the following data types with the Hercules platform.\nThese types are used as inputs and outputs of the GLS functions and can be referenced in your flows.`,
19
19
},
20
20
functionsCopy: {
21
21
title: "Functions",
@@ -33,7 +33,8 @@ export function createGlsDocsConfig(): StandardActionDocsConfig {
33
33
},
34
34
{
35
35
heading: "Shipment functions",
36
-
intro: `All shipment functions accept a common set of parameters in addition to their type-specific parameters. They call the GLS ShipIT API (\`POST /rs/shipments\`) and return a \`GLS_CREATE_PARCELS_RESPONSE\`.
36
+
intro: `All shipment functions accept a common set of parameters in addition to their type-specific parameters.
37
+
They call the GLS ShipIT API (\`POST /rs/shipments\`) and return a \`GLS_CREATE_PARCELS_RESPONSE\`.
Creates a GLS address object (`GLS_ADDRESS`) for use in shipments as consignee, shipper, or return address.
460
449
461
450
<FunctionCarddefinition={
@@ -685,7 +674,8 @@ Creates a GLS address object (`GLS_ADDRESS`) for use in shipments as consignee,
685
674
686
675
## Shipment functions
687
676
688
-
All shipment functions accept a common set of parameters in addition to their type-specific parameters. They call the GLS ShipIT API (`POST /rs/shipments`) and return a `GLS_CREATE_PARCELS_RESPONSE`.
677
+
All shipment functions accept a common set of parameters in addition to their type-specific parameters.
678
+
They call the GLS ShipIT API (`POST /rs/shipments`) and return a `GLS_CREATE_PARCELS_RESPONSE`.
689
679
690
680
**Common parameters for all shipment functions:**
691
681
@@ -698,7 +688,6 @@ All shipment functions accept a common set of parameters in addition to their ty
698
688
699
689
---
700
690
701
-
702
691
### `createTyreShipment`
703
692
704
693
| Parameter | Name | Type | Required | Description |
@@ -710,8 +699,6 @@ All shipment functions accept a common set of parameters in addition to their ty
Reprints the label for an existing parcel. Use this if the original label is damaged, lost, or needs to be printed in a different format.
2661
+
Reprints the label for an existing parcel.
2662
+
Use this if the original label is damaged, lost, or needs to be printed in a different format.
2709
2663
2710
2664
<FunctionCarddefinition={
2711
2665
{
2712
2666
"descriptions": [
2713
2667
{
2714
2668
"code": "en-US",
2715
-
"content": "Reprints the label for an existing parcel. Use this if the original label is damaged, lost, or needs to be printed in a different format."
2669
+
"content": "Reprints the label for an existing parcel.\nUse this if the original label is damaged, lost, or needs to be printed in a different format."
2716
2670
}
2717
2671
],
2718
2672
"names": [
@@ -2760,8 +2714,6 @@ Reprints the label for an existing parcel. Use this if the original label is dam
0 commit comments