@snap/camera-kit 0.22.0 → 1.0.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.
- package/LICENSE.md +1122 -537
- package/README.md +1 -1
- package/dist/CameraKit.d.ts +3 -3
- package/dist/CameraKit.d.ts.map +1 -1
- package/dist/CameraKit.js +1 -2
- package/dist/CameraKit.js.map +1 -1
- package/dist/RootServices.d.ts +78 -0
- package/dist/RootServices.d.ts.map +1 -0
- package/dist/RootServices.js.map +1 -0
- package/dist/bootstrapCameraKit.d.ts +3 -4
- package/dist/bootstrapCameraKit.d.ts.map +1 -1
- package/dist/bootstrapCameraKit.js +8 -8
- package/dist/bootstrapCameraKit.js.map +1 -1
- package/dist/clients/createTsProtoClient.d.ts +2 -2
- package/dist/clients/createTsProtoClient.d.ts.map +1 -1
- package/dist/clients/createTsProtoClient.js.map +1 -1
- package/dist/clients/grpcHandler.d.ts.map +1 -1
- package/dist/clients/grpcHandler.js +1 -1
- package/dist/clients/grpcHandler.js.map +1 -1
- package/dist/clients/lensesClient.js +1 -1
- package/dist/clients/lensesClient.js.map +1 -1
- package/dist/clients/metricsClient.d.ts.map +1 -1
- package/dist/clients/metricsClient.js +1 -1
- package/dist/clients/metricsClient.js.map +1 -1
- package/dist/common/pageVisibility.js +1 -1
- package/dist/common/pageVisibility.js.map +1 -1
- package/dist/configuration.d.ts.map +1 -1
- package/dist/configuration.js +1 -1
- package/dist/configuration.js.map +1 -1
- package/dist/environment.d.ts.map +1 -1
- package/dist/environment.js +1 -1
- package/dist/environment.js.map +1 -1
- package/dist/extensions/RemoteApiServices.js +1 -1
- package/dist/extensions/RemoteApiServices.js.map +1 -1
- package/dist/extensions/UriHandlers.js +1 -1
- package/dist/extensions/UriHandlers.js.map +1 -1
- package/dist/extensions/uriHandlersRegister.d.ts.map +1 -1
- package/dist/extensions/uriHandlersRegister.js +1 -1
- package/dist/extensions/uriHandlersRegister.js.map +1 -1
- package/dist/generated-proto/blizzard/cameraKitEvents.d.ts +45 -9270
- package/dist/generated-proto/blizzard/cameraKitEvents.d.ts.map +1 -1
- package/dist/generated-proto/blizzard/cameraKitEvents.js +300 -123
- package/dist/generated-proto/blizzard/cameraKitEvents.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/business_events.d.ts +12 -32
- package/dist/generated-proto/pb_schema/camera_kit/v3/business_events.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/business_events.js +77 -37
- package/dist/generated-proto/pb_schema/camera_kit/v3/business_events.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/export.d.ts +19 -454
- package/dist/generated-proto/pb_schema/camera_kit/v3/export.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/export.js +219 -118
- package/dist/generated-proto/pb_schema/camera_kit/v3/export.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/features/ranking_info.d.ts +12 -12
- package/dist/generated-proto/pb_schema/camera_kit/v3/features/ranking_info.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/features/ranking_info.js +16 -13
- package/dist/generated-proto/pb_schema/camera_kit/v3/features/ranking_info.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/features/remote_api_info.d.ts +12 -12
- package/dist/generated-proto/pb_schema/camera_kit/v3/features/remote_api_info.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/features/remote_api_info.js +16 -13
- package/dist/generated-proto/pb_schema/camera_kit/v3/features/remote_api_info.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/legal_prompt.d.ts +13 -54
- package/dist/generated-proto/pb_schema/camera_kit/v3/legal_prompt.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/legal_prompt.js +61 -34
- package/dist/generated-proto/pb_schema/camera_kit/v3/legal_prompt.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/lens.d.ts +19 -299
- package/dist/generated-proto/pb_schema/camera_kit/v3/lens.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/lens.js +294 -133
- package/dist/generated-proto/pb_schema/camera_kit/v3/lens.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/operational_metrics.d.ts +14 -148
- package/dist/generated-proto/pb_schema/camera_kit/v3/operational_metrics.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/operational_metrics.js +74 -48
- package/dist/generated-proto/pb_schema/camera_kit/v3/operational_metrics.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/ranking.d.ts +12 -18
- package/dist/generated-proto/pb_schema/camera_kit/v3/ranking.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/ranking.js +34 -19
- package/dist/generated-proto/pb_schema/camera_kit/v3/ranking.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/remote_api_spec.d.ts +19 -516
- package/dist/generated-proto/pb_schema/camera_kit/v3/remote_api_spec.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/remote_api_spec.js +164 -80
- package/dist/generated-proto/pb_schema/camera_kit/v3/remote_api_spec.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/service.d.ts +80 -2371
- package/dist/generated-proto/pb_schema/camera_kit/v3/service.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/service.js +847 -174
- package/dist/generated-proto/pb_schema/camera_kit/v3/service.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/app_launch_type.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/app_launch_type.js +0 -6
- package/dist/generated-proto/pb_schema/cdp/cof/app_launch_type.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/benchmark.d.ts +18 -59
- package/dist/generated-proto/pb_schema/cdp/cof/benchmark.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/benchmark.js +88 -52
- package/dist/generated-proto/pb_schema/cdp/cof/benchmark.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/benchmark_name.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/benchmark_name.js +0 -6
- package/dist/generated-proto/pb_schema/cdp/cof/benchmark_name.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/billboard_provided_signals.d.ts +12 -106
- package/dist/generated-proto/pb_schema/cdp/cof/billboard_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/billboard_provided_signals.js +328 -140
- package/dist/generated-proto/pb_schema/cdp/cof/billboard_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/bolt_provided_signals.d.ts +12 -18
- package/dist/generated-proto/pb_schema/cdp/cof/bolt_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/bolt_provided_signals.js +35 -20
- package/dist/generated-proto/pb_schema/cdp/cof/bolt_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/camera_provided_signals.d.ts +12 -34
- package/dist/generated-proto/pb_schema/cdp/cof/camera_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/camera_provided_signals.js +86 -39
- package/dist/generated-proto/pb_schema/cdp/cof/camera_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/circumstance_service.d.ts +47 -28591
- package/dist/generated-proto/pb_schema/cdp/cof/circumstance_service.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/circumstance_service.js +644 -348
- package/dist/generated-proto/pb_schema/cdp/cof/circumstance_service.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/cognac_provided_signals.d.ts +12 -12
- package/dist/generated-proto/pb_schema/cdp/cof/cognac_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/cognac_provided_signals.js +16 -13
- package/dist/generated-proto/pb_schema/cdp/cof/cognac_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/config_request.d.ts +18 -214
- package/dist/generated-proto/pb_schema/cdp/cof/config_request.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/config_request.js +362 -157
- package/dist/generated-proto/pb_schema/cdp/cof/config_request.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/config_response.d.ts +20 -3801
- package/dist/generated-proto/pb_schema/cdp/cof/config_response.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/config_response.js +144 -46
- package/dist/generated-proto/pb_schema/cdp/cof/config_response.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/config_result.d.ts +49 -10060
- package/dist/generated-proto/pb_schema/cdp/cof/config_result.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/config_result.js +443 -182
- package/dist/generated-proto/pb_schema/cdp/cof/config_result.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/contact_authorization_status.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/contact_authorization_status.js +0 -6
- package/dist/generated-proto/pb_schema/cdp/cof/contact_authorization_status.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/content_manager_provided_signals.d.ts +12 -12
- package/dist/generated-proto/pb_schema/cdp/cof/content_manager_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/content_manager_provided_signals.js +16 -13
- package/dist/generated-proto/pb_schema/cdp/cof/content_manager_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/creative_tools_provided_signals.d.ts +12 -14
- package/dist/generated-proto/pb_schema/cdp/cof/creative_tools_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/creative_tools_provided_signals.js +24 -17
- package/dist/generated-proto/pb_schema/cdp/cof/creative_tools_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/debug_info.d.ts +14 -56
- package/dist/generated-proto/pb_schema/cdp/cof/debug_info.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/debug_info.js +78 -45
- package/dist/generated-proto/pb_schema/cdp/cof/debug_info.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/discover_feed_provided_signals.d.ts +28 -0
- package/dist/generated-proto/pb_schema/cdp/cof/discover_feed_provided_signals.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/discover_feed_provided_signals.js +89 -0
- package/dist/generated-proto/pb_schema/cdp/cof/discover_feed_provided_signals.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/feature_provided_signals.d.ts +28 -1103
- package/dist/generated-proto/pb_schema/cdp/cof/feature_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/feature_provided_signals.js +358 -210
- package/dist/generated-proto/pb_schema/cdp/cof/feature_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/lenses_provided_signals.d.ts +12 -16
- package/dist/generated-proto/pb_schema/cdp/cof/lenses_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/lenses_provided_signals.js +31 -23
- package/dist/generated-proto/pb_schema/cdp/cof/lenses_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/mdp_media_attribution.d.ts +13 -15
- package/dist/generated-proto/pb_schema/cdp/cof/mdp_media_attribution.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/mdp_media_attribution.js +22 -15
- package/dist/generated-proto/pb_schema/cdp/cof/mdp_media_attribution.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/media_provided_signals.d.ts +12 -14
- package/dist/generated-proto/pb_schema/cdp/cof/media_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/media_provided_signals.js +22 -15
- package/dist/generated-proto/pb_schema/cdp/cof/media_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/namespace.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/namespace.js +0 -6
- package/dist/generated-proto/pb_schema/cdp/cof/namespace.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/opera_provided_signals.d.ts +12 -16
- package/dist/generated-proto/pb_schema/cdp/cof/opera_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/opera_provided_signals.js +29 -18
- package/dist/generated-proto/pb_schema/cdp/cof/opera_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/perception_provided_signals.d.ts +12 -12
- package/dist/generated-proto/pb_schema/cdp/cof/perception_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/perception_provided_signals.js +16 -13
- package/dist/generated-proto/pb_schema/cdp/cof/perception_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/recipients_provided_signals.d.ts +12 -12
- package/dist/generated-proto/pb_schema/cdp/cof/recipients_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/recipients_provided_signals.js +16 -13
- package/dist/generated-proto/pb_schema/cdp/cof/recipients_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/routing_provided_signals.d.ts +12 -12
- package/dist/generated-proto/pb_schema/cdp/cof/routing_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/routing_provided_signals.js +16 -13
- package/dist/generated-proto/pb_schema/cdp/cof/routing_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/snap_kit_provided_signals.d.ts +12 -12
- package/dist/generated-proto/pb_schema/cdp/cof/snap_kit_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/snap_kit_provided_signals.js +16 -13
- package/dist/generated-proto/pb_schema/cdp/cof/snap_kit_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/upload_provided_signals.d.ts +12 -18
- package/dist/generated-proto/pb_schema/cdp/cof/upload_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/upload_provided_signals.js +35 -20
- package/dist/generated-proto/pb_schema/cdp/cof/upload_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/media/snap_source.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/media/snap_source.js +0 -6
- package/dist/generated-proto/pb_schema/cdp/media/snap_source.js.map +1 -1
- package/dist/generated-proto/pb_schema/common/ruid.d.ts +12 -16
- package/dist/generated-proto/pb_schema/common/ruid.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/common/ruid.js +28 -17
- package/dist/generated-proto/pb_schema/common/ruid.js.map +1 -1
- package/dist/generated-proto/pb_schema/common/value.d.ts +25 -123
- package/dist/generated-proto/pb_schema/common/value.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/common/value.js +136 -71
- package/dist/generated-proto/pb_schema/common/value.js.map +1 -1
- package/dist/generated-proto/pb_schema/content/asset.d.ts +12 -14
- package/dist/generated-proto/pb_schema/content/asset.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/content/asset.js +22 -15
- package/dist/generated-proto/pb_schema/content/asset.js.map +1 -1
- package/dist/generated-proto/pb_schema/content/media_reference.d.ts +13 -46
- package/dist/generated-proto/pb_schema/content/media_reference.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/content/media_reference.js +86 -47
- package/dist/generated-proto/pb_schema/content/media_reference.js.map +1 -1
- package/dist/generated-proto/pb_schema/content/media_source.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/content/media_source.js +0 -6
- package/dist/generated-proto/pb_schema/content/media_source.js.map +1 -1
- package/dist/generated-proto/pb_schema/content/media_types.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/content/media_types.js +0 -6
- package/dist/generated-proto/pb_schema/content/media_types.js.map +1 -1
- package/dist/generated-proto/pb_schema/google/api/annotations.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/google/api/annotations.js +0 -6
- package/dist/generated-proto/pb_schema/google/api/annotations.js.map +1 -1
- package/dist/generated-proto/pb_schema/google/api/http.d.ts +15 -3336
- package/dist/generated-proto/pb_schema/google/api/http.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/google/api/http.js +129 -68
- package/dist/generated-proto/pb_schema/google/api/http.js.map +1 -1
- package/dist/generated-proto/pb_schema/google/protobuf/any.d.ts +12 -14
- package/dist/generated-proto/pb_schema/google/protobuf/any.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/google/protobuf/any.js +24 -17
- package/dist/generated-proto/pb_schema/google/protobuf/any.js.map +1 -1
- package/dist/generated-proto/pb_schema/google/protobuf/descriptor.d.ts +126 -50157
- package/dist/generated-proto/pb_schema/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/google/protobuf/descriptor.js +1162 -563
- package/dist/generated-proto/pb_schema/google/protobuf/descriptor.js.map +1 -1
- package/dist/generated-proto/pb_schema/google/protobuf/timestamp.d.ts +12 -14
- package/dist/generated-proto/pb_schema/google/protobuf/timestamp.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/google/protobuf/timestamp.js +23 -19
- package/dist/generated-proto/pb_schema/google/protobuf/timestamp.js.map +1 -1
- package/dist/generated-proto/pb_schema/google/protobuf/wrappers.d.ts +20 -84
- package/dist/generated-proto/pb_schema/google/protobuf/wrappers.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/google/protobuf/wrappers.js +141 -77
- package/dist/generated-proto/pb_schema/google/protobuf/wrappers.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/geocircle.d.ts +12 -23
- package/dist/generated-proto/pb_schema/lenses/geocircle.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/geocircle.js +26 -18
- package/dist/generated-proto/pb_schema/lenses/geocircle.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/geopoint.d.ts +12 -14
- package/dist/generated-proto/pb_schema/lenses/geopoint.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/geopoint.js +22 -15
- package/dist/generated-proto/pb_schema/lenses/geopoint.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/launch_params.d.ts +12 -12
- package/dist/generated-proto/pb_schema/lenses/launch_params.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/launch_params.js +18 -15
- package/dist/generated-proto/pb_schema/lenses/launch_params.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/launchdata.d.ts +15 -324
- package/dist/generated-proto/pb_schema/lenses/launchdata.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/launchdata.js +112 -66
- package/dist/generated-proto/pb_schema/lenses/launchdata.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/lures.d.ts +12 -91
- package/dist/generated-proto/pb_schema/lenses/lures.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/lures.js +37 -28
- package/dist/generated-proto/pb_schema/lenses/lures.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/persistent_store.d.ts +12 -12
- package/dist/generated-proto/pb_schema/lenses/persistent_store.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/persistent_store.js +18 -15
- package/dist/generated-proto/pb_schema/lenses/persistent_store.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_service.d.ts +30 -396
- package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_service.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_service.js +520 -240
- package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_service.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_spec.d.ts +30 -2429
- package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_spec.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_spec.js +991 -440
- package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_spec.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/snappable.d.ts +27 -783
- package/dist/generated-proto/pb_schema/lenses/snappable.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/snappable.js +502 -245
- package/dist/generated-proto/pb_schema/lenses/snappable.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/user_data.d.ts +15 -174
- package/dist/generated-proto/pb_schema/lenses/user_data.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/user_data.js +144 -77
- package/dist/generated-proto/pb_schema/lenses/user_data.js.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/capture_characteristics.d.ts +12 -14
- package/dist/generated-proto/pb_schema/snapdoc/capture_characteristics.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/capture_characteristics.js +24 -17
- package/dist/generated-proto/pb_schema/snapdoc/capture_characteristics.js.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/extensions.d.ts +14 -18
- package/dist/generated-proto/pb_schema/snapdoc/extensions.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/extensions.js +29 -18
- package/dist/generated-proto/pb_schema/snapdoc/extensions.js.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/media.d.ts +52 -576
- package/dist/generated-proto/pb_schema/snapdoc/media.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/media.js +615 -318
- package/dist/generated-proto/pb_schema/snapdoc/media.js.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/media_codec_formats.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/media_codec_formats.js +0 -6
- package/dist/generated-proto/pb_schema/snapdoc/media_codec_formats.js.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/media_file_formats.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/media_file_formats.js +0 -6
- package/dist/generated-proto/pb_schema/snapdoc/media_file_formats.js.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/media_id.d.ts +12 -12
- package/dist/generated-proto/pb_schema/snapdoc/media_id.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/media_id.js +17 -17
- package/dist/generated-proto/pb_schema/snapdoc/media_id.js.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/snap_component_type.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/snap_component_type.js +0 -6
- package/dist/generated-proto/pb_schema/snapdoc/snap_component_type.js.map +1 -1
- package/dist/handlers/cameraKitServiceFetchHandlerFactory.d.ts.map +1 -1
- package/dist/handlers/cameraKitServiceFetchHandlerFactory.js +1 -1
- package/dist/handlers/cameraKitServiceFetchHandlerFactory.js.map +1 -1
- package/dist/handlers/defaultFetchHandler.js +1 -1
- package/dist/handlers/defaultFetchHandler.js.map +1 -1
- package/dist/handlers/requestStateEmittingHandler.js +1 -1
- package/dist/handlers/requestStateEmittingHandler.js.map +1 -1
- package/dist/index.d.ts +3 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/legal/legalPrompt.js +1 -1
- package/dist/legal/legalPrompt.js.map +1 -1
- package/dist/legal/legalState.js +1 -1
- package/dist/legal/legalState.js.map +1 -1
- package/dist/lens/LensPersistenceStore.js +1 -1
- package/dist/lens/LensPersistenceStore.js.map +1 -1
- package/dist/lens/LensRepository.js +1 -1
- package/dist/lens/LensRepository.js.map +1 -1
- package/dist/lens/LensSource.js +1 -1
- package/dist/lens/LensSource.js.map +1 -1
- package/dist/lens/assets/LensAssetRepository.js +1 -1
- package/dist/lens/assets/LensAssetRepository.js.map +1 -1
- package/dist/lens/assets/LensAssetsProvider.js +1 -1
- package/dist/lens/assets/LensAssetsProvider.js.map +1 -1
- package/dist/lens/assets/deviceDependentAssetLoader.js +1 -1
- package/dist/lens/assets/deviceDependentAssetLoader.js.map +1 -1
- package/dist/lens/assets/remoteMediaAssetLoaderFactory.js +1 -1
- package/dist/lens/assets/remoteMediaAssetLoaderFactory.js.map +1 -1
- package/dist/lens/assets/staticAssetLoader.js +1 -1
- package/dist/lens/assets/staticAssetLoader.js.map +1 -1
- package/dist/lens/cameraKitLensSource.d.ts.map +1 -1
- package/dist/lens/cameraKitLensSource.js +6 -6
- package/dist/lens/cameraKitLensSource.js.map +1 -1
- package/dist/lens/fetchWatermarkLens.d.ts.map +1 -1
- package/dist/lens/fetchWatermarkLens.js +1 -1
- package/dist/lens/fetchWatermarkLens.js.map +1 -1
- package/dist/lens/userDataAccessResolver.d.ts +52 -0
- package/dist/lens/userDataAccessResolver.d.ts.map +1 -0
- package/dist/lens/userDataAccessResolver.js +3 -0
- package/dist/lens/userDataAccessResolver.js.map +1 -0
- package/dist/lens-client-interface/filePicker.d.ts.map +1 -1
- package/dist/lens-client-interface/filePicker.js +1 -1
- package/dist/lens-client-interface/filePicker.js.map +1 -1
- package/dist/lens-client-interface/lensClientInterface.js +1 -1
- package/dist/lens-client-interface/lensClientInterface.js.map +1 -1
- package/dist/lens-core-module/loader/bootstrapURLs.d.ts +2 -0
- package/dist/lens-core-module/loader/bootstrapURLs.d.ts.map +1 -1
- package/dist/lens-core-module/loader/bootstrapURLs.js +22 -11
- package/dist/lens-core-module/loader/bootstrapURLs.js.map +1 -1
- package/dist/lens-core-module/loader/lensCoreFactory.d.ts.map +1 -1
- package/dist/lens-core-module/loader/lensCoreFactory.js +1 -1
- package/dist/lens-core-module/loader/lensCoreFactory.js.map +1 -1
- package/dist/lensCoreWasmVersions.js +3 -3
- package/dist/lensCoreWasmVersions.js.map +1 -1
- package/dist/logger/logEntries.js +1 -1
- package/dist/logger/logEntries.js.map +1 -1
- package/dist/logger/registerLogEntriesSubscriber.d.ts.map +1 -1
- package/dist/logger/registerLogEntriesSubscriber.js +1 -1
- package/dist/logger/registerLogEntriesSubscriber.js.map +1 -1
- package/dist/media-sources/CameraKitSource.d.ts +6 -0
- package/dist/media-sources/CameraKitSource.d.ts.map +1 -1
- package/dist/media-sources/CameraKitSource.js +2 -2
- package/dist/media-sources/CameraKitSource.js.map +1 -1
- package/dist/metrics/businessEventsReporter.js +1 -1
- package/dist/metrics/businessEventsReporter.js.map +1 -1
- package/dist/metrics/metricsEventTarget.js +1 -1
- package/dist/metrics/metricsEventTarget.js.map +1 -1
- package/dist/metrics/reporters/reportBenchmarks.d.ts.map +1 -1
- package/dist/metrics/reporters/reportBenchmarks.js +1 -1
- package/dist/metrics/reporters/reportBenchmarks.js.map +1 -1
- package/dist/metrics/reporters/reportGlobalException.js +1 -1
- package/dist/metrics/reporters/reportGlobalException.js.map +1 -1
- package/dist/metrics/reporters/reportHttpMetrics.js +1 -1
- package/dist/metrics/reporters/reportHttpMetrics.js.map +1 -1
- package/dist/metrics/reporters/reportLegalState.js +1 -1
- package/dist/metrics/reporters/reportLegalState.js.map +1 -1
- package/dist/metrics/reporters/reportLensAndAssetDownload.d.ts.map +1 -1
- package/dist/metrics/reporters/reportLensAndAssetDownload.js +1 -1
- package/dist/metrics/reporters/reportLensAndAssetDownload.js.map +1 -1
- package/dist/metrics/reporters/reportLensValidationFailed.js +1 -1
- package/dist/metrics/reporters/reportLensValidationFailed.js.map +1 -1
- package/dist/metrics/reporters/reportLensView.js +1 -1
- package/dist/metrics/reporters/reportLensView.js.map +1 -1
- package/dist/metrics/reporters/reportLensWait.js +1 -1
- package/dist/metrics/reporters/reportLensWait.js.map +1 -1
- package/dist/metrics/reporters/reportPlatformCapabilities.d.ts.map +1 -1
- package/dist/metrics/reporters/reportPlatformCapabilities.js +1 -1
- package/dist/metrics/reporters/reportPlatformCapabilities.js.map +1 -1
- package/dist/metrics/reporters/reportSessionException.js +1 -1
- package/dist/metrics/reporters/reportSessionException.js.map +1 -1
- package/dist/metrics/reporters/reportUserSession.js +1 -1
- package/dist/metrics/reporters/reportUserSession.js.map +1 -1
- package/dist/metrics/reporters/reporters.d.ts +1 -1
- package/dist/metrics/reporters/reporters.d.ts.map +1 -1
- package/dist/metrics/reporters/reporters.js +1 -1
- package/dist/metrics/reporters/reporters.js.map +1 -1
- package/dist/platform/platformCapabilities.d.ts +6 -16
- package/dist/platform/platformCapabilities.d.ts.map +1 -1
- package/dist/platform/platformCapabilities.js +15 -15
- package/dist/platform/platformCapabilities.js.map +1 -1
- package/dist/remote-configuration/cofHandler.d.ts.map +1 -1
- package/dist/remote-configuration/cofHandler.js +1 -1
- package/dist/remote-configuration/cofHandler.js.map +1 -1
- package/dist/remote-configuration/preloadConfiguration.js +1 -1
- package/dist/remote-configuration/preloadConfiguration.js.map +1 -1
- package/dist/remote-configuration/remoteConfiguration.d.ts.map +1 -1
- package/dist/remote-configuration/remoteConfiguration.js +1 -1
- package/dist/remote-configuration/remoteConfiguration.js.map +1 -1
- package/dist/session/CameraKitSession.d.ts +6 -1
- package/dist/session/CameraKitSession.d.ts.map +1 -1
- package/dist/session/CameraKitSession.js +1 -1
- package/dist/session/CameraKitSession.js.map +1 -1
- package/dist/session/LensKeyboard.js +1 -1
- package/dist/session/LensKeyboard.js.map +1 -1
- package/dist/session/lensState.d.ts +3 -2
- package/dist/session/lensState.d.ts.map +1 -1
- package/dist/session/lensState.js +21 -6
- package/dist/session/lensState.js.map +1 -1
- package/dist/session/sessionState.js +1 -1
- package/dist/session/sessionState.js.map +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/CameraKit.html +2 -2
- package/docs/html/classes/CameraKitSession.html +7 -3
- package/docs/html/classes/CameraKitSource.html +6 -2
- package/docs/html/classes/LensPerformanceMeasurement.html +2 -2
- package/docs/html/classes/LensPerformanceMetrics.html +2 -2
- package/docs/html/classes/LensRepository.html +2 -2
- package/docs/html/classes/Transform2D.html +2 -2
- package/docs/html/classes/TypedCustomEvent.html +2 -2
- package/docs/html/classes/TypedEventTarget.html +2 -2
- package/docs/html/enums/Lens_CameraFacing.html +2 -2
- package/docs/html/functions/bootstrapCameraKit.html +2 -2
- package/docs/html/functions/createExtension.html +2 -2
- package/docs/html/functions/createImageSource.html +2 -2
- package/docs/html/functions/createMediaStreamSource.html +2 -2
- package/docs/html/functions/createVideoSource.html +2 -2
- package/docs/html/functions/estimateLensPerformance.html +2 -2
- package/docs/html/functions/filePickerFactory.html +2 -4
- package/docs/html/functions/lensSourcesFactory.html +3 -5
- package/docs/html/functions/remoteApiServicesFactory.html +1 -3
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +3 -3
- package/docs/html/interfaces/BitmojiUserInfo.html +2 -2
- package/docs/html/interfaces/CameraKitBootstrapConfiguration.html +2 -2
- package/docs/html/interfaces/CameraKitDeviceOptions.html +2 -2
- package/docs/html/interfaces/CameraKitSourceInfo.html +2 -2
- package/docs/html/interfaces/CameraKitSourceSubscriber.html +2 -2
- package/docs/html/interfaces/ComputedFrameMetrics.html +2 -2
- package/docs/html/interfaces/CreateSessionOptions.html +2 -2
- package/docs/html/interfaces/EstimatedLensPerformance.html +2 -2
- package/docs/html/interfaces/FriendUserInfo.html +2 -2
- package/docs/html/interfaces/FunctionSourceOptions.html +2 -2
- package/docs/html/interfaces/Lens.html +2 -2
- package/docs/html/interfaces/LensCreator.html +2 -2
- package/docs/html/interfaces/LensLaunchData.html +2 -2
- package/docs/html/interfaces/LensSource.html +2 -2
- package/docs/html/interfaces/LensUserData.html +2 -2
- package/docs/html/interfaces/LoadAssetRequest.html +2 -2
- package/docs/html/interfaces/MediaStreamSourceOptions.html +2 -2
- package/docs/html/interfaces/Preview.html +2 -2
- package/docs/html/interfaces/RemoteApiRequest.html +2 -2
- package/docs/html/interfaces/RemoteApiResponse.html +2 -2
- package/docs/html/interfaces/RemoteApiService.html +2 -2
- package/docs/html/interfaces/Snapcode.html +2 -2
- package/docs/html/interfaces/UriCancelRequest.html +2 -2
- package/docs/html/interfaces/UriRequest.html +2 -2
- package/docs/html/interfaces/UriResponse.html +2 -2
- package/docs/html/interfaces/VideoSourceOptions.html +2 -2
- package/docs/html/modules.html +2 -4
- package/docs/html/types/ArgumentValidationError.html +2 -2
- package/docs/html/types/AssetLoader.html +2 -2
- package/docs/html/types/AssetResponse.html +1 -1
- package/docs/html/types/AssetTiming.html +2 -2
- package/docs/html/types/BenchmarkError.html +1 -1
- package/docs/html/types/BootstrapError.html +2 -2
- package/docs/html/types/CacheKeyNotFoundError.html +1 -1
- package/docs/html/types/CameraKitSessionEventListener.html +2 -2
- package/docs/html/types/CameraKitSessionEvents.html +2 -2
- package/docs/html/types/CameraKitSourceError.html +1 -1
- package/docs/html/types/ConfigurationError.html +2 -2
- package/docs/html/types/FetchHandler.html +1 -1
- package/docs/html/types/FilePicker.html +2 -2
- package/docs/html/types/FilePickerOptions.html +2 -2
- package/docs/html/types/FilePickerResult.html +2 -2
- package/docs/html/types/Keyboard.html +2 -2
- package/docs/html/types/KeyboardEvents.html +2 -2
- package/docs/html/types/LegalError.html +1 -1
- package/docs/html/types/LensAbortError.html +2 -2
- package/docs/html/types/LensAssetError.html +2 -2
- package/docs/html/types/LensContentValidationError.html +1 -1
- package/docs/html/types/LensError.html +1 -1
- package/docs/html/types/LensExecutionError.html +2 -2
- package/docs/html/types/LensImagePickerError.html +2 -2
- package/docs/html/types/LensLaunchParams.html +2 -2
- package/docs/html/types/LensMetricsEvents.html +2 -2
- package/docs/html/types/LensPerformanceCluster.html +1 -1
- package/docs/html/types/LensView.html +2 -2
- package/docs/html/types/LensWait.html +2 -2
- package/docs/html/types/Matrix.html +2 -2
- package/docs/html/types/PersistentStoreError.html +2 -2
- package/docs/html/types/PlatformNotSupportedError.html +2 -2
- package/docs/html/types/PublicContainer.html +2 -2
- package/docs/html/types/PublicServices.html +2 -2
- package/docs/html/types/RemoteApiCancelRequestHandler.html +2 -2
- package/docs/html/types/RemoteApiRequestHandler.html +2 -2
- package/docs/html/types/RemoteApiServices.html +1 -1
- package/docs/html/types/RemoteApiStatus.html +2 -2
- package/docs/html/types/RenderTarget.html +2 -2
- package/docs/html/types/Uri.html +1 -1
- package/docs/html/types/WebGLError.html +1 -1
- package/docs/html/types/Zodiac.html +1 -1
- package/docs/html/variables/extensionRequestContext.html +2 -2
- package/docs/md/README.md +1 -1
- package/docs/md/classes/CameraKit.md +1 -1
- package/docs/md/classes/CameraKitSession.md +7 -2
- package/docs/md/classes/CameraKitSource.md +6 -1
- package/docs/md/classes/LensPerformanceMeasurement.md +1 -1
- package/docs/md/classes/LensPerformanceMetrics.md +1 -1
- package/docs/md/classes/LensRepository.md +1 -1
- package/docs/md/classes/Transform2D.md +1 -1
- package/docs/md/classes/TypedCustomEvent.md +1 -1
- package/docs/md/classes/TypedEventTarget.md +1 -1
- package/docs/md/enums/Lens_CameraFacing.md +1 -1
- package/docs/md/interfaces/BitmojiUserInfo.md +1 -1
- package/docs/md/interfaces/CameraKitBootstrapConfiguration.md +1 -1
- package/docs/md/interfaces/CameraKitDeviceOptions.md +1 -1
- package/docs/md/interfaces/CameraKitSourceInfo.md +1 -1
- package/docs/md/interfaces/CameraKitSourceSubscriber.md +1 -1
- package/docs/md/interfaces/ComputedFrameMetrics.md +1 -1
- package/docs/md/interfaces/CreateSessionOptions.md +1 -1
- package/docs/md/interfaces/EstimatedLensPerformance.md +1 -1
- package/docs/md/interfaces/FriendUserInfo.md +1 -1
- package/docs/md/interfaces/FunctionSourceOptions.md +1 -1
- package/docs/md/interfaces/Lens.md +1 -1
- package/docs/md/interfaces/LensCreator.md +1 -1
- package/docs/md/interfaces/LensLaunchData.md +1 -1
- package/docs/md/interfaces/LensSource.md +1 -1
- package/docs/md/interfaces/LensUserData.md +1 -1
- package/docs/md/interfaces/LoadAssetRequest.md +1 -1
- package/docs/md/interfaces/MediaStreamSourceOptions.md +1 -1
- package/docs/md/interfaces/Preview.md +1 -1
- package/docs/md/interfaces/RemoteApiRequest.md +1 -1
- package/docs/md/interfaces/RemoteApiResponse.md +1 -1
- package/docs/md/interfaces/RemoteApiService.md +1 -1
- package/docs/md/interfaces/Snapcode.md +1 -1
- package/docs/md/interfaces/UriCancelRequest.md +1 -1
- package/docs/md/interfaces/UriRequest.md +1 -1
- package/docs/md/interfaces/UriResponse.md +1 -1
- package/docs/md/interfaces/VideoSourceOptions.md +1 -1
- package/docs/md/modules.md +5 -166
- package/package.json +6 -6
- package/dist/dependency-injection/Container.d.ts +0 -177
- package/dist/dependency-injection/Container.d.ts.map +0 -1
- package/dist/dependency-injection/Container.js +0 -72
- package/dist/dependency-injection/Container.js.map +0 -1
- package/dist/dependency-injection/Injectable.d.ts +0 -96
- package/dist/dependency-injection/Injectable.d.ts.map +0 -1
- package/dist/dependency-injection/Injectable.js +0 -37
- package/dist/dependency-injection/Injectable.js.map +0 -1
- package/dist/dependency-injection/PartialContainer.d.ts +0 -86
- package/dist/dependency-injection/PartialContainer.d.ts.map +0 -1
- package/dist/dependency-injection/PartialContainer.js +0 -28
- package/dist/dependency-injection/PartialContainer.js.map +0 -1
- package/dist/dependency-injection/RootServices.d.ts +0 -76
- package/dist/dependency-injection/RootServices.d.ts.map +0 -1
- package/dist/dependency-injection/RootServices.js.map +0 -1
- package/dist/dependency-injection/types.d.ts +0 -57
- package/dist/dependency-injection/types.d.ts.map +0 -1
- package/dist/dependency-injection/types.js +0 -2
- package/dist/dependency-injection/types.js.map +0 -1
- package/docs/html/functions/ConcatInjectable.html +0 -19
- package/docs/html/functions/Injectable.html +0 -17
- /package/dist/{dependency-injection/RootServices.js → RootServices.js} +0 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import _m0 from "protobufjs/minimal";
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
3
2
|
import { Lens } from "./lens";
|
|
4
3
|
export const protobufPackage = "com.snap.camerakit.v3";
|
|
5
4
|
export var ExportLensesByIdRequest_Context_Extension_Name;
|
|
@@ -34,8 +33,9 @@ export function exportLensesByIdRequest_Context_Extension_NameToNumber(object) {
|
|
|
34
33
|
return 1;
|
|
35
34
|
case ExportLensesByIdRequest_Context_Extension_Name.LENS_WEB_BUILDER:
|
|
36
35
|
return 2;
|
|
36
|
+
case ExportLensesByIdRequest_Context_Extension_Name.UNRECOGNIZED:
|
|
37
37
|
default:
|
|
38
|
-
return
|
|
38
|
+
return -1;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
export var ExportLensesByIdResponse_ExcludedLens_Code;
|
|
@@ -88,61 +88,72 @@ export function exportLensesByIdResponse_ExcludedLens_CodeToNumber(object) {
|
|
|
88
88
|
return 4;
|
|
89
89
|
case ExportLensesByIdResponse_ExcludedLens_Code.CONTAINS_MUSIC:
|
|
90
90
|
return 5;
|
|
91
|
+
case ExportLensesByIdResponse_ExcludedLens_Code.UNRECOGNIZED:
|
|
91
92
|
default:
|
|
92
|
-
return
|
|
93
|
+
return -1;
|
|
93
94
|
}
|
|
94
95
|
}
|
|
95
96
|
function createBaseExportLensesByIdRequest() {
|
|
96
97
|
return { unlockableIds: [], context: undefined };
|
|
97
98
|
}
|
|
98
99
|
export const ExportLensesByIdRequest = {
|
|
99
|
-
encode(message, writer =
|
|
100
|
+
encode(message, writer = new BinaryWriter()) {
|
|
100
101
|
writer.uint32(10).fork();
|
|
101
102
|
for (const v of message.unlockableIds) {
|
|
102
103
|
writer.int64(v);
|
|
103
104
|
}
|
|
104
|
-
writer.
|
|
105
|
+
writer.join();
|
|
105
106
|
if (message.context !== undefined) {
|
|
106
|
-
ExportLensesByIdRequest_Context.encode(message.context, writer.uint32(18).fork()).
|
|
107
|
+
ExportLensesByIdRequest_Context.encode(message.context, writer.uint32(18).fork()).join();
|
|
107
108
|
}
|
|
108
109
|
return writer;
|
|
109
110
|
},
|
|
110
111
|
decode(input, length) {
|
|
111
|
-
const reader = input instanceof
|
|
112
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
112
113
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
113
114
|
const message = createBaseExportLensesByIdRequest();
|
|
114
115
|
while (reader.pos < end) {
|
|
115
116
|
const tag = reader.uint32();
|
|
116
117
|
switch (tag >>> 3) {
|
|
117
|
-
case 1:
|
|
118
|
-
if (
|
|
118
|
+
case 1: {
|
|
119
|
+
if (tag === 8) {
|
|
120
|
+
message.unlockableIds.push(reader.int64().toString());
|
|
121
|
+
continue;
|
|
122
|
+
}
|
|
123
|
+
if (tag === 10) {
|
|
119
124
|
const end2 = reader.uint32() + reader.pos;
|
|
120
125
|
while (reader.pos < end2) {
|
|
121
|
-
message.unlockableIds.push(
|
|
126
|
+
message.unlockableIds.push(reader.int64().toString());
|
|
122
127
|
}
|
|
123
|
-
|
|
124
|
-
else {
|
|
125
|
-
message.unlockableIds.push(longToString(reader.int64()));
|
|
128
|
+
continue;
|
|
126
129
|
}
|
|
127
130
|
break;
|
|
128
|
-
|
|
131
|
+
}
|
|
132
|
+
case 2: {
|
|
133
|
+
if (tag !== 18) {
|
|
134
|
+
break;
|
|
135
|
+
}
|
|
129
136
|
message.context = ExportLensesByIdRequest_Context.decode(reader, reader.uint32());
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
reader.skipType(tag & 7);
|
|
133
|
-
break;
|
|
137
|
+
continue;
|
|
138
|
+
}
|
|
134
139
|
}
|
|
140
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
141
|
+
break;
|
|
142
|
+
}
|
|
143
|
+
reader.skip(tag & 7);
|
|
135
144
|
}
|
|
136
145
|
return message;
|
|
137
146
|
},
|
|
147
|
+
create(base) {
|
|
148
|
+
return ExportLensesByIdRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
149
|
+
},
|
|
138
150
|
fromPartial(object) {
|
|
139
151
|
var _a;
|
|
140
152
|
const message = createBaseExportLensesByIdRequest();
|
|
141
153
|
message.unlockableIds = ((_a = object.unlockableIds) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
|
|
142
|
-
message.context =
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
: undefined;
|
|
154
|
+
message.context = (object.context !== undefined && object.context !== null)
|
|
155
|
+
? ExportLensesByIdRequest_Context.fromPartial(object.context)
|
|
156
|
+
: undefined;
|
|
146
157
|
return message;
|
|
147
158
|
},
|
|
148
159
|
};
|
|
@@ -152,11 +163,11 @@ function createBaseExportLensesByIdRequest_Context() {
|
|
|
152
163
|
locale: "",
|
|
153
164
|
extention: undefined,
|
|
154
165
|
extension: undefined,
|
|
155
|
-
extensionRequestContext: new Uint8Array(),
|
|
166
|
+
extensionRequestContext: new Uint8Array(0),
|
|
156
167
|
};
|
|
157
168
|
}
|
|
158
169
|
export const ExportLensesByIdRequest_Context = {
|
|
159
|
-
encode(message, writer =
|
|
170
|
+
encode(message, writer = new BinaryWriter()) {
|
|
160
171
|
if (message.userAgent !== "") {
|
|
161
172
|
writer.uint32(10).string(message.userAgent);
|
|
162
173
|
}
|
|
@@ -164,10 +175,10 @@ export const ExportLensesByIdRequest_Context = {
|
|
|
164
175
|
writer.uint32(18).string(message.locale);
|
|
165
176
|
}
|
|
166
177
|
if (message.extention !== undefined) {
|
|
167
|
-
ExportLensesByIdRequest_Context_Extension.encode(message.extention, writer.uint32(26).fork()).
|
|
178
|
+
ExportLensesByIdRequest_Context_Extension.encode(message.extention, writer.uint32(26).fork()).join();
|
|
168
179
|
}
|
|
169
180
|
if (message.extension !== undefined) {
|
|
170
|
-
ExportLensesByIdRequest_Context_Extension.encode(message.extension, writer.uint32(34).fork()).
|
|
181
|
+
ExportLensesByIdRequest_Context_Extension.encode(message.extension, writer.uint32(34).fork()).join();
|
|
171
182
|
}
|
|
172
183
|
if (message.extensionRequestContext.length !== 0) {
|
|
173
184
|
writer.uint32(42).bytes(message.extensionRequestContext);
|
|
@@ -175,48 +186,70 @@ export const ExportLensesByIdRequest_Context = {
|
|
|
175
186
|
return writer;
|
|
176
187
|
},
|
|
177
188
|
decode(input, length) {
|
|
178
|
-
const reader = input instanceof
|
|
189
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
179
190
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
180
191
|
const message = createBaseExportLensesByIdRequest_Context();
|
|
181
192
|
while (reader.pos < end) {
|
|
182
193
|
const tag = reader.uint32();
|
|
183
194
|
switch (tag >>> 3) {
|
|
184
|
-
case 1:
|
|
195
|
+
case 1: {
|
|
196
|
+
if (tag !== 10) {
|
|
197
|
+
break;
|
|
198
|
+
}
|
|
185
199
|
message.userAgent = reader.string();
|
|
186
|
-
|
|
187
|
-
|
|
200
|
+
continue;
|
|
201
|
+
}
|
|
202
|
+
case 2: {
|
|
203
|
+
if (tag !== 18) {
|
|
204
|
+
break;
|
|
205
|
+
}
|
|
188
206
|
message.locale = reader.string();
|
|
189
|
-
|
|
190
|
-
|
|
207
|
+
continue;
|
|
208
|
+
}
|
|
209
|
+
case 3: {
|
|
210
|
+
if (tag !== 26) {
|
|
211
|
+
break;
|
|
212
|
+
}
|
|
191
213
|
message.extention = ExportLensesByIdRequest_Context_Extension.decode(reader, reader.uint32());
|
|
192
|
-
|
|
193
|
-
|
|
214
|
+
continue;
|
|
215
|
+
}
|
|
216
|
+
case 4: {
|
|
217
|
+
if (tag !== 34) {
|
|
218
|
+
break;
|
|
219
|
+
}
|
|
194
220
|
message.extension = ExportLensesByIdRequest_Context_Extension.decode(reader, reader.uint32());
|
|
195
|
-
|
|
196
|
-
|
|
221
|
+
continue;
|
|
222
|
+
}
|
|
223
|
+
case 5: {
|
|
224
|
+
if (tag !== 42) {
|
|
225
|
+
break;
|
|
226
|
+
}
|
|
197
227
|
message.extensionRequestContext = reader.bytes();
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
reader.skipType(tag & 7);
|
|
201
|
-
break;
|
|
228
|
+
continue;
|
|
229
|
+
}
|
|
202
230
|
}
|
|
231
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
232
|
+
break;
|
|
233
|
+
}
|
|
234
|
+
reader.skip(tag & 7);
|
|
203
235
|
}
|
|
204
236
|
return message;
|
|
205
237
|
},
|
|
238
|
+
create(base) {
|
|
239
|
+
return ExportLensesByIdRequest_Context.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
240
|
+
},
|
|
206
241
|
fromPartial(object) {
|
|
207
242
|
var _a, _b, _c;
|
|
208
243
|
const message = createBaseExportLensesByIdRequest_Context();
|
|
209
244
|
message.userAgent = (_a = object.userAgent) !== null && _a !== void 0 ? _a : "";
|
|
210
245
|
message.locale = (_b = object.locale) !== null && _b !== void 0 ? _b : "";
|
|
211
|
-
message.extention =
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
: undefined;
|
|
219
|
-
message.extensionRequestContext = (_c = object.extensionRequestContext) !== null && _c !== void 0 ? _c : new Uint8Array();
|
|
246
|
+
message.extention = (object.extention !== undefined && object.extention !== null)
|
|
247
|
+
? ExportLensesByIdRequest_Context_Extension.fromPartial(object.extention)
|
|
248
|
+
: undefined;
|
|
249
|
+
message.extension = (object.extension !== undefined && object.extension !== null)
|
|
250
|
+
? ExportLensesByIdRequest_Context_Extension.fromPartial(object.extension)
|
|
251
|
+
: undefined;
|
|
252
|
+
message.extensionRequestContext = (_c = object.extensionRequestContext) !== null && _c !== void 0 ? _c : new Uint8Array(0);
|
|
220
253
|
return message;
|
|
221
254
|
},
|
|
222
255
|
};
|
|
@@ -224,7 +257,7 @@ function createBaseExportLensesByIdRequest_Context_Extension() {
|
|
|
224
257
|
return { name: ExportLensesByIdRequest_Context_Extension_Name.UNSET, version: "" };
|
|
225
258
|
}
|
|
226
259
|
export const ExportLensesByIdRequest_Context_Extension = {
|
|
227
|
-
encode(message, writer =
|
|
260
|
+
encode(message, writer = new BinaryWriter()) {
|
|
228
261
|
if (message.name !== ExportLensesByIdRequest_Context_Extension_Name.UNSET) {
|
|
229
262
|
writer.uint32(8).int32(exportLensesByIdRequest_Context_Extension_NameToNumber(message.name));
|
|
230
263
|
}
|
|
@@ -234,25 +267,37 @@ export const ExportLensesByIdRequest_Context_Extension = {
|
|
|
234
267
|
return writer;
|
|
235
268
|
},
|
|
236
269
|
decode(input, length) {
|
|
237
|
-
const reader = input instanceof
|
|
270
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
238
271
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
239
272
|
const message = createBaseExportLensesByIdRequest_Context_Extension();
|
|
240
273
|
while (reader.pos < end) {
|
|
241
274
|
const tag = reader.uint32();
|
|
242
275
|
switch (tag >>> 3) {
|
|
243
|
-
case 1:
|
|
276
|
+
case 1: {
|
|
277
|
+
if (tag !== 8) {
|
|
278
|
+
break;
|
|
279
|
+
}
|
|
244
280
|
message.name = exportLensesByIdRequest_Context_Extension_NameFromJSON(reader.int32());
|
|
245
|
-
|
|
246
|
-
|
|
281
|
+
continue;
|
|
282
|
+
}
|
|
283
|
+
case 2: {
|
|
284
|
+
if (tag !== 18) {
|
|
285
|
+
break;
|
|
286
|
+
}
|
|
247
287
|
message.version = reader.string();
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
288
|
+
continue;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
292
|
+
break;
|
|
252
293
|
}
|
|
294
|
+
reader.skip(tag & 7);
|
|
253
295
|
}
|
|
254
296
|
return message;
|
|
255
297
|
},
|
|
298
|
+
create(base) {
|
|
299
|
+
return ExportLensesByIdRequest_Context_Extension.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
300
|
+
},
|
|
256
301
|
fromPartial(object) {
|
|
257
302
|
var _a, _b;
|
|
258
303
|
const message = createBaseExportLensesByIdRequest_Context_Extension();
|
|
@@ -265,38 +310,50 @@ function createBaseExportLensesByIdResponse() {
|
|
|
265
310
|
return { lenses: {}, excludedLenses: [] };
|
|
266
311
|
}
|
|
267
312
|
export const ExportLensesByIdResponse = {
|
|
268
|
-
encode(message, writer =
|
|
313
|
+
encode(message, writer = new BinaryWriter()) {
|
|
269
314
|
Object.entries(message.lenses).forEach(([key, value]) => {
|
|
270
|
-
ExportLensesByIdResponse_LensesEntry.encode({ key: key, value }, writer.uint32(10).fork()).
|
|
315
|
+
ExportLensesByIdResponse_LensesEntry.encode({ key: key, value }, writer.uint32(10).fork()).join();
|
|
271
316
|
});
|
|
272
317
|
for (const v of message.excludedLenses) {
|
|
273
|
-
ExportLensesByIdResponse_ExcludedLens.encode(v, writer.uint32(18).fork()).
|
|
318
|
+
ExportLensesByIdResponse_ExcludedLens.encode(v, writer.uint32(18).fork()).join();
|
|
274
319
|
}
|
|
275
320
|
return writer;
|
|
276
321
|
},
|
|
277
322
|
decode(input, length) {
|
|
278
|
-
const reader = input instanceof
|
|
323
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
279
324
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
280
325
|
const message = createBaseExportLensesByIdResponse();
|
|
281
326
|
while (reader.pos < end) {
|
|
282
327
|
const tag = reader.uint32();
|
|
283
328
|
switch (tag >>> 3) {
|
|
284
|
-
case 1:
|
|
329
|
+
case 1: {
|
|
330
|
+
if (tag !== 10) {
|
|
331
|
+
break;
|
|
332
|
+
}
|
|
285
333
|
const entry1 = ExportLensesByIdResponse_LensesEntry.decode(reader, reader.uint32());
|
|
286
334
|
if (entry1.value !== undefined) {
|
|
287
335
|
message.lenses[entry1.key] = entry1.value;
|
|
288
336
|
}
|
|
289
|
-
|
|
290
|
-
|
|
337
|
+
continue;
|
|
338
|
+
}
|
|
339
|
+
case 2: {
|
|
340
|
+
if (tag !== 18) {
|
|
341
|
+
break;
|
|
342
|
+
}
|
|
291
343
|
message.excludedLenses.push(ExportLensesByIdResponse_ExcludedLens.decode(reader, reader.uint32()));
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
reader.skipType(tag & 7);
|
|
295
|
-
break;
|
|
344
|
+
continue;
|
|
345
|
+
}
|
|
296
346
|
}
|
|
347
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
348
|
+
break;
|
|
349
|
+
}
|
|
350
|
+
reader.skip(tag & 7);
|
|
297
351
|
}
|
|
298
352
|
return message;
|
|
299
353
|
},
|
|
354
|
+
create(base) {
|
|
355
|
+
return ExportLensesByIdResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
356
|
+
},
|
|
300
357
|
fromPartial(object) {
|
|
301
358
|
var _a, _b;
|
|
302
359
|
const message = createBaseExportLensesByIdResponse();
|
|
@@ -306,16 +363,16 @@ export const ExportLensesByIdResponse = {
|
|
|
306
363
|
}
|
|
307
364
|
return acc;
|
|
308
365
|
}, {});
|
|
309
|
-
message.excludedLenses =
|
|
310
|
-
|
|
366
|
+
message.excludedLenses = ((_b = object.excludedLenses) === null || _b === void 0 ? void 0 : _b.map((e) => ExportLensesByIdResponse_ExcludedLens.fromPartial(e))) ||
|
|
367
|
+
[];
|
|
311
368
|
return message;
|
|
312
369
|
},
|
|
313
370
|
};
|
|
314
371
|
function createBaseExportLensesByIdResponse_LensesEntry() {
|
|
315
|
-
return { key: "0", value: new Uint8Array() };
|
|
372
|
+
return { key: "0", value: new Uint8Array(0) };
|
|
316
373
|
}
|
|
317
374
|
export const ExportLensesByIdResponse_LensesEntry = {
|
|
318
|
-
encode(message, writer =
|
|
375
|
+
encode(message, writer = new BinaryWriter()) {
|
|
319
376
|
if (message.key !== "0") {
|
|
320
377
|
writer.uint32(8).int64(message.key);
|
|
321
378
|
}
|
|
@@ -325,30 +382,42 @@ export const ExportLensesByIdResponse_LensesEntry = {
|
|
|
325
382
|
return writer;
|
|
326
383
|
},
|
|
327
384
|
decode(input, length) {
|
|
328
|
-
const reader = input instanceof
|
|
385
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
329
386
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
330
387
|
const message = createBaseExportLensesByIdResponse_LensesEntry();
|
|
331
388
|
while (reader.pos < end) {
|
|
332
389
|
const tag = reader.uint32();
|
|
333
390
|
switch (tag >>> 3) {
|
|
334
|
-
case 1:
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
391
|
+
case 1: {
|
|
392
|
+
if (tag !== 8) {
|
|
393
|
+
break;
|
|
394
|
+
}
|
|
395
|
+
message.key = reader.int64().toString();
|
|
396
|
+
continue;
|
|
397
|
+
}
|
|
398
|
+
case 2: {
|
|
399
|
+
if (tag !== 18) {
|
|
400
|
+
break;
|
|
401
|
+
}
|
|
338
402
|
message.value = reader.bytes();
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
reader.skipType(tag & 7);
|
|
342
|
-
break;
|
|
403
|
+
continue;
|
|
404
|
+
}
|
|
343
405
|
}
|
|
406
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
407
|
+
break;
|
|
408
|
+
}
|
|
409
|
+
reader.skip(tag & 7);
|
|
344
410
|
}
|
|
345
411
|
return message;
|
|
346
412
|
},
|
|
413
|
+
create(base) {
|
|
414
|
+
return ExportLensesByIdResponse_LensesEntry.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
415
|
+
},
|
|
347
416
|
fromPartial(object) {
|
|
348
417
|
var _a, _b;
|
|
349
418
|
const message = createBaseExportLensesByIdResponse_LensesEntry();
|
|
350
419
|
message.key = (_a = object.key) !== null && _a !== void 0 ? _a : "0";
|
|
351
|
-
message.value = (_b = object.value) !== null && _b !== void 0 ? _b : new Uint8Array();
|
|
420
|
+
message.value = (_b = object.value) !== null && _b !== void 0 ? _b : new Uint8Array(0);
|
|
352
421
|
return message;
|
|
353
422
|
},
|
|
354
423
|
};
|
|
@@ -356,7 +425,7 @@ function createBaseExportLensesByIdResponse_ExcludedLens() {
|
|
|
356
425
|
return { lensId: "0", code: ExportLensesByIdResponse_ExcludedLens_Code.UNSET, reason: "" };
|
|
357
426
|
}
|
|
358
427
|
export const ExportLensesByIdResponse_ExcludedLens = {
|
|
359
|
-
encode(message, writer =
|
|
428
|
+
encode(message, writer = new BinaryWriter()) {
|
|
360
429
|
if (message.lensId !== "0") {
|
|
361
430
|
writer.uint32(8).int64(message.lensId);
|
|
362
431
|
}
|
|
@@ -369,28 +438,44 @@ export const ExportLensesByIdResponse_ExcludedLens = {
|
|
|
369
438
|
return writer;
|
|
370
439
|
},
|
|
371
440
|
decode(input, length) {
|
|
372
|
-
const reader = input instanceof
|
|
441
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
373
442
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
374
443
|
const message = createBaseExportLensesByIdResponse_ExcludedLens();
|
|
375
444
|
while (reader.pos < end) {
|
|
376
445
|
const tag = reader.uint32();
|
|
377
446
|
switch (tag >>> 3) {
|
|
378
|
-
case 1:
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
447
|
+
case 1: {
|
|
448
|
+
if (tag !== 8) {
|
|
449
|
+
break;
|
|
450
|
+
}
|
|
451
|
+
message.lensId = reader.int64().toString();
|
|
452
|
+
continue;
|
|
453
|
+
}
|
|
454
|
+
case 2: {
|
|
455
|
+
if (tag !== 16) {
|
|
456
|
+
break;
|
|
457
|
+
}
|
|
382
458
|
message.code = exportLensesByIdResponse_ExcludedLens_CodeFromJSON(reader.int32());
|
|
383
|
-
|
|
384
|
-
|
|
459
|
+
continue;
|
|
460
|
+
}
|
|
461
|
+
case 3: {
|
|
462
|
+
if (tag !== 26) {
|
|
463
|
+
break;
|
|
464
|
+
}
|
|
385
465
|
message.reason = reader.string();
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
466
|
+
continue;
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
470
|
+
break;
|
|
390
471
|
}
|
|
472
|
+
reader.skip(tag & 7);
|
|
391
473
|
}
|
|
392
474
|
return message;
|
|
393
475
|
},
|
|
476
|
+
create(base) {
|
|
477
|
+
return ExportLensesByIdResponse_ExcludedLens.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
478
|
+
},
|
|
394
479
|
fromPartial(object) {
|
|
395
480
|
var _a, _b, _c;
|
|
396
481
|
const message = createBaseExportLensesByIdResponse_ExcludedLens();
|
|
@@ -404,7 +489,7 @@ function createBaseExtensionRequestContext() {
|
|
|
404
489
|
return { userAgent: "", locale: "" };
|
|
405
490
|
}
|
|
406
491
|
export const ExtensionRequestContext = {
|
|
407
|
-
encode(message, writer =
|
|
492
|
+
encode(message, writer = new BinaryWriter()) {
|
|
408
493
|
if (message.userAgent !== "") {
|
|
409
494
|
writer.uint32(10).string(message.userAgent);
|
|
410
495
|
}
|
|
@@ -414,25 +499,37 @@ export const ExtensionRequestContext = {
|
|
|
414
499
|
return writer;
|
|
415
500
|
},
|
|
416
501
|
decode(input, length) {
|
|
417
|
-
const reader = input instanceof
|
|
502
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
418
503
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
419
504
|
const message = createBaseExtensionRequestContext();
|
|
420
505
|
while (reader.pos < end) {
|
|
421
506
|
const tag = reader.uint32();
|
|
422
507
|
switch (tag >>> 3) {
|
|
423
|
-
case 1:
|
|
508
|
+
case 1: {
|
|
509
|
+
if (tag !== 10) {
|
|
510
|
+
break;
|
|
511
|
+
}
|
|
424
512
|
message.userAgent = reader.string();
|
|
425
|
-
|
|
426
|
-
|
|
513
|
+
continue;
|
|
514
|
+
}
|
|
515
|
+
case 2: {
|
|
516
|
+
if (tag !== 18) {
|
|
517
|
+
break;
|
|
518
|
+
}
|
|
427
519
|
message.locale = reader.string();
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
reader.skipType(tag & 7);
|
|
431
|
-
break;
|
|
520
|
+
continue;
|
|
521
|
+
}
|
|
432
522
|
}
|
|
523
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
524
|
+
break;
|
|
525
|
+
}
|
|
526
|
+
reader.skip(tag & 7);
|
|
433
527
|
}
|
|
434
528
|
return message;
|
|
435
529
|
},
|
|
530
|
+
create(base) {
|
|
531
|
+
return ExtensionRequestContext.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
532
|
+
},
|
|
436
533
|
fromPartial(object) {
|
|
437
534
|
var _a, _b;
|
|
438
535
|
const message = createBaseExtensionRequestContext();
|
|
@@ -445,23 +542,34 @@ function createBaseEnvelope() {
|
|
|
445
542
|
return { lenses: [] };
|
|
446
543
|
}
|
|
447
544
|
export const Envelope = {
|
|
545
|
+
encode() {
|
|
546
|
+
throw new Error("Not implemented.");
|
|
547
|
+
},
|
|
448
548
|
decode(input, length) {
|
|
449
|
-
const reader = input instanceof
|
|
549
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
450
550
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
451
551
|
const message = createBaseEnvelope();
|
|
452
552
|
while (reader.pos < end) {
|
|
453
553
|
const tag = reader.uint32();
|
|
454
554
|
switch (tag >>> 3) {
|
|
455
|
-
case 1:
|
|
555
|
+
case 1: {
|
|
556
|
+
if (tag !== 10) {
|
|
557
|
+
break;
|
|
558
|
+
}
|
|
456
559
|
message.lenses.push(Lens.decode(reader, reader.uint32()));
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
reader.skipType(tag & 7);
|
|
460
|
-
break;
|
|
560
|
+
continue;
|
|
561
|
+
}
|
|
461
562
|
}
|
|
563
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
564
|
+
break;
|
|
565
|
+
}
|
|
566
|
+
reader.skip(tag & 7);
|
|
462
567
|
}
|
|
463
568
|
return message;
|
|
464
569
|
},
|
|
570
|
+
create(base) {
|
|
571
|
+
return Envelope.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
572
|
+
},
|
|
465
573
|
fromPartial(object) {
|
|
466
574
|
var _a;
|
|
467
575
|
const message = createBaseEnvelope();
|
|
@@ -469,11 +577,4 @@ export const Envelope = {
|
|
|
469
577
|
return message;
|
|
470
578
|
},
|
|
471
579
|
};
|
|
472
|
-
function longToString(long) {
|
|
473
|
-
return long.toString();
|
|
474
|
-
}
|
|
475
|
-
if (_m0.util.Long !== Long) {
|
|
476
|
-
_m0.util.Long = Long;
|
|
477
|
-
_m0.configure();
|
|
478
|
-
}
|
|
479
580
|
//# sourceMappingURL=export.js.map
|