@snap/camera-kit 0.18.1 → 0.21.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/README.md +1 -1
- package/dist/CameraKit.d.ts +2 -2
- package/dist/bootstrapCameraKit.d.ts.map +1 -1
- package/dist/bootstrapCameraKit.js +3 -1
- package/dist/bootstrapCameraKit.js.map +1 -1
- package/dist/clients/grpcHandler.d.ts +9 -3
- package/dist/clients/grpcHandler.d.ts.map +1 -1
- package/dist/clients/grpcHandler.js +20 -3
- package/dist/clients/grpcHandler.js.map +1 -1
- package/dist/dependency-injection/RootServices.d.ts +2 -0
- package/dist/dependency-injection/RootServices.d.ts.map +1 -1
- package/dist/dependency-injection/RootServices.js.map +1 -1
- package/dist/environment.js +1 -1
- package/dist/environment.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/remote_api_spec.d.ts +644 -0
- package/dist/generated-proto/pb_schema/camera_kit/v3/remote_api_spec.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/camera_kit/v3/remote_api_spec.js +320 -0
- package/dist/generated-proto/pb_schema/camera_kit/v3/remote_api_spec.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/app_launch_type.d.ts +10 -0
- package/dist/generated-proto/pb_schema/cdp/cof/app_launch_type.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/app_launch_type.js +17 -0
- package/dist/generated-proto/pb_schema/cdp/cof/app_launch_type.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/billboard_provided_signals.d.ts +167 -0
- package/dist/generated-proto/pb_schema/cdp/cof/billboard_provided_signals.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/billboard_provided_signals.js +423 -0
- package/dist/generated-proto/pb_schema/cdp/cof/billboard_provided_signals.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/bolt_provided_signals.d.ts +34 -0
- package/dist/generated-proto/pb_schema/cdp/cof/bolt_provided_signals.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/bolt_provided_signals.js +63 -0
- package/dist/generated-proto/pb_schema/cdp/cof/bolt_provided_signals.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/camera_provided_signals.d.ts +109 -0
- package/dist/generated-proto/pb_schema/cdp/cof/camera_provided_signals.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/camera_provided_signals.js +192 -0
- package/dist/generated-proto/pb_schema/cdp/cof/camera_provided_signals.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/circumstance_service.d.ts +3203 -0
- 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 +290 -0
- 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 +24 -0
- package/dist/generated-proto/pb_schema/cdp/cof/cognac_provided_signals.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/cognac_provided_signals.js +42 -0
- package/dist/generated-proto/pb_schema/cdp/cof/cognac_provided_signals.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/config_request.d.ts +24 -0
- 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 +54 -1
- 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 +97 -0
- package/dist/generated-proto/pb_schema/cdp/cof/config_response.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/config_result.d.ts +277 -0
- 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 +39 -2
- 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 +11 -0
- package/dist/generated-proto/pb_schema/cdp/cof/contact_authorization_status.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/contact_authorization_status.js +18 -0
- package/dist/generated-proto/pb_schema/cdp/cof/contact_authorization_status.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/content_manager_provided_signals.d.ts +89 -0
- package/dist/generated-proto/pb_schema/cdp/cof/content_manager_provided_signals.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/content_manager_provided_signals.js +108 -0
- package/dist/generated-proto/pb_schema/cdp/cof/content_manager_provided_signals.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/creative_tools_provided_signals.d.ts +27 -0
- package/dist/generated-proto/pb_schema/cdp/cof/creative_tools_provided_signals.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/creative_tools_provided_signals.js +49 -0
- package/dist/generated-proto/pb_schema/cdp/cof/creative_tools_provided_signals.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/feature_provided_signals.d.ts +1184 -0
- package/dist/generated-proto/pb_schema/cdp/cof/feature_provided_signals.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/feature_provided_signals.js +507 -0
- package/dist/generated-proto/pb_schema/cdp/cof/feature_provided_signals.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/lenses_provided_signals.d.ts +30 -0
- package/dist/generated-proto/pb_schema/cdp/cof/lenses_provided_signals.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/lenses_provided_signals.js +59 -0
- package/dist/generated-proto/pb_schema/cdp/cof/lenses_provided_signals.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/mdp_media_attribution.d.ts +29 -0
- package/dist/generated-proto/pb_schema/cdp/cof/mdp_media_attribution.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/mdp_media_attribution.js +49 -0
- package/dist/generated-proto/pb_schema/cdp/cof/mdp_media_attribution.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/media_provided_signals.d.ts +35 -0
- package/dist/generated-proto/pb_schema/cdp/cof/media_provided_signals.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/media_provided_signals.js +58 -0
- package/dist/generated-proto/pb_schema/cdp/cof/media_provided_signals.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/opera_provided_signals.d.ts +30 -0
- package/dist/generated-proto/pb_schema/cdp/cof/opera_provided_signals.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/opera_provided_signals.js +56 -0
- package/dist/generated-proto/pb_schema/cdp/cof/opera_provided_signals.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/perception_provided_signals.d.ts +24 -0
- package/dist/generated-proto/pb_schema/cdp/cof/perception_provided_signals.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/perception_provided_signals.js +42 -0
- package/dist/generated-proto/pb_schema/cdp/cof/perception_provided_signals.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/recipients_provided_signals.d.ts +24 -0
- package/dist/generated-proto/pb_schema/cdp/cof/recipients_provided_signals.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/recipients_provided_signals.js +42 -0
- package/dist/generated-proto/pb_schema/cdp/cof/recipients_provided_signals.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/routing_provided_signals.d.ts +24 -0
- package/dist/generated-proto/pb_schema/cdp/cof/routing_provided_signals.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/routing_provided_signals.js +42 -0
- package/dist/generated-proto/pb_schema/cdp/cof/routing_provided_signals.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/snap_kit_provided_signals.d.ts +24 -0
- package/dist/generated-proto/pb_schema/cdp/cof/snap_kit_provided_signals.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/snap_kit_provided_signals.js +42 -0
- package/dist/generated-proto/pb_schema/cdp/cof/snap_kit_provided_signals.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/upload_provided_signals.d.ts +40 -0
- package/dist/generated-proto/pb_schema/cdp/cof/upload_provided_signals.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/upload_provided_signals.js +71 -0
- package/dist/generated-proto/pb_schema/cdp/cof/upload_provided_signals.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/media/snap_source.d.ts +14 -0
- package/dist/generated-proto/pb_schema/cdp/media/snap_source.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/media/snap_source.js +21 -0
- package/dist/generated-proto/pb_schema/cdp/media/snap_source.js.map +1 -0
- package/dist/generated-proto/pb_schema/content/asset.d.ts +51 -0
- package/dist/generated-proto/pb_schema/content/asset.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/content/asset.js +74 -0
- package/dist/generated-proto/pb_schema/content/asset.js.map +1 -0
- package/dist/generated-proto/pb_schema/content/media_reference.d.ts +103 -0
- package/dist/generated-proto/pb_schema/content/media_reference.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/content/media_reference.js +183 -0
- package/dist/generated-proto/pb_schema/content/media_reference.js.map +1 -0
- package/dist/generated-proto/pb_schema/content/media_source.d.ts +19 -0
- package/dist/generated-proto/pb_schema/content/media_source.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/content/media_source.js +26 -0
- package/dist/generated-proto/pb_schema/content/media_source.js.map +1 -0
- package/dist/generated-proto/pb_schema/content/media_types.d.ts +63 -0
- package/dist/generated-proto/pb_schema/content/media_types.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/content/media_types.js +71 -0
- package/dist/generated-proto/pb_schema/content/media_types.js.map +1 -0
- package/dist/generated-proto/pb_schema/lenses/launchdata.d.ts +3 -0
- package/dist/generated-proto/pb_schema/lenses/launchdata.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/launchdata.js +20 -1
- package/dist/generated-proto/pb_schema/lenses/launchdata.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_spec.d.ts +2983 -0
- package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_spec.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_spec.js +2107 -0
- package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_spec.js.map +1 -0
- package/dist/generated-proto/pb_schema/snapdoc/capture_characteristics.d.ts +27 -0
- package/dist/generated-proto/pb_schema/snapdoc/capture_characteristics.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/snapdoc/capture_characteristics.js +49 -0
- package/dist/generated-proto/pb_schema/snapdoc/capture_characteristics.js.map +1 -0
- package/dist/generated-proto/pb_schema/snapdoc/extensions.d.ts +31 -0
- package/dist/generated-proto/pb_schema/snapdoc/extensions.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/snapdoc/extensions.js +56 -0
- package/dist/generated-proto/pb_schema/snapdoc/extensions.js.map +1 -0
- package/dist/generated-proto/pb_schema/snapdoc/media.d.ts +703 -0
- package/dist/generated-proto/pb_schema/snapdoc/media.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/snapdoc/media.js +992 -0
- package/dist/generated-proto/pb_schema/snapdoc/media.js.map +1 -0
- package/dist/generated-proto/pb_schema/snapdoc/media_codec_formats.d.ts +27 -0
- package/dist/generated-proto/pb_schema/snapdoc/media_codec_formats.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/snapdoc/media_codec_formats.js +36 -0
- package/dist/generated-proto/pb_schema/snapdoc/media_codec_formats.js.map +1 -0
- package/dist/generated-proto/pb_schema/snapdoc/media_file_formats.d.ts +8 -0
- package/dist/generated-proto/pb_schema/snapdoc/media_file_formats.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/snapdoc/media_file_formats.js +15 -0
- package/dist/generated-proto/pb_schema/snapdoc/media_file_formats.js.map +1 -0
- package/dist/generated-proto/pb_schema/snapdoc/media_id.d.ts +24 -0
- package/dist/generated-proto/pb_schema/snapdoc/media_id.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/snapdoc/media_id.js +45 -0
- package/dist/generated-proto/pb_schema/snapdoc/media_id.js.map +1 -0
- package/dist/generated-proto/pb_schema/snapdoc/snap_component_type.d.ts +68 -0
- package/dist/generated-proto/pb_schema/snapdoc/snap_component_type.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/snapdoc/snap_component_type.js +66 -0
- package/dist/generated-proto/pb_schema/snapdoc/snap_component_type.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/lens-client-interface/filePicker.d.ts +31 -0
- package/dist/lens-client-interface/filePicker.d.ts.map +1 -0
- package/dist/lens-client-interface/filePicker.js +3 -0
- package/dist/lens-client-interface/filePicker.js.map +1 -0
- package/dist/lens-client-interface/imagePicker.d.ts +2 -1
- package/dist/lens-client-interface/imagePicker.d.ts.map +1 -1
- package/dist/lens-client-interface/imagePicker.js +6 -3
- package/dist/lens-client-interface/imagePicker.js.map +1 -1
- package/dist/lens-client-interface/lensClientInterface.d.ts +3 -2
- package/dist/lens-client-interface/lensClientInterface.d.ts.map +1 -1
- package/dist/lens-client-interface/lensClientInterface.js +3 -2
- package/dist/lens-client-interface/lensClientInterface.js.map +1 -1
- package/dist/lens-core-module/loader/lensCoreFactory.d.ts +9 -2
- package/dist/lens-core-module/loader/lensCoreFactory.d.ts.map +1 -1
- package/dist/lens-core-module/loader/lensCoreFactory.js +18 -6
- 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/metrics/reporters/reportHttpMetrics.d.ts +5 -1
- package/dist/metrics/reporters/reportHttpMetrics.d.ts.map +1 -1
- package/dist/metrics/reporters/reportHttpMetrics.js +21 -15
- package/dist/metrics/reporters/reportHttpMetrics.js.map +1 -1
- package/dist/metrics/reporters/reporters.d.ts +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/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 +2 -2
- package/docs/html/classes/CameraKitSource.html +2 -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/ConcatInjectable.html +2 -2
- package/docs/html/functions/Injectable.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 +5 -0
- package/docs/html/functions/lensSourcesFactory.html +2 -2
- package/docs/html/functions/remoteApiServicesFactory.html +2 -2
- 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 +6 -2
- 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 +6 -0
- package/docs/html/types/FilePickerOptions.html +2 -0
- package/docs/html/types/FilePickerResult.html +2 -0
- 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 +1 -1
- package/docs/md/classes/CameraKitSource.md +1 -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 +65 -3
- package/package.json +6 -6
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "snapchat.cdp.cof";
|
|
3
|
+
export declare enum LegacyMushroomContentType {
|
|
4
|
+
UNKNOWN_ASSET_TYPE = 0,
|
|
5
|
+
GENERIC_LARGE_ASSET_TYPE = 1,
|
|
6
|
+
GENERIC_SMALL_ASSET_TYPE = 2,
|
|
7
|
+
AD_REMOTE_ASSET = 3,
|
|
8
|
+
AD_SNAP = 4,
|
|
9
|
+
AD_WEB_VIEW_RESOURCE_CONTENT = 5,
|
|
10
|
+
ATTACHMENT_INFO = 6,
|
|
11
|
+
BITMOJI = 7,
|
|
12
|
+
BITMOJI_LENS_AVATAR_ASSET = 8,
|
|
13
|
+
BITMOJI_LENS_METADATA = 9,
|
|
14
|
+
CAPTION_METADATA = 10,
|
|
15
|
+
CAPTION_TYPEFACE = 11,
|
|
16
|
+
CAPTION_VIEW_BITMAP = 12,
|
|
17
|
+
CHAT_MEDIA_THUMBNAIL = 13,
|
|
18
|
+
COGNAC = 14,
|
|
19
|
+
COGNAC_WEBVIEW = 15,
|
|
20
|
+
COMMERCE = 16,
|
|
21
|
+
CONTEXT_FILTER_METADATA = 17,
|
|
22
|
+
CUSTOM_STICKERS = 18,
|
|
23
|
+
DISCOVER_FEED_THUMBNAIL = 19,
|
|
24
|
+
DISCOVER_PUBLISHER_SNAP = 20,
|
|
25
|
+
DISCOVER_STORY_SNAP = 21,
|
|
26
|
+
DISCOVER_STORY_STREAMING_SNAP = 22,
|
|
27
|
+
EMOJI = 23,
|
|
28
|
+
EMOJI_BRUSH = 24,
|
|
29
|
+
EXTERNAL_GEOFILTER = 25,
|
|
30
|
+
EXTERNAL_STICKER = 26,
|
|
31
|
+
GEOFILTER_OVERLAY = 27,
|
|
32
|
+
IMAGELOADING_URL = 28,
|
|
33
|
+
HELVETICA = 29,
|
|
34
|
+
INFO_STICKER = 30,
|
|
35
|
+
LENS_CONTENT = 31,
|
|
36
|
+
LENS_ICON = 32,
|
|
37
|
+
LENS_OVERLAY_IMAGE = 33,
|
|
38
|
+
LENS_REMOTE_ASSET = 34,
|
|
39
|
+
LOGIN_KIT_PRIVACT = 35,
|
|
40
|
+
MAPS_EGGHUNT = 36,
|
|
41
|
+
MAPS_KASHMIR = 37,
|
|
42
|
+
MAPS_WORLDEFFECTS = 38,
|
|
43
|
+
MEDIA_PACKAGE_COMPOSITE = 39,
|
|
44
|
+
MEDIA_PACKAGE_THUMB = 40,
|
|
45
|
+
MEMORIES_EDITS = 41,
|
|
46
|
+
MEMORIES_MEDIA = 42,
|
|
47
|
+
MEMORIES_MINI_THUMBNAIL = 43,
|
|
48
|
+
MEMORIES_OVERLAY = 44,
|
|
49
|
+
MEMORIES_THUMBNAIL = 45,
|
|
50
|
+
NON_USER_BITMOJI = 46,
|
|
51
|
+
PAYMENTS = 47,
|
|
52
|
+
PUBLISHER_SNAP_MEDIA = 48,
|
|
53
|
+
SHAZAM = 49,
|
|
54
|
+
SKY_MODEL = 50,
|
|
55
|
+
SNAP = 51,
|
|
56
|
+
SNAP_FIRST_FRAME = 52,
|
|
57
|
+
SNAP_LOADING_FRAME = 53,
|
|
58
|
+
SNAP_STICKER = 54,
|
|
59
|
+
SPECTACLES = 55,
|
|
60
|
+
STICKER_TAG = 56,
|
|
61
|
+
STICKERS_METADATA = 57,
|
|
62
|
+
STORY_SNAP = 58,
|
|
63
|
+
STORY_THUMB = 59,
|
|
64
|
+
TRACKING_DATA = 60,
|
|
65
|
+
USER_GENERATED_ASSETS = 61,
|
|
66
|
+
UNRECOGNIZED = -1
|
|
67
|
+
}
|
|
68
|
+
export interface ContentManagerSignals {
|
|
69
|
+
legacyMushroomContentType: LegacyMushroomContentType;
|
|
70
|
+
}
|
|
71
|
+
export declare const ContentManagerSignals: {
|
|
72
|
+
encode(message: ContentManagerSignals, writer?: _m0.Writer): _m0.Writer;
|
|
73
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ContentManagerSignals;
|
|
74
|
+
fromPartial<I extends {
|
|
75
|
+
legacyMushroomContentType?: LegacyMushroomContentType | undefined;
|
|
76
|
+
} & {
|
|
77
|
+
legacyMushroomContentType?: LegacyMushroomContentType | undefined;
|
|
78
|
+
} & Record<Exclude<keyof I, "legacyMushroomContentType">, never>>(object: I): ContentManagerSignals;
|
|
79
|
+
};
|
|
80
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
81
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
82
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
83
|
+
} : Partial<T>;
|
|
84
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
85
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
86
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
87
|
+
} & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
|
|
88
|
+
export {};
|
|
89
|
+
//# sourceMappingURL=content_manager_provided_signals.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content_manager_provided_signals.d.ts","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/content_manager_provided_signals.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,oBAAoB,CAAC;AACrC,eAAO,MAAM,eAAe,qBAAqB,CAAC;AAClD,oBAAY,yBAAyB;IACjC,kBAAkB,IAAI;IACtB,wBAAwB,IAAI;IAC5B,wBAAwB,IAAI;IAC5B,eAAe,IAAI;IACnB,OAAO,IAAI;IACX,4BAA4B,IAAI;IAChC,eAAe,IAAI;IACnB,OAAO,IAAI;IACX,yBAAyB,IAAI;IAC7B,qBAAqB,IAAI;IACzB,gBAAgB,KAAK;IACrB,gBAAgB,KAAK;IACrB,mBAAmB,KAAK;IACxB,oBAAoB,KAAK;IACzB,MAAM,KAAK;IACX,cAAc,KAAK;IACnB,QAAQ,KAAK;IACb,uBAAuB,KAAK;IAC5B,eAAe,KAAK;IACpB,uBAAuB,KAAK;IAC5B,uBAAuB,KAAK;IAC5B,mBAAmB,KAAK;IACxB,6BAA6B,KAAK;IAClC,KAAK,KAAK;IACV,WAAW,KAAK;IAChB,kBAAkB,KAAK;IACvB,gBAAgB,KAAK;IACrB,iBAAiB,KAAK;IACtB,gBAAgB,KAAK;IACrB,SAAS,KAAK;IACd,YAAY,KAAK;IACjB,YAAY,KAAK;IACjB,SAAS,KAAK;IACd,kBAAkB,KAAK;IACvB,iBAAiB,KAAK;IACtB,iBAAiB,KAAK;IACtB,YAAY,KAAK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;CACrC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;AACf,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC,GAAG,KAAK,CAAC;AACpD,MAAM,MAAM,KAAK,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,CAAC,GAAG,CAAC,GAAG;KAC3D,CAAC,IAAI,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;CACpC,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import Long from "long";
|
|
2
|
+
import _m0 from "protobufjs/minimal";
|
|
3
|
+
export const protobufPackage = "snapchat.cdp.cof";
|
|
4
|
+
export var LegacyMushroomContentType;
|
|
5
|
+
(function (LegacyMushroomContentType) {
|
|
6
|
+
LegacyMushroomContentType[LegacyMushroomContentType["UNKNOWN_ASSET_TYPE"] = 0] = "UNKNOWN_ASSET_TYPE";
|
|
7
|
+
LegacyMushroomContentType[LegacyMushroomContentType["GENERIC_LARGE_ASSET_TYPE"] = 1] = "GENERIC_LARGE_ASSET_TYPE";
|
|
8
|
+
LegacyMushroomContentType[LegacyMushroomContentType["GENERIC_SMALL_ASSET_TYPE"] = 2] = "GENERIC_SMALL_ASSET_TYPE";
|
|
9
|
+
LegacyMushroomContentType[LegacyMushroomContentType["AD_REMOTE_ASSET"] = 3] = "AD_REMOTE_ASSET";
|
|
10
|
+
LegacyMushroomContentType[LegacyMushroomContentType["AD_SNAP"] = 4] = "AD_SNAP";
|
|
11
|
+
LegacyMushroomContentType[LegacyMushroomContentType["AD_WEB_VIEW_RESOURCE_CONTENT"] = 5] = "AD_WEB_VIEW_RESOURCE_CONTENT";
|
|
12
|
+
LegacyMushroomContentType[LegacyMushroomContentType["ATTACHMENT_INFO"] = 6] = "ATTACHMENT_INFO";
|
|
13
|
+
LegacyMushroomContentType[LegacyMushroomContentType["BITMOJI"] = 7] = "BITMOJI";
|
|
14
|
+
LegacyMushroomContentType[LegacyMushroomContentType["BITMOJI_LENS_AVATAR_ASSET"] = 8] = "BITMOJI_LENS_AVATAR_ASSET";
|
|
15
|
+
LegacyMushroomContentType[LegacyMushroomContentType["BITMOJI_LENS_METADATA"] = 9] = "BITMOJI_LENS_METADATA";
|
|
16
|
+
LegacyMushroomContentType[LegacyMushroomContentType["CAPTION_METADATA"] = 10] = "CAPTION_METADATA";
|
|
17
|
+
LegacyMushroomContentType[LegacyMushroomContentType["CAPTION_TYPEFACE"] = 11] = "CAPTION_TYPEFACE";
|
|
18
|
+
LegacyMushroomContentType[LegacyMushroomContentType["CAPTION_VIEW_BITMAP"] = 12] = "CAPTION_VIEW_BITMAP";
|
|
19
|
+
LegacyMushroomContentType[LegacyMushroomContentType["CHAT_MEDIA_THUMBNAIL"] = 13] = "CHAT_MEDIA_THUMBNAIL";
|
|
20
|
+
LegacyMushroomContentType[LegacyMushroomContentType["COGNAC"] = 14] = "COGNAC";
|
|
21
|
+
LegacyMushroomContentType[LegacyMushroomContentType["COGNAC_WEBVIEW"] = 15] = "COGNAC_WEBVIEW";
|
|
22
|
+
LegacyMushroomContentType[LegacyMushroomContentType["COMMERCE"] = 16] = "COMMERCE";
|
|
23
|
+
LegacyMushroomContentType[LegacyMushroomContentType["CONTEXT_FILTER_METADATA"] = 17] = "CONTEXT_FILTER_METADATA";
|
|
24
|
+
LegacyMushroomContentType[LegacyMushroomContentType["CUSTOM_STICKERS"] = 18] = "CUSTOM_STICKERS";
|
|
25
|
+
LegacyMushroomContentType[LegacyMushroomContentType["DISCOVER_FEED_THUMBNAIL"] = 19] = "DISCOVER_FEED_THUMBNAIL";
|
|
26
|
+
LegacyMushroomContentType[LegacyMushroomContentType["DISCOVER_PUBLISHER_SNAP"] = 20] = "DISCOVER_PUBLISHER_SNAP";
|
|
27
|
+
LegacyMushroomContentType[LegacyMushroomContentType["DISCOVER_STORY_SNAP"] = 21] = "DISCOVER_STORY_SNAP";
|
|
28
|
+
LegacyMushroomContentType[LegacyMushroomContentType["DISCOVER_STORY_STREAMING_SNAP"] = 22] = "DISCOVER_STORY_STREAMING_SNAP";
|
|
29
|
+
LegacyMushroomContentType[LegacyMushroomContentType["EMOJI"] = 23] = "EMOJI";
|
|
30
|
+
LegacyMushroomContentType[LegacyMushroomContentType["EMOJI_BRUSH"] = 24] = "EMOJI_BRUSH";
|
|
31
|
+
LegacyMushroomContentType[LegacyMushroomContentType["EXTERNAL_GEOFILTER"] = 25] = "EXTERNAL_GEOFILTER";
|
|
32
|
+
LegacyMushroomContentType[LegacyMushroomContentType["EXTERNAL_STICKER"] = 26] = "EXTERNAL_STICKER";
|
|
33
|
+
LegacyMushroomContentType[LegacyMushroomContentType["GEOFILTER_OVERLAY"] = 27] = "GEOFILTER_OVERLAY";
|
|
34
|
+
LegacyMushroomContentType[LegacyMushroomContentType["IMAGELOADING_URL"] = 28] = "IMAGELOADING_URL";
|
|
35
|
+
LegacyMushroomContentType[LegacyMushroomContentType["HELVETICA"] = 29] = "HELVETICA";
|
|
36
|
+
LegacyMushroomContentType[LegacyMushroomContentType["INFO_STICKER"] = 30] = "INFO_STICKER";
|
|
37
|
+
LegacyMushroomContentType[LegacyMushroomContentType["LENS_CONTENT"] = 31] = "LENS_CONTENT";
|
|
38
|
+
LegacyMushroomContentType[LegacyMushroomContentType["LENS_ICON"] = 32] = "LENS_ICON";
|
|
39
|
+
LegacyMushroomContentType[LegacyMushroomContentType["LENS_OVERLAY_IMAGE"] = 33] = "LENS_OVERLAY_IMAGE";
|
|
40
|
+
LegacyMushroomContentType[LegacyMushroomContentType["LENS_REMOTE_ASSET"] = 34] = "LENS_REMOTE_ASSET";
|
|
41
|
+
LegacyMushroomContentType[LegacyMushroomContentType["LOGIN_KIT_PRIVACT"] = 35] = "LOGIN_KIT_PRIVACT";
|
|
42
|
+
LegacyMushroomContentType[LegacyMushroomContentType["MAPS_EGGHUNT"] = 36] = "MAPS_EGGHUNT";
|
|
43
|
+
LegacyMushroomContentType[LegacyMushroomContentType["MAPS_KASHMIR"] = 37] = "MAPS_KASHMIR";
|
|
44
|
+
LegacyMushroomContentType[LegacyMushroomContentType["MAPS_WORLDEFFECTS"] = 38] = "MAPS_WORLDEFFECTS";
|
|
45
|
+
LegacyMushroomContentType[LegacyMushroomContentType["MEDIA_PACKAGE_COMPOSITE"] = 39] = "MEDIA_PACKAGE_COMPOSITE";
|
|
46
|
+
LegacyMushroomContentType[LegacyMushroomContentType["MEDIA_PACKAGE_THUMB"] = 40] = "MEDIA_PACKAGE_THUMB";
|
|
47
|
+
LegacyMushroomContentType[LegacyMushroomContentType["MEMORIES_EDITS"] = 41] = "MEMORIES_EDITS";
|
|
48
|
+
LegacyMushroomContentType[LegacyMushroomContentType["MEMORIES_MEDIA"] = 42] = "MEMORIES_MEDIA";
|
|
49
|
+
LegacyMushroomContentType[LegacyMushroomContentType["MEMORIES_MINI_THUMBNAIL"] = 43] = "MEMORIES_MINI_THUMBNAIL";
|
|
50
|
+
LegacyMushroomContentType[LegacyMushroomContentType["MEMORIES_OVERLAY"] = 44] = "MEMORIES_OVERLAY";
|
|
51
|
+
LegacyMushroomContentType[LegacyMushroomContentType["MEMORIES_THUMBNAIL"] = 45] = "MEMORIES_THUMBNAIL";
|
|
52
|
+
LegacyMushroomContentType[LegacyMushroomContentType["NON_USER_BITMOJI"] = 46] = "NON_USER_BITMOJI";
|
|
53
|
+
LegacyMushroomContentType[LegacyMushroomContentType["PAYMENTS"] = 47] = "PAYMENTS";
|
|
54
|
+
LegacyMushroomContentType[LegacyMushroomContentType["PUBLISHER_SNAP_MEDIA"] = 48] = "PUBLISHER_SNAP_MEDIA";
|
|
55
|
+
LegacyMushroomContentType[LegacyMushroomContentType["SHAZAM"] = 49] = "SHAZAM";
|
|
56
|
+
LegacyMushroomContentType[LegacyMushroomContentType["SKY_MODEL"] = 50] = "SKY_MODEL";
|
|
57
|
+
LegacyMushroomContentType[LegacyMushroomContentType["SNAP"] = 51] = "SNAP";
|
|
58
|
+
LegacyMushroomContentType[LegacyMushroomContentType["SNAP_FIRST_FRAME"] = 52] = "SNAP_FIRST_FRAME";
|
|
59
|
+
LegacyMushroomContentType[LegacyMushroomContentType["SNAP_LOADING_FRAME"] = 53] = "SNAP_LOADING_FRAME";
|
|
60
|
+
LegacyMushroomContentType[LegacyMushroomContentType["SNAP_STICKER"] = 54] = "SNAP_STICKER";
|
|
61
|
+
LegacyMushroomContentType[LegacyMushroomContentType["SPECTACLES"] = 55] = "SPECTACLES";
|
|
62
|
+
LegacyMushroomContentType[LegacyMushroomContentType["STICKER_TAG"] = 56] = "STICKER_TAG";
|
|
63
|
+
LegacyMushroomContentType[LegacyMushroomContentType["STICKERS_METADATA"] = 57] = "STICKERS_METADATA";
|
|
64
|
+
LegacyMushroomContentType[LegacyMushroomContentType["STORY_SNAP"] = 58] = "STORY_SNAP";
|
|
65
|
+
LegacyMushroomContentType[LegacyMushroomContentType["STORY_THUMB"] = 59] = "STORY_THUMB";
|
|
66
|
+
LegacyMushroomContentType[LegacyMushroomContentType["TRACKING_DATA"] = 60] = "TRACKING_DATA";
|
|
67
|
+
LegacyMushroomContentType[LegacyMushroomContentType["USER_GENERATED_ASSETS"] = 61] = "USER_GENERATED_ASSETS";
|
|
68
|
+
LegacyMushroomContentType[LegacyMushroomContentType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
69
|
+
})(LegacyMushroomContentType || (LegacyMushroomContentType = {}));
|
|
70
|
+
function createBaseContentManagerSignals() {
|
|
71
|
+
return { legacyMushroomContentType: 0 };
|
|
72
|
+
}
|
|
73
|
+
export const ContentManagerSignals = {
|
|
74
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
75
|
+
if (message.legacyMushroomContentType !== 0) {
|
|
76
|
+
writer.uint32(8).int32(message.legacyMushroomContentType);
|
|
77
|
+
}
|
|
78
|
+
return writer;
|
|
79
|
+
},
|
|
80
|
+
decode(input, length) {
|
|
81
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
82
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
83
|
+
const message = createBaseContentManagerSignals();
|
|
84
|
+
while (reader.pos < end) {
|
|
85
|
+
const tag = reader.uint32();
|
|
86
|
+
switch (tag >>> 3) {
|
|
87
|
+
case 1:
|
|
88
|
+
message.legacyMushroomContentType = reader.int32();
|
|
89
|
+
break;
|
|
90
|
+
default:
|
|
91
|
+
reader.skipType(tag & 7);
|
|
92
|
+
break;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
return message;
|
|
96
|
+
},
|
|
97
|
+
fromPartial(object) {
|
|
98
|
+
var _a;
|
|
99
|
+
const message = createBaseContentManagerSignals();
|
|
100
|
+
message.legacyMushroomContentType = (_a = object.legacyMushroomContentType) !== null && _a !== void 0 ? _a : 0;
|
|
101
|
+
return message;
|
|
102
|
+
},
|
|
103
|
+
};
|
|
104
|
+
if (_m0.util.Long !== Long) {
|
|
105
|
+
_m0.util.Long = Long;
|
|
106
|
+
_m0.configure();
|
|
107
|
+
}
|
|
108
|
+
//# sourceMappingURL=content_manager_provided_signals.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content_manager_provided_signals.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/content_manager_provided_signals.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,GAAG,MAAM,oBAAoB,CAAC;AACrC,MAAM,CAAC,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAClD,MAAM,CAAN,IAAY,yBAgEX;AAhED,WAAY,yBAAyB;IACjC,qGAAsB,CAAA;IACtB,iHAA4B,CAAA;IAC5B,iHAA4B,CAAA;IAC5B,+FAAmB,CAAA;IACnB,+EAAW,CAAA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AC;QAC1E,OAAO,OAAO,CAAC;IACnB,CAAC;CACJ,CAAC;AASF,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,EAAE;IACxB,GAAG,CAAC,IAAI,CAAC,IAAI,GAAG,IAAW,CAAC;IAC5B,GAAG,CAAC,SAAS,EAAE,CAAC;CACnB","sourcesContent":["import Long from \"long\";\nimport _m0 from \"protobufjs/minimal\";\nexport const protobufPackage = \"snapchat.cdp.cof\";\nexport enum LegacyMushroomContentType {\n UNKNOWN_ASSET_TYPE = 0,\n GENERIC_LARGE_ASSET_TYPE = 1,\n GENERIC_SMALL_ASSET_TYPE = 2,\n AD_REMOTE_ASSET = 3,\n AD_SNAP = 4,\n AD_WEB_VIEW_RESOURCE_CONTENT = 5,\n ATTACHMENT_INFO = 6,\n BITMOJI = 7,\n BITMOJI_LENS_AVATAR_ASSET = 8,\n BITMOJI_LENS_METADATA = 9,\n CAPTION_METADATA = 10,\n CAPTION_TYPEFACE = 11,\n CAPTION_VIEW_BITMAP = 12,\n CHAT_MEDIA_THUMBNAIL = 13,\n COGNAC = 14,\n COGNAC_WEBVIEW = 15,\n COMMERCE = 16,\n CONTEXT_FILTER_METADATA = 17,\n CUSTOM_STICKERS = 18,\n DISCOVER_FEED_THUMBNAIL = 19,\n DISCOVER_PUBLISHER_SNAP = 20,\n DISCOVER_STORY_SNAP = 21,\n DISCOVER_STORY_STREAMING_SNAP = 22,\n EMOJI = 23,\n EMOJI_BRUSH = 24,\n EXTERNAL_GEOFILTER = 25,\n EXTERNAL_STICKER = 26,\n GEOFILTER_OVERLAY = 27,\n IMAGELOADING_URL = 28,\n HELVETICA = 29,\n INFO_STICKER = 30,\n LENS_CONTENT = 31,\n LENS_ICON = 32,\n LENS_OVERLAY_IMAGE = 33,\n LENS_REMOTE_ASSET = 34,\n LOGIN_KIT_PRIVACT = 35,\n MAPS_EGGHUNT = 36,\n MAPS_KASHMIR = 37,\n MAPS_WORLDEFFECTS = 38,\n MEDIA_PACKAGE_COMPOSITE = 39,\n MEDIA_PACKAGE_THUMB = 40,\n MEMORIES_EDITS = 41,\n MEMORIES_MEDIA = 42,\n MEMORIES_MINI_THUMBNAIL = 43,\n MEMORIES_OVERLAY = 44,\n MEMORIES_THUMBNAIL = 45,\n NON_USER_BITMOJI = 46,\n PAYMENTS = 47,\n PUBLISHER_SNAP_MEDIA = 48,\n SHAZAM = 49,\n SKY_MODEL = 50,\n SNAP = 51,\n SNAP_FIRST_FRAME = 52,\n SNAP_LOADING_FRAME = 53,\n SNAP_STICKER = 54,\n SPECTACLES = 55,\n STICKER_TAG = 56,\n STICKERS_METADATA = 57,\n STORY_SNAP = 58,\n STORY_THUMB = 59,\n TRACKING_DATA = 60,\n USER_GENERATED_ASSETS = 61,\n UNRECOGNIZED = -1\n}\nexport interface ContentManagerSignals {\n legacyMushroomContentType: LegacyMushroomContentType;\n}\nfunction createBaseContentManagerSignals(): ContentManagerSignals {\n return { legacyMushroomContentType: 0 };\n}\nexport const ContentManagerSignals = {\n encode(message: ContentManagerSignals, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.legacyMushroomContentType !== 0) {\n writer.uint32(8).int32(message.legacyMushroomContentType);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): ContentManagerSignals {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseContentManagerSignals();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.legacyMushroomContentType = reader.int32() as any;\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<ContentManagerSignals>, I>>(object: I): ContentManagerSignals {\n const message = createBaseContentManagerSignals();\n message.legacyMushroomContentType = object.legacyMushroomContentType ?? 0;\n return message;\n },\n};\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;\nexport type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {\n [K in keyof T]?: DeepPartial<T[K]>;\n} : Partial<T>;\ntype KeysOfUnion<T> = T extends T ? keyof T : never;\nexport type Exact<P, I extends P> = P extends Builtin ? P : P & {\n [K in keyof P]: Exact<P[K], I[K]>;\n} & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;\nif (_m0.util.Long !== Long) {\n _m0.util.Long = Long as any;\n _m0.configure();\n}\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "snapchat.cdp.cof";
|
|
3
|
+
export interface CreativeToolsSignals {
|
|
4
|
+
withAnimatedOverlay: boolean;
|
|
5
|
+
withMusic: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const CreativeToolsSignals: {
|
|
8
|
+
encode(message: CreativeToolsSignals, writer?: _m0.Writer): _m0.Writer;
|
|
9
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CreativeToolsSignals;
|
|
10
|
+
fromPartial<I extends {
|
|
11
|
+
withAnimatedOverlay?: boolean | undefined;
|
|
12
|
+
withMusic?: boolean | undefined;
|
|
13
|
+
} & {
|
|
14
|
+
withAnimatedOverlay?: boolean | undefined;
|
|
15
|
+
withMusic?: boolean | undefined;
|
|
16
|
+
} & Record<Exclude<keyof I, keyof CreativeToolsSignals>, never>>(object: I): CreativeToolsSignals;
|
|
17
|
+
};
|
|
18
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
19
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
20
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
21
|
+
} : Partial<T>;
|
|
22
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
23
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
24
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
25
|
+
} & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=creative_tools_provided_signals.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"creative_tools_provided_signals.d.ts","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/creative_tools_provided_signals.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,oBAAoB,CAAC;AACrC,eAAO,MAAM,eAAe,qBAAqB,CAAC;AAClD,MAAM,WAAW,oBAAoB;IACjC,mBAAmB,EAAE,OAAO,CAAC;IAC7B,SAAS,EAAE,OAAO,CAAC;CACtB;AAID,eAAO,MAAM,oBAAoB;oBACb,oBAAoB,WAAU,IAAI,MAAM,GAAyB,IAAI,MAAM;kBAS7E,IAAI,MAAM,GAAG,UAAU,WAAW,MAAM,GAAG,oBAAoB;;;;;;;iFAoBE,oBAAoB;CAMtG,CAAC;AACF,KAAK,OAAO,GAAG,IAAI,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AACpF,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,CAAC,GAAG,CAAC,SAAS,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,aAAa,CAAC,MAAM,CAAC,CAAC,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,EAAE,GAAG;KACrL,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CACrC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;AACf,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC,GAAG,KAAK,CAAC;AACpD,MAAM,MAAM,KAAK,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,CAAC,GAAG,CAAC,GAAG;KAC3D,CAAC,IAAI,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;CACpC,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import Long from "long";
|
|
2
|
+
import _m0 from "protobufjs/minimal";
|
|
3
|
+
export const protobufPackage = "snapchat.cdp.cof";
|
|
4
|
+
function createBaseCreativeToolsSignals() {
|
|
5
|
+
return { withAnimatedOverlay: false, withMusic: false };
|
|
6
|
+
}
|
|
7
|
+
export const CreativeToolsSignals = {
|
|
8
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
9
|
+
if (message.withAnimatedOverlay === true) {
|
|
10
|
+
writer.uint32(8).bool(message.withAnimatedOverlay);
|
|
11
|
+
}
|
|
12
|
+
if (message.withMusic === true) {
|
|
13
|
+
writer.uint32(16).bool(message.withMusic);
|
|
14
|
+
}
|
|
15
|
+
return writer;
|
|
16
|
+
},
|
|
17
|
+
decode(input, length) {
|
|
18
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
19
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
20
|
+
const message = createBaseCreativeToolsSignals();
|
|
21
|
+
while (reader.pos < end) {
|
|
22
|
+
const tag = reader.uint32();
|
|
23
|
+
switch (tag >>> 3) {
|
|
24
|
+
case 1:
|
|
25
|
+
message.withAnimatedOverlay = reader.bool();
|
|
26
|
+
break;
|
|
27
|
+
case 2:
|
|
28
|
+
message.withMusic = reader.bool();
|
|
29
|
+
break;
|
|
30
|
+
default:
|
|
31
|
+
reader.skipType(tag & 7);
|
|
32
|
+
break;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return message;
|
|
36
|
+
},
|
|
37
|
+
fromPartial(object) {
|
|
38
|
+
var _a, _b;
|
|
39
|
+
const message = createBaseCreativeToolsSignals();
|
|
40
|
+
message.withAnimatedOverlay = (_a = object.withAnimatedOverlay) !== null && _a !== void 0 ? _a : false;
|
|
41
|
+
message.withMusic = (_b = object.withMusic) !== null && _b !== void 0 ? _b : false;
|
|
42
|
+
return message;
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
if (_m0.util.Long !== Long) {
|
|
46
|
+
_m0.util.Long = Long;
|
|
47
|
+
_m0.configure();
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=creative_tools_provided_signals.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"creative_tools_provided_signals.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/creative_tools_provided_signals.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,GAAG,MAAM,oBAAoB,CAAC;AACrC,MAAM,CAAC,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAKlD,SAAS,8BAA8B;IACnC,OAAO,EAAE,mBAAmB,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;AAC5D,CAAC;AACD,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAChC,MAAM,CAAC,OAA6B,EAAE,SAAqB,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAC1E,IAAI,OAAO,CAAC,mBAAmB,KAAK,IAAI,EAAE;YACtC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;SACtD;QACD,IAAI,OAAO,CAAC,SAAS,KAAK,IAA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AI,GAAG,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,EAAE;IACxB,GAAG,CAAC,IAAI,CAAC,IAAI,GAAG,IAAW,CAAC;IAC5B,GAAG,CAAC,SAAS,EAAE,CAAC;CACnB","sourcesContent":["import Long from \"long\";\nimport _m0 from \"protobufjs/minimal\";\nexport const protobufPackage = \"snapchat.cdp.cof\";\nexport interface CreativeToolsSignals {\n withAnimatedOverlay: boolean;\n withMusic: boolean;\n}\nfunction createBaseCreativeToolsSignals(): CreativeToolsSignals {\n return { withAnimatedOverlay: false, withMusic: false };\n}\nexport const CreativeToolsSignals = {\n encode(message: CreativeToolsSignals, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.withAnimatedOverlay === true) {\n writer.uint32(8).bool(message.withAnimatedOverlay);\n }\n if (message.withMusic === true) {\n writer.uint32(16).bool(message.withMusic);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): CreativeToolsSignals {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseCreativeToolsSignals();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.withAnimatedOverlay = reader.bool();\n break;\n case 2:\n message.withMusic = reader.bool();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<CreativeToolsSignals>, I>>(object: I): CreativeToolsSignals {\n const message = createBaseCreativeToolsSignals();\n message.withAnimatedOverlay = object.withAnimatedOverlay ?? false;\n message.withMusic = object.withMusic ?? false;\n return message;\n },\n};\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;\nexport type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {\n [K in keyof T]?: DeepPartial<T[K]>;\n} : Partial<T>;\ntype KeysOfUnion<T> = T extends T ? keyof T : never;\nexport type Exact<P, I extends P> = P extends Builtin ? P : P & {\n [K in keyof P]: Exact<P[K], I[K]>;\n} & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;\nif (_m0.util.Long !== Long) {\n _m0.util.Long = Long as any;\n _m0.configure();\n}\n"]}
|