fex 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- OWY0ZDEyNWY5NjY4ZWE1NmQ1YTIyNDhkYzgxMmU2NTE1ODViMGFkZA==
5
- data.tar.gz: !binary |-
6
- OWFkNmZkOTA5NzgwMjIwNzA3NzdkYjU0NWUxZjkwNTBjZWMxNGJhYw==
2
+ SHA1:
3
+ metadata.gz: 328af59c936973d25a2b0c4bc3435ca9098fb3e3
4
+ data.tar.gz: 9ef9a9b8c177a4a3dfb2ed9f3db2dd995be1f46c
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZDU3OTI1ZDdkNzZjNWY1OTk4NGRkNTQ4NGJiNmNkNmI1MGM4NGVlM2IwOTE5
10
- MDFkNTg0NDRkYjExZjVhNzNhMjBhZmVlOWNlZmE3MzM4MjQyMDQ1ZmYwMzY5
11
- MjFmYzkzNjExNmUxOTIyMGZmNDhkZjIzM2JkNTQxMDdjMzFmZWE=
12
- data.tar.gz: !binary |-
13
- MjlkZGU1NTBlOTgzNmNiZjE4MGYzNzQ5NWRmMWIyNDAzMWY3ZTY1OGFmODM3
14
- ZTY2Yjk2NzYyNGNkMmJkZDNlZGNhMWY4ZjNjYmU4ZDQ5NjIzOGY4NmRiZTZi
15
- OTczYzI2Mjc2YmJjOWY4MTk4MmEyMjUwNTgzZTIyNzM5Yjg5OWI=
6
+ metadata.gz: 62d132c91e6e419af7d4465f084cf361557d277c595c8b42a9286de8d4f424bbcd4cbf280449b0562535b9465a2fd5d46862d25ef145f40cececabac1fb0dc37
7
+ data.tar.gz: b4d78ab71a661a30700f2efd16439339201de1c4d5d901828ae69b4612d23516ca25147f2b73aaffea6b1c283f1a0ab1d5537e777db86c39f0ff209cec0a8b36
data/.gitignore CHANGED
@@ -17,3 +17,4 @@ test/version_tmp
17
17
  tmp
18
18
  log/*.log
19
19
  spec/support/credentials.yml
20
+ .DS_Store
@@ -15,11 +15,14 @@
15
15
  :intermediate: 0
16
16
  :minor: 0
17
17
  :ship:
18
- :response: "ShipResponse"
18
+ :client:
19
+ :env_namespace: soapenv
20
+ :namespace_identifier: v13
21
+ # :response: "ShipResponse"
19
22
  :version:
20
23
  :service_id: ship
21
- :major: 12
22
- :intermediate: 1
24
+ :major: 13
25
+ :intermediate: 0
23
26
  :minor: 0
24
27
  :track:
25
28
  :version:
@@ -1,3 +1,3 @@
1
1
  module Fex
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -1,6 +1,6 @@
1
- <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://fedex.com/ws/ship/v12" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://fedex.com/ws/ship/v12" name="ShipServiceDefinitions">
1
+ <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://fedex.com/ws/ship/v13" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://fedex.com/ws/ship/v13" name="ShipServiceDefinitions">
2
2
  <types>
3
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://fedex.com/ws/ship/v12">
3
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://fedex.com/ws/ship/v13">
4
4
  <xs:element name="CancelPendingShipmentReply" type="ns:CancelPendingShipmentReply"/>
5
5
  <xs:element name="CancelPendingShipmentRequest" type="ns:CancelPendingShipmentRequest"/>
6
6
  <xs:element name="CreatePendingShipmentReply" type="ns:CreatePendingShipmentReply"/>
@@ -93,6 +93,14 @@
93
93
  </xs:element>
94
94
  </xs:sequence>
95
95
  </xs:complexType>
96
+ <xs:complexType name="AdrLicenseDetail">
97
+ <xs:annotation>
98
+ <xs:documentation>Specifies the details around the ADR license required for shipping.</xs:documentation>
99
+ </xs:annotation>
100
+ <xs:sequence>
101
+ <xs:element name="LicenseOrPermitDetail" type="ns:LicenseOrPermitDetail" minOccurs="0"/>
102
+ </xs:sequence>
103
+ </xs:complexType>
96
104
  <xs:complexType name="AssociatedShipmentDetail">
97
105
  <xs:sequence>
98
106
  <xs:element name="Type" type="ns:AssociatedShipmentType" minOccurs="0"/>
@@ -150,9 +158,18 @@
150
158
  <xs:documentation>Identification of the type of barcode (symbology) used on FedEx documents and labels.</xs:documentation>
151
159
  </xs:annotation>
152
160
  <xs:restriction base="xs:string">
161
+ <xs:enumeration value="CODABAR"/>
162
+ <xs:enumeration value="CODE128"/>
153
163
  <xs:enumeration value="CODE128B"/>
154
164
  <xs:enumeration value="CODE128C"/>
165
+ <xs:enumeration value="CODE128_WIDEBAR"/>
155
166
  <xs:enumeration value="CODE39"/>
167
+ <xs:enumeration value="CODE93"/>
168
+ <xs:enumeration value="I2OF5"/>
169
+ <xs:enumeration value="PDF417"/>
170
+ <xs:enumeration value="POSTNET"/>
171
+ <xs:enumeration value="QR_CODE"/>
172
+ <xs:enumeration value="UCC128"/>
156
173
  </xs:restriction>
157
174
  </xs:simpleType>
158
175
  <xs:complexType name="BinaryBarcode">
@@ -661,6 +678,7 @@
661
678
  <xs:documentation>When true indicates that the package can be transported only on a cargo aircraft.</xs:documentation>
662
679
  </xs:annotation>
663
680
  </xs:element>
681
+ <xs:element name="Regulation" type="ns:HazardousCommodityRegulationType" minOccurs="0"/>
664
682
  <xs:element name="RadioactiveTransportIndex" type="xs:decimal" minOccurs="0">
665
683
  <xs:annotation>
666
684
  <xs:documentation>Specifies the maximum radiation level from the package (measured in microSieverts per hour at a distance of one meter from the external surface of the package, divided by 10).</xs:documentation>
@@ -685,6 +703,11 @@
685
703
  <xs:sequence>
686
704
  <xs:element name="HazardousSummaryDetail" type="ns:CompletedHazardousSummaryDetail" minOccurs="0"/>
687
705
  <xs:element name="DryIceDetail" type="ns:ShipmentDryIceDetail" minOccurs="0"/>
706
+ <xs:element name="AdrLicense" type="ns:AdrLicenseDetail" minOccurs="0">
707
+ <xs:annotation>
708
+ <xs:documentation>This contains the ADR License information, which identifies the license number and ADR category under which the customer is allowed to ship.</xs:documentation>
709
+ </xs:annotation>
710
+ </xs:element>
688
711
  </xs:sequence>
689
712
  </xs:complexType>
690
713
  <xs:complexType name="CompletedHazardousSummaryDetail">
@@ -1245,7 +1268,7 @@
1245
1268
  <xs:documentation>Horizontal position, relative to left edge of custom area.</xs:documentation>
1246
1269
  </xs:annotation>
1247
1270
  </xs:element>
1248
- <xs:element name="Y" type="xs:nonNegativeInteger" minOccurs="1">
1271
+ <xs:element name="Y" type="xs:int" minOccurs="1">
1249
1272
  <xs:annotation>
1250
1273
  <xs:documentation>Vertical position, relative to top edge of custom area.</xs:documentation>
1251
1274
  </xs:annotation>
@@ -1275,6 +1298,7 @@
1275
1298
  <xs:documentation>Generic font size for use with plain paper labels.</xs:documentation>
1276
1299
  </xs:annotation>
1277
1300
  </xs:element>
1301
+ <xs:element name="Rotation" type="ns:RotationType" minOccurs="0"/>
1278
1302
  </xs:sequence>
1279
1303
  </xs:complexType>
1280
1304
  <xs:complexType name="CustomerImageUsage">
@@ -1329,6 +1353,11 @@
1329
1353
  <xs:documentation>If omitted, no doc tab will be produced (i.e. default is former NONE type).</xs:documentation>
1330
1354
  </xs:annotation>
1331
1355
  </xs:element>
1356
+ <xs:element name="CustomContentPosition" type="ns:RelativeVerticalPositionType" minOccurs="0">
1357
+ <xs:annotation>
1358
+ <xs:documentation>Controls the position of the customer specified content relative to the FedEx portion.</xs:documentation>
1359
+ </xs:annotation>
1360
+ </xs:element>
1332
1361
  <xs:element name="CustomContent" type="ns:CustomLabelDetail" minOccurs="0">
1333
1362
  <xs:annotation>
1334
1363
  <xs:documentation>Defines any custom content to print on the label.</xs:documentation>
@@ -1395,8 +1424,34 @@
1395
1424
  <xs:element name="Commodities" type="ns:Commodity" minOccurs="0" maxOccurs="unbounded"/>
1396
1425
  <xs:element name="ExportDetail" type="ns:ExportDetail" minOccurs="0"/>
1397
1426
  <xs:element name="RegulatoryControls" type="ns:RegulatoryControlType" minOccurs="0" maxOccurs="unbounded"/>
1427
+ <xs:element name="DeclarationStatementDetail" type="ns:CustomsDeclarationStatementDetail" minOccurs="0"/>
1428
+ </xs:sequence>
1429
+ </xs:complexType>
1430
+ <xs:complexType name="CustomsDeclarationStatementDetail">
1431
+ <xs:annotation>
1432
+ <xs:documentation>This provides the information necessary to identify the different statements, declarations, acts, and/or certifications that apply to this shipment.</xs:documentation>
1433
+ </xs:annotation>
1434
+ <xs:sequence>
1435
+ <xs:element name="Types" type="ns:CustomsDeclarationStatementType" minOccurs="0" maxOccurs="unbounded">
1436
+ <xs:annotation>
1437
+ <xs:documentation>This indicates the different statements, declarations, acts, and/or certifications that apply to this shipment.</xs:documentation>
1438
+ </xs:annotation>
1439
+ </xs:element>
1440
+ <xs:element name="NaftaLowValueStatementDetail" type="ns:NaftaLowValueStatementDetail" minOccurs="0">
1441
+ <xs:annotation>
1442
+ <xs:documentation>Specifies the NAFTA low value statement information.</xs:documentation>
1443
+ </xs:annotation>
1444
+ </xs:element>
1398
1445
  </xs:sequence>
1399
1446
  </xs:complexType>
1447
+ <xs:simpleType name="CustomsDeclarationStatementType">
1448
+ <xs:annotation>
1449
+ <xs:documentation>This indicates the different statements, declarations, acts, and certifications that may apply to a shipment.</xs:documentation>
1450
+ </xs:annotation>
1451
+ <xs:restriction base="xs:string">
1452
+ <xs:enumeration value="NAFTA_LOW_VALUE"/>
1453
+ </xs:restriction>
1454
+ </xs:simpleType>
1400
1455
  <xs:complexType name="CustomsOptionDetail">
1401
1456
  <xs:sequence>
1402
1457
  <xs:element name="Type" type="ns:CustomsOptionType" minOccurs="0"/>
@@ -1421,6 +1476,14 @@
1421
1476
  <xs:enumeration value="TRIAL"/>
1422
1477
  </xs:restriction>
1423
1478
  </xs:simpleType>
1479
+ <xs:simpleType name="CustomsRoleType">
1480
+ <xs:restriction base="xs:string">
1481
+ <xs:enumeration value="EXPORTER"/>
1482
+ <xs:enumeration value="IMPORTER"/>
1483
+ <xs:enumeration value="LEGAL_AGENT"/>
1484
+ <xs:enumeration value="PRODUCER"/>
1485
+ </xs:restriction>
1486
+ </xs:simpleType>
1424
1487
  <xs:simpleType name="DangerousGoodsAccessibilityType">
1425
1488
  <xs:restriction base="xs:string">
1426
1489
  <xs:enumeration value="ACCESSIBLE"/>
@@ -1464,6 +1527,7 @@
1464
1527
  <xs:documentation>The descriptive data required for a FedEx shipment containing dangerous goods (hazardous materials).</xs:documentation>
1465
1528
  </xs:annotation>
1466
1529
  <xs:sequence>
1530
+ <xs:element name="Regulation" type="ns:HazardousCommodityRegulationType" minOccurs="0"/>
1467
1531
  <xs:element name="Accessibility" type="ns:DangerousGoodsAccessibilityType" minOccurs="0">
1468
1532
  <xs:annotation>
1469
1533
  <xs:documentation>Identifies whether or not the products being shipped are required to be accessible during delivery.</xs:documentation>
@@ -2004,6 +2068,23 @@
2004
2068
  <xs:element name="DocumentReferences" type="ns:UploadDocumentReferenceDetail" minOccurs="0" maxOccurs="unbounded"/>
2005
2069
  </xs:sequence>
2006
2070
  </xs:complexType>
2071
+ <xs:complexType name="ExportDeclarationDetail">
2072
+ <xs:annotation>
2073
+ <xs:documentation>The instructions indicating how to print the Export Declaration.</xs:documentation>
2074
+ </xs:annotation>
2075
+ <xs:sequence>
2076
+ <xs:element name="DocumentFormat" type="ns:ShippingDocumentFormat" minOccurs="0">
2077
+ <xs:annotation>
2078
+ <xs:documentation>Specifies characteristics of a shipping document to be produced.</xs:documentation>
2079
+ </xs:annotation>
2080
+ </xs:element>
2081
+ <xs:element name="CustomerImageUsages" type="ns:CustomerImageUsage" minOccurs="0" maxOccurs="unbounded">
2082
+ <xs:annotation>
2083
+ <xs:documentation>Specifies the usage and identification of customer supplied images to be used on this document.</xs:documentation>
2084
+ </xs:annotation>
2085
+ </xs:element>
2086
+ </xs:sequence>
2087
+ </xs:complexType>
2007
2088
  <xs:complexType name="ExportDetail">
2008
2089
  <xs:annotation>
2009
2090
  <xs:documentation>Country specific details of an International shipment.</xs:documentation>
@@ -2073,10 +2154,12 @@
2073
2154
  </xs:annotation>
2074
2155
  <xs:restriction base="xs:string">
2075
2156
  <xs:enumeration value="FEDEX_EXPRESS_STATION"/>
2157
+ <xs:enumeration value="FEDEX_FACILITY"/>
2076
2158
  <xs:enumeration value="FEDEX_FREIGHT_SERVICE_CENTER"/>
2077
2159
  <xs:enumeration value="FEDEX_GROUND_TERMINAL"/>
2078
2160
  <xs:enumeration value="FEDEX_HOME_DELIVERY_STATION"/>
2079
2161
  <xs:enumeration value="FEDEX_OFFICE"/>
2162
+ <xs:enumeration value="FEDEX_SHIPSITE"/>
2080
2163
  <xs:enumeration value="FEDEX_SMART_POST_HUB"/>
2081
2164
  </xs:restriction>
2082
2165
  </xs:simpleType>
@@ -2101,6 +2184,8 @@
2101
2184
  <xs:documentation>If omitted, no doc tab will be produced (i.e. default = former NONE type).</xs:documentation>
2102
2185
  </xs:annotation>
2103
2186
  </xs:element>
2187
+ <xs:element name="CustomContentPosition" type="ns:RelativeVerticalPositionType" minOccurs="0"/>
2188
+ <xs:element name="CustomContent" type="ns:CustomLabelDetail" minOccurs="0"/>
2104
2189
  </xs:sequence>
2105
2190
  </xs:complexType>
2106
2191
  <xs:complexType name="FreightBaseCharge">
@@ -2487,6 +2572,12 @@
2487
2572
  <xs:enumeration value="USPS_DELIVERY"/>
2488
2573
  </xs:restriction>
2489
2574
  </xs:simpleType>
2575
+ <xs:simpleType name="HazardousCommodityAttributeType">
2576
+ <xs:restriction base="xs:string">
2577
+ <xs:enumeration value="NOT_SUBJECT_TO_REGULATIONS"/>
2578
+ <xs:enumeration value="PLACARDED_VEHICLE_REQUIRED"/>
2579
+ </xs:restriction>
2580
+ </xs:simpleType>
2490
2581
  <xs:complexType name="HazardousCommodityContent">
2491
2582
  <xs:annotation>
2492
2583
  <xs:documentation>Documents the kind and quantity of an individual hazardous commodity in a package.</xs:documentation>
@@ -2502,6 +2593,11 @@
2502
2593
  <xs:documentation>Specifies the amount of the commodity in alternate units.</xs:documentation>
2503
2594
  </xs:annotation>
2504
2595
  </xs:element>
2596
+ <xs:element name="InnerReceptacles" type="ns:HazardousCommodityInnerReceptacleDetail" minOccurs="0" maxOccurs="unbounded">
2597
+ <xs:annotation>
2598
+ <xs:documentation>This describes the inner receptacle details for a hazardous commodity within the dangerous goods container.</xs:documentation>
2599
+ </xs:annotation>
2600
+ </xs:element>
2505
2601
  <xs:element name="Options" type="ns:HazardousCommodityOptionDetail" minOccurs="0">
2506
2602
  <xs:annotation>
2507
2603
  <xs:documentation>Customer-provided specifications for handling individual commodities.</xs:documentation>
@@ -2558,6 +2654,18 @@
2558
2654
  <xs:enumeration value="INCLUDE_SPECIAL_PROVISIONS"/>
2559
2655
  </xs:restriction>
2560
2656
  </xs:simpleType>
2657
+ <xs:complexType name="HazardousCommodityInnerReceptacleDetail">
2658
+ <xs:annotation>
2659
+ <xs:documentation>This describes information about the inner receptacles for the hazardous commodity in a particular dangerous goods container.</xs:documentation>
2660
+ </xs:annotation>
2661
+ <xs:sequence>
2662
+ <xs:element name="Quantity" type="ns:HazardousCommodityQuantityDetail" minOccurs="0">
2663
+ <xs:annotation>
2664
+ <xs:documentation>This specifies the quantity contained in the inner receptacle.</xs:documentation>
2665
+ </xs:annotation>
2666
+ </xs:element>
2667
+ </xs:sequence>
2668
+ </xs:complexType>
2561
2669
  <xs:simpleType name="HazardousCommodityLabelTextOptionType">
2562
2670
  <xs:annotation>
2563
2671
  <xs:documentation>Specifies how the commodity is to be labeled.</xs:documentation>
@@ -2587,10 +2695,11 @@
2587
2695
  </xs:complexType>
2588
2696
  <xs:simpleType name="HazardousCommodityOptionType">
2589
2697
  <xs:annotation>
2590
- <xs:documentation>Indicates which kind of hazardous content (as defined by DOT) is being reported.</xs:documentation>
2698
+ <xs:documentation>Indicates which kind of hazardous content is being reported.</xs:documentation>
2591
2699
  </xs:annotation>
2592
2700
  <xs:restriction base="xs:string">
2593
2701
  <xs:enumeration value="HAZARDOUS_MATERIALS"/>
2702
+ <xs:enumeration value="LIMITED_QUANTITIES_COMMODITIES"/>
2594
2703
  <xs:enumeration value="LITHIUM_BATTERY_EXCEPTION"/>
2595
2704
  <xs:enumeration value="ORM_D"/>
2596
2705
  <xs:enumeration value="REPORTABLE_QUANTITIES"/>
@@ -2669,6 +2778,17 @@
2669
2778
  <xs:enumeration value="NET"/>
2670
2779
  </xs:restriction>
2671
2780
  </xs:simpleType>
2781
+ <xs:simpleType name="HazardousCommodityRegulationType">
2782
+ <xs:annotation>
2783
+ <xs:documentation>Identifies the source of regulation for hazardous commodity data.</xs:documentation>
2784
+ </xs:annotation>
2785
+ <xs:restriction base="xs:string">
2786
+ <xs:enumeration value="ADR"/>
2787
+ <xs:enumeration value="DOT"/>
2788
+ <xs:enumeration value="IATA"/>
2789
+ <xs:enumeration value="ORMD"/>
2790
+ </xs:restriction>
2791
+ </xs:simpleType>
2672
2792
  <xs:simpleType name="HazardousContainerPackingType">
2673
2793
  <xs:restriction base="xs:string">
2674
2794
  <xs:enumeration value="ALL_PACKED_IN_ONE"/>
@@ -2900,6 +3020,25 @@
2900
3020
  <xs:enumeration value="USED_OR_RECONDITIONED"/>
2901
3021
  </xs:restriction>
2902
3022
  </xs:simpleType>
3023
+ <xs:complexType name="LicenseOrPermitDetail">
3024
+ <xs:sequence>
3025
+ <xs:element name="Number" type="xs:string" minOccurs="0">
3026
+ <xs:annotation>
3027
+ <xs:documentation>License or Permit Number.</xs:documentation>
3028
+ </xs:annotation>
3029
+ </xs:element>
3030
+ <xs:element name="EffectiveDate" type="xs:date" minOccurs="0">
3031
+ <xs:annotation>
3032
+ <xs:documentation>Specifies the effective date of the license.</xs:documentation>
3033
+ </xs:annotation>
3034
+ </xs:element>
3035
+ <xs:element name="ExpirationDate" type="xs:date" minOccurs="0">
3036
+ <xs:annotation>
3037
+ <xs:documentation>Specifies the expiration date of the license.</xs:documentation>
3038
+ </xs:annotation>
3039
+ </xs:element>
3040
+ </xs:sequence>
3041
+ </xs:complexType>
2903
3042
  <xs:complexType name="LinearMeasure">
2904
3043
  <xs:annotation>
2905
3044
  <xs:documentation>Represents a one-dimensional measurement in small units (e.g. suitable for measuring a package or document), contrasted with Distance, which represents a large one-dimensional measurement (e.g. distance between cities).</xs:documentation>
@@ -3039,6 +3178,18 @@
3039
3178
  <xs:enumeration value="VARIOUS"/>
3040
3179
  </xs:restriction>
3041
3180
  </xs:simpleType>
3181
+ <xs:complexType name="NaftaLowValueStatementDetail">
3182
+ <xs:annotation>
3183
+ <xs:documentation>Specifies the information necessary for printing the NAFTA Low Value statement on customs documentation.</xs:documentation>
3184
+ </xs:annotation>
3185
+ <xs:sequence>
3186
+ <xs:element name="Role" type="ns:CustomsRoleType" minOccurs="0">
3187
+ <xs:annotation>
3188
+ <xs:documentation>Specifies the NAFTA statement role.</xs:documentation>
3189
+ </xs:annotation>
3190
+ </xs:element>
3191
+ </xs:sequence>
3192
+ </xs:complexType>
3042
3193
  <xs:simpleType name="NaftaNetCostMethodCode">
3043
3194
  <xs:annotation>
3044
3195
  <xs:documentation>Net cost method used.</xs:documentation>
@@ -4024,6 +4175,15 @@
4024
4175
  <xs:enumeration value="NAFTA"/>
4025
4176
  </xs:restriction>
4026
4177
  </xs:simpleType>
4178
+ <xs:simpleType name="RelativeVerticalPositionType">
4179
+ <xs:annotation>
4180
+ <xs:documentation>Describes the vertical position of an item relative to another item.</xs:documentation>
4181
+ </xs:annotation>
4182
+ <xs:restriction base="xs:string">
4183
+ <xs:enumeration value="ABOVE"/>
4184
+ <xs:enumeration value="BELOW"/>
4185
+ </xs:restriction>
4186
+ </xs:simpleType>
4027
4187
  <xs:complexType name="RequestedPackageLineItem">
4028
4188
  <xs:annotation>
4029
4189
  <xs:documentation>This class rationalizes RequestedPackage and RequestedPackageSummary from previous interfaces.</xs:documentation>
@@ -4047,7 +4207,7 @@
4047
4207
  <xs:element name="VariableHandlingChargeDetail" type="ns:VariableHandlingChargeDetail" minOccurs="0"/>
4048
4208
  <xs:element name="InsuredValue" type="ns:Money" minOccurs="0">
4049
4209
  <xs:annotation>
4050
- <xs:documentation>Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. Ignored for PACKAGE_SUMMARY, in which case totalInsuredValue and packageCount on the shipment will be used to determine this value.</xs:documentation>
4210
+ <xs:documentation>Specifies the declared value for carriage of the package. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the package. This field is only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. Ignored for PACKAGE_SUMMARY, in which case totalInsuredValue and packageCount on the shipment will be used to determine this value.</xs:documentation>
4051
4211
  </xs:annotation>
4052
4212
  </xs:element>
4053
4213
  <xs:element name="Weight" type="ns:Weight" minOccurs="0">
@@ -4107,7 +4267,7 @@
4107
4267
  </xs:element>
4108
4268
  <xs:element name="TotalInsuredValue" type="ns:Money" minOccurs="0">
4109
4269
  <xs:annotation>
4110
- <xs:documentation>Total insured amount.</xs:documentation>
4270
+ <xs:documentation>Specifies the total declared value for carriage of the shipment. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the shipment.</xs:documentation>
4111
4271
  </xs:annotation>
4112
4272
  </xs:element>
4113
4273
  <xs:element name="PreferredCurrency" type="xs:string" minOccurs="0">
@@ -4238,6 +4398,7 @@
4238
4398
  <xs:enumeration value="CUSTOM_PACKAGE_DOCUMENT"/>
4239
4399
  <xs:enumeration value="CUSTOM_SHIPMENT_DOCUMENT"/>
4240
4400
  <xs:enumeration value="DANGEROUS_GOODS_SHIPPERS_DECLARATION"/>
4401
+ <xs:enumeration value="EXPORT_DECLARATION"/>
4241
4402
  <xs:enumeration value="FREIGHT_ADDRESS_LABEL"/>
4242
4403
  <xs:enumeration value="GENERAL_AGENCY_AGREEMENT"/>
4243
4404
  <xs:enumeration value="LABEL"/>
@@ -4367,6 +4528,7 @@
4367
4528
  <xs:enumeration value="DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN_2_D_BARCODE"/>
4368
4529
  <xs:enumeration value="DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN_LABEL"/>
4369
4530
  <xs:enumeration value="ETD_LABEL"/>
4531
+ <xs:enumeration value="EXPORT_DECLARATION"/>
4370
4532
  <xs:enumeration value="FREIGHT_ADDRESS_LABEL"/>
4371
4533
  <xs:enumeration value="GENERAL_AGENCY_AGREEMENT"/>
4372
4534
  <xs:enumeration value="GROUND_BARCODE"/>
@@ -4397,6 +4559,17 @@
4397
4559
  </xs:element>
4398
4560
  </xs:sequence>
4399
4561
  </xs:complexType>
4562
+ <xs:simpleType name="RotationType">
4563
+ <xs:annotation>
4564
+ <xs:documentation>Describes the rotation of an item from its default orientation.</xs:documentation>
4565
+ </xs:annotation>
4566
+ <xs:restriction base="xs:string">
4567
+ <xs:enumeration value="LEFT"/>
4568
+ <xs:enumeration value="NONE"/>
4569
+ <xs:enumeration value="RIGHT"/>
4570
+ <xs:enumeration value="UPSIDE_DOWN"/>
4571
+ </xs:restriction>
4572
+ </xs:simpleType>
4400
4573
  <xs:simpleType name="SecondaryBarcodeType">
4401
4574
  <xs:restriction base="xs:string">
4402
4575
  <xs:enumeration value="COMMON_2D"/>
@@ -4416,11 +4589,17 @@
4416
4589
  <xs:enumeration value="FEDEX_2_DAY_AM"/>
4417
4590
  <xs:enumeration value="FEDEX_2_DAY_FREIGHT"/>
4418
4591
  <xs:enumeration value="FEDEX_3_DAY_FREIGHT"/>
4592
+ <xs:enumeration value="FEDEX_DISTANCE_DEFERRED"/>
4419
4593
  <xs:enumeration value="FEDEX_EXPRESS_SAVER"/>
4420
4594
  <xs:enumeration value="FEDEX_FIRST_FREIGHT"/>
4421
4595
  <xs:enumeration value="FEDEX_FREIGHT_ECONOMY"/>
4422
4596
  <xs:enumeration value="FEDEX_FREIGHT_PRIORITY"/>
4423
4597
  <xs:enumeration value="FEDEX_GROUND"/>
4598
+ <xs:enumeration value="FEDEX_NEXT_DAY_AFTERNOON"/>
4599
+ <xs:enumeration value="FEDEX_NEXT_DAY_EARLY_MORNING"/>
4600
+ <xs:enumeration value="FEDEX_NEXT_DAY_END_OF_DAY"/>
4601
+ <xs:enumeration value="FEDEX_NEXT_DAY_FREIGHT"/>
4602
+ <xs:enumeration value="FEDEX_NEXT_DAY_MID_MORNING"/>
4424
4603
  <xs:enumeration value="FIRST_OVERNIGHT"/>
4425
4604
  <xs:enumeration value="GROUND_HOME_DELIVERY"/>
4426
4605
  <xs:enumeration value="INTERNATIONAL_ECONOMY"/>
@@ -4429,6 +4608,8 @@
4429
4608
  <xs:enumeration value="INTERNATIONAL_PRIORITY"/>
4430
4609
  <xs:enumeration value="INTERNATIONAL_PRIORITY_FREIGHT"/>
4431
4610
  <xs:enumeration value="PRIORITY_OVERNIGHT"/>
4611
+ <xs:enumeration value="SAME_DAY"/>
4612
+ <xs:enumeration value="SAME_DAY_CITY"/>
4432
4613
  <xs:enumeration value="SMART_POST"/>
4433
4614
  <xs:enumeration value="STANDARD_OVERNIGHT"/>
4434
4615
  </xs:restriction>
@@ -4921,6 +5102,7 @@
4921
5102
  <xs:enumeration value="EXTREME_LENGTH"/>
4922
5103
  <xs:enumeration value="FOOD"/>
4923
5104
  <xs:enumeration value="FREIGHT_GUARANTEE"/>
5105
+ <xs:enumeration value="FREIGHT_TO_COLLECT"/>
4924
5106
  <xs:enumeration value="FUTURE_DAY_SHIPMENT"/>
4925
5107
  <xs:enumeration value="HOLD_AT_LOCATION"/>
4926
5108
  <xs:enumeration value="HOME_DELIVERY_PREMIUM"/>
@@ -5236,6 +5418,7 @@
5236
5418
  <xs:documentation>Specifies the production of a shipment-level custom document.</xs:documentation>
5237
5419
  </xs:annotation>
5238
5420
  </xs:element>
5421
+ <xs:element name="ExportDeclarationDetail" type="ns:ExportDeclarationDetail" minOccurs="0"/>
5239
5422
  <xs:element name="GeneralAgencyAgreementDetail" type="ns:GeneralAgencyAgreementDetail" minOccurs="0">
5240
5423
  <xs:annotation>
5241
5424
  <xs:documentation>This element is currently not supported and is for the future use. (Details pertaining to the GAA.)</xs:documentation>
@@ -5449,6 +5632,7 @@
5449
5632
  <xs:enumeration value="FLATBED"/>
5450
5633
  <xs:enumeration value="FREIGHT_GUARANTEE"/>
5451
5634
  <xs:enumeration value="FREIGHT_ON_VALUE"/>
5635
+ <xs:enumeration value="FREIGHT_TO_COLLECT"/>
5452
5636
  <xs:enumeration value="FUEL"/>
5453
5637
  <xs:enumeration value="HOLD_AT_LOCATION"/>
5454
5638
  <xs:enumeration value="HOME_DELIVERY_APPOINTMENT"/>
@@ -5478,6 +5662,8 @@
5478
5662
  <xs:enumeration value="PROTECTION_FROM_FREEZING"/>
5479
5663
  <xs:enumeration value="REGIONAL_MALL_DELIVERY"/>
5480
5664
  <xs:enumeration value="REGIONAL_MALL_PICKUP"/>
5665
+ <xs:enumeration value="REROUTE"/>
5666
+ <xs:enumeration value="RESCHEDULE"/>
5481
5667
  <xs:enumeration value="RESIDENTIAL_DELIVERY"/>
5482
5668
  <xs:enumeration value="RESIDENTIAL_PICKUP"/>
5483
5669
  <xs:enumeration value="RETURN_LABEL"/>
@@ -5745,6 +5931,11 @@
5745
5931
  <xs:documentation>Specifies the amount of the commodity in alternate units.</xs:documentation>
5746
5932
  </xs:annotation>
5747
5933
  </xs:element>
5934
+ <xs:element name="MassPoints" type="xs:decimal" minOccurs="0">
5935
+ <xs:annotation>
5936
+ <xs:documentation>The mass points are a calculation used by ADR regulations for measuring the risk of a particular hazardous commodity.</xs:documentation>
5937
+ </xs:annotation>
5938
+ </xs:element>
5748
5939
  <xs:element name="Options" type="ns:HazardousCommodityOptionDetail" minOccurs="0">
5749
5940
  <xs:annotation>
5750
5941
  <xs:documentation>Customer-provided specifications for handling individual commodities.</xs:documentation>
@@ -5783,7 +5974,9 @@
5783
5974
  <xs:documentation>Coded indications for special requirements or constraints.</xs:documentation>
5784
5975
  </xs:annotation>
5785
5976
  </xs:element>
5977
+ <xs:element name="TunnelRestrictionCode" type="xs:string" minOccurs="0"/>
5786
5978
  <xs:element name="SpecialProvisions" type="xs:string" minOccurs="0"/>
5979
+ <xs:element name="Attributes" type="ns:HazardousCommodityAttributeType" minOccurs="0" maxOccurs="unbounded"/>
5787
5980
  <xs:element name="Authorization" type="xs:string" minOccurs="0"/>
5788
5981
  <xs:element name="LabelText" type="xs:string" minOccurs="0"/>
5789
5982
  </xs:sequence>
@@ -5938,12 +6131,12 @@
5938
6131
  <xs:documentation>Identifies a system or sub-system which performs an operation.</xs:documentation>
5939
6132
  </xs:annotation>
5940
6133
  </xs:element>
5941
- <xs:element name="Major" type="xs:int" fixed="12" minOccurs="1">
6134
+ <xs:element name="Major" type="xs:int" fixed="13" minOccurs="1">
5942
6135
  <xs:annotation>
5943
6136
  <xs:documentation>Identifies the service business level.</xs:documentation>
5944
6137
  </xs:annotation>
5945
6138
  </xs:element>
5946
- <xs:element name="Intermediate" type="xs:int" fixed="1" minOccurs="1">
6139
+ <xs:element name="Intermediate" type="xs:int" fixed="0" minOccurs="1">
5947
6140
  <xs:annotation>
5948
6141
  <xs:documentation>Identifies the service interface level.</xs:documentation>
5949
6142
  </xs:annotation>
@@ -6026,7 +6219,7 @@
6026
6219
  <binding name="ShipServiceSoapBinding" type="ns:ShipPortType">
6027
6220
  <s1:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
6028
6221
  <operation name="createPendingShipment">
6029
- <s1:operation soapAction="http://fedex.com/ws/ship/v12/createPendingShipment" style="document"/>
6222
+ <s1:operation soapAction="http://fedex.com/ws/ship/v13/createPendingShipment" style="document"/>
6030
6223
  <input>
6031
6224
  <s1:body use="literal"/>
6032
6225
  </input>
@@ -6035,7 +6228,7 @@
6035
6228
  </output>
6036
6229
  </operation>
6037
6230
  <operation name="processTag">
6038
- <s1:operation soapAction="http://fedex.com/ws/ship/v12/processTag" style="document"/>
6231
+ <s1:operation soapAction="http://fedex.com/ws/ship/v13/processTag" style="document"/>
6039
6232
  <input>
6040
6233
  <s1:body use="literal"/>
6041
6234
  </input>
@@ -6044,7 +6237,7 @@
6044
6237
  </output>
6045
6238
  </operation>
6046
6239
  <operation name="processShipment">
6047
- <s1:operation soapAction="http://fedex.com/ws/ship/v12/processShipment" style="document"/>
6240
+ <s1:operation soapAction="http://fedex.com/ws/ship/v13/processShipment" style="document"/>
6048
6241
  <input>
6049
6242
  <s1:body use="literal"/>
6050
6243
  </input>
@@ -6053,7 +6246,7 @@
6053
6246
  </output>
6054
6247
  </operation>
6055
6248
  <operation name="cancelPendingShipment">
6056
- <s1:operation soapAction="http://fedex.com/ws/ship/v12/cancelPendingShipment" style="document"/>
6249
+ <s1:operation soapAction="http://fedex.com/ws/ship/v13/cancelPendingShipment" style="document"/>
6057
6250
  <input>
6058
6251
  <s1:body use="literal"/>
6059
6252
  </input>
@@ -6062,7 +6255,7 @@
6062
6255
  </output>
6063
6256
  </operation>
6064
6257
  <operation name="deleteTag">
6065
- <s1:operation soapAction="http://fedex.com/ws/ship/v12/deleteTag" style="document"/>
6258
+ <s1:operation soapAction="http://fedex.com/ws/ship/v13/deleteTag" style="document"/>
6066
6259
  <input>
6067
6260
  <s1:body use="literal"/>
6068
6261
  </input>
@@ -6071,7 +6264,7 @@
6071
6264
  </output>
6072
6265
  </operation>
6073
6266
  <operation name="deleteShipment">
6074
- <s1:operation soapAction="http://fedex.com/ws/ship/v12/deleteShipment" style="document"/>
6267
+ <s1:operation soapAction="http://fedex.com/ws/ship/v13/deleteShipment" style="document"/>
6075
6268
  <input>
6076
6269
  <s1:body use="literal"/>
6077
6270
  </input>
@@ -6080,7 +6273,7 @@
6080
6273
  </output>
6081
6274
  </operation>
6082
6275
  <operation name="validateShipment">
6083
- <s1:operation soapAction="http://fedex.com/ws/ship/v12/validateShipment" style="document"/>
6276
+ <s1:operation soapAction="http://fedex.com/ws/ship/v13/validateShipment" style="document"/>
6084
6277
  <input>
6085
6278
  <s1:body use="literal"/>
6086
6279
  </input>
@@ -6094,4 +6287,4 @@
6094
6287
  <s1:address location="https://wsbeta.fedex.com:443/web-services/ship"/>
6095
6288
  </port>
6096
6289
  </service>
6097
- </definitions>
6290
+ </definitions>
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - iain
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-06 00:00:00.000000000 Z
11
+ date: 2014-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: savon
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '2.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: pry-nav
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  description: Small wrapper around Savon for using FedEx Web Services
@@ -73,8 +73,8 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
- - .gitignore
77
- - .rspec
76
+ - ".gitignore"
77
+ - ".rspec"
78
78
  - Gemfile
79
79
  - MIT-LICENSE.txt
80
80
  - README.md
@@ -119,17 +119,17 @@ require_paths:
119
119
  - lib
120
120
  required_ruby_version: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ! '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  requirements:
127
- - - ! '>='
127
+ - - ">="
128
128
  - !ruby/object:Gem::Version
129
129
  version: '0'
130
130
  requirements: []
131
131
  rubyforge_project:
132
- rubygems_version: 2.1.9
132
+ rubygems_version: 2.2.2
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: Small wrapper around Savon for using FedEx Web Services
@@ -144,4 +144,3 @@ test_files:
144
144
  - spec/support/logger_helper.rb
145
145
  - spec/unit/service_spec.rb
146
146
  - spec/unit/wsdl_spec.rb
147
- has_rdoc: