@googlemaps/fleetengine 0.8.0 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -228
- package/build/protos/protos.d.ts +5 -519
- package/build/protos/protos.js +22 -1695
- package/build/protos/protos.json +22 -193
- package/build/src/index.js +1 -1
- package/build/src/v1/index.js +1 -1
- package/build/src/v1/trip_service_client.js +1 -1
- package/build/src/v1/vehicle_service_client.js +1 -1
- package/package.json +10 -2
- package/LICENSE +0 -202
package/build/protos/protos.json
CHANGED
|
@@ -2173,7 +2173,8 @@
|
|
|
2173
2173
|
"java_multiple_files": true,
|
|
2174
2174
|
"java_outer_classname": "RoutingProto",
|
|
2175
2175
|
"java_package": "com.google.api",
|
|
2176
|
-
"objc_class_prefix": "GAPI"
|
|
2176
|
+
"objc_class_prefix": "GAPI",
|
|
2177
|
+
"cc_enable_arenas": true
|
|
2177
2178
|
},
|
|
2178
2179
|
"nested": {
|
|
2179
2180
|
"fieldBehavior": {
|
|
@@ -2396,10 +2397,6 @@
|
|
|
2396
2397
|
"rule": "repeated",
|
|
2397
2398
|
"type": "ClientLibraryDestination",
|
|
2398
2399
|
"id": 2
|
|
2399
|
-
},
|
|
2400
|
-
"selectiveGapicGeneration": {
|
|
2401
|
-
"type": "SelectiveGapicGeneration",
|
|
2402
|
-
"id": 3
|
|
2403
2400
|
}
|
|
2404
2401
|
}
|
|
2405
2402
|
},
|
|
@@ -2540,28 +2537,6 @@
|
|
|
2540
2537
|
"common": {
|
|
2541
2538
|
"type": "CommonLanguageSettings",
|
|
2542
2539
|
"id": 1
|
|
2543
|
-
},
|
|
2544
|
-
"experimentalFeatures": {
|
|
2545
|
-
"type": "ExperimentalFeatures",
|
|
2546
|
-
"id": 2
|
|
2547
|
-
}
|
|
2548
|
-
},
|
|
2549
|
-
"nested": {
|
|
2550
|
-
"ExperimentalFeatures": {
|
|
2551
|
-
"fields": {
|
|
2552
|
-
"restAsyncIoEnabled": {
|
|
2553
|
-
"type": "bool",
|
|
2554
|
-
"id": 1
|
|
2555
|
-
},
|
|
2556
|
-
"protobufPythonicTypesEnabled": {
|
|
2557
|
-
"type": "bool",
|
|
2558
|
-
"id": 2
|
|
2559
|
-
},
|
|
2560
|
-
"unversionedPackageDisabled": {
|
|
2561
|
-
"type": "bool",
|
|
2562
|
-
"id": 3
|
|
2563
|
-
}
|
|
2564
|
-
}
|
|
2565
2540
|
}
|
|
2566
2541
|
}
|
|
2567
2542
|
},
|
|
@@ -2619,11 +2594,6 @@
|
|
|
2619
2594
|
"common": {
|
|
2620
2595
|
"type": "CommonLanguageSettings",
|
|
2621
2596
|
"id": 1
|
|
2622
|
-
},
|
|
2623
|
-
"renamedServices": {
|
|
2624
|
-
"keyType": "string",
|
|
2625
|
-
"type": "string",
|
|
2626
|
-
"id": 2
|
|
2627
2597
|
}
|
|
2628
2598
|
}
|
|
2629
2599
|
},
|
|
@@ -2685,19 +2655,6 @@
|
|
|
2685
2655
|
"PACKAGE_MANAGER": 20
|
|
2686
2656
|
}
|
|
2687
2657
|
},
|
|
2688
|
-
"SelectiveGapicGeneration": {
|
|
2689
|
-
"fields": {
|
|
2690
|
-
"methods": {
|
|
2691
|
-
"rule": "repeated",
|
|
2692
|
-
"type": "string",
|
|
2693
|
-
"id": 1
|
|
2694
|
-
},
|
|
2695
|
-
"generateOmittedAsInternal": {
|
|
2696
|
-
"type": "bool",
|
|
2697
|
-
"id": 2
|
|
2698
|
-
}
|
|
2699
|
-
}
|
|
2700
|
-
},
|
|
2701
2658
|
"LaunchStage": {
|
|
2702
2659
|
"values": {
|
|
2703
2660
|
"LAUNCH_STAGE_UNSPECIFIED": 0,
|
|
@@ -2757,19 +2714,12 @@
|
|
|
2757
2714
|
"type": "FileDescriptorProto",
|
|
2758
2715
|
"id": 1
|
|
2759
2716
|
}
|
|
2760
|
-
}
|
|
2761
|
-
"extensions": [
|
|
2762
|
-
[
|
|
2763
|
-
536000000,
|
|
2764
|
-
536000000
|
|
2765
|
-
]
|
|
2766
|
-
]
|
|
2717
|
+
}
|
|
2767
2718
|
},
|
|
2768
2719
|
"Edition": {
|
|
2769
2720
|
"edition": "proto2",
|
|
2770
2721
|
"values": {
|
|
2771
2722
|
"EDITION_UNKNOWN": 0,
|
|
2772
|
-
"EDITION_LEGACY": 900,
|
|
2773
2723
|
"EDITION_PROTO2": 998,
|
|
2774
2724
|
"EDITION_PROTO3": 999,
|
|
2775
2725
|
"EDITION_2023": 1000,
|
|
@@ -2808,11 +2758,6 @@
|
|
|
2808
2758
|
"type": "int32",
|
|
2809
2759
|
"id": 11
|
|
2810
2760
|
},
|
|
2811
|
-
"optionDependency": {
|
|
2812
|
-
"rule": "repeated",
|
|
2813
|
-
"type": "string",
|
|
2814
|
-
"id": 15
|
|
2815
|
-
},
|
|
2816
2761
|
"messageType": {
|
|
2817
2762
|
"rule": "repeated",
|
|
2818
2763
|
"type": "DescriptorProto",
|
|
@@ -2901,10 +2846,6 @@
|
|
|
2901
2846
|
"rule": "repeated",
|
|
2902
2847
|
"type": "string",
|
|
2903
2848
|
"id": 10
|
|
2904
|
-
},
|
|
2905
|
-
"visibility": {
|
|
2906
|
-
"type": "SymbolVisibility",
|
|
2907
|
-
"id": 11
|
|
2908
2849
|
}
|
|
2909
2850
|
},
|
|
2910
2851
|
"nested": {
|
|
@@ -3130,10 +3071,6 @@
|
|
|
3130
3071
|
"rule": "repeated",
|
|
3131
3072
|
"type": "string",
|
|
3132
3073
|
"id": 5
|
|
3133
|
-
},
|
|
3134
|
-
"visibility": {
|
|
3135
|
-
"type": "SymbolVisibility",
|
|
3136
|
-
"id": 6
|
|
3137
3074
|
}
|
|
3138
3075
|
},
|
|
3139
3076
|
"nested": {
|
|
@@ -3348,7 +3285,6 @@
|
|
|
3348
3285
|
42,
|
|
3349
3286
|
42
|
|
3350
3287
|
],
|
|
3351
|
-
"php_generic_services",
|
|
3352
3288
|
[
|
|
3353
3289
|
38,
|
|
3354
3290
|
38
|
|
@@ -3484,8 +3420,7 @@
|
|
|
3484
3420
|
"type": "bool",
|
|
3485
3421
|
"id": 10,
|
|
3486
3422
|
"options": {
|
|
3487
|
-
"default": false
|
|
3488
|
-
"deprecated": true
|
|
3423
|
+
"default": false
|
|
3489
3424
|
}
|
|
3490
3425
|
},
|
|
3491
3426
|
"debugRedact": {
|
|
@@ -3513,10 +3448,6 @@
|
|
|
3513
3448
|
"type": "FeatureSet",
|
|
3514
3449
|
"id": 21
|
|
3515
3450
|
},
|
|
3516
|
-
"featureSupport": {
|
|
3517
|
-
"type": "FeatureSupport",
|
|
3518
|
-
"id": 22
|
|
3519
|
-
},
|
|
3520
3451
|
"uninterpretedOption": {
|
|
3521
3452
|
"rule": "repeated",
|
|
3522
3453
|
"type": "UninterpretedOption",
|
|
@@ -3586,26 +3517,6 @@
|
|
|
3586
3517
|
"id": 2
|
|
3587
3518
|
}
|
|
3588
3519
|
}
|
|
3589
|
-
},
|
|
3590
|
-
"FeatureSupport": {
|
|
3591
|
-
"fields": {
|
|
3592
|
-
"editionIntroduced": {
|
|
3593
|
-
"type": "Edition",
|
|
3594
|
-
"id": 1
|
|
3595
|
-
},
|
|
3596
|
-
"editionDeprecated": {
|
|
3597
|
-
"type": "Edition",
|
|
3598
|
-
"id": 2
|
|
3599
|
-
},
|
|
3600
|
-
"deprecationWarning": {
|
|
3601
|
-
"type": "string",
|
|
3602
|
-
"id": 3
|
|
3603
|
-
},
|
|
3604
|
-
"editionRemoved": {
|
|
3605
|
-
"type": "Edition",
|
|
3606
|
-
"id": 4
|
|
3607
|
-
}
|
|
3608
|
-
}
|
|
3609
3520
|
}
|
|
3610
3521
|
}
|
|
3611
3522
|
},
|
|
@@ -3694,10 +3605,6 @@
|
|
|
3694
3605
|
"default": false
|
|
3695
3606
|
}
|
|
3696
3607
|
},
|
|
3697
|
-
"featureSupport": {
|
|
3698
|
-
"type": "FieldOptions.FeatureSupport",
|
|
3699
|
-
"id": 4
|
|
3700
|
-
},
|
|
3701
3608
|
"uninterpretedOption": {
|
|
3702
3609
|
"rule": "repeated",
|
|
3703
3610
|
"type": "UninterpretedOption",
|
|
@@ -3840,7 +3747,6 @@
|
|
|
3840
3747
|
"options": {
|
|
3841
3748
|
"retention": "RETENTION_RUNTIME",
|
|
3842
3749
|
"targets": "TARGET_TYPE_FILE",
|
|
3843
|
-
"feature_support.edition_introduced": "EDITION_2023",
|
|
3844
3750
|
"edition_defaults.edition": "EDITION_2023",
|
|
3845
3751
|
"edition_defaults.value": "EXPLICIT"
|
|
3846
3752
|
}
|
|
@@ -3851,7 +3757,6 @@
|
|
|
3851
3757
|
"options": {
|
|
3852
3758
|
"retention": "RETENTION_RUNTIME",
|
|
3853
3759
|
"targets": "TARGET_TYPE_FILE",
|
|
3854
|
-
"feature_support.edition_introduced": "EDITION_2023",
|
|
3855
3760
|
"edition_defaults.edition": "EDITION_PROTO3",
|
|
3856
3761
|
"edition_defaults.value": "OPEN"
|
|
3857
3762
|
}
|
|
@@ -3862,7 +3767,6 @@
|
|
|
3862
3767
|
"options": {
|
|
3863
3768
|
"retention": "RETENTION_RUNTIME",
|
|
3864
3769
|
"targets": "TARGET_TYPE_FILE",
|
|
3865
|
-
"feature_support.edition_introduced": "EDITION_2023",
|
|
3866
3770
|
"edition_defaults.edition": "EDITION_PROTO3",
|
|
3867
3771
|
"edition_defaults.value": "PACKED"
|
|
3868
3772
|
}
|
|
@@ -3873,7 +3777,6 @@
|
|
|
3873
3777
|
"options": {
|
|
3874
3778
|
"retention": "RETENTION_RUNTIME",
|
|
3875
3779
|
"targets": "TARGET_TYPE_FILE",
|
|
3876
|
-
"feature_support.edition_introduced": "EDITION_2023",
|
|
3877
3780
|
"edition_defaults.edition": "EDITION_PROTO3",
|
|
3878
3781
|
"edition_defaults.value": "VERIFY"
|
|
3879
3782
|
}
|
|
@@ -3884,8 +3787,7 @@
|
|
|
3884
3787
|
"options": {
|
|
3885
3788
|
"retention": "RETENTION_RUNTIME",
|
|
3886
3789
|
"targets": "TARGET_TYPE_FILE",
|
|
3887
|
-
"
|
|
3888
|
-
"edition_defaults.edition": "EDITION_LEGACY",
|
|
3790
|
+
"edition_defaults.edition": "EDITION_PROTO2",
|
|
3889
3791
|
"edition_defaults.value": "LENGTH_PREFIXED"
|
|
3890
3792
|
}
|
|
3891
3793
|
},
|
|
@@ -3895,38 +3797,27 @@
|
|
|
3895
3797
|
"options": {
|
|
3896
3798
|
"retention": "RETENTION_RUNTIME",
|
|
3897
3799
|
"targets": "TARGET_TYPE_FILE",
|
|
3898
|
-
"feature_support.edition_introduced": "EDITION_2023",
|
|
3899
3800
|
"edition_defaults.edition": "EDITION_PROTO3",
|
|
3900
3801
|
"edition_defaults.value": "ALLOW"
|
|
3901
3802
|
}
|
|
3902
|
-
},
|
|
3903
|
-
"enforceNamingStyle": {
|
|
3904
|
-
"type": "EnforceNamingStyle",
|
|
3905
|
-
"id": 7,
|
|
3906
|
-
"options": {
|
|
3907
|
-
"retention": "RETENTION_SOURCE",
|
|
3908
|
-
"targets": "TARGET_TYPE_METHOD",
|
|
3909
|
-
"feature_support.edition_introduced": "EDITION_2024",
|
|
3910
|
-
"edition_defaults.edition": "EDITION_2024",
|
|
3911
|
-
"edition_defaults.value": "STYLE2024"
|
|
3912
|
-
}
|
|
3913
|
-
},
|
|
3914
|
-
"defaultSymbolVisibility": {
|
|
3915
|
-
"type": "VisibilityFeature.DefaultSymbolVisibility",
|
|
3916
|
-
"id": 8,
|
|
3917
|
-
"options": {
|
|
3918
|
-
"retention": "RETENTION_SOURCE",
|
|
3919
|
-
"targets": "TARGET_TYPE_FILE",
|
|
3920
|
-
"feature_support.edition_introduced": "EDITION_2024",
|
|
3921
|
-
"edition_defaults.edition": "EDITION_2024",
|
|
3922
|
-
"edition_defaults.value": "EXPORT_TOP_LEVEL"
|
|
3923
|
-
}
|
|
3924
3803
|
}
|
|
3925
3804
|
},
|
|
3926
3805
|
"extensions": [
|
|
3927
3806
|
[
|
|
3928
3807
|
1000,
|
|
3929
|
-
|
|
3808
|
+
1000
|
|
3809
|
+
],
|
|
3810
|
+
[
|
|
3811
|
+
1001,
|
|
3812
|
+
1001
|
|
3813
|
+
],
|
|
3814
|
+
[
|
|
3815
|
+
1002,
|
|
3816
|
+
1002
|
|
3817
|
+
],
|
|
3818
|
+
[
|
|
3819
|
+
9990,
|
|
3820
|
+
9990
|
|
3930
3821
|
],
|
|
3931
3822
|
[
|
|
3932
3823
|
9995,
|
|
@@ -3971,13 +3862,7 @@
|
|
|
3971
3862
|
"UTF8_VALIDATION_UNKNOWN": 0,
|
|
3972
3863
|
"VERIFY": 2,
|
|
3973
3864
|
"NONE": 3
|
|
3974
|
-
}
|
|
3975
|
-
"reserved": [
|
|
3976
|
-
[
|
|
3977
|
-
1,
|
|
3978
|
-
1
|
|
3979
|
-
]
|
|
3980
|
-
]
|
|
3865
|
+
}
|
|
3981
3866
|
},
|
|
3982
3867
|
"MessageEncoding": {
|
|
3983
3868
|
"values": {
|
|
@@ -3992,33 +3877,6 @@
|
|
|
3992
3877
|
"ALLOW": 1,
|
|
3993
3878
|
"LEGACY_BEST_EFFORT": 2
|
|
3994
3879
|
}
|
|
3995
|
-
},
|
|
3996
|
-
"EnforceNamingStyle": {
|
|
3997
|
-
"values": {
|
|
3998
|
-
"ENFORCE_NAMING_STYLE_UNKNOWN": 0,
|
|
3999
|
-
"STYLE2024": 1,
|
|
4000
|
-
"STYLE_LEGACY": 2
|
|
4001
|
-
}
|
|
4002
|
-
},
|
|
4003
|
-
"VisibilityFeature": {
|
|
4004
|
-
"fields": {},
|
|
4005
|
-
"reserved": [
|
|
4006
|
-
[
|
|
4007
|
-
1,
|
|
4008
|
-
536870911
|
|
4009
|
-
]
|
|
4010
|
-
],
|
|
4011
|
-
"nested": {
|
|
4012
|
-
"DefaultSymbolVisibility": {
|
|
4013
|
-
"values": {
|
|
4014
|
-
"DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": 0,
|
|
4015
|
-
"EXPORT_ALL": 1,
|
|
4016
|
-
"EXPORT_TOP_LEVEL": 2,
|
|
4017
|
-
"LOCAL_ALL": 3,
|
|
4018
|
-
"STRICT": 4
|
|
4019
|
-
}
|
|
4020
|
-
}
|
|
4021
|
-
}
|
|
4022
3880
|
}
|
|
4023
3881
|
}
|
|
4024
3882
|
},
|
|
@@ -4046,26 +3904,11 @@
|
|
|
4046
3904
|
"type": "Edition",
|
|
4047
3905
|
"id": 3
|
|
4048
3906
|
},
|
|
4049
|
-
"
|
|
3907
|
+
"features": {
|
|
4050
3908
|
"type": "FeatureSet",
|
|
4051
|
-
"id":
|
|
4052
|
-
},
|
|
4053
|
-
"fixedFeatures": {
|
|
4054
|
-
"type": "FeatureSet",
|
|
4055
|
-
"id": 5
|
|
3909
|
+
"id": 2
|
|
4056
3910
|
}
|
|
4057
|
-
}
|
|
4058
|
-
"reserved": [
|
|
4059
|
-
[
|
|
4060
|
-
1,
|
|
4061
|
-
1
|
|
4062
|
-
],
|
|
4063
|
-
[
|
|
4064
|
-
2,
|
|
4065
|
-
2
|
|
4066
|
-
],
|
|
4067
|
-
"features"
|
|
4068
|
-
]
|
|
3911
|
+
}
|
|
4069
3912
|
}
|
|
4070
3913
|
}
|
|
4071
3914
|
},
|
|
@@ -4078,12 +3921,6 @@
|
|
|
4078
3921
|
"id": 1
|
|
4079
3922
|
}
|
|
4080
3923
|
},
|
|
4081
|
-
"extensions": [
|
|
4082
|
-
[
|
|
4083
|
-
536000000,
|
|
4084
|
-
536000000
|
|
4085
|
-
]
|
|
4086
|
-
],
|
|
4087
3924
|
"nested": {
|
|
4088
3925
|
"Location": {
|
|
4089
3926
|
"fields": {
|
|
@@ -4169,14 +4006,6 @@
|
|
|
4169
4006
|
}
|
|
4170
4007
|
}
|
|
4171
4008
|
},
|
|
4172
|
-
"SymbolVisibility": {
|
|
4173
|
-
"edition": "proto2",
|
|
4174
|
-
"values": {
|
|
4175
|
-
"VISIBILITY_UNSET": 0,
|
|
4176
|
-
"VISIBILITY_LOCAL": 1,
|
|
4177
|
-
"VISIBILITY_EXPORT": 2
|
|
4178
|
-
}
|
|
4179
|
-
},
|
|
4180
4009
|
"Duration": {
|
|
4181
4010
|
"fields": {
|
|
4182
4011
|
"seconds": {
|
package/build/src/index.js
CHANGED
package/build/src/v1/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@googlemaps/fleetengine",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"description": "Local Rides and Deliveries API client for Node.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -61,10 +61,18 @@
|
|
|
61
61
|
"long": "^5.3.1",
|
|
62
62
|
"mocha": "^11.1.0",
|
|
63
63
|
"pack-n-play": "^3.0.0",
|
|
64
|
-
"sinon": "
|
|
64
|
+
"sinon": "21.0.3",
|
|
65
65
|
"typescript": "^5.8.2"
|
|
66
66
|
},
|
|
67
67
|
"engines": {
|
|
68
68
|
"node": ">=18"
|
|
69
|
+
},
|
|
70
|
+
"overrides": {
|
|
71
|
+
"@sinonjs/fake-timers": "15.2.1"
|
|
72
|
+
},
|
|
73
|
+
"pnpm": {
|
|
74
|
+
"overrides": {
|
|
75
|
+
"@sinonjs/fake-timers": "15.2.1"
|
|
76
|
+
}
|
|
69
77
|
}
|
|
70
78
|
}
|
package/LICENSE
DELETED
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
Apache License
|
|
3
|
-
Version 2.0, January 2004
|
|
4
|
-
http://www.apache.org/licenses/
|
|
5
|
-
|
|
6
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
-
|
|
8
|
-
1. Definitions.
|
|
9
|
-
|
|
10
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
-
|
|
13
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
-
the copyright owner that is granting the License.
|
|
15
|
-
|
|
16
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
-
other entities that control, are controlled by, or are under common
|
|
18
|
-
control with that entity. For the purposes of this definition,
|
|
19
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
-
direction or management of such entity, whether by contract or
|
|
21
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
-
|
|
24
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
-
exercising permissions granted by this License.
|
|
26
|
-
|
|
27
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
-
including but not limited to software source code, documentation
|
|
29
|
-
source, and configuration files.
|
|
30
|
-
|
|
31
|
-
"Object" form shall mean any form resulting from mechanical
|
|
32
|
-
transformation or translation of a Source form, including but
|
|
33
|
-
not limited to compiled object code, generated documentation,
|
|
34
|
-
and conversions to other media types.
|
|
35
|
-
|
|
36
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
-
Object form, made available under the License, as indicated by a
|
|
38
|
-
copyright notice that is included in or attached to the work
|
|
39
|
-
(an example is provided in the Appendix below).
|
|
40
|
-
|
|
41
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
-
form, that is based on (or derived from) the Work and for which the
|
|
43
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
-
of this License, Derivative Works shall not include works that remain
|
|
46
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
-
the Work and Derivative Works thereof.
|
|
48
|
-
|
|
49
|
-
"Contribution" shall mean any work of authorship, including
|
|
50
|
-
the original version of the Work and any modifications or additions
|
|
51
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
-
means any form of electronic, verbal, or written communication sent
|
|
56
|
-
to the Licensor or its representatives, including but not limited to
|
|
57
|
-
communication on electronic mailing lists, source code control systems,
|
|
58
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
-
excluding communication that is conspicuously marked or otherwise
|
|
61
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
-
|
|
63
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
-
subsequently incorporated within the Work.
|
|
66
|
-
|
|
67
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
-
Work and such Derivative Works in Source or Object form.
|
|
73
|
-
|
|
74
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
-
(except as stated in this section) patent license to make, have made,
|
|
78
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
-
where such license applies only to those patent claims licensable
|
|
80
|
-
by such Contributor that are necessarily infringed by their
|
|
81
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
-
institute patent litigation against any entity (including a
|
|
84
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
-
or contributory patent infringement, then any patent licenses
|
|
87
|
-
granted to You under this License for that Work shall terminate
|
|
88
|
-
as of the date such litigation is filed.
|
|
89
|
-
|
|
90
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
-
modifications, and in Source or Object form, provided that You
|
|
93
|
-
meet the following conditions:
|
|
94
|
-
|
|
95
|
-
(a) You must give any other recipients of the Work or
|
|
96
|
-
Derivative Works a copy of this License; and
|
|
97
|
-
|
|
98
|
-
(b) You must cause any modified files to carry prominent notices
|
|
99
|
-
stating that You changed the files; and
|
|
100
|
-
|
|
101
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
-
that You distribute, all copyright, patent, trademark, and
|
|
103
|
-
attribution notices from the Source form of the Work,
|
|
104
|
-
excluding those notices that do not pertain to any part of
|
|
105
|
-
the Derivative Works; and
|
|
106
|
-
|
|
107
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
-
distribution, then any Derivative Works that You distribute must
|
|
109
|
-
include a readable copy of the attribution notices contained
|
|
110
|
-
within such NOTICE file, excluding those notices that do not
|
|
111
|
-
pertain to any part of the Derivative Works, in at least one
|
|
112
|
-
of the following places: within a NOTICE text file distributed
|
|
113
|
-
as part of the Derivative Works; within the Source form or
|
|
114
|
-
documentation, if provided along with the Derivative Works; or,
|
|
115
|
-
within a display generated by the Derivative Works, if and
|
|
116
|
-
wherever such third-party notices normally appear. The contents
|
|
117
|
-
of the NOTICE file are for informational purposes only and
|
|
118
|
-
do not modify the License. You may add Your own attribution
|
|
119
|
-
notices within Derivative Works that You distribute, alongside
|
|
120
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
-
that such additional attribution notices cannot be construed
|
|
122
|
-
as modifying the License.
|
|
123
|
-
|
|
124
|
-
You may add Your own copyright statement to Your modifications and
|
|
125
|
-
may provide additional or different license terms and conditions
|
|
126
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
-
the conditions stated in this License.
|
|
130
|
-
|
|
131
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
-
this License, without any additional terms or conditions.
|
|
135
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
-
the terms of any separate license agreement you may have executed
|
|
137
|
-
with Licensor regarding such Contributions.
|
|
138
|
-
|
|
139
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
-
except as required for reasonable and customary use in describing the
|
|
142
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
-
|
|
144
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
-
implied, including, without limitation, any warranties or conditions
|
|
149
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
-
appropriateness of using or redistributing the Work and assume any
|
|
152
|
-
risks associated with Your exercise of permissions under this License.
|
|
153
|
-
|
|
154
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
-
unless required by applicable law (such as deliberate and grossly
|
|
157
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
-
liable to You for damages, including any direct, indirect, special,
|
|
159
|
-
incidental, or consequential damages of any character arising as a
|
|
160
|
-
result of this License or out of the use or inability to use the
|
|
161
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
-
other commercial damages or losses), even if such Contributor
|
|
164
|
-
has been advised of the possibility of such damages.
|
|
165
|
-
|
|
166
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
-
or other liability obligations and/or rights consistent with this
|
|
170
|
-
License. However, in accepting such obligations, You may act only
|
|
171
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
-
defend, and hold each Contributor harmless for any liability
|
|
174
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
-
of your accepting any such warranty or additional liability.
|
|
176
|
-
|
|
177
|
-
END OF TERMS AND CONDITIONS
|
|
178
|
-
|
|
179
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
-
|
|
181
|
-
To apply the Apache License to your work, attach the following
|
|
182
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
-
replaced with your own identifying information. (Don't include
|
|
184
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
-
comment syntax for the file format. We also recommend that a
|
|
186
|
-
file or class name and description of purpose be included on the
|
|
187
|
-
same "printed page" as the copyright notice for easier
|
|
188
|
-
identification within third-party archives.
|
|
189
|
-
|
|
190
|
-
Copyright [yyyy] [name of copyright owner]
|
|
191
|
-
|
|
192
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
-
you may not use this file except in compliance with the License.
|
|
194
|
-
You may obtain a copy of the License at
|
|
195
|
-
|
|
196
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
-
|
|
198
|
-
Unless required by applicable law or agreed to in writing, software
|
|
199
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
-
See the License for the specific language governing permissions and
|
|
202
|
-
limitations under the License.
|