@googlemaps/fleetengine-delivery 0.6.0 → 0.6.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 +52 -135
- package/build/protos/protos.d.ts +5 -519
- package/build/protos/protos.js +52 -1725
- package/build/protos/protos.json +22 -193
- package/build/src/index.js +1 -1
- package/build/src/v1/delivery_service_client.js +1 -1
- package/build/src/v1/index.js +1 -1
- package/package.json +10 -2
- package/LICENSE +0 -202
package/build/protos/protos.json
CHANGED
|
@@ -1573,7 +1573,8 @@
|
|
|
1573
1573
|
"java_multiple_files": true,
|
|
1574
1574
|
"java_outer_classname": "RoutingProto",
|
|
1575
1575
|
"java_package": "com.google.api",
|
|
1576
|
-
"objc_class_prefix": "GAPI"
|
|
1576
|
+
"objc_class_prefix": "GAPI",
|
|
1577
|
+
"cc_enable_arenas": true
|
|
1577
1578
|
},
|
|
1578
1579
|
"nested": {
|
|
1579
1580
|
"fieldBehavior": {
|
|
@@ -1719,10 +1720,6 @@
|
|
|
1719
1720
|
"rule": "repeated",
|
|
1720
1721
|
"type": "ClientLibraryDestination",
|
|
1721
1722
|
"id": 2
|
|
1722
|
-
},
|
|
1723
|
-
"selectiveGapicGeneration": {
|
|
1724
|
-
"type": "SelectiveGapicGeneration",
|
|
1725
|
-
"id": 3
|
|
1726
1723
|
}
|
|
1727
1724
|
}
|
|
1728
1725
|
},
|
|
@@ -1863,28 +1860,6 @@
|
|
|
1863
1860
|
"common": {
|
|
1864
1861
|
"type": "CommonLanguageSettings",
|
|
1865
1862
|
"id": 1
|
|
1866
|
-
},
|
|
1867
|
-
"experimentalFeatures": {
|
|
1868
|
-
"type": "ExperimentalFeatures",
|
|
1869
|
-
"id": 2
|
|
1870
|
-
}
|
|
1871
|
-
},
|
|
1872
|
-
"nested": {
|
|
1873
|
-
"ExperimentalFeatures": {
|
|
1874
|
-
"fields": {
|
|
1875
|
-
"restAsyncIoEnabled": {
|
|
1876
|
-
"type": "bool",
|
|
1877
|
-
"id": 1
|
|
1878
|
-
},
|
|
1879
|
-
"protobufPythonicTypesEnabled": {
|
|
1880
|
-
"type": "bool",
|
|
1881
|
-
"id": 2
|
|
1882
|
-
},
|
|
1883
|
-
"unversionedPackageDisabled": {
|
|
1884
|
-
"type": "bool",
|
|
1885
|
-
"id": 3
|
|
1886
|
-
}
|
|
1887
|
-
}
|
|
1888
1863
|
}
|
|
1889
1864
|
}
|
|
1890
1865
|
},
|
|
@@ -1942,11 +1917,6 @@
|
|
|
1942
1917
|
"common": {
|
|
1943
1918
|
"type": "CommonLanguageSettings",
|
|
1944
1919
|
"id": 1
|
|
1945
|
-
},
|
|
1946
|
-
"renamedServices": {
|
|
1947
|
-
"keyType": "string",
|
|
1948
|
-
"type": "string",
|
|
1949
|
-
"id": 2
|
|
1950
1920
|
}
|
|
1951
1921
|
}
|
|
1952
1922
|
},
|
|
@@ -2008,19 +1978,6 @@
|
|
|
2008
1978
|
"PACKAGE_MANAGER": 20
|
|
2009
1979
|
}
|
|
2010
1980
|
},
|
|
2011
|
-
"SelectiveGapicGeneration": {
|
|
2012
|
-
"fields": {
|
|
2013
|
-
"methods": {
|
|
2014
|
-
"rule": "repeated",
|
|
2015
|
-
"type": "string",
|
|
2016
|
-
"id": 1
|
|
2017
|
-
},
|
|
2018
|
-
"generateOmittedAsInternal": {
|
|
2019
|
-
"type": "bool",
|
|
2020
|
-
"id": 2
|
|
2021
|
-
}
|
|
2022
|
-
}
|
|
2023
|
-
},
|
|
2024
1981
|
"LaunchStage": {
|
|
2025
1982
|
"values": {
|
|
2026
1983
|
"LAUNCH_STAGE_UNSPECIFIED": 0,
|
|
@@ -2157,19 +2114,12 @@
|
|
|
2157
2114
|
"type": "FileDescriptorProto",
|
|
2158
2115
|
"id": 1
|
|
2159
2116
|
}
|
|
2160
|
-
}
|
|
2161
|
-
"extensions": [
|
|
2162
|
-
[
|
|
2163
|
-
536000000,
|
|
2164
|
-
536000000
|
|
2165
|
-
]
|
|
2166
|
-
]
|
|
2117
|
+
}
|
|
2167
2118
|
},
|
|
2168
2119
|
"Edition": {
|
|
2169
2120
|
"edition": "proto2",
|
|
2170
2121
|
"values": {
|
|
2171
2122
|
"EDITION_UNKNOWN": 0,
|
|
2172
|
-
"EDITION_LEGACY": 900,
|
|
2173
2123
|
"EDITION_PROTO2": 998,
|
|
2174
2124
|
"EDITION_PROTO3": 999,
|
|
2175
2125
|
"EDITION_2023": 1000,
|
|
@@ -2208,11 +2158,6 @@
|
|
|
2208
2158
|
"type": "int32",
|
|
2209
2159
|
"id": 11
|
|
2210
2160
|
},
|
|
2211
|
-
"optionDependency": {
|
|
2212
|
-
"rule": "repeated",
|
|
2213
|
-
"type": "string",
|
|
2214
|
-
"id": 15
|
|
2215
|
-
},
|
|
2216
2161
|
"messageType": {
|
|
2217
2162
|
"rule": "repeated",
|
|
2218
2163
|
"type": "DescriptorProto",
|
|
@@ -2301,10 +2246,6 @@
|
|
|
2301
2246
|
"rule": "repeated",
|
|
2302
2247
|
"type": "string",
|
|
2303
2248
|
"id": 10
|
|
2304
|
-
},
|
|
2305
|
-
"visibility": {
|
|
2306
|
-
"type": "SymbolVisibility",
|
|
2307
|
-
"id": 11
|
|
2308
2249
|
}
|
|
2309
2250
|
},
|
|
2310
2251
|
"nested": {
|
|
@@ -2530,10 +2471,6 @@
|
|
|
2530
2471
|
"rule": "repeated",
|
|
2531
2472
|
"type": "string",
|
|
2532
2473
|
"id": 5
|
|
2533
|
-
},
|
|
2534
|
-
"visibility": {
|
|
2535
|
-
"type": "SymbolVisibility",
|
|
2536
|
-
"id": 6
|
|
2537
2474
|
}
|
|
2538
2475
|
},
|
|
2539
2476
|
"nested": {
|
|
@@ -2748,7 +2685,6 @@
|
|
|
2748
2685
|
42,
|
|
2749
2686
|
42
|
|
2750
2687
|
],
|
|
2751
|
-
"php_generic_services",
|
|
2752
2688
|
[
|
|
2753
2689
|
38,
|
|
2754
2690
|
38
|
|
@@ -2884,8 +2820,7 @@
|
|
|
2884
2820
|
"type": "bool",
|
|
2885
2821
|
"id": 10,
|
|
2886
2822
|
"options": {
|
|
2887
|
-
"default": false
|
|
2888
|
-
"deprecated": true
|
|
2823
|
+
"default": false
|
|
2889
2824
|
}
|
|
2890
2825
|
},
|
|
2891
2826
|
"debugRedact": {
|
|
@@ -2913,10 +2848,6 @@
|
|
|
2913
2848
|
"type": "FeatureSet",
|
|
2914
2849
|
"id": 21
|
|
2915
2850
|
},
|
|
2916
|
-
"featureSupport": {
|
|
2917
|
-
"type": "FeatureSupport",
|
|
2918
|
-
"id": 22
|
|
2919
|
-
},
|
|
2920
2851
|
"uninterpretedOption": {
|
|
2921
2852
|
"rule": "repeated",
|
|
2922
2853
|
"type": "UninterpretedOption",
|
|
@@ -2986,26 +2917,6 @@
|
|
|
2986
2917
|
"id": 2
|
|
2987
2918
|
}
|
|
2988
2919
|
}
|
|
2989
|
-
},
|
|
2990
|
-
"FeatureSupport": {
|
|
2991
|
-
"fields": {
|
|
2992
|
-
"editionIntroduced": {
|
|
2993
|
-
"type": "Edition",
|
|
2994
|
-
"id": 1
|
|
2995
|
-
},
|
|
2996
|
-
"editionDeprecated": {
|
|
2997
|
-
"type": "Edition",
|
|
2998
|
-
"id": 2
|
|
2999
|
-
},
|
|
3000
|
-
"deprecationWarning": {
|
|
3001
|
-
"type": "string",
|
|
3002
|
-
"id": 3
|
|
3003
|
-
},
|
|
3004
|
-
"editionRemoved": {
|
|
3005
|
-
"type": "Edition",
|
|
3006
|
-
"id": 4
|
|
3007
|
-
}
|
|
3008
|
-
}
|
|
3009
2920
|
}
|
|
3010
2921
|
}
|
|
3011
2922
|
},
|
|
@@ -3094,10 +3005,6 @@
|
|
|
3094
3005
|
"default": false
|
|
3095
3006
|
}
|
|
3096
3007
|
},
|
|
3097
|
-
"featureSupport": {
|
|
3098
|
-
"type": "FieldOptions.FeatureSupport",
|
|
3099
|
-
"id": 4
|
|
3100
|
-
},
|
|
3101
3008
|
"uninterpretedOption": {
|
|
3102
3009
|
"rule": "repeated",
|
|
3103
3010
|
"type": "UninterpretedOption",
|
|
@@ -3240,7 +3147,6 @@
|
|
|
3240
3147
|
"options": {
|
|
3241
3148
|
"retention": "RETENTION_RUNTIME",
|
|
3242
3149
|
"targets": "TARGET_TYPE_FILE",
|
|
3243
|
-
"feature_support.edition_introduced": "EDITION_2023",
|
|
3244
3150
|
"edition_defaults.edition": "EDITION_2023",
|
|
3245
3151
|
"edition_defaults.value": "EXPLICIT"
|
|
3246
3152
|
}
|
|
@@ -3251,7 +3157,6 @@
|
|
|
3251
3157
|
"options": {
|
|
3252
3158
|
"retention": "RETENTION_RUNTIME",
|
|
3253
3159
|
"targets": "TARGET_TYPE_FILE",
|
|
3254
|
-
"feature_support.edition_introduced": "EDITION_2023",
|
|
3255
3160
|
"edition_defaults.edition": "EDITION_PROTO3",
|
|
3256
3161
|
"edition_defaults.value": "OPEN"
|
|
3257
3162
|
}
|
|
@@ -3262,7 +3167,6 @@
|
|
|
3262
3167
|
"options": {
|
|
3263
3168
|
"retention": "RETENTION_RUNTIME",
|
|
3264
3169
|
"targets": "TARGET_TYPE_FILE",
|
|
3265
|
-
"feature_support.edition_introduced": "EDITION_2023",
|
|
3266
3170
|
"edition_defaults.edition": "EDITION_PROTO3",
|
|
3267
3171
|
"edition_defaults.value": "PACKED"
|
|
3268
3172
|
}
|
|
@@ -3273,7 +3177,6 @@
|
|
|
3273
3177
|
"options": {
|
|
3274
3178
|
"retention": "RETENTION_RUNTIME",
|
|
3275
3179
|
"targets": "TARGET_TYPE_FILE",
|
|
3276
|
-
"feature_support.edition_introduced": "EDITION_2023",
|
|
3277
3180
|
"edition_defaults.edition": "EDITION_PROTO3",
|
|
3278
3181
|
"edition_defaults.value": "VERIFY"
|
|
3279
3182
|
}
|
|
@@ -3284,8 +3187,7 @@
|
|
|
3284
3187
|
"options": {
|
|
3285
3188
|
"retention": "RETENTION_RUNTIME",
|
|
3286
3189
|
"targets": "TARGET_TYPE_FILE",
|
|
3287
|
-
"
|
|
3288
|
-
"edition_defaults.edition": "EDITION_LEGACY",
|
|
3190
|
+
"edition_defaults.edition": "EDITION_PROTO2",
|
|
3289
3191
|
"edition_defaults.value": "LENGTH_PREFIXED"
|
|
3290
3192
|
}
|
|
3291
3193
|
},
|
|
@@ -3295,38 +3197,27 @@
|
|
|
3295
3197
|
"options": {
|
|
3296
3198
|
"retention": "RETENTION_RUNTIME",
|
|
3297
3199
|
"targets": "TARGET_TYPE_FILE",
|
|
3298
|
-
"feature_support.edition_introduced": "EDITION_2023",
|
|
3299
3200
|
"edition_defaults.edition": "EDITION_PROTO3",
|
|
3300
3201
|
"edition_defaults.value": "ALLOW"
|
|
3301
3202
|
}
|
|
3302
|
-
},
|
|
3303
|
-
"enforceNamingStyle": {
|
|
3304
|
-
"type": "EnforceNamingStyle",
|
|
3305
|
-
"id": 7,
|
|
3306
|
-
"options": {
|
|
3307
|
-
"retention": "RETENTION_SOURCE",
|
|
3308
|
-
"targets": "TARGET_TYPE_METHOD",
|
|
3309
|
-
"feature_support.edition_introduced": "EDITION_2024",
|
|
3310
|
-
"edition_defaults.edition": "EDITION_2024",
|
|
3311
|
-
"edition_defaults.value": "STYLE2024"
|
|
3312
|
-
}
|
|
3313
|
-
},
|
|
3314
|
-
"defaultSymbolVisibility": {
|
|
3315
|
-
"type": "VisibilityFeature.DefaultSymbolVisibility",
|
|
3316
|
-
"id": 8,
|
|
3317
|
-
"options": {
|
|
3318
|
-
"retention": "RETENTION_SOURCE",
|
|
3319
|
-
"targets": "TARGET_TYPE_FILE",
|
|
3320
|
-
"feature_support.edition_introduced": "EDITION_2024",
|
|
3321
|
-
"edition_defaults.edition": "EDITION_2024",
|
|
3322
|
-
"edition_defaults.value": "EXPORT_TOP_LEVEL"
|
|
3323
|
-
}
|
|
3324
3203
|
}
|
|
3325
3204
|
},
|
|
3326
3205
|
"extensions": [
|
|
3327
3206
|
[
|
|
3328
3207
|
1000,
|
|
3329
|
-
|
|
3208
|
+
1000
|
|
3209
|
+
],
|
|
3210
|
+
[
|
|
3211
|
+
1001,
|
|
3212
|
+
1001
|
|
3213
|
+
],
|
|
3214
|
+
[
|
|
3215
|
+
1002,
|
|
3216
|
+
1002
|
|
3217
|
+
],
|
|
3218
|
+
[
|
|
3219
|
+
9990,
|
|
3220
|
+
9990
|
|
3330
3221
|
],
|
|
3331
3222
|
[
|
|
3332
3223
|
9995,
|
|
@@ -3371,13 +3262,7 @@
|
|
|
3371
3262
|
"UTF8_VALIDATION_UNKNOWN": 0,
|
|
3372
3263
|
"VERIFY": 2,
|
|
3373
3264
|
"NONE": 3
|
|
3374
|
-
}
|
|
3375
|
-
"reserved": [
|
|
3376
|
-
[
|
|
3377
|
-
1,
|
|
3378
|
-
1
|
|
3379
|
-
]
|
|
3380
|
-
]
|
|
3265
|
+
}
|
|
3381
3266
|
},
|
|
3382
3267
|
"MessageEncoding": {
|
|
3383
3268
|
"values": {
|
|
@@ -3392,33 +3277,6 @@
|
|
|
3392
3277
|
"ALLOW": 1,
|
|
3393
3278
|
"LEGACY_BEST_EFFORT": 2
|
|
3394
3279
|
}
|
|
3395
|
-
},
|
|
3396
|
-
"EnforceNamingStyle": {
|
|
3397
|
-
"values": {
|
|
3398
|
-
"ENFORCE_NAMING_STYLE_UNKNOWN": 0,
|
|
3399
|
-
"STYLE2024": 1,
|
|
3400
|
-
"STYLE_LEGACY": 2
|
|
3401
|
-
}
|
|
3402
|
-
},
|
|
3403
|
-
"VisibilityFeature": {
|
|
3404
|
-
"fields": {},
|
|
3405
|
-
"reserved": [
|
|
3406
|
-
[
|
|
3407
|
-
1,
|
|
3408
|
-
536870911
|
|
3409
|
-
]
|
|
3410
|
-
],
|
|
3411
|
-
"nested": {
|
|
3412
|
-
"DefaultSymbolVisibility": {
|
|
3413
|
-
"values": {
|
|
3414
|
-
"DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": 0,
|
|
3415
|
-
"EXPORT_ALL": 1,
|
|
3416
|
-
"EXPORT_TOP_LEVEL": 2,
|
|
3417
|
-
"LOCAL_ALL": 3,
|
|
3418
|
-
"STRICT": 4
|
|
3419
|
-
}
|
|
3420
|
-
}
|
|
3421
|
-
}
|
|
3422
3280
|
}
|
|
3423
3281
|
}
|
|
3424
3282
|
},
|
|
@@ -3446,26 +3304,11 @@
|
|
|
3446
3304
|
"type": "Edition",
|
|
3447
3305
|
"id": 3
|
|
3448
3306
|
},
|
|
3449
|
-
"
|
|
3307
|
+
"features": {
|
|
3450
3308
|
"type": "FeatureSet",
|
|
3451
|
-
"id":
|
|
3452
|
-
},
|
|
3453
|
-
"fixedFeatures": {
|
|
3454
|
-
"type": "FeatureSet",
|
|
3455
|
-
"id": 5
|
|
3309
|
+
"id": 2
|
|
3456
3310
|
}
|
|
3457
|
-
}
|
|
3458
|
-
"reserved": [
|
|
3459
|
-
[
|
|
3460
|
-
1,
|
|
3461
|
-
1
|
|
3462
|
-
],
|
|
3463
|
-
[
|
|
3464
|
-
2,
|
|
3465
|
-
2
|
|
3466
|
-
],
|
|
3467
|
-
"features"
|
|
3468
|
-
]
|
|
3311
|
+
}
|
|
3469
3312
|
}
|
|
3470
3313
|
}
|
|
3471
3314
|
},
|
|
@@ -3478,12 +3321,6 @@
|
|
|
3478
3321
|
"id": 1
|
|
3479
3322
|
}
|
|
3480
3323
|
},
|
|
3481
|
-
"extensions": [
|
|
3482
|
-
[
|
|
3483
|
-
536000000,
|
|
3484
|
-
536000000
|
|
3485
|
-
]
|
|
3486
|
-
],
|
|
3487
3324
|
"nested": {
|
|
3488
3325
|
"Location": {
|
|
3489
3326
|
"fields": {
|
|
@@ -3569,14 +3406,6 @@
|
|
|
3569
3406
|
}
|
|
3570
3407
|
}
|
|
3571
3408
|
},
|
|
3572
|
-
"SymbolVisibility": {
|
|
3573
|
-
"edition": "proto2",
|
|
3574
|
-
"values": {
|
|
3575
|
-
"VISIBILITY_UNSET": 0,
|
|
3576
|
-
"VISIBILITY_LOCAL": 1,
|
|
3577
|
-
"VISIBILITY_EXPORT": 2
|
|
3578
|
-
}
|
|
3579
|
-
},
|
|
3580
3409
|
"Timestamp": {
|
|
3581
3410
|
"fields": {
|
|
3582
3411
|
"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-delivery",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Last Mile Fleet Solution Delivery 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.
|