@@ -33,24 +33,7 @@ import {GetEndOfDayReportFunction} from "./functions/getEndOfDayReportFunction.j
3333import { ReprintParcelFunction } from "./functions/reprintParcelFunction.js" ;
3434import { UpdateParcelWeightFunction } from "./functions/updateParcelWeightFunction.js" ;
3535import { ValidateShipmentFunction } from "./functions/validateShipmentFunction.js" ;
36-
37- import { CreateAddresseeOnlyShipmentFunction } from "./functions/services/createAddresseeOnlyShipmentFunction.js" ;
38- import { CreateDeliveryAtWorkShipmentFunction } from "./functions/services/createDeliveryAtWorkShipmentFunction.js" ;
39- import {
40- CreateDeliveryNextWorkingDayShipmentFunction
41- } from "./functions/services/createDeliveryNextWorkingDayShipmentFunction.js" ;
42- import { CreateDeliverySaturdayShipmentFunction } from "./functions/services/createDeliverySaturdayShipmentFunction.js" ;
43- import { CreateDepositShipmentFunction } from "./functions/services/createDepositShipmentFunction.js" ;
44- import { CreateExchangeShipmentFunction } from "./functions/services/createExchangeShipmentFunction.js" ;
4536import { CreateFlexDeliveryShipmentFunction } from "./functions/services/createFlexDeliveryShipmentFunction.js" ;
46- import { CreateGuaranteed24ShipmentFunction } from "./functions/services/createGuaranteed24ShipmentFunction.js" ;
47- import { CreateIdentPinShipmentFunction } from "./functions/services/createIdentPinShipmentFunction.js" ;
48- import { CreateIdentShipmentFunction } from "./functions/services/createIdentShipmentFunction.js" ;
49- import { CreatePickAndShipShipmentFunction } from "./functions/services/createPickAndShipShipmentFunction.js" ;
50- import { CreateShopDeliveryShipmentFunction } from "./functions/services/createShopDeliveryShipmentFunction.js" ;
51- import { CreateShopReturnShipmentFunction } from "./functions/services/createShopReturnShipmentFunction.js" ;
52- import { CreateSignatureShipmentFunction } from "./functions/services/createSignatureShipmentFunction.js" ;
53- import { CreateTyreShipmentFunction } from "./functions/services/createTyreShipmentFunction.js" ;
5437
5538import { CreateAddressFunction } from "./functions/utils/createAddressFunction.js" ;
5639import { CreateConsigneeFunction } from "./functions/utils/createConsigneeFunction.js" ;
@@ -67,35 +50,35 @@ const action = new Action(
6750 "code0-tech" ,
6851 "codezero:gls" ,
6952 "GLS shipping integration: create, validate, cancel, reprint, and report shipments via the GLS ShipIt API." ,
70- [ { code : "en-US" , content : "GLS Action" } ] ,
53+ [ { code : "en-US" , content : "GLS Action" } ] ,
7154 [
7255 {
7356 identifier : "auth_url" ,
7457 type : "TEXT" ,
7558 defaultValue : "https://api.gls-group.net/oauth2/v2/token" ,
76- name : [ { code : "en-US" , content : "The Auth API url" } ] ,
77- description : [ { code : "en-US" , content : "The url of the Auth api ending in /token." } ] ,
59+ name : [ { code : "en-US" , content : "The Auth API url" } ] ,
60+ description : [ { code : "en-US" , content : "The url of the Auth api ending in /token." } ] ,
7861 linkedDataTypes : [ "TEXT" ] ,
7962 } ,
8063 {
8164 identifier : "client_id" ,
8265 type : "TEXT" ,
83- name : [ { code : "en-US" , content : "Client ID" } ] ,
84- description : [ { code : "en-US" , content : "The client id to authenticate with the GLS API." } ] ,
66+ name : [ { code : "en-US" , content : "Client ID" } ] ,
67+ description : [ { code : "en-US" , content : "The client id to authenticate with the GLS API." } ] ,
8568 linkedDataTypes : [ "TEXT" ] ,
8669 } ,
8770 {
8871 identifier : "client_secret" ,
8972 type : "TEXT" ,
90- name : [ { code : "en-US" , content : "Client secret" } ] ,
91- description : [ { code : "en-US" , content : "The client secret to authenticate with the GLS API." } ] ,
73+ name : [ { code : "en-US" , content : "Client secret" } ] ,
74+ description : [ { code : "en-US" , content : "The client secret to authenticate with the GLS API." } ] ,
9275 linkedDataTypes : [ "TEXT" ] ,
9376 } ,
9477 {
9578 identifier : "contact_id" ,
9679 type : "TEXT" ,
9780 defaultValue : "" ,
98- name : [ { code : "en-US" , content : "Contact ID" } ] ,
81+ name : [ { code : "en-US" , content : "Contact ID" } ] ,
9982 description : [
10083 {
10184 code : "en-US" ,
@@ -109,14 +92,14 @@ const action = new Action(
10992 identifier : "ship_it_api_url" ,
11093 type : "TEXT" ,
11194 defaultValue : "https://api.gls-group.net/shipit-farm/v1/backend/rs" ,
112- name : [ { code : "en-US" , content : "The ShipIt API url" } ] ,
113- description : [ { code : "en-US" , content : "The url of the GLS ShipIt API." } ] ,
95+ name : [ { code : "en-US" , content : "The ShipIt API url" } ] ,
96+ description : [ { code : "en-US" , content : "The url of the GLS ShipIt API." } ] ,
11497 linkedDataTypes : [ "TEXT" ] ,
11598 } ,
11699 {
117100 identifier : "default_shipper" ,
118101 type : "GLS_SHIPPER" ,
119- name : [ { code : "en-US" , content : "Shipper" } ] ,
102+ name : [ { code : "en-US" , content : "Shipper" } ] ,
120103 description : [
121104 {
122105 code : "en-US" ,
@@ -161,21 +144,21 @@ action.registerRuntimeFunction(ReprintParcelFunction);
161144action . registerRuntimeFunction ( UpdateParcelWeightFunction ) ;
162145action . registerRuntimeFunction ( ValidateShipmentFunction ) ;
163146
164- action . registerRuntimeFunction ( CreateAddresseeOnlyShipmentFunction ) ;
147+ /* action.registerRuntimeFunction(CreateAddresseeOnlyShipmentFunction);
165148action.registerRuntimeFunction(CreateDeliveryAtWorkShipmentFunction);
166149action.registerRuntimeFunction(CreateDeliveryNextWorkingDayShipmentFunction);
167150action.registerRuntimeFunction(CreateDeliverySaturdayShipmentFunction);
168151action.registerRuntimeFunction(CreateDepositShipmentFunction);
169- action . registerRuntimeFunction ( CreateExchangeShipmentFunction ) ;
152+ action.registerRuntimeFunction(CreateExchangeShipmentFunction);*/
170153action . registerRuntimeFunction ( CreateFlexDeliveryShipmentFunction ) ;
171- action . registerRuntimeFunction ( CreateGuaranteed24ShipmentFunction ) ;
154+ /* action.registerRuntimeFunction(CreateGuaranteed24ShipmentFunction);
172155action.registerRuntimeFunction(CreateIdentPinShipmentFunction);
173156action.registerRuntimeFunction(CreateIdentShipmentFunction);
174157action.registerRuntimeFunction(CreatePickAndShipShipmentFunction);
175158action.registerRuntimeFunction(CreateShopDeliveryShipmentFunction);
176159action.registerRuntimeFunction(CreateShopReturnShipmentFunction);
177160action.registerRuntimeFunction(CreateSignatureShipmentFunction);
178- action . registerRuntimeFunction ( CreateTyreShipmentFunction ) ;
161+ action.registerRuntimeFunction(CreateTyreShipmentFunction);*/
179162
180163action . registerRuntimeFunction ( CreateAddressFunction ) ;
181164action . registerRuntimeFunction ( CreateConsigneeFunction ) ;
@@ -209,4 +192,4 @@ action.on(CodeZeroEvent.moduleUpdated, (message: any) => {
209192 console . dir ( action . configs . values ( ) , { depth : null } )
210193} )
211194
212- export { action } ;
195+ export { action } ;
0 commit comments