@aws-sdk/client-b2bi 3.927.0 → 3.929.0

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.
Files changed (54) hide show
  1. package/dist-cjs/index.js +1363 -1315
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/B2biClient.js +2 -0
  4. package/dist-es/commands/CreateCapabilityCommand.js +3 -9
  5. package/dist-es/commands/CreatePartnershipCommand.js +3 -10
  6. package/dist-es/commands/CreateProfileCommand.js +3 -10
  7. package/dist-es/commands/CreateStarterMappingTemplateCommand.js +3 -9
  8. package/dist-es/commands/CreateTransformerCommand.js +3 -9
  9. package/dist-es/commands/DeleteCapabilityCommand.js +3 -9
  10. package/dist-es/commands/DeletePartnershipCommand.js +3 -9
  11. package/dist-es/commands/DeleteProfileCommand.js +3 -9
  12. package/dist-es/commands/DeleteTransformerCommand.js +3 -9
  13. package/dist-es/commands/GenerateMappingCommand.js +3 -9
  14. package/dist-es/commands/GetCapabilityCommand.js +3 -9
  15. package/dist-es/commands/GetPartnershipCommand.js +3 -10
  16. package/dist-es/commands/GetProfileCommand.js +3 -10
  17. package/dist-es/commands/GetTransformerCommand.js +3 -9
  18. package/dist-es/commands/GetTransformerJobCommand.js +3 -9
  19. package/dist-es/commands/ListCapabilitiesCommand.js +3 -9
  20. package/dist-es/commands/ListPartnershipsCommand.js +3 -9
  21. package/dist-es/commands/ListProfilesCommand.js +3 -9
  22. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  23. package/dist-es/commands/ListTransformersCommand.js +3 -9
  24. package/dist-es/commands/StartTransformerJobCommand.js +3 -9
  25. package/dist-es/commands/TagResourceCommand.js +3 -9
  26. package/dist-es/commands/TestConversionCommand.js +3 -9
  27. package/dist-es/commands/TestMappingCommand.js +3 -9
  28. package/dist-es/commands/TestParsingCommand.js +3 -9
  29. package/dist-es/commands/UntagResourceCommand.js +3 -9
  30. package/dist-es/commands/UpdateCapabilityCommand.js +3 -9
  31. package/dist-es/commands/UpdatePartnershipCommand.js +3 -10
  32. package/dist-es/commands/UpdateProfileCommand.js +3 -10
  33. package/dist-es/commands/UpdateTransformerCommand.js +3 -9
  34. package/dist-es/models/models_0.js +0 -50
  35. package/dist-es/runtimeConfig.shared.js +7 -0
  36. package/dist-es/schemas/schemas_0.js +1285 -0
  37. package/dist-types/B2biClient.d.ts +10 -1
  38. package/dist-types/models/models_0.d.ts +0 -36
  39. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  40. package/dist-types/runtimeConfig.d.ts +1 -0
  41. package/dist-types/runtimeConfig.native.d.ts +1 -0
  42. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  43. package/dist-types/schemas/schemas_0.d.ts +152 -0
  44. package/dist-types/ts3.4/B2biClient.d.ts +4 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +0 -27
  46. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  47. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  49. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  50. package/dist-types/ts3.4/schemas/schemas_0.d.ts +158 -0
  51. package/package.json +5 -6
  52. package/dist-es/protocols/Aws_json1_0.js +0 -1030
  53. package/dist-types/protocols/Aws_json1_0.d.ts +0 -272
  54. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -365
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
- var uuid = require('@smithy/uuid');
20
18
  var utilWaiter = require('@smithy/util-waiter');
21
19
 
22
20
  const resolveClientEndpointParameters = (options) => {
@@ -93,6 +91,7 @@ class B2biClient extends smithyClient.Client {
93
91
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
94
92
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
95
93
  this.config = _config_8;
94
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
96
95
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
98
97
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -112,14 +111,14 @@ class B2biClient extends smithyClient.Client {
112
111
  }
113
112
  }
114
113
 
115
- class B2biServiceException extends smithyClient.ServiceException {
114
+ let B2biServiceException$1 = class B2biServiceException extends smithyClient.ServiceException {
116
115
  constructor(options) {
117
116
  super(options);
118
117
  Object.setPrototypeOf(this, B2biServiceException.prototype);
119
118
  }
120
- }
119
+ };
121
120
 
122
- class AccessDeniedException extends B2biServiceException {
121
+ let AccessDeniedException$1 = class AccessDeniedException extends B2biServiceException$1 {
123
122
  name = "AccessDeniedException";
124
123
  $fault = "client";
125
124
  constructor(opts) {
@@ -130,7 +129,7 @@ class AccessDeniedException extends B2biServiceException {
130
129
  });
131
130
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
132
131
  }
133
- }
132
+ };
134
133
  const X12SplitBy = {
135
134
  NONE: "NONE",
136
135
  TRANSACTION: "TRANSACTION",
@@ -151,7 +150,7 @@ exports.X12ValidationRule = void 0;
151
150
  return visitor._(value.$unknown[0], value.$unknown[1]);
152
151
  };
153
152
  })(exports.X12ValidationRule || (exports.X12ValidationRule = {}));
154
- class ConflictException extends B2biServiceException {
153
+ let ConflictException$1 = class ConflictException extends B2biServiceException$1 {
155
154
  name = "ConflictException";
156
155
  $fault = "client";
157
156
  constructor(opts) {
@@ -162,7 +161,7 @@ class ConflictException extends B2biServiceException {
162
161
  });
163
162
  Object.setPrototypeOf(this, ConflictException.prototype);
164
163
  }
165
- }
164
+ };
166
165
  const CapabilityDirection = {
167
166
  INBOUND: "INBOUND",
168
167
  OUTBOUND: "OUTBOUND",
@@ -538,7 +537,7 @@ exports.CapabilityConfiguration = void 0;
538
537
  const CapabilityType = {
539
538
  EDI: "edi",
540
539
  };
541
- class InternalServerException extends B2biServiceException {
540
+ let InternalServerException$1 = class InternalServerException extends B2biServiceException$1 {
542
541
  name = "InternalServerException";
543
542
  $fault = "server";
544
543
  $retryable = {};
@@ -552,8 +551,8 @@ class InternalServerException extends B2biServiceException {
552
551
  Object.setPrototypeOf(this, InternalServerException.prototype);
553
552
  this.retryAfterSeconds = opts.retryAfterSeconds;
554
553
  }
555
- }
556
- class ResourceNotFoundException extends B2biServiceException {
554
+ };
555
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends B2biServiceException$1 {
557
556
  name = "ResourceNotFoundException";
558
557
  $fault = "client";
559
558
  constructor(opts) {
@@ -564,8 +563,8 @@ class ResourceNotFoundException extends B2biServiceException {
564
563
  });
565
564
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
566
565
  }
567
- }
568
- class ServiceQuotaExceededException extends B2biServiceException {
566
+ };
567
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends B2biServiceException$1 {
569
568
  name = "ServiceQuotaExceededException";
570
569
  $fault = "client";
571
570
  resourceId;
@@ -584,8 +583,8 @@ class ServiceQuotaExceededException extends B2biServiceException {
584
583
  this.serviceCode = opts.serviceCode;
585
584
  this.quotaCode = opts.quotaCode;
586
585
  }
587
- }
588
- class ThrottlingException extends B2biServiceException {
586
+ };
587
+ let ThrottlingException$1 = class ThrottlingException extends B2biServiceException$1 {
589
588
  name = "ThrottlingException";
590
589
  $fault = "client";
591
590
  $retryable = {};
@@ -599,8 +598,8 @@ class ThrottlingException extends B2biServiceException {
599
598
  Object.setPrototypeOf(this, ThrottlingException.prototype);
600
599
  this.retryAfterSeconds = opts.retryAfterSeconds;
601
600
  }
602
- }
603
- class ValidationException extends B2biServiceException {
601
+ };
602
+ let ValidationException$1 = class ValidationException extends B2biServiceException$1 {
604
603
  name = "ValidationException";
605
604
  $fault = "client";
606
605
  Message;
@@ -613,7 +612,7 @@ class ValidationException extends B2biServiceException {
613
612
  Object.setPrototypeOf(this, ValidationException.prototype);
614
613
  this.Message = opts.Message;
615
614
  }
616
- }
615
+ };
617
616
  const MappingType = {
618
617
  JSONATA: "JSONATA",
619
618
  XSLT: "XSLT",
@@ -725,1091 +724,1294 @@ const TransformerStatus = {
725
724
  ACTIVE: "active",
726
725
  INACTIVE: "inactive",
727
726
  };
728
- const CreatePartnershipRequestFilterSensitiveLog = (obj) => ({
729
- ...obj,
730
- ...(obj.email && { email: smithyClient.SENSITIVE_STRING }),
731
- ...(obj.phone && { phone: smithyClient.SENSITIVE_STRING }),
732
- ...(obj.capabilityOptions && { capabilityOptions: obj.capabilityOptions }),
733
- });
734
- const CreatePartnershipResponseFilterSensitiveLog = (obj) => ({
735
- ...obj,
736
- ...(obj.email && { email: smithyClient.SENSITIVE_STRING }),
737
- ...(obj.phone && { phone: smithyClient.SENSITIVE_STRING }),
738
- ...(obj.capabilityOptions && { capabilityOptions: obj.capabilityOptions }),
739
- });
740
- const GetPartnershipResponseFilterSensitiveLog = (obj) => ({
741
- ...obj,
742
- ...(obj.email && { email: smithyClient.SENSITIVE_STRING }),
743
- ...(obj.phone && { phone: smithyClient.SENSITIVE_STRING }),
744
- ...(obj.capabilityOptions && { capabilityOptions: obj.capabilityOptions }),
745
- });
746
- const UpdatePartnershipResponseFilterSensitiveLog = (obj) => ({
747
- ...obj,
748
- ...(obj.email && { email: smithyClient.SENSITIVE_STRING }),
749
- ...(obj.phone && { phone: smithyClient.SENSITIVE_STRING }),
750
- ...(obj.capabilityOptions && { capabilityOptions: obj.capabilityOptions }),
751
- });
752
- const CreateProfileRequestFilterSensitiveLog = (obj) => ({
753
- ...obj,
754
- ...(obj.email && { email: smithyClient.SENSITIVE_STRING }),
755
- ...(obj.phone && { phone: smithyClient.SENSITIVE_STRING }),
756
- });
757
- const CreateProfileResponseFilterSensitiveLog = (obj) => ({
758
- ...obj,
759
- ...(obj.phone && { phone: smithyClient.SENSITIVE_STRING }),
760
- ...(obj.email && { email: smithyClient.SENSITIVE_STRING }),
761
- });
762
- const GetProfileResponseFilterSensitiveLog = (obj) => ({
763
- ...obj,
764
- ...(obj.email && { email: smithyClient.SENSITIVE_STRING }),
765
- ...(obj.phone && { phone: smithyClient.SENSITIVE_STRING }),
766
- });
767
- const UpdateProfileRequestFilterSensitiveLog = (obj) => ({
768
- ...obj,
769
- ...(obj.email && { email: smithyClient.SENSITIVE_STRING }),
770
- ...(obj.phone && { phone: smithyClient.SENSITIVE_STRING }),
771
- });
772
- const UpdateProfileResponseFilterSensitiveLog = (obj) => ({
773
- ...obj,
774
- ...(obj.email && { email: smithyClient.SENSITIVE_STRING }),
775
- ...(obj.phone && { phone: smithyClient.SENSITIVE_STRING }),
776
- });
777
727
 
778
- const se_CreateCapabilityCommand = async (input, context) => {
779
- const headers = sharedHeaders("CreateCapability");
780
- let body;
781
- body = JSON.stringify(se_CreateCapabilityRequest(input));
782
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
783
- };
784
- const se_CreatePartnershipCommand = async (input, context) => {
785
- const headers = sharedHeaders("CreatePartnership");
786
- let body;
787
- body = JSON.stringify(se_CreatePartnershipRequest(input));
788
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
789
- };
790
- const se_CreateProfileCommand = async (input, context) => {
791
- const headers = sharedHeaders("CreateProfile");
792
- let body;
793
- body = JSON.stringify(se_CreateProfileRequest(input));
794
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
795
- };
796
- const se_CreateStarterMappingTemplateCommand = async (input, context) => {
797
- const headers = sharedHeaders("CreateStarterMappingTemplate");
798
- let body;
799
- body = JSON.stringify(smithyClient._json(input));
800
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
801
- };
802
- const se_CreateTransformerCommand = async (input, context) => {
803
- const headers = sharedHeaders("CreateTransformer");
804
- let body;
805
- body = JSON.stringify(se_CreateTransformerRequest(input));
806
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
807
- };
808
- const se_DeleteCapabilityCommand = async (input, context) => {
809
- const headers = sharedHeaders("DeleteCapability");
810
- let body;
811
- body = JSON.stringify(smithyClient._json(input));
812
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
813
- };
814
- const se_DeletePartnershipCommand = async (input, context) => {
815
- const headers = sharedHeaders("DeletePartnership");
816
- let body;
817
- body = JSON.stringify(smithyClient._json(input));
818
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
819
- };
820
- const se_DeleteProfileCommand = async (input, context) => {
821
- const headers = sharedHeaders("DeleteProfile");
822
- let body;
823
- body = JSON.stringify(smithyClient._json(input));
824
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
825
- };
826
- const se_DeleteTransformerCommand = async (input, context) => {
827
- const headers = sharedHeaders("DeleteTransformer");
828
- let body;
829
- body = JSON.stringify(smithyClient._json(input));
830
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
831
- };
832
- const se_GenerateMappingCommand = async (input, context) => {
833
- const headers = sharedHeaders("GenerateMapping");
834
- let body;
835
- body = JSON.stringify(smithyClient._json(input));
836
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
837
- };
838
- const se_GetCapabilityCommand = async (input, context) => {
839
- const headers = sharedHeaders("GetCapability");
840
- let body;
841
- body = JSON.stringify(smithyClient._json(input));
842
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
843
- };
844
- const se_GetPartnershipCommand = async (input, context) => {
845
- const headers = sharedHeaders("GetPartnership");
846
- let body;
847
- body = JSON.stringify(smithyClient._json(input));
848
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
849
- };
850
- const se_GetProfileCommand = async (input, context) => {
851
- const headers = sharedHeaders("GetProfile");
852
- let body;
853
- body = JSON.stringify(smithyClient._json(input));
854
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
855
- };
856
- const se_GetTransformerCommand = async (input, context) => {
857
- const headers = sharedHeaders("GetTransformer");
858
- let body;
859
- body = JSON.stringify(smithyClient._json(input));
860
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
861
- };
862
- const se_GetTransformerJobCommand = async (input, context) => {
863
- const headers = sharedHeaders("GetTransformerJob");
864
- let body;
865
- body = JSON.stringify(smithyClient._json(input));
866
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
867
- };
868
- const se_ListCapabilitiesCommand = async (input, context) => {
869
- const headers = sharedHeaders("ListCapabilities");
870
- let body;
871
- body = JSON.stringify(smithyClient._json(input));
872
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
873
- };
874
- const se_ListPartnershipsCommand = async (input, context) => {
875
- const headers = sharedHeaders("ListPartnerships");
876
- let body;
877
- body = JSON.stringify(smithyClient._json(input));
878
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
879
- };
880
- const se_ListProfilesCommand = async (input, context) => {
881
- const headers = sharedHeaders("ListProfiles");
882
- let body;
883
- body = JSON.stringify(smithyClient._json(input));
884
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
885
- };
886
- const se_ListTagsForResourceCommand = async (input, context) => {
887
- const headers = sharedHeaders("ListTagsForResource");
888
- let body;
889
- body = JSON.stringify(smithyClient._json(input));
890
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
891
- };
892
- const se_ListTransformersCommand = async (input, context) => {
893
- const headers = sharedHeaders("ListTransformers");
894
- let body;
895
- body = JSON.stringify(smithyClient._json(input));
896
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
897
- };
898
- const se_StartTransformerJobCommand = async (input, context) => {
899
- const headers = sharedHeaders("StartTransformerJob");
900
- let body;
901
- body = JSON.stringify(se_StartTransformerJobRequest(input));
902
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
903
- };
904
- const se_TagResourceCommand = async (input, context) => {
905
- const headers = sharedHeaders("TagResource");
906
- let body;
907
- body = JSON.stringify(smithyClient._json(input));
908
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
909
- };
910
- const se_TestConversionCommand = async (input, context) => {
911
- const headers = sharedHeaders("TestConversion");
912
- let body;
913
- body = JSON.stringify(smithyClient._json(input));
914
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
915
- };
916
- const se_TestMappingCommand = async (input, context) => {
917
- const headers = sharedHeaders("TestMapping");
918
- let body;
919
- body = JSON.stringify(smithyClient._json(input));
920
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
921
- };
922
- const se_TestParsingCommand = async (input, context) => {
923
- const headers = sharedHeaders("TestParsing");
924
- let body;
925
- body = JSON.stringify(smithyClient._json(input));
926
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
927
- };
928
- const se_UntagResourceCommand = async (input, context) => {
929
- const headers = sharedHeaders("UntagResource");
930
- let body;
931
- body = JSON.stringify(smithyClient._json(input));
932
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
933
- };
934
- const se_UpdateCapabilityCommand = async (input, context) => {
935
- const headers = sharedHeaders("UpdateCapability");
936
- let body;
937
- body = JSON.stringify(smithyClient._json(input));
938
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
939
- };
940
- const se_UpdatePartnershipCommand = async (input, context) => {
941
- const headers = sharedHeaders("UpdatePartnership");
942
- let body;
943
- body = JSON.stringify(smithyClient._json(input));
944
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
945
- };
946
- const se_UpdateProfileCommand = async (input, context) => {
947
- const headers = sharedHeaders("UpdateProfile");
948
- let body;
949
- body = JSON.stringify(smithyClient._json(input));
950
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
951
- };
952
- const se_UpdateTransformerCommand = async (input, context) => {
953
- const headers = sharedHeaders("UpdateTransformer");
954
- let body;
955
- body = JSON.stringify(smithyClient._json(input));
956
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
957
- };
958
- const de_CreateCapabilityCommand = async (output, context) => {
959
- if (output.statusCode >= 300) {
960
- return de_CommandError(output, context);
961
- }
962
- const data = await core$1.parseJsonBody(output.body, context);
963
- let contents = {};
964
- contents = de_CreateCapabilityResponse(data);
965
- const response = {
966
- $metadata: deserializeMetadata(output),
967
- ...contents,
968
- };
969
- return response;
970
- };
971
- const de_CreatePartnershipCommand = async (output, context) => {
972
- if (output.statusCode >= 300) {
973
- return de_CommandError(output, context);
974
- }
975
- const data = await core$1.parseJsonBody(output.body, context);
976
- let contents = {};
977
- contents = de_CreatePartnershipResponse(data);
978
- const response = {
979
- $metadata: deserializeMetadata(output),
980
- ...contents,
981
- };
982
- return response;
983
- };
984
- const de_CreateProfileCommand = async (output, context) => {
985
- if (output.statusCode >= 300) {
986
- return de_CommandError(output, context);
987
- }
988
- const data = await core$1.parseJsonBody(output.body, context);
989
- let contents = {};
990
- contents = de_CreateProfileResponse(data);
991
- const response = {
992
- $metadata: deserializeMetadata(output),
993
- ...contents,
994
- };
995
- return response;
996
- };
997
- const de_CreateStarterMappingTemplateCommand = async (output, context) => {
998
- if (output.statusCode >= 300) {
999
- return de_CommandError(output, context);
1000
- }
1001
- const data = await core$1.parseJsonBody(output.body, context);
1002
- let contents = {};
1003
- contents = smithyClient._json(data);
1004
- const response = {
1005
- $metadata: deserializeMetadata(output),
1006
- ...contents,
1007
- };
1008
- return response;
1009
- };
1010
- const de_CreateTransformerCommand = async (output, context) => {
1011
- if (output.statusCode >= 300) {
1012
- return de_CommandError(output, context);
1013
- }
1014
- const data = await core$1.parseJsonBody(output.body, context);
1015
- let contents = {};
1016
- contents = de_CreateTransformerResponse(data);
1017
- const response = {
1018
- $metadata: deserializeMetadata(output),
1019
- ...contents,
1020
- };
1021
- return response;
1022
- };
1023
- const de_DeleteCapabilityCommand = async (output, context) => {
1024
- if (output.statusCode >= 300) {
1025
- return de_CommandError(output, context);
1026
- }
1027
- await smithyClient.collectBody(output.body, context);
1028
- const response = {
1029
- $metadata: deserializeMetadata(output),
1030
- };
1031
- return response;
1032
- };
1033
- const de_DeletePartnershipCommand = async (output, context) => {
1034
- if (output.statusCode >= 300) {
1035
- return de_CommandError(output, context);
1036
- }
1037
- await smithyClient.collectBody(output.body, context);
1038
- const response = {
1039
- $metadata: deserializeMetadata(output),
1040
- };
1041
- return response;
1042
- };
1043
- const de_DeleteProfileCommand = async (output, context) => {
1044
- if (output.statusCode >= 300) {
1045
- return de_CommandError(output, context);
1046
- }
1047
- await smithyClient.collectBody(output.body, context);
1048
- const response = {
1049
- $metadata: deserializeMetadata(output),
1050
- };
1051
- return response;
1052
- };
1053
- const de_DeleteTransformerCommand = async (output, context) => {
1054
- if (output.statusCode >= 300) {
1055
- return de_CommandError(output, context);
1056
- }
1057
- await smithyClient.collectBody(output.body, context);
1058
- const response = {
1059
- $metadata: deserializeMetadata(output),
1060
- };
1061
- return response;
1062
- };
1063
- const de_GenerateMappingCommand = async (output, context) => {
1064
- if (output.statusCode >= 300) {
1065
- return de_CommandError(output, context);
1066
- }
1067
- const data = await core$1.parseJsonBody(output.body, context);
1068
- let contents = {};
1069
- contents = de_GenerateMappingResponse(data);
1070
- const response = {
1071
- $metadata: deserializeMetadata(output),
1072
- ...contents,
1073
- };
1074
- return response;
1075
- };
1076
- const de_GetCapabilityCommand = async (output, context) => {
1077
- if (output.statusCode >= 300) {
1078
- return de_CommandError(output, context);
1079
- }
1080
- const data = await core$1.parseJsonBody(output.body, context);
1081
- let contents = {};
1082
- contents = de_GetCapabilityResponse(data);
1083
- const response = {
1084
- $metadata: deserializeMetadata(output),
1085
- ...contents,
1086
- };
1087
- return response;
1088
- };
1089
- const de_GetPartnershipCommand = async (output, context) => {
1090
- if (output.statusCode >= 300) {
1091
- return de_CommandError(output, context);
1092
- }
1093
- const data = await core$1.parseJsonBody(output.body, context);
1094
- let contents = {};
1095
- contents = de_GetPartnershipResponse(data);
1096
- const response = {
1097
- $metadata: deserializeMetadata(output),
1098
- ...contents,
1099
- };
1100
- return response;
1101
- };
1102
- const de_GetProfileCommand = async (output, context) => {
1103
- if (output.statusCode >= 300) {
1104
- return de_CommandError(output, context);
1105
- }
1106
- const data = await core$1.parseJsonBody(output.body, context);
1107
- let contents = {};
1108
- contents = de_GetProfileResponse(data);
1109
- const response = {
1110
- $metadata: deserializeMetadata(output),
1111
- ...contents,
1112
- };
1113
- return response;
1114
- };
1115
- const de_GetTransformerCommand = async (output, context) => {
1116
- if (output.statusCode >= 300) {
1117
- return de_CommandError(output, context);
1118
- }
1119
- const data = await core$1.parseJsonBody(output.body, context);
1120
- let contents = {};
1121
- contents = de_GetTransformerResponse(data);
1122
- const response = {
1123
- $metadata: deserializeMetadata(output),
1124
- ...contents,
1125
- };
1126
- return response;
1127
- };
1128
- const de_GetTransformerJobCommand = async (output, context) => {
1129
- if (output.statusCode >= 300) {
1130
- return de_CommandError(output, context);
1131
- }
1132
- const data = await core$1.parseJsonBody(output.body, context);
1133
- let contents = {};
1134
- contents = smithyClient._json(data);
1135
- const response = {
1136
- $metadata: deserializeMetadata(output),
1137
- ...contents,
1138
- };
1139
- return response;
1140
- };
1141
- const de_ListCapabilitiesCommand = async (output, context) => {
1142
- if (output.statusCode >= 300) {
1143
- return de_CommandError(output, context);
1144
- }
1145
- const data = await core$1.parseJsonBody(output.body, context);
1146
- let contents = {};
1147
- contents = de_ListCapabilitiesResponse(data);
1148
- const response = {
1149
- $metadata: deserializeMetadata(output),
1150
- ...contents,
1151
- };
1152
- return response;
1153
- };
1154
- const de_ListPartnershipsCommand = async (output, context) => {
1155
- if (output.statusCode >= 300) {
1156
- return de_CommandError(output, context);
1157
- }
1158
- const data = await core$1.parseJsonBody(output.body, context);
1159
- let contents = {};
1160
- contents = de_ListPartnershipsResponse(data);
1161
- const response = {
1162
- $metadata: deserializeMetadata(output),
1163
- ...contents,
1164
- };
1165
- return response;
1166
- };
1167
- const de_ListProfilesCommand = async (output, context) => {
1168
- if (output.statusCode >= 300) {
1169
- return de_CommandError(output, context);
1170
- }
1171
- const data = await core$1.parseJsonBody(output.body, context);
1172
- let contents = {};
1173
- contents = de_ListProfilesResponse(data);
1174
- const response = {
1175
- $metadata: deserializeMetadata(output),
1176
- ...contents,
1177
- };
1178
- return response;
1179
- };
1180
- const de_ListTagsForResourceCommand = async (output, context) => {
1181
- if (output.statusCode >= 300) {
1182
- return de_CommandError(output, context);
1183
- }
1184
- const data = await core$1.parseJsonBody(output.body, context);
1185
- let contents = {};
1186
- contents = smithyClient._json(data);
1187
- const response = {
1188
- $metadata: deserializeMetadata(output),
1189
- ...contents,
1190
- };
1191
- return response;
1192
- };
1193
- const de_ListTransformersCommand = async (output, context) => {
1194
- if (output.statusCode >= 300) {
1195
- return de_CommandError(output, context);
1196
- }
1197
- const data = await core$1.parseJsonBody(output.body, context);
1198
- let contents = {};
1199
- contents = de_ListTransformersResponse(data);
1200
- const response = {
1201
- $metadata: deserializeMetadata(output),
1202
- ...contents,
1203
- };
1204
- return response;
1205
- };
1206
- const de_StartTransformerJobCommand = async (output, context) => {
1207
- if (output.statusCode >= 300) {
1208
- return de_CommandError(output, context);
1209
- }
1210
- const data = await core$1.parseJsonBody(output.body, context);
1211
- let contents = {};
1212
- contents = smithyClient._json(data);
1213
- const response = {
1214
- $metadata: deserializeMetadata(output),
1215
- ...contents,
1216
- };
1217
- return response;
1218
- };
1219
- const de_TagResourceCommand = async (output, context) => {
1220
- if (output.statusCode >= 300) {
1221
- return de_CommandError(output, context);
1222
- }
1223
- await smithyClient.collectBody(output.body, context);
1224
- const response = {
1225
- $metadata: deserializeMetadata(output),
1226
- };
1227
- return response;
1228
- };
1229
- const de_TestConversionCommand = async (output, context) => {
1230
- if (output.statusCode >= 300) {
1231
- return de_CommandError(output, context);
1232
- }
1233
- const data = await core$1.parseJsonBody(output.body, context);
1234
- let contents = {};
1235
- contents = smithyClient._json(data);
1236
- const response = {
1237
- $metadata: deserializeMetadata(output),
1238
- ...contents,
1239
- };
1240
- return response;
1241
- };
1242
- const de_TestMappingCommand = async (output, context) => {
1243
- if (output.statusCode >= 300) {
1244
- return de_CommandError(output, context);
1245
- }
1246
- const data = await core$1.parseJsonBody(output.body, context);
1247
- let contents = {};
1248
- contents = smithyClient._json(data);
1249
- const response = {
1250
- $metadata: deserializeMetadata(output),
1251
- ...contents,
1252
- };
1253
- return response;
1254
- };
1255
- const de_TestParsingCommand = async (output, context) => {
1256
- if (output.statusCode >= 300) {
1257
- return de_CommandError(output, context);
1258
- }
1259
- const data = await core$1.parseJsonBody(output.body, context);
1260
- let contents = {};
1261
- contents = smithyClient._json(data);
1262
- const response = {
1263
- $metadata: deserializeMetadata(output),
1264
- ...contents,
1265
- };
1266
- return response;
1267
- };
1268
- const de_UntagResourceCommand = async (output, context) => {
1269
- if (output.statusCode >= 300) {
1270
- return de_CommandError(output, context);
1271
- }
1272
- await smithyClient.collectBody(output.body, context);
1273
- const response = {
1274
- $metadata: deserializeMetadata(output),
1275
- };
1276
- return response;
1277
- };
1278
- const de_UpdateCapabilityCommand = async (output, context) => {
1279
- if (output.statusCode >= 300) {
1280
- return de_CommandError(output, context);
1281
- }
1282
- const data = await core$1.parseJsonBody(output.body, context);
1283
- let contents = {};
1284
- contents = de_UpdateCapabilityResponse(data);
1285
- const response = {
1286
- $metadata: deserializeMetadata(output),
1287
- ...contents,
1288
- };
1289
- return response;
1290
- };
1291
- const de_UpdatePartnershipCommand = async (output, context) => {
1292
- if (output.statusCode >= 300) {
1293
- return de_CommandError(output, context);
1294
- }
1295
- const data = await core$1.parseJsonBody(output.body, context);
1296
- let contents = {};
1297
- contents = de_UpdatePartnershipResponse(data);
1298
- const response = {
1299
- $metadata: deserializeMetadata(output),
1300
- ...contents,
1301
- };
1302
- return response;
1303
- };
1304
- const de_UpdateProfileCommand = async (output, context) => {
1305
- if (output.statusCode >= 300) {
1306
- return de_CommandError(output, context);
1307
- }
1308
- const data = await core$1.parseJsonBody(output.body, context);
1309
- let contents = {};
1310
- contents = de_UpdateProfileResponse(data);
1311
- const response = {
1312
- $metadata: deserializeMetadata(output),
1313
- ...contents,
1314
- };
1315
- return response;
1316
- };
1317
- const de_UpdateTransformerCommand = async (output, context) => {
1318
- if (output.statusCode >= 300) {
1319
- return de_CommandError(output, context);
1320
- }
1321
- const data = await core$1.parseJsonBody(output.body, context);
1322
- let contents = {};
1323
- contents = de_UpdateTransformerResponse(data);
1324
- const response = {
1325
- $metadata: deserializeMetadata(output),
1326
- ...contents,
1327
- };
1328
- return response;
1329
- };
1330
- const de_CommandError = async (output, context) => {
1331
- const parsedOutput = {
1332
- ...output,
1333
- body: await core$1.parseJsonErrorBody(output.body, context),
1334
- };
1335
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1336
- switch (errorCode) {
1337
- case "AccessDeniedException":
1338
- case "com.amazonaws.b2bi#AccessDeniedException":
1339
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1340
- case "ConflictException":
1341
- case "com.amazonaws.b2bi#ConflictException":
1342
- throw await de_ConflictExceptionRes(parsedOutput);
1343
- case "InternalServerException":
1344
- case "com.amazonaws.b2bi#InternalServerException":
1345
- throw await de_InternalServerExceptionRes(parsedOutput);
1346
- case "ResourceNotFoundException":
1347
- case "com.amazonaws.b2bi#ResourceNotFoundException":
1348
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1349
- case "ServiceQuotaExceededException":
1350
- case "com.amazonaws.b2bi#ServiceQuotaExceededException":
1351
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1352
- case "ThrottlingException":
1353
- case "com.amazonaws.b2bi#ThrottlingException":
1354
- throw await de_ThrottlingExceptionRes(parsedOutput);
1355
- case "ValidationException":
1356
- case "com.amazonaws.b2bi#ValidationException":
1357
- throw await de_ValidationExceptionRes(parsedOutput);
1358
- default:
1359
- const parsedBody = parsedOutput.body;
1360
- return throwDefaultError({
1361
- output,
1362
- parsedBody,
1363
- errorCode,
1364
- });
1365
- }
1366
- };
1367
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1368
- const body = parsedOutput.body;
1369
- const deserialized = smithyClient._json(body);
1370
- const exception = new AccessDeniedException({
1371
- $metadata: deserializeMetadata(parsedOutput),
1372
- ...deserialized,
1373
- });
1374
- return smithyClient.decorateServiceException(exception, body);
1375
- };
1376
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1377
- const body = parsedOutput.body;
1378
- const deserialized = smithyClient._json(body);
1379
- const exception = new ConflictException({
1380
- $metadata: deserializeMetadata(parsedOutput),
1381
- ...deserialized,
1382
- });
1383
- return smithyClient.decorateServiceException(exception, body);
1384
- };
1385
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1386
- const body = parsedOutput.body;
1387
- const deserialized = smithyClient._json(body);
1388
- const exception = new InternalServerException({
1389
- $metadata: deserializeMetadata(parsedOutput),
1390
- ...deserialized,
1391
- });
1392
- return smithyClient.decorateServiceException(exception, body);
1393
- };
1394
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1395
- const body = parsedOutput.body;
1396
- const deserialized = smithyClient._json(body);
1397
- const exception = new ResourceNotFoundException({
1398
- $metadata: deserializeMetadata(parsedOutput),
1399
- ...deserialized,
1400
- });
1401
- return smithyClient.decorateServiceException(exception, body);
1402
- };
1403
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1404
- const body = parsedOutput.body;
1405
- const deserialized = smithyClient._json(body);
1406
- const exception = new ServiceQuotaExceededException({
1407
- $metadata: deserializeMetadata(parsedOutput),
1408
- ...deserialized,
1409
- });
1410
- return smithyClient.decorateServiceException(exception, body);
1411
- };
1412
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1413
- const body = parsedOutput.body;
1414
- const deserialized = smithyClient._json(body);
1415
- const exception = new ThrottlingException({
1416
- $metadata: deserializeMetadata(parsedOutput),
1417
- ...deserialized,
1418
- });
1419
- return smithyClient.decorateServiceException(exception, body);
1420
- };
1421
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1422
- const body = parsedOutput.body;
1423
- const deserialized = smithyClient._json(body);
1424
- const exception = new ValidationException({
1425
- $metadata: deserializeMetadata(parsedOutput),
1426
- ...deserialized,
1427
- });
1428
- return smithyClient.decorateServiceException(exception, body);
1429
- };
1430
- const se_CreateCapabilityRequest = (input, context) => {
1431
- return smithyClient.take(input, {
1432
- clientToken: [true, (_) => _ ?? uuid.v4()],
1433
- configuration: smithyClient._json,
1434
- instructionsDocuments: smithyClient._json,
1435
- name: [],
1436
- tags: smithyClient._json,
1437
- type: [],
1438
- });
1439
- };
1440
- const se_CreatePartnershipRequest = (input, context) => {
1441
- return smithyClient.take(input, {
1442
- capabilities: smithyClient._json,
1443
- capabilityOptions: smithyClient._json,
1444
- clientToken: [true, (_) => _ ?? uuid.v4()],
1445
- email: [],
1446
- name: [],
1447
- phone: [],
1448
- profileId: [],
1449
- tags: smithyClient._json,
1450
- });
1451
- };
1452
- const se_CreateProfileRequest = (input, context) => {
1453
- return smithyClient.take(input, {
1454
- businessName: [],
1455
- clientToken: [true, (_) => _ ?? uuid.v4()],
1456
- email: [],
1457
- logging: [],
1458
- name: [],
1459
- phone: [],
1460
- tags: smithyClient._json,
1461
- });
1462
- };
1463
- const se_CreateTransformerRequest = (input, context) => {
1464
- return smithyClient.take(input, {
1465
- clientToken: [true, (_) => _ ?? uuid.v4()],
1466
- ediType: smithyClient._json,
1467
- fileFormat: [],
1468
- inputConversion: smithyClient._json,
1469
- mapping: smithyClient._json,
1470
- mappingTemplate: [],
1471
- name: [],
1472
- outputConversion: smithyClient._json,
1473
- sampleDocument: [],
1474
- sampleDocuments: smithyClient._json,
1475
- tags: smithyClient._json,
1476
- });
1477
- };
1478
- const se_StartTransformerJobRequest = (input, context) => {
1479
- return smithyClient.take(input, {
1480
- clientToken: [true, (_) => _ ?? uuid.v4()],
1481
- inputFile: smithyClient._json,
1482
- outputLocation: smithyClient._json,
1483
- transformerId: [],
1484
- });
1485
- };
1486
- const de_CapabilityList = (output, context) => {
1487
- const retVal = (output || [])
1488
- .filter((e) => e != null)
1489
- .map((entry) => {
1490
- return de_CapabilitySummary(entry);
1491
- });
1492
- return retVal;
1493
- };
1494
- const de_CapabilitySummary = (output, context) => {
1495
- return smithyClient.take(output, {
1496
- capabilityId: smithyClient.expectString,
1497
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1498
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1499
- name: smithyClient.expectString,
1500
- type: smithyClient.expectString,
1501
- });
1502
- };
1503
- const de_CreateCapabilityResponse = (output, context) => {
1504
- return smithyClient.take(output, {
1505
- capabilityArn: smithyClient.expectString,
1506
- capabilityId: smithyClient.expectString,
1507
- configuration: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1508
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1509
- instructionsDocuments: smithyClient._json,
1510
- name: smithyClient.expectString,
1511
- type: smithyClient.expectString,
1512
- });
1513
- };
1514
- const de_CreatePartnershipResponse = (output, context) => {
1515
- return smithyClient.take(output, {
1516
- capabilities: smithyClient._json,
1517
- capabilityOptions: smithyClient._json,
1518
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1519
- email: smithyClient.expectString,
1520
- name: smithyClient.expectString,
1521
- partnershipArn: smithyClient.expectString,
1522
- partnershipId: smithyClient.expectString,
1523
- phone: smithyClient.expectString,
1524
- profileId: smithyClient.expectString,
1525
- tradingPartnerId: smithyClient.expectString,
1526
- });
1527
- };
1528
- const de_CreateProfileResponse = (output, context) => {
1529
- return smithyClient.take(output, {
1530
- businessName: smithyClient.expectString,
1531
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1532
- email: smithyClient.expectString,
1533
- logGroupName: smithyClient.expectString,
1534
- logging: smithyClient.expectString,
1535
- name: smithyClient.expectString,
1536
- phone: smithyClient.expectString,
1537
- profileArn: smithyClient.expectString,
1538
- profileId: smithyClient.expectString,
1539
- });
1540
- };
1541
- const de_CreateTransformerResponse = (output, context) => {
1542
- return smithyClient.take(output, {
1543
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1544
- ediType: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1545
- fileFormat: smithyClient.expectString,
1546
- inputConversion: smithyClient._json,
1547
- mapping: smithyClient._json,
1548
- mappingTemplate: smithyClient.expectString,
1549
- name: smithyClient.expectString,
1550
- outputConversion: smithyClient._json,
1551
- sampleDocument: smithyClient.expectString,
1552
- sampleDocuments: smithyClient._json,
1553
- status: smithyClient.expectString,
1554
- transformerArn: smithyClient.expectString,
1555
- transformerId: smithyClient.expectString,
1556
- });
1557
- };
1558
- const de_GenerateMappingResponse = (output, context) => {
1559
- return smithyClient.take(output, {
1560
- mappingAccuracy: smithyClient.limitedParseFloat32,
1561
- mappingTemplate: smithyClient.expectString,
1562
- });
1563
- };
1564
- const de_GetCapabilityResponse = (output, context) => {
1565
- return smithyClient.take(output, {
1566
- capabilityArn: smithyClient.expectString,
1567
- capabilityId: smithyClient.expectString,
1568
- configuration: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1569
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1570
- instructionsDocuments: smithyClient._json,
1571
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1572
- name: smithyClient.expectString,
1573
- type: smithyClient.expectString,
1574
- });
1575
- };
1576
- const de_GetPartnershipResponse = (output, context) => {
1577
- return smithyClient.take(output, {
1578
- capabilities: smithyClient._json,
1579
- capabilityOptions: smithyClient._json,
1580
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1581
- email: smithyClient.expectString,
1582
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1583
- name: smithyClient.expectString,
1584
- partnershipArn: smithyClient.expectString,
1585
- partnershipId: smithyClient.expectString,
1586
- phone: smithyClient.expectString,
1587
- profileId: smithyClient.expectString,
1588
- tradingPartnerId: smithyClient.expectString,
1589
- });
1590
- };
1591
- const de_GetProfileResponse = (output, context) => {
1592
- return smithyClient.take(output, {
1593
- businessName: smithyClient.expectString,
1594
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1595
- email: smithyClient.expectString,
1596
- logGroupName: smithyClient.expectString,
1597
- logging: smithyClient.expectString,
1598
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1599
- name: smithyClient.expectString,
1600
- phone: smithyClient.expectString,
1601
- profileArn: smithyClient.expectString,
1602
- profileId: smithyClient.expectString,
1603
- });
1604
- };
1605
- const de_GetTransformerResponse = (output, context) => {
1606
- return smithyClient.take(output, {
1607
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1608
- ediType: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1609
- fileFormat: smithyClient.expectString,
1610
- inputConversion: smithyClient._json,
1611
- mapping: smithyClient._json,
1612
- mappingTemplate: smithyClient.expectString,
1613
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1614
- name: smithyClient.expectString,
1615
- outputConversion: smithyClient._json,
1616
- sampleDocument: smithyClient.expectString,
1617
- sampleDocuments: smithyClient._json,
1618
- status: smithyClient.expectString,
1619
- transformerArn: smithyClient.expectString,
1620
- transformerId: smithyClient.expectString,
1621
- });
1622
- };
1623
- const de_ListCapabilitiesResponse = (output, context) => {
1624
- return smithyClient.take(output, {
1625
- capabilities: (_) => de_CapabilityList(_),
1626
- nextToken: smithyClient.expectString,
1627
- });
1628
- };
1629
- const de_ListPartnershipsResponse = (output, context) => {
1630
- return smithyClient.take(output, {
1631
- nextToken: smithyClient.expectString,
1632
- partnerships: (_) => de_PartnershipList(_),
1633
- });
1634
- };
1635
- const de_ListProfilesResponse = (output, context) => {
1636
- return smithyClient.take(output, {
1637
- nextToken: smithyClient.expectString,
1638
- profiles: (_) => de_ProfileList(_),
1639
- });
1640
- };
1641
- const de_ListTransformersResponse = (output, context) => {
1642
- return smithyClient.take(output, {
1643
- nextToken: smithyClient.expectString,
1644
- transformers: (_) => de_TransformerList(_),
1645
- });
1646
- };
1647
- const de_PartnershipList = (output, context) => {
1648
- const retVal = (output || [])
1649
- .filter((e) => e != null)
1650
- .map((entry) => {
1651
- return de_PartnershipSummary(entry);
1652
- });
1653
- return retVal;
1654
- };
1655
- const de_PartnershipSummary = (output, context) => {
1656
- return smithyClient.take(output, {
1657
- capabilities: smithyClient._json,
1658
- capabilityOptions: smithyClient._json,
1659
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1660
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1661
- name: smithyClient.expectString,
1662
- partnershipId: smithyClient.expectString,
1663
- profileId: smithyClient.expectString,
1664
- tradingPartnerId: smithyClient.expectString,
1665
- });
1666
- };
1667
- const de_ProfileList = (output, context) => {
1668
- const retVal = (output || [])
1669
- .filter((e) => e != null)
1670
- .map((entry) => {
1671
- return de_ProfileSummary(entry);
1672
- });
1673
- return retVal;
1674
- };
1675
- const de_ProfileSummary = (output, context) => {
1676
- return smithyClient.take(output, {
1677
- businessName: smithyClient.expectString,
1678
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1679
- logGroupName: smithyClient.expectString,
1680
- logging: smithyClient.expectString,
1681
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1682
- name: smithyClient.expectString,
1683
- profileId: smithyClient.expectString,
1684
- });
1685
- };
1686
- const de_TransformerList = (output, context) => {
1687
- const retVal = (output || [])
1688
- .filter((e) => e != null)
1689
- .map((entry) => {
1690
- return de_TransformerSummary(entry);
1691
- });
1692
- return retVal;
1693
- };
1694
- const de_TransformerSummary = (output, context) => {
1695
- return smithyClient.take(output, {
1696
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1697
- ediType: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1698
- fileFormat: smithyClient.expectString,
1699
- inputConversion: smithyClient._json,
1700
- mapping: smithyClient._json,
1701
- mappingTemplate: smithyClient.expectString,
1702
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1703
- name: smithyClient.expectString,
1704
- outputConversion: smithyClient._json,
1705
- sampleDocument: smithyClient.expectString,
1706
- sampleDocuments: smithyClient._json,
1707
- status: smithyClient.expectString,
1708
- transformerId: smithyClient.expectString,
1709
- });
1710
- };
1711
- const de_UpdateCapabilityResponse = (output, context) => {
1712
- return smithyClient.take(output, {
1713
- capabilityArn: smithyClient.expectString,
1714
- capabilityId: smithyClient.expectString,
1715
- configuration: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1716
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1717
- instructionsDocuments: smithyClient._json,
1718
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1719
- name: smithyClient.expectString,
1720
- type: smithyClient.expectString,
1721
- });
1722
- };
1723
- const de_UpdatePartnershipResponse = (output, context) => {
1724
- return smithyClient.take(output, {
1725
- capabilities: smithyClient._json,
1726
- capabilityOptions: smithyClient._json,
1727
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1728
- email: smithyClient.expectString,
1729
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1730
- name: smithyClient.expectString,
1731
- partnershipArn: smithyClient.expectString,
1732
- partnershipId: smithyClient.expectString,
1733
- phone: smithyClient.expectString,
1734
- profileId: smithyClient.expectString,
1735
- tradingPartnerId: smithyClient.expectString,
1736
- });
1737
- };
1738
- const de_UpdateProfileResponse = (output, context) => {
1739
- return smithyClient.take(output, {
1740
- businessName: smithyClient.expectString,
1741
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1742
- email: smithyClient.expectString,
1743
- logGroupName: smithyClient.expectString,
1744
- logging: smithyClient.expectString,
1745
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1746
- name: smithyClient.expectString,
1747
- phone: smithyClient.expectString,
1748
- profileArn: smithyClient.expectString,
1749
- profileId: smithyClient.expectString,
1750
- });
1751
- };
1752
- const de_UpdateTransformerResponse = (output, context) => {
1753
- return smithyClient.take(output, {
1754
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1755
- ediType: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1756
- fileFormat: smithyClient.expectString,
1757
- inputConversion: smithyClient._json,
1758
- mapping: smithyClient._json,
1759
- mappingTemplate: smithyClient.expectString,
1760
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1761
- name: smithyClient.expectString,
1762
- outputConversion: smithyClient._json,
1763
- sampleDocument: smithyClient.expectString,
1764
- sampleDocuments: smithyClient._json,
1765
- status: smithyClient.expectString,
1766
- transformerArn: smithyClient.expectString,
1767
- transformerId: smithyClient.expectString,
1768
- });
1769
- };
1770
- const deserializeMetadata = (output) => ({
1771
- httpStatusCode: output.statusCode,
1772
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1773
- extendedRequestId: output.headers["x-amz-id-2"],
1774
- cfId: output.headers["x-amz-cf-id"],
1775
- });
1776
- const throwDefaultError = smithyClient.withBaseException(B2biServiceException);
1777
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1778
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1779
- const contents = {
1780
- protocol,
1781
- hostname,
1782
- port,
1783
- method: "POST",
1784
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1785
- headers,
1786
- };
1787
- if (body !== undefined) {
1788
- contents.body = body;
1789
- }
1790
- return new protocolHttp.HttpRequest(contents);
1791
- };
1792
- function sharedHeaders(operation) {
1793
- return {
1794
- "content-type": "application/x-amz-json-1.0",
1795
- "x-amz-target": `B2BI.${operation}`,
1796
- };
1797
- }
728
+ const _ADE = "AccessDeniedException";
729
+ const _AO = "AdvancedOptions";
730
+ const _CC = "CapabilityConfiguration";
731
+ const _CCR = "CreateCapabilityRequest";
732
+ const _CCRr = "CreateCapabilityResponse";
733
+ const _CCr = "CreateCapability";
734
+ const _CE = "ConflictException";
735
+ const _CL = "CapabilityList";
736
+ const _CO = "CapabilityOptions";
737
+ const _CP = "CreatePartnership";
738
+ const _CPR = "CreatePartnershipRequest";
739
+ const _CPRr = "CreatePartnershipResponse";
740
+ const _CPRre = "CreateProfileRequest";
741
+ const _CPRrea = "CreateProfileResponse";
742
+ const _CPr = "CreateProfile";
743
+ const _CS = "CapabilitySummary";
744
+ const _CSMT = "CreateStarterMappingTemplate";
745
+ const _CSMTR = "CreateStarterMappingTemplateRequest";
746
+ const _CSMTRr = "CreateStarterMappingTemplateResponse";
747
+ const _CSo = "ConversionSource";
748
+ const _CT = "ConversionTarget";
749
+ const _CTFD = "ConversionTargetFormatDetails";
750
+ const _CTR = "CreateTransformerRequest";
751
+ const _CTRr = "CreateTransformerResponse";
752
+ const _CTr = "CreateTransformer";
753
+ const _DC = "DeleteCapability";
754
+ const _DCR = "DeleteCapabilityRequest";
755
+ const _DP = "DeletePartnership";
756
+ const _DPR = "DeletePartnershipRequest";
757
+ const _DPRe = "DeleteProfileRequest";
758
+ const _DPe = "DeleteProfile";
759
+ const _DT = "DeleteTransformer";
760
+ const _DTR = "DeleteTransformerRequest";
761
+ const _E = "Email";
762
+ const _EC = "EdiConfiguration";
763
+ const _ET = "EdiType";
764
+ const _FO = "FormatOptions";
765
+ const _GC = "GetCapability";
766
+ const _GCR = "GetCapabilityRequest";
767
+ const _GCRe = "GetCapabilityResponse";
768
+ const _GM = "GenerateMapping";
769
+ const _GMR = "GenerateMappingRequest";
770
+ const _GMRe = "GenerateMappingResponse";
771
+ const _GP = "GetPartnership";
772
+ const _GPR = "GetPartnershipRequest";
773
+ const _GPRe = "GetPartnershipResponse";
774
+ const _GPRet = "GetProfileRequest";
775
+ const _GPRetr = "GetProfileResponse";
776
+ const _GPe = "GetProfile";
777
+ const _GT = "GetTransformer";
778
+ const _GTJ = "GetTransformerJob";
779
+ const _GTJR = "GetTransformerJobRequest";
780
+ const _GTJRe = "GetTransformerJobResponse";
781
+ const _GTR = "GetTransformerRequest";
782
+ const _GTRe = "GetTransformerResponse";
783
+ const _IC = "InputConversion";
784
+ const _ID = "InstructionsDocuments";
785
+ const _IEO = "InboundEdiOptions";
786
+ const _IFS = "InputFileSource";
787
+ const _ISE = "InternalServerException";
788
+ const _K = "Key";
789
+ const _KL = "KeyList";
790
+ const _LC = "ListCapabilities";
791
+ const _LCR = "ListCapabilitiesRequest";
792
+ const _LCRi = "ListCapabilitiesResponse";
793
+ const _LP = "ListPartnerships";
794
+ const _LPR = "ListPartnershipsRequest";
795
+ const _LPRi = "ListPartnershipsResponse";
796
+ const _LPRis = "ListProfilesRequest";
797
+ const _LPRist = "ListProfilesResponse";
798
+ const _LPi = "ListProfiles";
799
+ const _LT = "ListTransformers";
800
+ const _LTFR = "ListTagsForResource";
801
+ const _LTFRR = "ListTagsForResourceRequest";
802
+ const _LTFRRi = "ListTagsForResourceResponse";
803
+ const _LTR = "ListTransformersRequest";
804
+ const _LTRi = "ListTransformersResponse";
805
+ const _M = "Mapping";
806
+ const _Me = "Message";
807
+ const _OC = "OutputConversion";
808
+ const _OEO = "OutboundEdiOptions";
809
+ const _OSFS = "OutputSampleFileSource";
810
+ const _P = "Phone";
811
+ const _PL = "PartnershipList";
812
+ const _PLr = "ProfileList";
813
+ const _PS = "PartnershipSummary";
814
+ const _PSr = "ProfileSummary";
815
+ const _RA = "Retry-After";
816
+ const _RARN = "ResourceARN";
817
+ const _RNFE = "ResourceNotFoundException";
818
+ const _SD = "SampleDocuments";
819
+ const _SDK = "SampleDocumentKeys";
820
+ const _SL = "S3Location";
821
+ const _SLL = "S3LocationList";
822
+ const _SQEE = "ServiceQuotaExceededException";
823
+ const _STJ = "StartTransformerJob";
824
+ const _STJR = "StartTransformerJobRequest";
825
+ const _STJRt = "StartTransformerJobResponse";
826
+ const _T = "Tags";
827
+ const _TC = "TestConversion";
828
+ const _TCR = "TestConversionRequest";
829
+ const _TCRe = "TestConversionResponse";
830
+ const _TD = "TemplateDetails";
831
+ const _TE = "ThrottlingException";
832
+ const _TK = "TagKeys";
833
+ const _TL = "TagList";
834
+ const _TLr = "TransformerList";
835
+ const _TM = "TestMapping";
836
+ const _TMR = "TestMappingRequest";
837
+ const _TMRe = "TestMappingResponse";
838
+ const _TP = "TestParsing";
839
+ const _TPR = "TestParsingRequest";
840
+ const _TPRe = "TestParsingResponse";
841
+ const _TR = "TagResource";
842
+ const _TRR = "TagResourceRequest";
843
+ const _TS = "TransformerSummary";
844
+ const _Ta = "Tag";
845
+ const _UC = "UpdateCapability";
846
+ const _UCR = "UpdateCapabilityRequest";
847
+ const _UCRp = "UpdateCapabilityResponse";
848
+ const _UP = "UpdatePartnership";
849
+ const _UPR = "UpdatePartnershipRequest";
850
+ const _UPRp = "UpdatePartnershipResponse";
851
+ const _UPRpd = "UpdateProfileRequest";
852
+ const _UPRpda = "UpdateProfileResponse";
853
+ const _UPp = "UpdateProfile";
854
+ const _UR = "UntagResource";
855
+ const _URR = "UntagResourceRequest";
856
+ const _UT = "UpdateTransformer";
857
+ const _UTR = "UpdateTransformerRequest";
858
+ const _UTRp = "UpdateTransformerResponse";
859
+ const _V = "Value";
860
+ const _VE = "ValidationException";
861
+ const _WO = "WrapOptions";
862
+ const _XAO = "X12AcknowledgmentOptions";
863
+ const _XAOd = "X12AdvancedOptions";
864
+ const _XCLVR = "X12CodeListValidationRule";
865
+ const _XCN = "X12ControlNumbers";
866
+ const _XD = "X12Delimiters";
867
+ const _XDe = "X12Details";
868
+ const _XE = "X12Envelope";
869
+ const _XELVR = "X12ElementLengthValidationRule";
870
+ const _XERVR = "X12ElementRequirementValidationRule";
871
+ const _XFGH = "X12FunctionalGroupHeaders";
872
+ const _XICH = "X12InterchangeControlHeaders";
873
+ const _XIEO = "X12InboundEdiOptions";
874
+ const _XOEH = "X12OutboundEdiHeaders";
875
+ const _XSO = "X12SplitOptions";
876
+ const _XVO = "X12ValidationOptions";
877
+ const _XVR = "X12ValidationRules";
878
+ const _XVRa = "X12ValidationRule";
879
+ const _aO = "advancedOptions";
880
+ const _aOc = "acknowledgmentOptions";
881
+ const _aRC = "applicationReceiverCode";
882
+ const _aRCc = "acknowledgmentRequestedCode";
883
+ const _aSC = "applicationSenderCode";
884
+ const _bN = "businessName";
885
+ const _bNu = "bucketName";
886
+ const _c = "client";
887
+ const _cA = "createdAt";
888
+ const _cAa = "capabilityArn";
889
+ const _cD = "capabilityDirection";
890
+ const _cFC = "convertedFileContent";
891
+ const _cI = "capabilityId";
892
+ const _cLVR = "codeListValidationRule";
893
+ const _cN = "controlNumbers";
894
+ const _cO = "capabilityOptions";
895
+ const _cS = "componentSeparator";
896
+ const _cT = "clientToken";
897
+ const _cTA = "codesToAdd";
898
+ const _cTR = "codesToRemove";
899
+ const _ca = "capabilities";
900
+ const _co = "configuration";
901
+ const _com = "common";
902
+ const _d = "delimiters";
903
+ const _dES = "dataElementSeparator";
904
+ const _e = "error";
905
+ const _eI = "elementId";
906
+ const _eLVR = "elementLengthValidationRule";
907
+ const _eP = "elementPosition";
908
+ const _eRVR = "elementRequirementValidationRule";
909
+ const _eT = "ediType";
910
+ const _ed = "edi";
911
+ const _em = "email";
912
+ const _fA = "functionalAcknowledgment";
913
+ const _fC = "fileContent";
914
+ const _fD = "formatDetails";
915
+ const _fF = "fileFormat";
916
+ const _fFr = "fromFormat";
917
+ const _fGH = "functionalGroupHeaders";
918
+ const _fL = "fileLocation";
919
+ const _fO = "formatOptions";
920
+ const _gTF = "gs05TimeFormat";
921
+ const _h = "http";
922
+ const _hE = "httpError";
923
+ const _hH = "httpHeader";
924
+ const _hQ = "httpQuery";
925
+ const _i = "input";
926
+ const _iC = "inputConversion";
927
+ const _iCH = "interchangeControlHeaders";
928
+ const _iD = "instructionsDocuments";
929
+ const _iE = "inboundEdi";
930
+ const _iF = "inputFile";
931
+ const _iFC = "inputFileContent";
932
+ const _iL = "inputLocation";
933
+ const _k = "key";
934
+ const _ke = "keys";
935
+ const _l = "logging";
936
+ const _lGN = "logGroupName";
937
+ const _lL = "lineLength";
938
+ const _lT = "lineTerminator";
939
+ const _m = "message";
940
+ const _mA = "modifiedAt";
941
+ const _mAa = "mappingAccuracy";
942
+ const _mFC = "mappedFileContent";
943
+ const _mL = "maxLength";
944
+ const _mLi = "minLength";
945
+ const _mR = "maxResults";
946
+ const _mT = "mappingType";
947
+ const _mTa = "mappingTemplate";
948
+ const _ma = "mapping";
949
+ const _n = "name";
950
+ const _nT = "nextToken";
951
+ const _o = "output";
952
+ const _oC = "outputConversion";
953
+ const _oE = "outboundEdi";
954
+ const _oF = "outputFiles";
955
+ const _oFC = "outputFileContent";
956
+ const _oL = "outputLocation";
957
+ const _oSF = "outputSampleFile";
958
+ const _oSL = "outputSampleLocation";
959
+ const _p = "phone";
960
+ const _pA = "partnershipArn";
961
+ const _pAr = "profileArn";
962
+ const _pFC = "parsedFileContent";
963
+ const _pI = "profileId";
964
+ const _pIa = "partnershipId";
965
+ const _pSFC = "parsedSplitFileContents";
966
+ const _pa = "partnerships";
967
+ const _pr = "profiles";
968
+ const _qC = "quotaCode";
969
+ const _r = "requirement";
970
+ const _rAC = "responsibleAgencyCode";
971
+ const _rAS = "retryAfterSeconds";
972
+ const _rI = "resourceId";
973
+ const _rIQ = "receiverIdQualifier";
974
+ const _rIe = "receiverId";
975
+ const _rS = "repetitionSeparator";
976
+ const _rT = "resourceType";
977
+ const _s = "status";
978
+ const _sB = "splitBy";
979
+ const _sC = "serviceCode";
980
+ const _sD = "sampleDocument";
981
+ const _sDa = "sampleDocuments";
982
+ const _sFGCN = "startingFunctionalGroupControlNumber";
983
+ const _sI = "senderId";
984
+ const _sICN = "startingInterchangeControlNumber";
985
+ const _sIQ = "senderIdQualifier";
986
+ const _sO = "splitOptions";
987
+ const _sT = "segmentTerminator";
988
+ const _sTSCN = "startingTransactionSetControlNumber";
989
+ const _se = "server";
990
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.b2bi";
991
+ const _so = "source";
992
+ const _t = "type";
993
+ const _tA = "transformerArn";
994
+ const _tAe = "technicalAcknowledgment";
995
+ const _tD = "templateDetails";
996
+ const _tF = "toFormat";
997
+ const _tI = "transformerId";
998
+ const _tJI = "transformerJobId";
999
+ const _tL = "templateLanguage";
1000
+ const _tPI = "tradingPartnerId";
1001
+ const _tS = "transactionSet";
1002
+ const _ta = "tags";
1003
+ const _tar = "target";
1004
+ const _te = "template";
1005
+ const _tr = "transformers";
1006
+ const _uIC = "usageIndicatorCode";
1007
+ const _v = "version";
1008
+ const _vE = "validateEdi";
1009
+ const _vM = "validationMessages";
1010
+ const _vO = "validationOptions";
1011
+ const _vR = "validationRules";
1012
+ const _wB = "wrapBy";
1013
+ const _wO = "wrapOptions";
1014
+ const _x = "x12";
1015
+ const _xD = "x12Details";
1016
+ const n0 = "com.amazonaws.b2bi";
1017
+ var Email = [0, n0, _E, 8, 0];
1018
+ var Phone = [0, n0, _P, 8, 0];
1019
+ var AccessDeniedException = [
1020
+ -3,
1021
+ n0,
1022
+ _ADE,
1023
+ {
1024
+ [_e]: _c,
1025
+ [_hE]: 403,
1026
+ },
1027
+ [_m],
1028
+ [0],
1029
+ ];
1030
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
1031
+ var AdvancedOptions = [3, n0, _AO, 0, [_x], [() => X12AdvancedOptions]];
1032
+ var CapabilityOptions = [
1033
+ 3,
1034
+ n0,
1035
+ _CO,
1036
+ 0,
1037
+ [_oE, _iE],
1038
+ [() => OutboundEdiOptions, () => InboundEdiOptions],
1039
+ ];
1040
+ var CapabilitySummary = [3, n0, _CS, 0, [_cI, _n, _t, _cA, _mA], [0, 0, 0, 5, 5]];
1041
+ var ConflictException = [
1042
+ -3,
1043
+ n0,
1044
+ _CE,
1045
+ {
1046
+ [_e]: _c,
1047
+ [_hE]: 409,
1048
+ },
1049
+ [_m],
1050
+ [0],
1051
+ ];
1052
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
1053
+ var ConversionSource = [3, n0, _CSo, 0, [_fF, _iF], [0, () => InputFileSource]];
1054
+ var ConversionTarget = [
1055
+ 3,
1056
+ n0,
1057
+ _CT,
1058
+ 0,
1059
+ [_fF, _fD, _oSF, _aO],
1060
+ [0, () => ConversionTargetFormatDetails, () => OutputSampleFileSource, () => AdvancedOptions],
1061
+ ];
1062
+ var CreateCapabilityRequest = [
1063
+ 3,
1064
+ n0,
1065
+ _CCR,
1066
+ 0,
1067
+ [_n, _t, _co, _iD, _cT, _ta],
1068
+ [0, 0, () => CapabilityConfiguration, () => InstructionsDocuments, [0, 4], () => TagList],
1069
+ ];
1070
+ var CreateCapabilityResponse = [
1071
+ 3,
1072
+ n0,
1073
+ _CCRr,
1074
+ 0,
1075
+ [_cI, _cAa, _n, _t, _co, _iD, _cA],
1076
+ [0, 0, 0, 0, () => CapabilityConfiguration, () => InstructionsDocuments, 5],
1077
+ ];
1078
+ var CreatePartnershipRequest = [
1079
+ 3,
1080
+ n0,
1081
+ _CPR,
1082
+ 0,
1083
+ [_pI, _n, _em, _p, _ca, _cO, _cT, _ta],
1084
+ [0, 0, [() => Email, 0], [() => Phone, 0], 64 | 0, () => CapabilityOptions, [0, 4], () => TagList],
1085
+ ];
1086
+ var CreatePartnershipResponse = [
1087
+ 3,
1088
+ n0,
1089
+ _CPRr,
1090
+ 0,
1091
+ [_pI, _pIa, _pA, _n, _em, _p, _ca, _cO, _tPI, _cA],
1092
+ [0, 0, 0, 0, [() => Email, 0], [() => Phone, 0], 64 | 0, () => CapabilityOptions, 0, 5],
1093
+ ];
1094
+ var CreateProfileRequest = [
1095
+ 3,
1096
+ n0,
1097
+ _CPRre,
1098
+ 0,
1099
+ [_n, _em, _p, _bN, _l, _cT, _ta],
1100
+ [0, [() => Email, 0], [() => Phone, 0], 0, 0, [0, 4], () => TagList],
1101
+ ];
1102
+ var CreateProfileResponse = [
1103
+ 3,
1104
+ n0,
1105
+ _CPRrea,
1106
+ 0,
1107
+ [_pI, _pAr, _n, _bN, _p, _em, _l, _lGN, _cA],
1108
+ [0, 0, 0, 0, [() => Phone, 0], [() => Email, 0], 0, 0, 5],
1109
+ ];
1110
+ var CreateStarterMappingTemplateRequest = [
1111
+ 3,
1112
+ n0,
1113
+ _CSMTR,
1114
+ 0,
1115
+ [_oSL, _mT, _tD],
1116
+ [() => S3Location, 0, () => TemplateDetails],
1117
+ ];
1118
+ var CreateStarterMappingTemplateResponse = [3, n0, _CSMTRr, 0, [_mTa], [0]];
1119
+ var CreateTransformerRequest = [
1120
+ 3,
1121
+ n0,
1122
+ _CTR,
1123
+ 0,
1124
+ [_n, _cT, _ta, _fF, _mTa, _eT, _sD, _iC, _ma, _oC, _sDa],
1125
+ [
1126
+ 0,
1127
+ [0, 4],
1128
+ () => TagList,
1129
+ 0,
1130
+ 0,
1131
+ () => EdiType,
1132
+ 0,
1133
+ () => InputConversion,
1134
+ () => Mapping,
1135
+ () => OutputConversion,
1136
+ () => SampleDocuments,
1137
+ ],
1138
+ ];
1139
+ var CreateTransformerResponse = [
1140
+ 3,
1141
+ n0,
1142
+ _CTRr,
1143
+ 0,
1144
+ [_tI, _tA, _n, _s, _cA, _fF, _mTa, _eT, _sD, _iC, _ma, _oC, _sDa],
1145
+ [
1146
+ 0,
1147
+ 0,
1148
+ 0,
1149
+ 0,
1150
+ 5,
1151
+ 0,
1152
+ 0,
1153
+ () => EdiType,
1154
+ 0,
1155
+ () => InputConversion,
1156
+ () => Mapping,
1157
+ () => OutputConversion,
1158
+ () => SampleDocuments,
1159
+ ],
1160
+ ];
1161
+ var DeleteCapabilityRequest = [3, n0, _DCR, 0, [_cI], [[0, 1]]];
1162
+ var DeletePartnershipRequest = [3, n0, _DPR, 0, [_pIa], [[0, 1]]];
1163
+ var DeleteProfileRequest = [3, n0, _DPRe, 0, [_pI], [[0, 1]]];
1164
+ var DeleteTransformerRequest = [3, n0, _DTR, 0, [_tI], [[0, 1]]];
1165
+ var EdiConfiguration = [
1166
+ 3,
1167
+ n0,
1168
+ _EC,
1169
+ 0,
1170
+ [_cD, _t, _iL, _oL, _tI],
1171
+ [0, () => EdiType, () => S3Location, () => S3Location, 0],
1172
+ ];
1173
+ var GenerateMappingRequest = [3, n0, _GMR, 0, [_iFC, _oFC, _mT], [0, 0, 0]];
1174
+ var GenerateMappingResponse = [3, n0, _GMRe, 0, [_mTa, _mAa], [0, 1]];
1175
+ var GetCapabilityRequest = [3, n0, _GCR, 0, [_cI], [[0, 1]]];
1176
+ var GetCapabilityResponse = [
1177
+ 3,
1178
+ n0,
1179
+ _GCRe,
1180
+ 0,
1181
+ [_cI, _cAa, _n, _t, _co, _iD, _cA, _mA],
1182
+ [0, 0, 0, 0, () => CapabilityConfiguration, () => InstructionsDocuments, 5, 5],
1183
+ ];
1184
+ var GetPartnershipRequest = [3, n0, _GPR, 0, [_pIa], [[0, 1]]];
1185
+ var GetPartnershipResponse = [
1186
+ 3,
1187
+ n0,
1188
+ _GPRe,
1189
+ 0,
1190
+ [_pI, _pIa, _pA, _n, _em, _p, _ca, _cO, _tPI, _cA, _mA],
1191
+ [0, 0, 0, 0, [() => Email, 0], [() => Phone, 0], 64 | 0, () => CapabilityOptions, 0, 5, 5],
1192
+ ];
1193
+ var GetProfileRequest = [3, n0, _GPRet, 0, [_pI], [[0, 1]]];
1194
+ var GetProfileResponse = [
1195
+ 3,
1196
+ n0,
1197
+ _GPRetr,
1198
+ 0,
1199
+ [_pI, _pAr, _n, _em, _p, _bN, _l, _lGN, _cA, _mA],
1200
+ [0, 0, 0, [() => Email, 0], [() => Phone, 0], 0, 0, 0, 5, 5],
1201
+ ];
1202
+ var GetTransformerJobRequest = [
1203
+ 3,
1204
+ n0,
1205
+ _GTJR,
1206
+ 0,
1207
+ [_tJI, _tI],
1208
+ [
1209
+ [0, 1],
1210
+ [
1211
+ 0,
1212
+ {
1213
+ [_hQ]: _tI,
1214
+ },
1215
+ ],
1216
+ ],
1217
+ ];
1218
+ var GetTransformerJobResponse = [
1219
+ 3,
1220
+ n0,
1221
+ _GTJRe,
1222
+ 0,
1223
+ [_s, _oF, _m],
1224
+ [0, () => S3LocationList, 0],
1225
+ ];
1226
+ var GetTransformerRequest = [3, n0, _GTR, 0, [_tI], [[0, 1]]];
1227
+ var GetTransformerResponse = [
1228
+ 3,
1229
+ n0,
1230
+ _GTRe,
1231
+ 0,
1232
+ [_tI, _tA, _n, _s, _cA, _mA, _fF, _mTa, _eT, _sD, _iC, _ma, _oC, _sDa],
1233
+ [
1234
+ 0,
1235
+ 0,
1236
+ 0,
1237
+ 0,
1238
+ 5,
1239
+ 5,
1240
+ 0,
1241
+ 0,
1242
+ () => EdiType,
1243
+ 0,
1244
+ () => InputConversion,
1245
+ () => Mapping,
1246
+ () => OutputConversion,
1247
+ () => SampleDocuments,
1248
+ ],
1249
+ ];
1250
+ var InboundEdiOptions = [3, n0, _IEO, 0, [_x], [() => X12InboundEdiOptions]];
1251
+ var InputConversion = [
1252
+ 3,
1253
+ n0,
1254
+ _IC,
1255
+ 0,
1256
+ [_fFr, _fO, _aO],
1257
+ [0, () => FormatOptions, () => AdvancedOptions],
1258
+ ];
1259
+ var InternalServerException = [
1260
+ -3,
1261
+ n0,
1262
+ _ISE,
1263
+ {
1264
+ [_e]: _se,
1265
+ [_hE]: 500,
1266
+ },
1267
+ [_m, _rAS],
1268
+ [
1269
+ 0,
1270
+ [
1271
+ 1,
1272
+ {
1273
+ [_hH]: _RA,
1274
+ },
1275
+ ],
1276
+ ],
1277
+ ];
1278
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
1279
+ var ListCapabilitiesRequest = [
1280
+ 3,
1281
+ n0,
1282
+ _LCR,
1283
+ 0,
1284
+ [_nT, _mR],
1285
+ [
1286
+ [
1287
+ 0,
1288
+ {
1289
+ [_hQ]: _nT,
1290
+ },
1291
+ ],
1292
+ [
1293
+ 1,
1294
+ {
1295
+ [_hQ]: _mR,
1296
+ },
1297
+ ],
1298
+ ],
1299
+ ];
1300
+ var ListCapabilitiesResponse = [3, n0, _LCRi, 0, [_ca, _nT], [() => CapabilityList, 0]];
1301
+ var ListPartnershipsRequest = [
1302
+ 3,
1303
+ n0,
1304
+ _LPR,
1305
+ 0,
1306
+ [_pI, _nT, _mR],
1307
+ [
1308
+ [
1309
+ 0,
1310
+ {
1311
+ [_hQ]: _pI,
1312
+ },
1313
+ ],
1314
+ [
1315
+ 0,
1316
+ {
1317
+ [_hQ]: _nT,
1318
+ },
1319
+ ],
1320
+ [
1321
+ 1,
1322
+ {
1323
+ [_hQ]: _mR,
1324
+ },
1325
+ ],
1326
+ ],
1327
+ ];
1328
+ var ListPartnershipsResponse = [3, n0, _LPRi, 0, [_pa, _nT], [() => PartnershipList, 0]];
1329
+ var ListProfilesRequest = [
1330
+ 3,
1331
+ n0,
1332
+ _LPRis,
1333
+ 0,
1334
+ [_nT, _mR],
1335
+ [
1336
+ [
1337
+ 0,
1338
+ {
1339
+ [_hQ]: _nT,
1340
+ },
1341
+ ],
1342
+ [
1343
+ 1,
1344
+ {
1345
+ [_hQ]: _mR,
1346
+ },
1347
+ ],
1348
+ ],
1349
+ ];
1350
+ var ListProfilesResponse = [3, n0, _LPRist, 0, [_pr, _nT], [() => ProfileList, 0]];
1351
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RARN], [[0, 1]]];
1352
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [() => TagList]];
1353
+ var ListTransformersRequest = [
1354
+ 3,
1355
+ n0,
1356
+ _LTR,
1357
+ 0,
1358
+ [_nT, _mR],
1359
+ [
1360
+ [
1361
+ 0,
1362
+ {
1363
+ [_hQ]: _nT,
1364
+ },
1365
+ ],
1366
+ [
1367
+ 1,
1368
+ {
1369
+ [_hQ]: _mR,
1370
+ },
1371
+ ],
1372
+ ],
1373
+ ];
1374
+ var ListTransformersResponse = [3, n0, _LTRi, 0, [_tr, _nT], [() => TransformerList, 0]];
1375
+ var Mapping = [3, n0, _M, 0, [_tL, _te], [0, 0]];
1376
+ var OutputConversion = [
1377
+ 3,
1378
+ n0,
1379
+ _OC,
1380
+ 0,
1381
+ [_tF, _fO, _aO],
1382
+ [0, () => FormatOptions, () => AdvancedOptions],
1383
+ ];
1384
+ var PartnershipSummary = [
1385
+ 3,
1386
+ n0,
1387
+ _PS,
1388
+ 0,
1389
+ [_pI, _pIa, _n, _ca, _cO, _tPI, _cA, _mA],
1390
+ [0, 0, 0, 64 | 0, () => CapabilityOptions, 0, 5, 5],
1391
+ ];
1392
+ var ProfileSummary = [
1393
+ 3,
1394
+ n0,
1395
+ _PSr,
1396
+ 0,
1397
+ [_pI, _n, _bN, _l, _lGN, _cA, _mA],
1398
+ [0, 0, 0, 0, 0, 5, 5],
1399
+ ];
1400
+ var ResourceNotFoundException = [
1401
+ -3,
1402
+ n0,
1403
+ _RNFE,
1404
+ {
1405
+ [_e]: _c,
1406
+ [_hE]: 404,
1407
+ },
1408
+ [_m],
1409
+ [0],
1410
+ ];
1411
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1412
+ var S3Location = [3, n0, _SL, 0, [_bNu, _k], [0, 0]];
1413
+ var SampleDocumentKeys = [3, n0, _SDK, 0, [_i, _o], [0, 0]];
1414
+ var SampleDocuments = [3, n0, _SD, 0, [_bNu, _ke], [0, () => KeyList]];
1415
+ var ServiceQuotaExceededException = [
1416
+ -3,
1417
+ n0,
1418
+ _SQEE,
1419
+ {
1420
+ [_e]: _c,
1421
+ [_hE]: 402,
1422
+ },
1423
+ [_m, _rI, _rT, _sC, _qC],
1424
+ [0, 0, 0, 0, 0],
1425
+ ];
1426
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
1427
+ var StartTransformerJobRequest = [
1428
+ 3,
1429
+ n0,
1430
+ _STJR,
1431
+ 0,
1432
+ [_iF, _oL, _tI, _cT],
1433
+ [() => S3Location, () => S3Location, 0, [0, 4]],
1434
+ ];
1435
+ var StartTransformerJobResponse = [3, n0, _STJRt, 0, [_tJI], [0]];
1436
+ var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
1437
+ var TagResourceRequest = [3, n0, _TRR, 0, [_RARN, _T], [[0, 1], () => TagList]];
1438
+ var TestConversionRequest = [
1439
+ 3,
1440
+ n0,
1441
+ _TCR,
1442
+ 0,
1443
+ [_so, _tar],
1444
+ [() => ConversionSource, () => ConversionTarget],
1445
+ ];
1446
+ var TestConversionResponse = [3, n0, _TCRe, 0, [_cFC, _vM], [0, 64 | 0]];
1447
+ var TestMappingRequest = [3, n0, _TMR, 0, [_iFC, _mTa, _fF], [0, 0, 0]];
1448
+ var TestMappingResponse = [3, n0, _TMRe, 0, [_mFC], [0]];
1449
+ var TestParsingRequest = [
1450
+ 3,
1451
+ n0,
1452
+ _TPR,
1453
+ 0,
1454
+ [_iF, _fF, _eT, _aO],
1455
+ [() => S3Location, 0, () => EdiType, () => AdvancedOptions],
1456
+ ];
1457
+ var TestParsingResponse = [3, n0, _TPRe, 0, [_pFC, _pSFC, _vM], [0, 64 | 0, 64 | 0]];
1458
+ var ThrottlingException = [
1459
+ -3,
1460
+ n0,
1461
+ _TE,
1462
+ {
1463
+ [_e]: _c,
1464
+ [_hE]: 429,
1465
+ },
1466
+ [_m, _rAS],
1467
+ [
1468
+ 0,
1469
+ [
1470
+ 1,
1471
+ {
1472
+ [_hH]: _RA,
1473
+ },
1474
+ ],
1475
+ ],
1476
+ ];
1477
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1478
+ var TransformerSummary = [
1479
+ 3,
1480
+ n0,
1481
+ _TS,
1482
+ 0,
1483
+ [_tI, _n, _s, _cA, _mA, _fF, _mTa, _eT, _sD, _iC, _ma, _oC, _sDa],
1484
+ [
1485
+ 0,
1486
+ 0,
1487
+ 0,
1488
+ 5,
1489
+ 5,
1490
+ 0,
1491
+ 0,
1492
+ () => EdiType,
1493
+ 0,
1494
+ () => InputConversion,
1495
+ () => Mapping,
1496
+ () => OutputConversion,
1497
+ () => SampleDocuments,
1498
+ ],
1499
+ ];
1500
+ var UntagResourceRequest = [
1501
+ 3,
1502
+ n0,
1503
+ _URR,
1504
+ 0,
1505
+ [_RARN, _TK],
1506
+ [
1507
+ [0, 1],
1508
+ [
1509
+ 64 | 0,
1510
+ {
1511
+ [_hQ]: _TK,
1512
+ },
1513
+ ],
1514
+ ],
1515
+ ];
1516
+ var UpdateCapabilityRequest = [
1517
+ 3,
1518
+ n0,
1519
+ _UCR,
1520
+ 0,
1521
+ [_cI, _n, _co, _iD],
1522
+ [[0, 1], 0, () => CapabilityConfiguration, () => InstructionsDocuments],
1523
+ ];
1524
+ var UpdateCapabilityResponse = [
1525
+ 3,
1526
+ n0,
1527
+ _UCRp,
1528
+ 0,
1529
+ [_cI, _cAa, _n, _t, _co, _iD, _cA, _mA],
1530
+ [0, 0, 0, 0, () => CapabilityConfiguration, () => InstructionsDocuments, 5, 5],
1531
+ ];
1532
+ var UpdatePartnershipRequest = [
1533
+ 3,
1534
+ n0,
1535
+ _UPR,
1536
+ 0,
1537
+ [_pIa, _n, _ca, _cO],
1538
+ [[0, 1], 0, 64 | 0, () => CapabilityOptions],
1539
+ ];
1540
+ var UpdatePartnershipResponse = [
1541
+ 3,
1542
+ n0,
1543
+ _UPRp,
1544
+ 0,
1545
+ [_pI, _pIa, _pA, _n, _em, _p, _ca, _cO, _tPI, _cA, _mA],
1546
+ [0, 0, 0, 0, [() => Email, 0], [() => Phone, 0], 64 | 0, () => CapabilityOptions, 0, 5, 5],
1547
+ ];
1548
+ var UpdateProfileRequest = [
1549
+ 3,
1550
+ n0,
1551
+ _UPRpd,
1552
+ 0,
1553
+ [_pI, _n, _em, _p, _bN],
1554
+ [[0, 1], 0, [() => Email, 0], [() => Phone, 0], 0],
1555
+ ];
1556
+ var UpdateProfileResponse = [
1557
+ 3,
1558
+ n0,
1559
+ _UPRpda,
1560
+ 0,
1561
+ [_pI, _pAr, _n, _em, _p, _bN, _l, _lGN, _cA, _mA],
1562
+ [0, 0, 0, [() => Email, 0], [() => Phone, 0], 0, 0, 0, 5, 5],
1563
+ ];
1564
+ var UpdateTransformerRequest = [
1565
+ 3,
1566
+ n0,
1567
+ _UTR,
1568
+ 0,
1569
+ [_tI, _n, _s, _fF, _mTa, _eT, _sD, _iC, _ma, _oC, _sDa],
1570
+ [
1571
+ [0, 1],
1572
+ 0,
1573
+ 0,
1574
+ 0,
1575
+ 0,
1576
+ () => EdiType,
1577
+ 0,
1578
+ () => InputConversion,
1579
+ () => Mapping,
1580
+ () => OutputConversion,
1581
+ () => SampleDocuments,
1582
+ ],
1583
+ ];
1584
+ var UpdateTransformerResponse = [
1585
+ 3,
1586
+ n0,
1587
+ _UTRp,
1588
+ 0,
1589
+ [_tI, _tA, _n, _s, _cA, _mA, _fF, _mTa, _eT, _sD, _iC, _ma, _oC, _sDa],
1590
+ [
1591
+ 0,
1592
+ 0,
1593
+ 0,
1594
+ 0,
1595
+ 5,
1596
+ 5,
1597
+ 0,
1598
+ 0,
1599
+ () => EdiType,
1600
+ 0,
1601
+ () => InputConversion,
1602
+ () => Mapping,
1603
+ () => OutputConversion,
1604
+ () => SampleDocuments,
1605
+ ],
1606
+ ];
1607
+ var ValidationException = [
1608
+ -3,
1609
+ n0,
1610
+ _VE,
1611
+ {
1612
+ [_e]: _c,
1613
+ [_hE]: 400,
1614
+ },
1615
+ [_Me],
1616
+ [0],
1617
+ ];
1618
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1619
+ var WrapOptions = [3, n0, _WO, 0, [_wB, _lT, _lL], [0, 0, 1]];
1620
+ var X12AcknowledgmentOptions = [3, n0, _XAO, 0, [_fA, _tAe], [0, 0]];
1621
+ var X12AdvancedOptions = [
1622
+ 3,
1623
+ n0,
1624
+ _XAOd,
1625
+ 0,
1626
+ [_sO, _vO],
1627
+ [() => X12SplitOptions, () => X12ValidationOptions],
1628
+ ];
1629
+ var X12CodeListValidationRule = [
1630
+ 3,
1631
+ n0,
1632
+ _XCLVR,
1633
+ 0,
1634
+ [_eI, _cTA, _cTR],
1635
+ [0, 64 | 0, 64 | 0],
1636
+ ];
1637
+ var X12ControlNumbers = [3, n0, _XCN, 0, [_sICN, _sFGCN, _sTSCN], [1, 1, 1]];
1638
+ var X12Delimiters = [3, n0, _XD, 0, [_cS, _dES, _sT], [0, 0, 0]];
1639
+ var X12Details = [3, n0, _XDe, 0, [_tS, _v], [0, 0]];
1640
+ var X12ElementLengthValidationRule = [3, n0, _XELVR, 0, [_eI, _mL, _mLi], [0, 1, 1]];
1641
+ var X12ElementRequirementValidationRule = [3, n0, _XERVR, 0, [_eP, _r], [0, 0]];
1642
+ var X12Envelope = [
1643
+ 3,
1644
+ n0,
1645
+ _XE,
1646
+ 0,
1647
+ [_com, _wO],
1648
+ [() => X12OutboundEdiHeaders, () => WrapOptions],
1649
+ ];
1650
+ var X12FunctionalGroupHeaders = [3, n0, _XFGH, 0, [_aSC, _aRC, _rAC], [0, 0, 0]];
1651
+ var X12InboundEdiOptions = [3, n0, _XIEO, 0, [_aOc], [() => X12AcknowledgmentOptions]];
1652
+ var X12InterchangeControlHeaders = [
1653
+ 3,
1654
+ n0,
1655
+ _XICH,
1656
+ 0,
1657
+ [_sIQ, _sI, _rIQ, _rIe, _rS, _aRCc, _uIC],
1658
+ [0, 0, 0, 0, 0, 0, 0],
1659
+ ];
1660
+ var X12OutboundEdiHeaders = [
1661
+ 3,
1662
+ n0,
1663
+ _XOEH,
1664
+ 0,
1665
+ [_iCH, _fGH, _d, _vE, _cN, _gTF],
1666
+ [
1667
+ () => X12InterchangeControlHeaders,
1668
+ () => X12FunctionalGroupHeaders,
1669
+ () => X12Delimiters,
1670
+ 2,
1671
+ () => X12ControlNumbers,
1672
+ 0,
1673
+ ],
1674
+ ];
1675
+ var X12SplitOptions = [3, n0, _XSO, 0, [_sB], [0]];
1676
+ var X12ValidationOptions = [3, n0, _XVO, 0, [_vR], [() => X12ValidationRules]];
1677
+ var __Unit = "unit";
1678
+ var B2biServiceException = [-3, _sm, "B2biServiceException", 0, [], []];
1679
+ schema.TypeRegistry.for(_sm).registerError(B2biServiceException, B2biServiceException$1);
1680
+ var CapabilityList = [1, n0, _CL, 0, () => CapabilitySummary];
1681
+ var InstructionsDocuments = [1, n0, _ID, 0, () => S3Location];
1682
+ var KeyList = [1, n0, _KL, 0, () => SampleDocumentKeys];
1683
+ var PartnershipList = [1, n0, _PL, 0, () => PartnershipSummary];
1684
+ var ProfileList = [1, n0, _PLr, 0, () => ProfileSummary];
1685
+ var S3LocationList = [1, n0, _SLL, 0, () => S3Location];
1686
+ var TagList = [1, n0, _TL, 0, () => Tag];
1687
+ var TransformerList = [1, n0, _TLr, 0, () => TransformerSummary];
1688
+ var X12ValidationRules = [1, n0, _XVR, 0, () => X12ValidationRule];
1689
+ var CapabilityConfiguration = [3, n0, _CC, 0, [_ed], [() => EdiConfiguration]];
1690
+ var ConversionTargetFormatDetails = [3, n0, _CTFD, 0, [_x], [() => X12Details]];
1691
+ var EdiType = [3, n0, _ET, 0, [_xD], [() => X12Details]];
1692
+ var FormatOptions = [3, n0, _FO, 0, [_x], [() => X12Details]];
1693
+ var InputFileSource = [3, n0, _IFS, 0, [_fC], [0]];
1694
+ var OutboundEdiOptions = [3, n0, _OEO, 0, [_x], [() => X12Envelope]];
1695
+ var OutputSampleFileSource = [3, n0, _OSFS, 0, [_fL], [() => S3Location]];
1696
+ var TemplateDetails = [3, n0, _TD, 0, [_x], [() => X12Details]];
1697
+ var X12ValidationRule = [
1698
+ 3,
1699
+ n0,
1700
+ _XVRa,
1701
+ 0,
1702
+ [_cLVR, _eLVR, _eRVR],
1703
+ [() => X12CodeListValidationRule, () => X12ElementLengthValidationRule, () => X12ElementRequirementValidationRule],
1704
+ ];
1705
+ var CreateCapability = [
1706
+ 9,
1707
+ n0,
1708
+ _CCr,
1709
+ {
1710
+ [_h]: ["POST", "/capabilities", 201],
1711
+ },
1712
+ () => CreateCapabilityRequest,
1713
+ () => CreateCapabilityResponse,
1714
+ ];
1715
+ var CreatePartnership = [
1716
+ 9,
1717
+ n0,
1718
+ _CP,
1719
+ {
1720
+ [_h]: ["POST", "/partnerships", 201],
1721
+ },
1722
+ () => CreatePartnershipRequest,
1723
+ () => CreatePartnershipResponse,
1724
+ ];
1725
+ var CreateProfile = [
1726
+ 9,
1727
+ n0,
1728
+ _CPr,
1729
+ {
1730
+ [_h]: ["POST", "/profiles", 201],
1731
+ },
1732
+ () => CreateProfileRequest,
1733
+ () => CreateProfileResponse,
1734
+ ];
1735
+ var CreateStarterMappingTemplate = [
1736
+ 9,
1737
+ n0,
1738
+ _CSMT,
1739
+ {
1740
+ [_h]: ["POST", "/createmappingstarttemplate", 200],
1741
+ },
1742
+ () => CreateStarterMappingTemplateRequest,
1743
+ () => CreateStarterMappingTemplateResponse,
1744
+ ];
1745
+ var CreateTransformer = [
1746
+ 9,
1747
+ n0,
1748
+ _CTr,
1749
+ {
1750
+ [_h]: ["POST", "/transformers", 201],
1751
+ },
1752
+ () => CreateTransformerRequest,
1753
+ () => CreateTransformerResponse,
1754
+ ];
1755
+ var DeleteCapability = [
1756
+ 9,
1757
+ n0,
1758
+ _DC,
1759
+ {
1760
+ [_h]: ["DELETE", "/capabilities/{capabilityId}", 200],
1761
+ },
1762
+ () => DeleteCapabilityRequest,
1763
+ () => __Unit,
1764
+ ];
1765
+ var DeletePartnership = [
1766
+ 9,
1767
+ n0,
1768
+ _DP,
1769
+ {
1770
+ [_h]: ["DELETE", "/partnerships/{partnershipId}", 200],
1771
+ },
1772
+ () => DeletePartnershipRequest,
1773
+ () => __Unit,
1774
+ ];
1775
+ var DeleteProfile = [
1776
+ 9,
1777
+ n0,
1778
+ _DPe,
1779
+ {
1780
+ [_h]: ["DELETE", "/profiles/{profileId}", 200],
1781
+ },
1782
+ () => DeleteProfileRequest,
1783
+ () => __Unit,
1784
+ ];
1785
+ var DeleteTransformer = [
1786
+ 9,
1787
+ n0,
1788
+ _DT,
1789
+ {
1790
+ [_h]: ["DELETE", "/transformers/{transformerId}", 200],
1791
+ },
1792
+ () => DeleteTransformerRequest,
1793
+ () => __Unit,
1794
+ ];
1795
+ var GenerateMapping = [
1796
+ 9,
1797
+ n0,
1798
+ _GM,
1799
+ {
1800
+ [_h]: ["POST", "/generate-mapping", 200],
1801
+ },
1802
+ () => GenerateMappingRequest,
1803
+ () => GenerateMappingResponse,
1804
+ ];
1805
+ var GetCapability = [
1806
+ 9,
1807
+ n0,
1808
+ _GC,
1809
+ {
1810
+ [_h]: ["GET", "/capabilities/{capabilityId}", 200],
1811
+ },
1812
+ () => GetCapabilityRequest,
1813
+ () => GetCapabilityResponse,
1814
+ ];
1815
+ var GetPartnership = [
1816
+ 9,
1817
+ n0,
1818
+ _GP,
1819
+ {
1820
+ [_h]: ["GET", "/partnerships/{partnershipId}", 200],
1821
+ },
1822
+ () => GetPartnershipRequest,
1823
+ () => GetPartnershipResponse,
1824
+ ];
1825
+ var GetProfile = [
1826
+ 9,
1827
+ n0,
1828
+ _GPe,
1829
+ {
1830
+ [_h]: ["GET", "/profiles/{profileId}", 200],
1831
+ },
1832
+ () => GetProfileRequest,
1833
+ () => GetProfileResponse,
1834
+ ];
1835
+ var GetTransformer = [
1836
+ 9,
1837
+ n0,
1838
+ _GT,
1839
+ {
1840
+ [_h]: ["GET", "/transformers/{transformerId}", 200],
1841
+ },
1842
+ () => GetTransformerRequest,
1843
+ () => GetTransformerResponse,
1844
+ ];
1845
+ var GetTransformerJob = [
1846
+ 9,
1847
+ n0,
1848
+ _GTJ,
1849
+ {
1850
+ [_h]: ["GET", "/transformer-jobs/{transformerJobId}", 200],
1851
+ },
1852
+ () => GetTransformerJobRequest,
1853
+ () => GetTransformerJobResponse,
1854
+ ];
1855
+ var ListCapabilities = [
1856
+ 9,
1857
+ n0,
1858
+ _LC,
1859
+ {
1860
+ [_h]: ["GET", "/capabilities", 200],
1861
+ },
1862
+ () => ListCapabilitiesRequest,
1863
+ () => ListCapabilitiesResponse,
1864
+ ];
1865
+ var ListPartnerships = [
1866
+ 9,
1867
+ n0,
1868
+ _LP,
1869
+ {
1870
+ [_h]: ["GET", "/partnerships", 200],
1871
+ },
1872
+ () => ListPartnershipsRequest,
1873
+ () => ListPartnershipsResponse,
1874
+ ];
1875
+ var ListProfiles = [
1876
+ 9,
1877
+ n0,
1878
+ _LPi,
1879
+ {
1880
+ [_h]: ["GET", "/profiles", 200],
1881
+ },
1882
+ () => ListProfilesRequest,
1883
+ () => ListProfilesResponse,
1884
+ ];
1885
+ var ListTagsForResource = [
1886
+ 9,
1887
+ n0,
1888
+ _LTFR,
1889
+ {
1890
+ [_h]: ["GET", "/tags/{ResourceARN}", 200],
1891
+ },
1892
+ () => ListTagsForResourceRequest,
1893
+ () => ListTagsForResourceResponse,
1894
+ ];
1895
+ var ListTransformers = [
1896
+ 9,
1897
+ n0,
1898
+ _LT,
1899
+ {
1900
+ [_h]: ["GET", "/transformers", 200],
1901
+ },
1902
+ () => ListTransformersRequest,
1903
+ () => ListTransformersResponse,
1904
+ ];
1905
+ var StartTransformerJob = [
1906
+ 9,
1907
+ n0,
1908
+ _STJ,
1909
+ {
1910
+ [_h]: ["POST", "/transformer-jobs", 200],
1911
+ },
1912
+ () => StartTransformerJobRequest,
1913
+ () => StartTransformerJobResponse,
1914
+ ];
1915
+ var TagResource = [
1916
+ 9,
1917
+ n0,
1918
+ _TR,
1919
+ {
1920
+ [_h]: ["POST", "/tags/{ResourceARN}", 200],
1921
+ },
1922
+ () => TagResourceRequest,
1923
+ () => __Unit,
1924
+ ];
1925
+ var TestConversion = [
1926
+ 9,
1927
+ n0,
1928
+ _TC,
1929
+ {
1930
+ [_h]: ["POST", "/testconversion", 200],
1931
+ },
1932
+ () => TestConversionRequest,
1933
+ () => TestConversionResponse,
1934
+ ];
1935
+ var TestMapping = [
1936
+ 9,
1937
+ n0,
1938
+ _TM,
1939
+ {
1940
+ [_h]: ["POST", "/testmapping", 201],
1941
+ },
1942
+ () => TestMappingRequest,
1943
+ () => TestMappingResponse,
1944
+ ];
1945
+ var TestParsing = [
1946
+ 9,
1947
+ n0,
1948
+ _TP,
1949
+ {
1950
+ [_h]: ["POST", "/testparsing", 201],
1951
+ },
1952
+ () => TestParsingRequest,
1953
+ () => TestParsingResponse,
1954
+ ];
1955
+ var UntagResource = [
1956
+ 9,
1957
+ n0,
1958
+ _UR,
1959
+ {
1960
+ [_h]: ["DELETE", "/tags/{ResourceARN}", 200],
1961
+ },
1962
+ () => UntagResourceRequest,
1963
+ () => __Unit,
1964
+ ];
1965
+ var UpdateCapability = [
1966
+ 9,
1967
+ n0,
1968
+ _UC,
1969
+ {
1970
+ [_h]: ["PATCH", "/capabilities/{capabilityId}", 200],
1971
+ },
1972
+ () => UpdateCapabilityRequest,
1973
+ () => UpdateCapabilityResponse,
1974
+ ];
1975
+ var UpdatePartnership = [
1976
+ 9,
1977
+ n0,
1978
+ _UP,
1979
+ {
1980
+ [_h]: ["PATCH", "/partnerships/{partnershipId}", 200],
1981
+ },
1982
+ () => UpdatePartnershipRequest,
1983
+ () => UpdatePartnershipResponse,
1984
+ ];
1985
+ var UpdateProfile = [
1986
+ 9,
1987
+ n0,
1988
+ _UPp,
1989
+ {
1990
+ [_h]: ["PATCH", "/profiles/{profileId}", 200],
1991
+ },
1992
+ () => UpdateProfileRequest,
1993
+ () => UpdateProfileResponse,
1994
+ ];
1995
+ var UpdateTransformer = [
1996
+ 9,
1997
+ n0,
1998
+ _UT,
1999
+ {
2000
+ [_h]: ["PATCH", "/transformers/{transformerId}", 200],
2001
+ },
2002
+ () => UpdateTransformerRequest,
2003
+ () => UpdateTransformerResponse,
2004
+ ];
1798
2005
 
1799
2006
  class CreateCapabilityCommand extends smithyClient.Command
1800
2007
  .classBuilder()
1801
2008
  .ep(commonParams)
1802
2009
  .m(function (Command, cs, config, o) {
1803
- return [
1804
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1805
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1806
- ];
2010
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1807
2011
  })
1808
2012
  .s("B2BI", "CreateCapability", {})
1809
2013
  .n("B2biClient", "CreateCapabilityCommand")
1810
- .f(void 0, void 0)
1811
- .ser(se_CreateCapabilityCommand)
1812
- .de(de_CreateCapabilityCommand)
2014
+ .sc(CreateCapability)
1813
2015
  .build() {
1814
2016
  }
1815
2017
 
@@ -1817,16 +2019,11 @@ class CreatePartnershipCommand extends smithyClient.Command
1817
2019
  .classBuilder()
1818
2020
  .ep(commonParams)
1819
2021
  .m(function (Command, cs, config, o) {
1820
- return [
1821
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1822
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1823
- ];
2022
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1824
2023
  })
1825
2024
  .s("B2BI", "CreatePartnership", {})
1826
2025
  .n("B2biClient", "CreatePartnershipCommand")
1827
- .f(CreatePartnershipRequestFilterSensitiveLog, CreatePartnershipResponseFilterSensitiveLog)
1828
- .ser(se_CreatePartnershipCommand)
1829
- .de(de_CreatePartnershipCommand)
2026
+ .sc(CreatePartnership)
1830
2027
  .build() {
1831
2028
  }
1832
2029
 
@@ -1834,16 +2031,11 @@ class CreateProfileCommand extends smithyClient.Command
1834
2031
  .classBuilder()
1835
2032
  .ep(commonParams)
1836
2033
  .m(function (Command, cs, config, o) {
1837
- return [
1838
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1839
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1840
- ];
2034
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1841
2035
  })
1842
2036
  .s("B2BI", "CreateProfile", {})
1843
2037
  .n("B2biClient", "CreateProfileCommand")
1844
- .f(CreateProfileRequestFilterSensitiveLog, CreateProfileResponseFilterSensitiveLog)
1845
- .ser(se_CreateProfileCommand)
1846
- .de(de_CreateProfileCommand)
2038
+ .sc(CreateProfile)
1847
2039
  .build() {
1848
2040
  }
1849
2041
 
@@ -1851,16 +2043,11 @@ class CreateStarterMappingTemplateCommand extends smithyClient.Command
1851
2043
  .classBuilder()
1852
2044
  .ep(commonParams)
1853
2045
  .m(function (Command, cs, config, o) {
1854
- return [
1855
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1856
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1857
- ];
2046
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1858
2047
  })
1859
2048
  .s("B2BI", "CreateStarterMappingTemplate", {})
1860
2049
  .n("B2biClient", "CreateStarterMappingTemplateCommand")
1861
- .f(void 0, void 0)
1862
- .ser(se_CreateStarterMappingTemplateCommand)
1863
- .de(de_CreateStarterMappingTemplateCommand)
2050
+ .sc(CreateStarterMappingTemplate)
1864
2051
  .build() {
1865
2052
  }
1866
2053
 
@@ -1868,16 +2055,11 @@ class CreateTransformerCommand extends smithyClient.Command
1868
2055
  .classBuilder()
1869
2056
  .ep(commonParams)
1870
2057
  .m(function (Command, cs, config, o) {
1871
- return [
1872
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1873
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1874
- ];
2058
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1875
2059
  })
1876
2060
  .s("B2BI", "CreateTransformer", {})
1877
2061
  .n("B2biClient", "CreateTransformerCommand")
1878
- .f(void 0, void 0)
1879
- .ser(se_CreateTransformerCommand)
1880
- .de(de_CreateTransformerCommand)
2062
+ .sc(CreateTransformer)
1881
2063
  .build() {
1882
2064
  }
1883
2065
 
@@ -1885,16 +2067,11 @@ class DeleteCapabilityCommand extends smithyClient.Command
1885
2067
  .classBuilder()
1886
2068
  .ep(commonParams)
1887
2069
  .m(function (Command, cs, config, o) {
1888
- return [
1889
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1890
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1891
- ];
2070
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1892
2071
  })
1893
2072
  .s("B2BI", "DeleteCapability", {})
1894
2073
  .n("B2biClient", "DeleteCapabilityCommand")
1895
- .f(void 0, void 0)
1896
- .ser(se_DeleteCapabilityCommand)
1897
- .de(de_DeleteCapabilityCommand)
2074
+ .sc(DeleteCapability)
1898
2075
  .build() {
1899
2076
  }
1900
2077
 
@@ -1902,16 +2079,11 @@ class DeletePartnershipCommand extends smithyClient.Command
1902
2079
  .classBuilder()
1903
2080
  .ep(commonParams)
1904
2081
  .m(function (Command, cs, config, o) {
1905
- return [
1906
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1907
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1908
- ];
2082
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1909
2083
  })
1910
2084
  .s("B2BI", "DeletePartnership", {})
1911
2085
  .n("B2biClient", "DeletePartnershipCommand")
1912
- .f(void 0, void 0)
1913
- .ser(se_DeletePartnershipCommand)
1914
- .de(de_DeletePartnershipCommand)
2086
+ .sc(DeletePartnership)
1915
2087
  .build() {
1916
2088
  }
1917
2089
 
@@ -1919,16 +2091,11 @@ class DeleteProfileCommand extends smithyClient.Command
1919
2091
  .classBuilder()
1920
2092
  .ep(commonParams)
1921
2093
  .m(function (Command, cs, config, o) {
1922
- return [
1923
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1924
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1925
- ];
2094
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1926
2095
  })
1927
2096
  .s("B2BI", "DeleteProfile", {})
1928
2097
  .n("B2biClient", "DeleteProfileCommand")
1929
- .f(void 0, void 0)
1930
- .ser(se_DeleteProfileCommand)
1931
- .de(de_DeleteProfileCommand)
2098
+ .sc(DeleteProfile)
1932
2099
  .build() {
1933
2100
  }
1934
2101
 
@@ -1936,16 +2103,11 @@ class DeleteTransformerCommand extends smithyClient.Command
1936
2103
  .classBuilder()
1937
2104
  .ep(commonParams)
1938
2105
  .m(function (Command, cs, config, o) {
1939
- return [
1940
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1941
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1942
- ];
2106
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1943
2107
  })
1944
2108
  .s("B2BI", "DeleteTransformer", {})
1945
2109
  .n("B2biClient", "DeleteTransformerCommand")
1946
- .f(void 0, void 0)
1947
- .ser(se_DeleteTransformerCommand)
1948
- .de(de_DeleteTransformerCommand)
2110
+ .sc(DeleteTransformer)
1949
2111
  .build() {
1950
2112
  }
1951
2113
 
@@ -1953,16 +2115,11 @@ class GenerateMappingCommand extends smithyClient.Command
1953
2115
  .classBuilder()
1954
2116
  .ep(commonParams)
1955
2117
  .m(function (Command, cs, config, o) {
1956
- return [
1957
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1958
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1959
- ];
2118
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1960
2119
  })
1961
2120
  .s("B2BI", "GenerateMapping", {})
1962
2121
  .n("B2biClient", "GenerateMappingCommand")
1963
- .f(void 0, void 0)
1964
- .ser(se_GenerateMappingCommand)
1965
- .de(de_GenerateMappingCommand)
2122
+ .sc(GenerateMapping)
1966
2123
  .build() {
1967
2124
  }
1968
2125
 
@@ -1970,16 +2127,11 @@ class GetCapabilityCommand extends smithyClient.Command
1970
2127
  .classBuilder()
1971
2128
  .ep(commonParams)
1972
2129
  .m(function (Command, cs, config, o) {
1973
- return [
1974
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1975
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1976
- ];
2130
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1977
2131
  })
1978
2132
  .s("B2BI", "GetCapability", {})
1979
2133
  .n("B2biClient", "GetCapabilityCommand")
1980
- .f(void 0, void 0)
1981
- .ser(se_GetCapabilityCommand)
1982
- .de(de_GetCapabilityCommand)
2134
+ .sc(GetCapability)
1983
2135
  .build() {
1984
2136
  }
1985
2137
 
@@ -1987,16 +2139,11 @@ class GetPartnershipCommand extends smithyClient.Command
1987
2139
  .classBuilder()
1988
2140
  .ep(commonParams)
1989
2141
  .m(function (Command, cs, config, o) {
1990
- return [
1991
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1992
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1993
- ];
2142
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1994
2143
  })
1995
2144
  .s("B2BI", "GetPartnership", {})
1996
2145
  .n("B2biClient", "GetPartnershipCommand")
1997
- .f(void 0, GetPartnershipResponseFilterSensitiveLog)
1998
- .ser(se_GetPartnershipCommand)
1999
- .de(de_GetPartnershipCommand)
2146
+ .sc(GetPartnership)
2000
2147
  .build() {
2001
2148
  }
2002
2149
 
@@ -2004,16 +2151,11 @@ class GetProfileCommand extends smithyClient.Command
2004
2151
  .classBuilder()
2005
2152
  .ep(commonParams)
2006
2153
  .m(function (Command, cs, config, o) {
2007
- return [
2008
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2009
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2010
- ];
2154
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2011
2155
  })
2012
2156
  .s("B2BI", "GetProfile", {})
2013
2157
  .n("B2biClient", "GetProfileCommand")
2014
- .f(void 0, GetProfileResponseFilterSensitiveLog)
2015
- .ser(se_GetProfileCommand)
2016
- .de(de_GetProfileCommand)
2158
+ .sc(GetProfile)
2017
2159
  .build() {
2018
2160
  }
2019
2161
 
@@ -2021,16 +2163,11 @@ class GetTransformerCommand extends smithyClient.Command
2021
2163
  .classBuilder()
2022
2164
  .ep(commonParams)
2023
2165
  .m(function (Command, cs, config, o) {
2024
- return [
2025
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2026
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2027
- ];
2166
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2028
2167
  })
2029
2168
  .s("B2BI", "GetTransformer", {})
2030
2169
  .n("B2biClient", "GetTransformerCommand")
2031
- .f(void 0, void 0)
2032
- .ser(se_GetTransformerCommand)
2033
- .de(de_GetTransformerCommand)
2170
+ .sc(GetTransformer)
2034
2171
  .build() {
2035
2172
  }
2036
2173
 
@@ -2038,16 +2175,11 @@ class GetTransformerJobCommand extends smithyClient.Command
2038
2175
  .classBuilder()
2039
2176
  .ep(commonParams)
2040
2177
  .m(function (Command, cs, config, o) {
2041
- return [
2042
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2043
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2044
- ];
2178
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2045
2179
  })
2046
2180
  .s("B2BI", "GetTransformerJob", {})
2047
2181
  .n("B2biClient", "GetTransformerJobCommand")
2048
- .f(void 0, void 0)
2049
- .ser(se_GetTransformerJobCommand)
2050
- .de(de_GetTransformerJobCommand)
2182
+ .sc(GetTransformerJob)
2051
2183
  .build() {
2052
2184
  }
2053
2185
 
@@ -2055,16 +2187,11 @@ class ListCapabilitiesCommand extends smithyClient.Command
2055
2187
  .classBuilder()
2056
2188
  .ep(commonParams)
2057
2189
  .m(function (Command, cs, config, o) {
2058
- return [
2059
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2060
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2061
- ];
2190
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2062
2191
  })
2063
2192
  .s("B2BI", "ListCapabilities", {})
2064
2193
  .n("B2biClient", "ListCapabilitiesCommand")
2065
- .f(void 0, void 0)
2066
- .ser(se_ListCapabilitiesCommand)
2067
- .de(de_ListCapabilitiesCommand)
2194
+ .sc(ListCapabilities)
2068
2195
  .build() {
2069
2196
  }
2070
2197
 
@@ -2072,16 +2199,11 @@ class ListPartnershipsCommand extends smithyClient.Command
2072
2199
  .classBuilder()
2073
2200
  .ep(commonParams)
2074
2201
  .m(function (Command, cs, config, o) {
2075
- return [
2076
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2077
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2078
- ];
2202
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2079
2203
  })
2080
2204
  .s("B2BI", "ListPartnerships", {})
2081
2205
  .n("B2biClient", "ListPartnershipsCommand")
2082
- .f(void 0, void 0)
2083
- .ser(se_ListPartnershipsCommand)
2084
- .de(de_ListPartnershipsCommand)
2206
+ .sc(ListPartnerships)
2085
2207
  .build() {
2086
2208
  }
2087
2209
 
@@ -2089,16 +2211,11 @@ class ListProfilesCommand extends smithyClient.Command
2089
2211
  .classBuilder()
2090
2212
  .ep(commonParams)
2091
2213
  .m(function (Command, cs, config, o) {
2092
- return [
2093
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2094
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2095
- ];
2214
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2096
2215
  })
2097
2216
  .s("B2BI", "ListProfiles", {})
2098
2217
  .n("B2biClient", "ListProfilesCommand")
2099
- .f(void 0, void 0)
2100
- .ser(se_ListProfilesCommand)
2101
- .de(de_ListProfilesCommand)
2218
+ .sc(ListProfiles)
2102
2219
  .build() {
2103
2220
  }
2104
2221
 
@@ -2106,16 +2223,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
2106
2223
  .classBuilder()
2107
2224
  .ep(commonParams)
2108
2225
  .m(function (Command, cs, config, o) {
2109
- return [
2110
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2111
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2112
- ];
2226
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2113
2227
  })
2114
2228
  .s("B2BI", "ListTagsForResource", {})
2115
2229
  .n("B2biClient", "ListTagsForResourceCommand")
2116
- .f(void 0, void 0)
2117
- .ser(se_ListTagsForResourceCommand)
2118
- .de(de_ListTagsForResourceCommand)
2230
+ .sc(ListTagsForResource)
2119
2231
  .build() {
2120
2232
  }
2121
2233
 
@@ -2123,16 +2235,11 @@ class ListTransformersCommand extends smithyClient.Command
2123
2235
  .classBuilder()
2124
2236
  .ep(commonParams)
2125
2237
  .m(function (Command, cs, config, o) {
2126
- return [
2127
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2128
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2129
- ];
2238
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2130
2239
  })
2131
2240
  .s("B2BI", "ListTransformers", {})
2132
2241
  .n("B2biClient", "ListTransformersCommand")
2133
- .f(void 0, void 0)
2134
- .ser(se_ListTransformersCommand)
2135
- .de(de_ListTransformersCommand)
2242
+ .sc(ListTransformers)
2136
2243
  .build() {
2137
2244
  }
2138
2245
 
@@ -2140,16 +2247,11 @@ class StartTransformerJobCommand extends smithyClient.Command
2140
2247
  .classBuilder()
2141
2248
  .ep(commonParams)
2142
2249
  .m(function (Command, cs, config, o) {
2143
- return [
2144
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2145
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2146
- ];
2250
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2147
2251
  })
2148
2252
  .s("B2BI", "StartTransformerJob", {})
2149
2253
  .n("B2biClient", "StartTransformerJobCommand")
2150
- .f(void 0, void 0)
2151
- .ser(se_StartTransformerJobCommand)
2152
- .de(de_StartTransformerJobCommand)
2254
+ .sc(StartTransformerJob)
2153
2255
  .build() {
2154
2256
  }
2155
2257
 
@@ -2157,16 +2259,11 @@ class TagResourceCommand extends smithyClient.Command
2157
2259
  .classBuilder()
2158
2260
  .ep(commonParams)
2159
2261
  .m(function (Command, cs, config, o) {
2160
- return [
2161
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2162
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2163
- ];
2262
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2164
2263
  })
2165
2264
  .s("B2BI", "TagResource", {})
2166
2265
  .n("B2biClient", "TagResourceCommand")
2167
- .f(void 0, void 0)
2168
- .ser(se_TagResourceCommand)
2169
- .de(de_TagResourceCommand)
2266
+ .sc(TagResource)
2170
2267
  .build() {
2171
2268
  }
2172
2269
 
@@ -2174,16 +2271,11 @@ class TestConversionCommand extends smithyClient.Command
2174
2271
  .classBuilder()
2175
2272
  .ep(commonParams)
2176
2273
  .m(function (Command, cs, config, o) {
2177
- return [
2178
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2179
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2180
- ];
2274
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2181
2275
  })
2182
2276
  .s("B2BI", "TestConversion", {})
2183
2277
  .n("B2biClient", "TestConversionCommand")
2184
- .f(void 0, void 0)
2185
- .ser(se_TestConversionCommand)
2186
- .de(de_TestConversionCommand)
2278
+ .sc(TestConversion)
2187
2279
  .build() {
2188
2280
  }
2189
2281
 
@@ -2191,16 +2283,11 @@ class TestMappingCommand extends smithyClient.Command
2191
2283
  .classBuilder()
2192
2284
  .ep(commonParams)
2193
2285
  .m(function (Command, cs, config, o) {
2194
- return [
2195
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2196
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2197
- ];
2286
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2198
2287
  })
2199
2288
  .s("B2BI", "TestMapping", {})
2200
2289
  .n("B2biClient", "TestMappingCommand")
2201
- .f(void 0, void 0)
2202
- .ser(se_TestMappingCommand)
2203
- .de(de_TestMappingCommand)
2290
+ .sc(TestMapping)
2204
2291
  .build() {
2205
2292
  }
2206
2293
 
@@ -2208,16 +2295,11 @@ class TestParsingCommand extends smithyClient.Command
2208
2295
  .classBuilder()
2209
2296
  .ep(commonParams)
2210
2297
  .m(function (Command, cs, config, o) {
2211
- return [
2212
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2213
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2214
- ];
2298
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2215
2299
  })
2216
2300
  .s("B2BI", "TestParsing", {})
2217
2301
  .n("B2biClient", "TestParsingCommand")
2218
- .f(void 0, void 0)
2219
- .ser(se_TestParsingCommand)
2220
- .de(de_TestParsingCommand)
2302
+ .sc(TestParsing)
2221
2303
  .build() {
2222
2304
  }
2223
2305
 
@@ -2225,16 +2307,11 @@ class UntagResourceCommand extends smithyClient.Command
2225
2307
  .classBuilder()
2226
2308
  .ep(commonParams)
2227
2309
  .m(function (Command, cs, config, o) {
2228
- return [
2229
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2230
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2231
- ];
2310
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2232
2311
  })
2233
2312
  .s("B2BI", "UntagResource", {})
2234
2313
  .n("B2biClient", "UntagResourceCommand")
2235
- .f(void 0, void 0)
2236
- .ser(se_UntagResourceCommand)
2237
- .de(de_UntagResourceCommand)
2314
+ .sc(UntagResource)
2238
2315
  .build() {
2239
2316
  }
2240
2317
 
@@ -2242,16 +2319,11 @@ class UpdateCapabilityCommand extends smithyClient.Command
2242
2319
  .classBuilder()
2243
2320
  .ep(commonParams)
2244
2321
  .m(function (Command, cs, config, o) {
2245
- return [
2246
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2247
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2248
- ];
2322
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2249
2323
  })
2250
2324
  .s("B2BI", "UpdateCapability", {})
2251
2325
  .n("B2biClient", "UpdateCapabilityCommand")
2252
- .f(void 0, void 0)
2253
- .ser(se_UpdateCapabilityCommand)
2254
- .de(de_UpdateCapabilityCommand)
2326
+ .sc(UpdateCapability)
2255
2327
  .build() {
2256
2328
  }
2257
2329
 
@@ -2259,16 +2331,11 @@ class UpdatePartnershipCommand extends smithyClient.Command
2259
2331
  .classBuilder()
2260
2332
  .ep(commonParams)
2261
2333
  .m(function (Command, cs, config, o) {
2262
- return [
2263
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2264
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2265
- ];
2334
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2266
2335
  })
2267
2336
  .s("B2BI", "UpdatePartnership", {})
2268
2337
  .n("B2biClient", "UpdatePartnershipCommand")
2269
- .f(void 0, UpdatePartnershipResponseFilterSensitiveLog)
2270
- .ser(se_UpdatePartnershipCommand)
2271
- .de(de_UpdatePartnershipCommand)
2338
+ .sc(UpdatePartnership)
2272
2339
  .build() {
2273
2340
  }
2274
2341
 
@@ -2276,16 +2343,11 @@ class UpdateProfileCommand extends smithyClient.Command
2276
2343
  .classBuilder()
2277
2344
  .ep(commonParams)
2278
2345
  .m(function (Command, cs, config, o) {
2279
- return [
2280
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2281
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2282
- ];
2346
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2283
2347
  })
2284
2348
  .s("B2BI", "UpdateProfile", {})
2285
2349
  .n("B2biClient", "UpdateProfileCommand")
2286
- .f(UpdateProfileRequestFilterSensitiveLog, UpdateProfileResponseFilterSensitiveLog)
2287
- .ser(se_UpdateProfileCommand)
2288
- .de(de_UpdateProfileCommand)
2350
+ .sc(UpdateProfile)
2289
2351
  .build() {
2290
2352
  }
2291
2353
 
@@ -2293,16 +2355,11 @@ class UpdateTransformerCommand extends smithyClient.Command
2293
2355
  .classBuilder()
2294
2356
  .ep(commonParams)
2295
2357
  .m(function (Command, cs, config, o) {
2296
- return [
2297
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2298
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2299
- ];
2358
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2300
2359
  })
2301
2360
  .s("B2BI", "UpdateTransformer", {})
2302
2361
  .n("B2biClient", "UpdateTransformerCommand")
2303
- .f(void 0, void 0)
2304
- .ser(se_UpdateTransformerCommand)
2305
- .de(de_UpdateTransformerCommand)
2362
+ .sc(UpdateTransformer)
2306
2363
  .build() {
2307
2364
  }
2308
2365
 
@@ -2397,22 +2454,18 @@ Object.defineProperty(exports, "__Client", {
2397
2454
  enumerable: true,
2398
2455
  get: function () { return smithyClient.Client; }
2399
2456
  });
2400
- exports.AccessDeniedException = AccessDeniedException;
2457
+ exports.AccessDeniedException = AccessDeniedException$1;
2401
2458
  exports.B2bi = B2bi;
2402
2459
  exports.B2biClient = B2biClient;
2403
- exports.B2biServiceException = B2biServiceException;
2460
+ exports.B2biServiceException = B2biServiceException$1;
2404
2461
  exports.CapabilityDirection = CapabilityDirection;
2405
2462
  exports.CapabilityType = CapabilityType;
2406
- exports.ConflictException = ConflictException;
2463
+ exports.ConflictException = ConflictException$1;
2407
2464
  exports.ConversionSourceFormat = ConversionSourceFormat;
2408
2465
  exports.ConversionTargetFormat = ConversionTargetFormat;
2409
2466
  exports.CreateCapabilityCommand = CreateCapabilityCommand;
2410
2467
  exports.CreatePartnershipCommand = CreatePartnershipCommand;
2411
- exports.CreatePartnershipRequestFilterSensitiveLog = CreatePartnershipRequestFilterSensitiveLog;
2412
- exports.CreatePartnershipResponseFilterSensitiveLog = CreatePartnershipResponseFilterSensitiveLog;
2413
2468
  exports.CreateProfileCommand = CreateProfileCommand;
2414
- exports.CreateProfileRequestFilterSensitiveLog = CreateProfileRequestFilterSensitiveLog;
2415
- exports.CreateProfileResponseFilterSensitiveLog = CreateProfileResponseFilterSensitiveLog;
2416
2469
  exports.CreateStarterMappingTemplateCommand = CreateStarterMappingTemplateCommand;
2417
2470
  exports.CreateTransformerCommand = CreateTransformerCommand;
2418
2471
  exports.DeleteCapabilityCommand = DeleteCapabilityCommand;
@@ -2425,12 +2478,10 @@ exports.FromFormat = FromFormat;
2425
2478
  exports.GenerateMappingCommand = GenerateMappingCommand;
2426
2479
  exports.GetCapabilityCommand = GetCapabilityCommand;
2427
2480
  exports.GetPartnershipCommand = GetPartnershipCommand;
2428
- exports.GetPartnershipResponseFilterSensitiveLog = GetPartnershipResponseFilterSensitiveLog;
2429
2481
  exports.GetProfileCommand = GetProfileCommand;
2430
- exports.GetProfileResponseFilterSensitiveLog = GetProfileResponseFilterSensitiveLog;
2431
2482
  exports.GetTransformerCommand = GetTransformerCommand;
2432
2483
  exports.GetTransformerJobCommand = GetTransformerJobCommand;
2433
- exports.InternalServerException = InternalServerException;
2484
+ exports.InternalServerException = InternalServerException$1;
2434
2485
  exports.LineTerminator = LineTerminator;
2435
2486
  exports.ListCapabilitiesCommand = ListCapabilitiesCommand;
2436
2487
  exports.ListPartnershipsCommand = ListPartnershipsCommand;
@@ -2440,26 +2491,23 @@ exports.ListTransformersCommand = ListTransformersCommand;
2440
2491
  exports.Logging = Logging;
2441
2492
  exports.MappingTemplateLanguage = MappingTemplateLanguage;
2442
2493
  exports.MappingType = MappingType;
2443
- exports.ResourceNotFoundException = ResourceNotFoundException;
2444
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2494
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
2495
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2445
2496
  exports.StartTransformerJobCommand = StartTransformerJobCommand;
2446
2497
  exports.TagResourceCommand = TagResourceCommand;
2447
2498
  exports.TestConversionCommand = TestConversionCommand;
2448
2499
  exports.TestMappingCommand = TestMappingCommand;
2449
2500
  exports.TestParsingCommand = TestParsingCommand;
2450
- exports.ThrottlingException = ThrottlingException;
2501
+ exports.ThrottlingException = ThrottlingException$1;
2451
2502
  exports.ToFormat = ToFormat;
2452
2503
  exports.TransformerJobStatus = TransformerJobStatus;
2453
2504
  exports.TransformerStatus = TransformerStatus;
2454
2505
  exports.UntagResourceCommand = UntagResourceCommand;
2455
2506
  exports.UpdateCapabilityCommand = UpdateCapabilityCommand;
2456
2507
  exports.UpdatePartnershipCommand = UpdatePartnershipCommand;
2457
- exports.UpdatePartnershipResponseFilterSensitiveLog = UpdatePartnershipResponseFilterSensitiveLog;
2458
2508
  exports.UpdateProfileCommand = UpdateProfileCommand;
2459
- exports.UpdateProfileRequestFilterSensitiveLog = UpdateProfileRequestFilterSensitiveLog;
2460
- exports.UpdateProfileResponseFilterSensitiveLog = UpdateProfileResponseFilterSensitiveLog;
2461
2509
  exports.UpdateTransformerCommand = UpdateTransformerCommand;
2462
- exports.ValidationException = ValidationException;
2510
+ exports.ValidationException = ValidationException$1;
2463
2511
  exports.WrapFormat = WrapFormat;
2464
2512
  exports.X12FunctionalAcknowledgment = X12FunctionalAcknowledgment;
2465
2513
  exports.X12GS05TimeFormat = X12GS05TimeFormat;