@snap/camera-kit 0.23.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.
Files changed (567) hide show
  1. package/LICENSE.md +1122 -537
  2. package/README.md +1 -1
  3. package/dist/CameraKit.d.ts +3 -3
  4. package/dist/CameraKit.d.ts.map +1 -1
  5. package/dist/CameraKit.js +1 -2
  6. package/dist/CameraKit.js.map +1 -1
  7. package/dist/RootServices.d.ts +78 -0
  8. package/dist/RootServices.d.ts.map +1 -0
  9. package/dist/RootServices.js.map +1 -0
  10. package/dist/bootstrapCameraKit.d.ts +3 -4
  11. package/dist/bootstrapCameraKit.d.ts.map +1 -1
  12. package/dist/bootstrapCameraKit.js +8 -8
  13. package/dist/bootstrapCameraKit.js.map +1 -1
  14. package/dist/clients/createTsProtoClient.d.ts +2 -2
  15. package/dist/clients/createTsProtoClient.d.ts.map +1 -1
  16. package/dist/clients/createTsProtoClient.js.map +1 -1
  17. package/dist/clients/grpcHandler.d.ts.map +1 -1
  18. package/dist/clients/grpcHandler.js +1 -1
  19. package/dist/clients/grpcHandler.js.map +1 -1
  20. package/dist/clients/lensesClient.js +1 -1
  21. package/dist/clients/lensesClient.js.map +1 -1
  22. package/dist/clients/metricsClient.d.ts.map +1 -1
  23. package/dist/clients/metricsClient.js +1 -1
  24. package/dist/clients/metricsClient.js.map +1 -1
  25. package/dist/common/pageVisibility.js +1 -1
  26. package/dist/common/pageVisibility.js.map +1 -1
  27. package/dist/configuration.d.ts.map +1 -1
  28. package/dist/configuration.js +1 -1
  29. package/dist/configuration.js.map +1 -1
  30. package/dist/environment.d.ts.map +1 -1
  31. package/dist/environment.js +1 -1
  32. package/dist/environment.js.map +1 -1
  33. package/dist/extensions/RemoteApiServices.js +1 -1
  34. package/dist/extensions/RemoteApiServices.js.map +1 -1
  35. package/dist/extensions/UriHandlers.js +1 -1
  36. package/dist/extensions/UriHandlers.js.map +1 -1
  37. package/dist/extensions/uriHandlersRegister.d.ts.map +1 -1
  38. package/dist/extensions/uriHandlersRegister.js +1 -1
  39. package/dist/extensions/uriHandlersRegister.js.map +1 -1
  40. package/dist/generated-proto/blizzard/cameraKitEvents.d.ts +45 -9270
  41. package/dist/generated-proto/blizzard/cameraKitEvents.d.ts.map +1 -1
  42. package/dist/generated-proto/blizzard/cameraKitEvents.js +300 -123
  43. package/dist/generated-proto/blizzard/cameraKitEvents.js.map +1 -1
  44. package/dist/generated-proto/pb_schema/camera_kit/v3/business_events.d.ts +12 -32
  45. package/dist/generated-proto/pb_schema/camera_kit/v3/business_events.d.ts.map +1 -1
  46. package/dist/generated-proto/pb_schema/camera_kit/v3/business_events.js +77 -37
  47. package/dist/generated-proto/pb_schema/camera_kit/v3/business_events.js.map +1 -1
  48. package/dist/generated-proto/pb_schema/camera_kit/v3/export.d.ts +19 -454
  49. package/dist/generated-proto/pb_schema/camera_kit/v3/export.d.ts.map +1 -1
  50. package/dist/generated-proto/pb_schema/camera_kit/v3/export.js +219 -118
  51. package/dist/generated-proto/pb_schema/camera_kit/v3/export.js.map +1 -1
  52. package/dist/generated-proto/pb_schema/camera_kit/v3/features/ranking_info.d.ts +12 -12
  53. package/dist/generated-proto/pb_schema/camera_kit/v3/features/ranking_info.d.ts.map +1 -1
  54. package/dist/generated-proto/pb_schema/camera_kit/v3/features/ranking_info.js +16 -13
  55. package/dist/generated-proto/pb_schema/camera_kit/v3/features/ranking_info.js.map +1 -1
  56. package/dist/generated-proto/pb_schema/camera_kit/v3/features/remote_api_info.d.ts +12 -12
  57. package/dist/generated-proto/pb_schema/camera_kit/v3/features/remote_api_info.d.ts.map +1 -1
  58. package/dist/generated-proto/pb_schema/camera_kit/v3/features/remote_api_info.js +16 -13
  59. package/dist/generated-proto/pb_schema/camera_kit/v3/features/remote_api_info.js.map +1 -1
  60. package/dist/generated-proto/pb_schema/camera_kit/v3/legal_prompt.d.ts +13 -54
  61. package/dist/generated-proto/pb_schema/camera_kit/v3/legal_prompt.d.ts.map +1 -1
  62. package/dist/generated-proto/pb_schema/camera_kit/v3/legal_prompt.js +61 -34
  63. package/dist/generated-proto/pb_schema/camera_kit/v3/legal_prompt.js.map +1 -1
  64. package/dist/generated-proto/pb_schema/camera_kit/v3/lens.d.ts +19 -299
  65. package/dist/generated-proto/pb_schema/camera_kit/v3/lens.d.ts.map +1 -1
  66. package/dist/generated-proto/pb_schema/camera_kit/v3/lens.js +294 -133
  67. package/dist/generated-proto/pb_schema/camera_kit/v3/lens.js.map +1 -1
  68. package/dist/generated-proto/pb_schema/camera_kit/v3/operational_metrics.d.ts +14 -148
  69. package/dist/generated-proto/pb_schema/camera_kit/v3/operational_metrics.d.ts.map +1 -1
  70. package/dist/generated-proto/pb_schema/camera_kit/v3/operational_metrics.js +74 -48
  71. package/dist/generated-proto/pb_schema/camera_kit/v3/operational_metrics.js.map +1 -1
  72. package/dist/generated-proto/pb_schema/camera_kit/v3/ranking.d.ts +12 -18
  73. package/dist/generated-proto/pb_schema/camera_kit/v3/ranking.d.ts.map +1 -1
  74. package/dist/generated-proto/pb_schema/camera_kit/v3/ranking.js +34 -19
  75. package/dist/generated-proto/pb_schema/camera_kit/v3/ranking.js.map +1 -1
  76. package/dist/generated-proto/pb_schema/camera_kit/v3/remote_api_spec.d.ts +19 -516
  77. package/dist/generated-proto/pb_schema/camera_kit/v3/remote_api_spec.d.ts.map +1 -1
  78. package/dist/generated-proto/pb_schema/camera_kit/v3/remote_api_spec.js +164 -80
  79. package/dist/generated-proto/pb_schema/camera_kit/v3/remote_api_spec.js.map +1 -1
  80. package/dist/generated-proto/pb_schema/camera_kit/v3/service.d.ts +80 -2371
  81. package/dist/generated-proto/pb_schema/camera_kit/v3/service.d.ts.map +1 -1
  82. package/dist/generated-proto/pb_schema/camera_kit/v3/service.js +847 -174
  83. package/dist/generated-proto/pb_schema/camera_kit/v3/service.js.map +1 -1
  84. package/dist/generated-proto/pb_schema/cdp/cof/app_launch_type.d.ts.map +1 -1
  85. package/dist/generated-proto/pb_schema/cdp/cof/app_launch_type.js +0 -6
  86. package/dist/generated-proto/pb_schema/cdp/cof/app_launch_type.js.map +1 -1
  87. package/dist/generated-proto/pb_schema/cdp/cof/benchmark.d.ts +18 -59
  88. package/dist/generated-proto/pb_schema/cdp/cof/benchmark.d.ts.map +1 -1
  89. package/dist/generated-proto/pb_schema/cdp/cof/benchmark.js +88 -52
  90. package/dist/generated-proto/pb_schema/cdp/cof/benchmark.js.map +1 -1
  91. package/dist/generated-proto/pb_schema/cdp/cof/benchmark_name.d.ts.map +1 -1
  92. package/dist/generated-proto/pb_schema/cdp/cof/benchmark_name.js +0 -6
  93. package/dist/generated-proto/pb_schema/cdp/cof/benchmark_name.js.map +1 -1
  94. package/dist/generated-proto/pb_schema/cdp/cof/billboard_provided_signals.d.ts +12 -106
  95. package/dist/generated-proto/pb_schema/cdp/cof/billboard_provided_signals.d.ts.map +1 -1
  96. package/dist/generated-proto/pb_schema/cdp/cof/billboard_provided_signals.js +328 -140
  97. package/dist/generated-proto/pb_schema/cdp/cof/billboard_provided_signals.js.map +1 -1
  98. package/dist/generated-proto/pb_schema/cdp/cof/bolt_provided_signals.d.ts +12 -18
  99. package/dist/generated-proto/pb_schema/cdp/cof/bolt_provided_signals.d.ts.map +1 -1
  100. package/dist/generated-proto/pb_schema/cdp/cof/bolt_provided_signals.js +35 -20
  101. package/dist/generated-proto/pb_schema/cdp/cof/bolt_provided_signals.js.map +1 -1
  102. package/dist/generated-proto/pb_schema/cdp/cof/camera_provided_signals.d.ts +12 -34
  103. package/dist/generated-proto/pb_schema/cdp/cof/camera_provided_signals.d.ts.map +1 -1
  104. package/dist/generated-proto/pb_schema/cdp/cof/camera_provided_signals.js +86 -39
  105. package/dist/generated-proto/pb_schema/cdp/cof/camera_provided_signals.js.map +1 -1
  106. package/dist/generated-proto/pb_schema/cdp/cof/circumstance_service.d.ts +47 -28591
  107. package/dist/generated-proto/pb_schema/cdp/cof/circumstance_service.d.ts.map +1 -1
  108. package/dist/generated-proto/pb_schema/cdp/cof/circumstance_service.js +644 -348
  109. package/dist/generated-proto/pb_schema/cdp/cof/circumstance_service.js.map +1 -1
  110. package/dist/generated-proto/pb_schema/cdp/cof/cognac_provided_signals.d.ts +12 -12
  111. package/dist/generated-proto/pb_schema/cdp/cof/cognac_provided_signals.d.ts.map +1 -1
  112. package/dist/generated-proto/pb_schema/cdp/cof/cognac_provided_signals.js +16 -13
  113. package/dist/generated-proto/pb_schema/cdp/cof/cognac_provided_signals.js.map +1 -1
  114. package/dist/generated-proto/pb_schema/cdp/cof/config_request.d.ts +18 -214
  115. package/dist/generated-proto/pb_schema/cdp/cof/config_request.d.ts.map +1 -1
  116. package/dist/generated-proto/pb_schema/cdp/cof/config_request.js +362 -157
  117. package/dist/generated-proto/pb_schema/cdp/cof/config_request.js.map +1 -1
  118. package/dist/generated-proto/pb_schema/cdp/cof/config_response.d.ts +20 -3801
  119. package/dist/generated-proto/pb_schema/cdp/cof/config_response.d.ts.map +1 -1
  120. package/dist/generated-proto/pb_schema/cdp/cof/config_response.js +144 -46
  121. package/dist/generated-proto/pb_schema/cdp/cof/config_response.js.map +1 -1
  122. package/dist/generated-proto/pb_schema/cdp/cof/config_result.d.ts +49 -10060
  123. package/dist/generated-proto/pb_schema/cdp/cof/config_result.d.ts.map +1 -1
  124. package/dist/generated-proto/pb_schema/cdp/cof/config_result.js +443 -182
  125. package/dist/generated-proto/pb_schema/cdp/cof/config_result.js.map +1 -1
  126. package/dist/generated-proto/pb_schema/cdp/cof/contact_authorization_status.d.ts.map +1 -1
  127. package/dist/generated-proto/pb_schema/cdp/cof/contact_authorization_status.js +0 -6
  128. package/dist/generated-proto/pb_schema/cdp/cof/contact_authorization_status.js.map +1 -1
  129. package/dist/generated-proto/pb_schema/cdp/cof/content_manager_provided_signals.d.ts +12 -12
  130. package/dist/generated-proto/pb_schema/cdp/cof/content_manager_provided_signals.d.ts.map +1 -1
  131. package/dist/generated-proto/pb_schema/cdp/cof/content_manager_provided_signals.js +16 -13
  132. package/dist/generated-proto/pb_schema/cdp/cof/content_manager_provided_signals.js.map +1 -1
  133. package/dist/generated-proto/pb_schema/cdp/cof/creative_tools_provided_signals.d.ts +12 -14
  134. package/dist/generated-proto/pb_schema/cdp/cof/creative_tools_provided_signals.d.ts.map +1 -1
  135. package/dist/generated-proto/pb_schema/cdp/cof/creative_tools_provided_signals.js +24 -17
  136. package/dist/generated-proto/pb_schema/cdp/cof/creative_tools_provided_signals.js.map +1 -1
  137. package/dist/generated-proto/pb_schema/cdp/cof/debug_info.d.ts +14 -56
  138. package/dist/generated-proto/pb_schema/cdp/cof/debug_info.d.ts.map +1 -1
  139. package/dist/generated-proto/pb_schema/cdp/cof/debug_info.js +78 -45
  140. package/dist/generated-proto/pb_schema/cdp/cof/debug_info.js.map +1 -1
  141. package/dist/generated-proto/pb_schema/cdp/cof/discover_feed_provided_signals.d.ts +28 -0
  142. package/dist/generated-proto/pb_schema/cdp/cof/discover_feed_provided_signals.d.ts.map +1 -0
  143. package/dist/generated-proto/pb_schema/cdp/cof/discover_feed_provided_signals.js +89 -0
  144. package/dist/generated-proto/pb_schema/cdp/cof/discover_feed_provided_signals.js.map +1 -0
  145. package/dist/generated-proto/pb_schema/cdp/cof/feature_provided_signals.d.ts +28 -1103
  146. package/dist/generated-proto/pb_schema/cdp/cof/feature_provided_signals.d.ts.map +1 -1
  147. package/dist/generated-proto/pb_schema/cdp/cof/feature_provided_signals.js +358 -210
  148. package/dist/generated-proto/pb_schema/cdp/cof/feature_provided_signals.js.map +1 -1
  149. package/dist/generated-proto/pb_schema/cdp/cof/lenses_provided_signals.d.ts +12 -16
  150. package/dist/generated-proto/pb_schema/cdp/cof/lenses_provided_signals.d.ts.map +1 -1
  151. package/dist/generated-proto/pb_schema/cdp/cof/lenses_provided_signals.js +31 -23
  152. package/dist/generated-proto/pb_schema/cdp/cof/lenses_provided_signals.js.map +1 -1
  153. package/dist/generated-proto/pb_schema/cdp/cof/mdp_media_attribution.d.ts +13 -15
  154. package/dist/generated-proto/pb_schema/cdp/cof/mdp_media_attribution.d.ts.map +1 -1
  155. package/dist/generated-proto/pb_schema/cdp/cof/mdp_media_attribution.js +22 -15
  156. package/dist/generated-proto/pb_schema/cdp/cof/mdp_media_attribution.js.map +1 -1
  157. package/dist/generated-proto/pb_schema/cdp/cof/media_provided_signals.d.ts +12 -14
  158. package/dist/generated-proto/pb_schema/cdp/cof/media_provided_signals.d.ts.map +1 -1
  159. package/dist/generated-proto/pb_schema/cdp/cof/media_provided_signals.js +22 -15
  160. package/dist/generated-proto/pb_schema/cdp/cof/media_provided_signals.js.map +1 -1
  161. package/dist/generated-proto/pb_schema/cdp/cof/namespace.d.ts.map +1 -1
  162. package/dist/generated-proto/pb_schema/cdp/cof/namespace.js +0 -6
  163. package/dist/generated-proto/pb_schema/cdp/cof/namespace.js.map +1 -1
  164. package/dist/generated-proto/pb_schema/cdp/cof/opera_provided_signals.d.ts +12 -16
  165. package/dist/generated-proto/pb_schema/cdp/cof/opera_provided_signals.d.ts.map +1 -1
  166. package/dist/generated-proto/pb_schema/cdp/cof/opera_provided_signals.js +29 -18
  167. package/dist/generated-proto/pb_schema/cdp/cof/opera_provided_signals.js.map +1 -1
  168. package/dist/generated-proto/pb_schema/cdp/cof/perception_provided_signals.d.ts +12 -12
  169. package/dist/generated-proto/pb_schema/cdp/cof/perception_provided_signals.d.ts.map +1 -1
  170. package/dist/generated-proto/pb_schema/cdp/cof/perception_provided_signals.js +16 -13
  171. package/dist/generated-proto/pb_schema/cdp/cof/perception_provided_signals.js.map +1 -1
  172. package/dist/generated-proto/pb_schema/cdp/cof/recipients_provided_signals.d.ts +12 -12
  173. package/dist/generated-proto/pb_schema/cdp/cof/recipients_provided_signals.d.ts.map +1 -1
  174. package/dist/generated-proto/pb_schema/cdp/cof/recipients_provided_signals.js +16 -13
  175. package/dist/generated-proto/pb_schema/cdp/cof/recipients_provided_signals.js.map +1 -1
  176. package/dist/generated-proto/pb_schema/cdp/cof/routing_provided_signals.d.ts +12 -12
  177. package/dist/generated-proto/pb_schema/cdp/cof/routing_provided_signals.d.ts.map +1 -1
  178. package/dist/generated-proto/pb_schema/cdp/cof/routing_provided_signals.js +16 -13
  179. package/dist/generated-proto/pb_schema/cdp/cof/routing_provided_signals.js.map +1 -1
  180. package/dist/generated-proto/pb_schema/cdp/cof/snap_kit_provided_signals.d.ts +12 -12
  181. package/dist/generated-proto/pb_schema/cdp/cof/snap_kit_provided_signals.d.ts.map +1 -1
  182. package/dist/generated-proto/pb_schema/cdp/cof/snap_kit_provided_signals.js +16 -13
  183. package/dist/generated-proto/pb_schema/cdp/cof/snap_kit_provided_signals.js.map +1 -1
  184. package/dist/generated-proto/pb_schema/cdp/cof/upload_provided_signals.d.ts +12 -18
  185. package/dist/generated-proto/pb_schema/cdp/cof/upload_provided_signals.d.ts.map +1 -1
  186. package/dist/generated-proto/pb_schema/cdp/cof/upload_provided_signals.js +35 -20
  187. package/dist/generated-proto/pb_schema/cdp/cof/upload_provided_signals.js.map +1 -1
  188. package/dist/generated-proto/pb_schema/cdp/media/snap_source.d.ts.map +1 -1
  189. package/dist/generated-proto/pb_schema/cdp/media/snap_source.js +0 -6
  190. package/dist/generated-proto/pb_schema/cdp/media/snap_source.js.map +1 -1
  191. package/dist/generated-proto/pb_schema/common/ruid.d.ts +12 -16
  192. package/dist/generated-proto/pb_schema/common/ruid.d.ts.map +1 -1
  193. package/dist/generated-proto/pb_schema/common/ruid.js +28 -17
  194. package/dist/generated-proto/pb_schema/common/ruid.js.map +1 -1
  195. package/dist/generated-proto/pb_schema/common/value.d.ts +25 -123
  196. package/dist/generated-proto/pb_schema/common/value.d.ts.map +1 -1
  197. package/dist/generated-proto/pb_schema/common/value.js +136 -71
  198. package/dist/generated-proto/pb_schema/common/value.js.map +1 -1
  199. package/dist/generated-proto/pb_schema/content/asset.d.ts +12 -14
  200. package/dist/generated-proto/pb_schema/content/asset.d.ts.map +1 -1
  201. package/dist/generated-proto/pb_schema/content/asset.js +22 -15
  202. package/dist/generated-proto/pb_schema/content/asset.js.map +1 -1
  203. package/dist/generated-proto/pb_schema/content/media_reference.d.ts +13 -46
  204. package/dist/generated-proto/pb_schema/content/media_reference.d.ts.map +1 -1
  205. package/dist/generated-proto/pb_schema/content/media_reference.js +86 -47
  206. package/dist/generated-proto/pb_schema/content/media_reference.js.map +1 -1
  207. package/dist/generated-proto/pb_schema/content/media_source.d.ts.map +1 -1
  208. package/dist/generated-proto/pb_schema/content/media_source.js +0 -6
  209. package/dist/generated-proto/pb_schema/content/media_source.js.map +1 -1
  210. package/dist/generated-proto/pb_schema/content/media_types.d.ts.map +1 -1
  211. package/dist/generated-proto/pb_schema/content/media_types.js +0 -6
  212. package/dist/generated-proto/pb_schema/content/media_types.js.map +1 -1
  213. package/dist/generated-proto/pb_schema/google/api/annotations.d.ts.map +1 -1
  214. package/dist/generated-proto/pb_schema/google/api/annotations.js +0 -6
  215. package/dist/generated-proto/pb_schema/google/api/annotations.js.map +1 -1
  216. package/dist/generated-proto/pb_schema/google/api/http.d.ts +15 -3336
  217. package/dist/generated-proto/pb_schema/google/api/http.d.ts.map +1 -1
  218. package/dist/generated-proto/pb_schema/google/api/http.js +129 -68
  219. package/dist/generated-proto/pb_schema/google/api/http.js.map +1 -1
  220. package/dist/generated-proto/pb_schema/google/protobuf/any.d.ts +12 -14
  221. package/dist/generated-proto/pb_schema/google/protobuf/any.d.ts.map +1 -1
  222. package/dist/generated-proto/pb_schema/google/protobuf/any.js +24 -17
  223. package/dist/generated-proto/pb_schema/google/protobuf/any.js.map +1 -1
  224. package/dist/generated-proto/pb_schema/google/protobuf/descriptor.d.ts +126 -50157
  225. package/dist/generated-proto/pb_schema/google/protobuf/descriptor.d.ts.map +1 -1
  226. package/dist/generated-proto/pb_schema/google/protobuf/descriptor.js +1162 -563
  227. package/dist/generated-proto/pb_schema/google/protobuf/descriptor.js.map +1 -1
  228. package/dist/generated-proto/pb_schema/google/protobuf/timestamp.d.ts +12 -14
  229. package/dist/generated-proto/pb_schema/google/protobuf/timestamp.d.ts.map +1 -1
  230. package/dist/generated-proto/pb_schema/google/protobuf/timestamp.js +23 -19
  231. package/dist/generated-proto/pb_schema/google/protobuf/timestamp.js.map +1 -1
  232. package/dist/generated-proto/pb_schema/google/protobuf/wrappers.d.ts +20 -84
  233. package/dist/generated-proto/pb_schema/google/protobuf/wrappers.d.ts.map +1 -1
  234. package/dist/generated-proto/pb_schema/google/protobuf/wrappers.js +141 -77
  235. package/dist/generated-proto/pb_schema/google/protobuf/wrappers.js.map +1 -1
  236. package/dist/generated-proto/pb_schema/lenses/geocircle.d.ts +12 -23
  237. package/dist/generated-proto/pb_schema/lenses/geocircle.d.ts.map +1 -1
  238. package/dist/generated-proto/pb_schema/lenses/geocircle.js +26 -18
  239. package/dist/generated-proto/pb_schema/lenses/geocircle.js.map +1 -1
  240. package/dist/generated-proto/pb_schema/lenses/geopoint.d.ts +12 -14
  241. package/dist/generated-proto/pb_schema/lenses/geopoint.d.ts.map +1 -1
  242. package/dist/generated-proto/pb_schema/lenses/geopoint.js +22 -15
  243. package/dist/generated-proto/pb_schema/lenses/geopoint.js.map +1 -1
  244. package/dist/generated-proto/pb_schema/lenses/launch_params.d.ts +12 -12
  245. package/dist/generated-proto/pb_schema/lenses/launch_params.d.ts.map +1 -1
  246. package/dist/generated-proto/pb_schema/lenses/launch_params.js +18 -15
  247. package/dist/generated-proto/pb_schema/lenses/launch_params.js.map +1 -1
  248. package/dist/generated-proto/pb_schema/lenses/launchdata.d.ts +15 -324
  249. package/dist/generated-proto/pb_schema/lenses/launchdata.d.ts.map +1 -1
  250. package/dist/generated-proto/pb_schema/lenses/launchdata.js +112 -66
  251. package/dist/generated-proto/pb_schema/lenses/launchdata.js.map +1 -1
  252. package/dist/generated-proto/pb_schema/lenses/lures.d.ts +12 -91
  253. package/dist/generated-proto/pb_schema/lenses/lures.d.ts.map +1 -1
  254. package/dist/generated-proto/pb_schema/lenses/lures.js +37 -28
  255. package/dist/generated-proto/pb_schema/lenses/lures.js.map +1 -1
  256. package/dist/generated-proto/pb_schema/lenses/persistent_store.d.ts +12 -12
  257. package/dist/generated-proto/pb_schema/lenses/persistent_store.d.ts.map +1 -1
  258. package/dist/generated-proto/pb_schema/lenses/persistent_store.js +18 -15
  259. package/dist/generated-proto/pb_schema/lenses/persistent_store.js.map +1 -1
  260. package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_service.d.ts +30 -396
  261. package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_service.d.ts.map +1 -1
  262. package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_service.js +520 -240
  263. package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_service.js.map +1 -1
  264. package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_spec.d.ts +30 -2429
  265. package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_spec.d.ts.map +1 -1
  266. package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_spec.js +991 -440
  267. package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_spec.js.map +1 -1
  268. package/dist/generated-proto/pb_schema/lenses/snappable.d.ts +27 -783
  269. package/dist/generated-proto/pb_schema/lenses/snappable.d.ts.map +1 -1
  270. package/dist/generated-proto/pb_schema/lenses/snappable.js +502 -245
  271. package/dist/generated-proto/pb_schema/lenses/snappable.js.map +1 -1
  272. package/dist/generated-proto/pb_schema/lenses/user_data.d.ts +15 -174
  273. package/dist/generated-proto/pb_schema/lenses/user_data.d.ts.map +1 -1
  274. package/dist/generated-proto/pb_schema/lenses/user_data.js +144 -77
  275. package/dist/generated-proto/pb_schema/lenses/user_data.js.map +1 -1
  276. package/dist/generated-proto/pb_schema/snapdoc/capture_characteristics.d.ts +12 -14
  277. package/dist/generated-proto/pb_schema/snapdoc/capture_characteristics.d.ts.map +1 -1
  278. package/dist/generated-proto/pb_schema/snapdoc/capture_characteristics.js +24 -17
  279. package/dist/generated-proto/pb_schema/snapdoc/capture_characteristics.js.map +1 -1
  280. package/dist/generated-proto/pb_schema/snapdoc/extensions.d.ts +14 -18
  281. package/dist/generated-proto/pb_schema/snapdoc/extensions.d.ts.map +1 -1
  282. package/dist/generated-proto/pb_schema/snapdoc/extensions.js +29 -18
  283. package/dist/generated-proto/pb_schema/snapdoc/extensions.js.map +1 -1
  284. package/dist/generated-proto/pb_schema/snapdoc/media.d.ts +52 -576
  285. package/dist/generated-proto/pb_schema/snapdoc/media.d.ts.map +1 -1
  286. package/dist/generated-proto/pb_schema/snapdoc/media.js +615 -318
  287. package/dist/generated-proto/pb_schema/snapdoc/media.js.map +1 -1
  288. package/dist/generated-proto/pb_schema/snapdoc/media_codec_formats.d.ts.map +1 -1
  289. package/dist/generated-proto/pb_schema/snapdoc/media_codec_formats.js +0 -6
  290. package/dist/generated-proto/pb_schema/snapdoc/media_codec_formats.js.map +1 -1
  291. package/dist/generated-proto/pb_schema/snapdoc/media_file_formats.d.ts.map +1 -1
  292. package/dist/generated-proto/pb_schema/snapdoc/media_file_formats.js +0 -6
  293. package/dist/generated-proto/pb_schema/snapdoc/media_file_formats.js.map +1 -1
  294. package/dist/generated-proto/pb_schema/snapdoc/media_id.d.ts +12 -12
  295. package/dist/generated-proto/pb_schema/snapdoc/media_id.d.ts.map +1 -1
  296. package/dist/generated-proto/pb_schema/snapdoc/media_id.js +17 -17
  297. package/dist/generated-proto/pb_schema/snapdoc/media_id.js.map +1 -1
  298. package/dist/generated-proto/pb_schema/snapdoc/snap_component_type.d.ts.map +1 -1
  299. package/dist/generated-proto/pb_schema/snapdoc/snap_component_type.js +0 -6
  300. package/dist/generated-proto/pb_schema/snapdoc/snap_component_type.js.map +1 -1
  301. package/dist/handlers/cameraKitServiceFetchHandlerFactory.d.ts.map +1 -1
  302. package/dist/handlers/cameraKitServiceFetchHandlerFactory.js +1 -1
  303. package/dist/handlers/cameraKitServiceFetchHandlerFactory.js.map +1 -1
  304. package/dist/handlers/defaultFetchHandler.js +1 -1
  305. package/dist/handlers/defaultFetchHandler.js.map +1 -1
  306. package/dist/handlers/requestStateEmittingHandler.js +1 -1
  307. package/dist/handlers/requestStateEmittingHandler.js.map +1 -1
  308. package/dist/index.d.ts +3 -4
  309. package/dist/index.d.ts.map +1 -1
  310. package/dist/index.js +2 -3
  311. package/dist/index.js.map +1 -1
  312. package/dist/legal/legalPrompt.js +1 -1
  313. package/dist/legal/legalPrompt.js.map +1 -1
  314. package/dist/legal/legalState.js +1 -1
  315. package/dist/legal/legalState.js.map +1 -1
  316. package/dist/lens/LensPersistenceStore.js +1 -1
  317. package/dist/lens/LensPersistenceStore.js.map +1 -1
  318. package/dist/lens/LensRepository.js +1 -1
  319. package/dist/lens/LensRepository.js.map +1 -1
  320. package/dist/lens/LensSource.js +1 -1
  321. package/dist/lens/LensSource.js.map +1 -1
  322. package/dist/lens/assets/LensAssetRepository.js +1 -1
  323. package/dist/lens/assets/LensAssetRepository.js.map +1 -1
  324. package/dist/lens/assets/LensAssetsProvider.js +1 -1
  325. package/dist/lens/assets/LensAssetsProvider.js.map +1 -1
  326. package/dist/lens/assets/deviceDependentAssetLoader.js +1 -1
  327. package/dist/lens/assets/deviceDependentAssetLoader.js.map +1 -1
  328. package/dist/lens/assets/remoteMediaAssetLoaderFactory.js +1 -1
  329. package/dist/lens/assets/remoteMediaAssetLoaderFactory.js.map +1 -1
  330. package/dist/lens/assets/staticAssetLoader.js +1 -1
  331. package/dist/lens/assets/staticAssetLoader.js.map +1 -1
  332. package/dist/lens/cameraKitLensSource.d.ts.map +1 -1
  333. package/dist/lens/cameraKitLensSource.js +6 -6
  334. package/dist/lens/cameraKitLensSource.js.map +1 -1
  335. package/dist/lens/fetchWatermarkLens.d.ts.map +1 -1
  336. package/dist/lens/fetchWatermarkLens.js +1 -1
  337. package/dist/lens/fetchWatermarkLens.js.map +1 -1
  338. package/dist/lens/userDataAccessResolver.d.ts +52 -0
  339. package/dist/lens/userDataAccessResolver.d.ts.map +1 -0
  340. package/dist/lens/userDataAccessResolver.js +3 -0
  341. package/dist/lens/userDataAccessResolver.js.map +1 -0
  342. package/dist/lens-client-interface/filePicker.d.ts.map +1 -1
  343. package/dist/lens-client-interface/filePicker.js +1 -1
  344. package/dist/lens-client-interface/filePicker.js.map +1 -1
  345. package/dist/lens-client-interface/lensClientInterface.js +1 -1
  346. package/dist/lens-client-interface/lensClientInterface.js.map +1 -1
  347. package/dist/lens-core-module/loader/lensCoreFactory.d.ts.map +1 -1
  348. package/dist/lens-core-module/loader/lensCoreFactory.js +1 -1
  349. package/dist/lens-core-module/loader/lensCoreFactory.js.map +1 -1
  350. package/dist/lensCoreWasmVersions.js +3 -3
  351. package/dist/lensCoreWasmVersions.js.map +1 -1
  352. package/dist/logger/logEntries.js +1 -1
  353. package/dist/logger/logEntries.js.map +1 -1
  354. package/dist/logger/registerLogEntriesSubscriber.d.ts.map +1 -1
  355. package/dist/logger/registerLogEntriesSubscriber.js +1 -1
  356. package/dist/logger/registerLogEntriesSubscriber.js.map +1 -1
  357. package/dist/media-sources/CameraKitSource.d.ts +6 -0
  358. package/dist/media-sources/CameraKitSource.d.ts.map +1 -1
  359. package/dist/media-sources/CameraKitSource.js +2 -2
  360. package/dist/media-sources/CameraKitSource.js.map +1 -1
  361. package/dist/metrics/businessEventsReporter.js +1 -1
  362. package/dist/metrics/businessEventsReporter.js.map +1 -1
  363. package/dist/metrics/metricsEventTarget.js +1 -1
  364. package/dist/metrics/metricsEventTarget.js.map +1 -1
  365. package/dist/metrics/reporters/reportBenchmarks.d.ts.map +1 -1
  366. package/dist/metrics/reporters/reportBenchmarks.js +1 -1
  367. package/dist/metrics/reporters/reportBenchmarks.js.map +1 -1
  368. package/dist/metrics/reporters/reportGlobalException.js +1 -1
  369. package/dist/metrics/reporters/reportGlobalException.js.map +1 -1
  370. package/dist/metrics/reporters/reportHttpMetrics.js +1 -1
  371. package/dist/metrics/reporters/reportHttpMetrics.js.map +1 -1
  372. package/dist/metrics/reporters/reportLegalState.js +1 -1
  373. package/dist/metrics/reporters/reportLegalState.js.map +1 -1
  374. package/dist/metrics/reporters/reportLensAndAssetDownload.d.ts.map +1 -1
  375. package/dist/metrics/reporters/reportLensAndAssetDownload.js +1 -1
  376. package/dist/metrics/reporters/reportLensAndAssetDownload.js.map +1 -1
  377. package/dist/metrics/reporters/reportLensValidationFailed.js +1 -1
  378. package/dist/metrics/reporters/reportLensValidationFailed.js.map +1 -1
  379. package/dist/metrics/reporters/reportLensView.js +1 -1
  380. package/dist/metrics/reporters/reportLensView.js.map +1 -1
  381. package/dist/metrics/reporters/reportLensWait.js +1 -1
  382. package/dist/metrics/reporters/reportLensWait.js.map +1 -1
  383. package/dist/metrics/reporters/reportPlatformCapabilities.d.ts.map +1 -1
  384. package/dist/metrics/reporters/reportPlatformCapabilities.js +1 -1
  385. package/dist/metrics/reporters/reportPlatformCapabilities.js.map +1 -1
  386. package/dist/metrics/reporters/reportSessionException.js +1 -1
  387. package/dist/metrics/reporters/reportSessionException.js.map +1 -1
  388. package/dist/metrics/reporters/reportUserSession.js +1 -1
  389. package/dist/metrics/reporters/reportUserSession.js.map +1 -1
  390. package/dist/metrics/reporters/reporters.d.ts +1 -1
  391. package/dist/metrics/reporters/reporters.d.ts.map +1 -1
  392. package/dist/metrics/reporters/reporters.js +1 -1
  393. package/dist/metrics/reporters/reporters.js.map +1 -1
  394. package/dist/remote-configuration/cofHandler.d.ts.map +1 -1
  395. package/dist/remote-configuration/cofHandler.js +1 -1
  396. package/dist/remote-configuration/cofHandler.js.map +1 -1
  397. package/dist/remote-configuration/preloadConfiguration.js +1 -1
  398. package/dist/remote-configuration/preloadConfiguration.js.map +1 -1
  399. package/dist/remote-configuration/remoteConfiguration.d.ts.map +1 -1
  400. package/dist/remote-configuration/remoteConfiguration.js +1 -1
  401. package/dist/remote-configuration/remoteConfiguration.js.map +1 -1
  402. package/dist/session/CameraKitSession.d.ts +6 -1
  403. package/dist/session/CameraKitSession.d.ts.map +1 -1
  404. package/dist/session/CameraKitSession.js +1 -1
  405. package/dist/session/CameraKitSession.js.map +1 -1
  406. package/dist/session/LensKeyboard.js +1 -1
  407. package/dist/session/LensKeyboard.js.map +1 -1
  408. package/dist/session/lensState.d.ts +3 -2
  409. package/dist/session/lensState.d.ts.map +1 -1
  410. package/dist/session/lensState.js +9 -3
  411. package/dist/session/lensState.js.map +1 -1
  412. package/dist/session/sessionState.js +1 -1
  413. package/dist/session/sessionState.js.map +1 -1
  414. package/docs/html/assets/navigation.js +1 -1
  415. package/docs/html/assets/search.js +1 -1
  416. package/docs/html/classes/CameraKit.html +2 -2
  417. package/docs/html/classes/CameraKitSession.html +7 -3
  418. package/docs/html/classes/CameraKitSource.html +6 -2
  419. package/docs/html/classes/LensPerformanceMeasurement.html +2 -2
  420. package/docs/html/classes/LensPerformanceMetrics.html +2 -2
  421. package/docs/html/classes/LensRepository.html +2 -2
  422. package/docs/html/classes/Transform2D.html +2 -2
  423. package/docs/html/classes/TypedCustomEvent.html +2 -2
  424. package/docs/html/classes/TypedEventTarget.html +2 -2
  425. package/docs/html/enums/Lens_CameraFacing.html +2 -2
  426. package/docs/html/functions/bootstrapCameraKit.html +2 -2
  427. package/docs/html/functions/createExtension.html +2 -2
  428. package/docs/html/functions/createImageSource.html +2 -2
  429. package/docs/html/functions/createMediaStreamSource.html +2 -2
  430. package/docs/html/functions/createVideoSource.html +2 -2
  431. package/docs/html/functions/estimateLensPerformance.html +2 -2
  432. package/docs/html/functions/filePickerFactory.html +2 -4
  433. package/docs/html/functions/lensSourcesFactory.html +3 -5
  434. package/docs/html/functions/remoteApiServicesFactory.html +1 -3
  435. package/docs/html/hierarchy.html +1 -1
  436. package/docs/html/index.html +3 -3
  437. package/docs/html/interfaces/BitmojiUserInfo.html +2 -2
  438. package/docs/html/interfaces/CameraKitBootstrapConfiguration.html +2 -2
  439. package/docs/html/interfaces/CameraKitDeviceOptions.html +2 -2
  440. package/docs/html/interfaces/CameraKitSourceInfo.html +2 -2
  441. package/docs/html/interfaces/CameraKitSourceSubscriber.html +2 -2
  442. package/docs/html/interfaces/ComputedFrameMetrics.html +2 -2
  443. package/docs/html/interfaces/CreateSessionOptions.html +2 -2
  444. package/docs/html/interfaces/EstimatedLensPerformance.html +2 -2
  445. package/docs/html/interfaces/FriendUserInfo.html +2 -2
  446. package/docs/html/interfaces/FunctionSourceOptions.html +2 -2
  447. package/docs/html/interfaces/Lens.html +2 -2
  448. package/docs/html/interfaces/LensCreator.html +2 -2
  449. package/docs/html/interfaces/LensLaunchData.html +2 -2
  450. package/docs/html/interfaces/LensSource.html +2 -2
  451. package/docs/html/interfaces/LensUserData.html +2 -2
  452. package/docs/html/interfaces/LoadAssetRequest.html +2 -2
  453. package/docs/html/interfaces/MediaStreamSourceOptions.html +2 -2
  454. package/docs/html/interfaces/Preview.html +2 -2
  455. package/docs/html/interfaces/RemoteApiRequest.html +2 -2
  456. package/docs/html/interfaces/RemoteApiResponse.html +2 -2
  457. package/docs/html/interfaces/RemoteApiService.html +2 -2
  458. package/docs/html/interfaces/Snapcode.html +2 -2
  459. package/docs/html/interfaces/UriCancelRequest.html +2 -2
  460. package/docs/html/interfaces/UriRequest.html +2 -2
  461. package/docs/html/interfaces/UriResponse.html +2 -2
  462. package/docs/html/interfaces/VideoSourceOptions.html +2 -2
  463. package/docs/html/modules.html +2 -4
  464. package/docs/html/types/ArgumentValidationError.html +2 -2
  465. package/docs/html/types/AssetLoader.html +2 -2
  466. package/docs/html/types/AssetResponse.html +1 -1
  467. package/docs/html/types/AssetTiming.html +2 -2
  468. package/docs/html/types/BenchmarkError.html +1 -1
  469. package/docs/html/types/BootstrapError.html +2 -2
  470. package/docs/html/types/CacheKeyNotFoundError.html +1 -1
  471. package/docs/html/types/CameraKitSessionEventListener.html +2 -2
  472. package/docs/html/types/CameraKitSessionEvents.html +2 -2
  473. package/docs/html/types/CameraKitSourceError.html +1 -1
  474. package/docs/html/types/ConfigurationError.html +2 -2
  475. package/docs/html/types/FetchHandler.html +1 -1
  476. package/docs/html/types/FilePicker.html +2 -2
  477. package/docs/html/types/FilePickerOptions.html +2 -2
  478. package/docs/html/types/FilePickerResult.html +2 -2
  479. package/docs/html/types/Keyboard.html +2 -2
  480. package/docs/html/types/KeyboardEvents.html +2 -2
  481. package/docs/html/types/LegalError.html +1 -1
  482. package/docs/html/types/LensAbortError.html +2 -2
  483. package/docs/html/types/LensAssetError.html +2 -2
  484. package/docs/html/types/LensContentValidationError.html +1 -1
  485. package/docs/html/types/LensError.html +1 -1
  486. package/docs/html/types/LensExecutionError.html +2 -2
  487. package/docs/html/types/LensImagePickerError.html +2 -2
  488. package/docs/html/types/LensLaunchParams.html +2 -2
  489. package/docs/html/types/LensMetricsEvents.html +2 -2
  490. package/docs/html/types/LensPerformanceCluster.html +1 -1
  491. package/docs/html/types/LensView.html +2 -2
  492. package/docs/html/types/LensWait.html +2 -2
  493. package/docs/html/types/Matrix.html +2 -2
  494. package/docs/html/types/PersistentStoreError.html +2 -2
  495. package/docs/html/types/PlatformNotSupportedError.html +2 -2
  496. package/docs/html/types/PublicContainer.html +2 -2
  497. package/docs/html/types/PublicServices.html +2 -2
  498. package/docs/html/types/RemoteApiCancelRequestHandler.html +2 -2
  499. package/docs/html/types/RemoteApiRequestHandler.html +2 -2
  500. package/docs/html/types/RemoteApiServices.html +1 -1
  501. package/docs/html/types/RemoteApiStatus.html +2 -2
  502. package/docs/html/types/RenderTarget.html +2 -2
  503. package/docs/html/types/Uri.html +1 -1
  504. package/docs/html/types/WebGLError.html +1 -1
  505. package/docs/html/types/Zodiac.html +1 -1
  506. package/docs/html/variables/extensionRequestContext.html +2 -2
  507. package/docs/md/README.md +1 -1
  508. package/docs/md/classes/CameraKit.md +1 -1
  509. package/docs/md/classes/CameraKitSession.md +7 -2
  510. package/docs/md/classes/CameraKitSource.md +6 -1
  511. package/docs/md/classes/LensPerformanceMeasurement.md +1 -1
  512. package/docs/md/classes/LensPerformanceMetrics.md +1 -1
  513. package/docs/md/classes/LensRepository.md +1 -1
  514. package/docs/md/classes/Transform2D.md +1 -1
  515. package/docs/md/classes/TypedCustomEvent.md +1 -1
  516. package/docs/md/classes/TypedEventTarget.md +1 -1
  517. package/docs/md/enums/Lens_CameraFacing.md +1 -1
  518. package/docs/md/interfaces/BitmojiUserInfo.md +1 -1
  519. package/docs/md/interfaces/CameraKitBootstrapConfiguration.md +1 -1
  520. package/docs/md/interfaces/CameraKitDeviceOptions.md +1 -1
  521. package/docs/md/interfaces/CameraKitSourceInfo.md +1 -1
  522. package/docs/md/interfaces/CameraKitSourceSubscriber.md +1 -1
  523. package/docs/md/interfaces/ComputedFrameMetrics.md +1 -1
  524. package/docs/md/interfaces/CreateSessionOptions.md +1 -1
  525. package/docs/md/interfaces/EstimatedLensPerformance.md +1 -1
  526. package/docs/md/interfaces/FriendUserInfo.md +1 -1
  527. package/docs/md/interfaces/FunctionSourceOptions.md +1 -1
  528. package/docs/md/interfaces/Lens.md +1 -1
  529. package/docs/md/interfaces/LensCreator.md +1 -1
  530. package/docs/md/interfaces/LensLaunchData.md +1 -1
  531. package/docs/md/interfaces/LensSource.md +1 -1
  532. package/docs/md/interfaces/LensUserData.md +1 -1
  533. package/docs/md/interfaces/LoadAssetRequest.md +1 -1
  534. package/docs/md/interfaces/MediaStreamSourceOptions.md +1 -1
  535. package/docs/md/interfaces/Preview.md +1 -1
  536. package/docs/md/interfaces/RemoteApiRequest.md +1 -1
  537. package/docs/md/interfaces/RemoteApiResponse.md +1 -1
  538. package/docs/md/interfaces/RemoteApiService.md +1 -1
  539. package/docs/md/interfaces/Snapcode.md +1 -1
  540. package/docs/md/interfaces/UriCancelRequest.md +1 -1
  541. package/docs/md/interfaces/UriRequest.md +1 -1
  542. package/docs/md/interfaces/UriResponse.md +1 -1
  543. package/docs/md/interfaces/VideoSourceOptions.md +1 -1
  544. package/docs/md/modules.md +5 -166
  545. package/package.json +5 -5
  546. package/dist/dependency-injection/Container.d.ts +0 -177
  547. package/dist/dependency-injection/Container.d.ts.map +0 -1
  548. package/dist/dependency-injection/Container.js +0 -72
  549. package/dist/dependency-injection/Container.js.map +0 -1
  550. package/dist/dependency-injection/Injectable.d.ts +0 -96
  551. package/dist/dependency-injection/Injectable.d.ts.map +0 -1
  552. package/dist/dependency-injection/Injectable.js +0 -37
  553. package/dist/dependency-injection/Injectable.js.map +0 -1
  554. package/dist/dependency-injection/PartialContainer.d.ts +0 -86
  555. package/dist/dependency-injection/PartialContainer.d.ts.map +0 -1
  556. package/dist/dependency-injection/PartialContainer.js +0 -28
  557. package/dist/dependency-injection/PartialContainer.js.map +0 -1
  558. package/dist/dependency-injection/RootServices.d.ts +0 -76
  559. package/dist/dependency-injection/RootServices.d.ts.map +0 -1
  560. package/dist/dependency-injection/RootServices.js.map +0 -1
  561. package/dist/dependency-injection/types.d.ts +0 -57
  562. package/dist/dependency-injection/types.d.ts.map +0 -1
  563. package/dist/dependency-injection/types.js +0 -2
  564. package/dist/dependency-injection/types.js.map +0 -1
  565. package/docs/html/functions/ConcatInjectable.html +0 -19
  566. package/docs/html/functions/Injectable.html +0 -17
  567. /package/dist/{dependency-injection/RootServices.js → RootServices.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"export.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/camera_kit/v3/export.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,GAAG,MAAM,oBAAoB,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,MAAM,CAAC,MAAM,eAAe,GAAG,uBAAuB,CAAC;AAgBvD,MAAM,CAAN,IAAY,8CAKX;AALD,WAAY,8CAA8C;IACtD,iEAAe,CAAA;IACf,uEAAqB,CAAA;IACrB,uFAAqC,CAAA;IACrC,+EAA6B,CAAA;AACjC,CAAC,EALW,8CAA8C,KAA9C,8CAA8C,QAKzD;AACD,MAAM,UAAU,sDAAsD,CAAC,MAAW;IAC9E,QAAQ,MAAM,EAAE;QACZ,KAAK,CAAC,CAAC;QACP,KAAK,OAAO;YACR,OAAO,8CAA8C,CAAC,KAAK,CAAC;QAChE,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kBAAkB,EAAE,CAAC;QACrC,OAAO,MAAM,CAAC,GAAG,GAAG,GAAG,EAAE;YACrB,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC;YAC5B,QAAQ,GAAG,KAAK,CAAC,EAAE;gBACf,KAAK,CAAC;oBACF,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;oBAC1D,MAAM;gBACV;oBACI,MAAM,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;oBACzB,MAAM;aACb;SACJ;QACD,OAAO,OAAO,CAAC;IACnB,CAAC;IACD,WAAW,CAA4C,MAAS;;QAC5D,MAAM,OAAO,GAAG,kBAAkB,EAAE,CAAC;QACrC,OAAO,CAAC,MAAM,GAAG,CAAA,MAAA,MAAM,CAAC,MAAM,0CAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,KAAI,EAAE,CAAC;QACtE,OAAO,OAAO,CAAC;IACnB,CAAC;CACJ,CAAC;AAkBF,SAAS,YAAY,CAAC,IAAU;IAC5B,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC;AAC3B,CAAC;AACD,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\";\nimport { Lens } from \"./lens\";\nexport const protobufPackage = \"com.snap.camerakit.v3\";\nexport interface ExportLensesByIdRequest {\n unlockableIds: string[];\n context: ExportLensesByIdRequest_Context | undefined;\n}\nexport interface ExportLensesByIdRequest_Context {\n userAgent: string;\n locale: string;\n extention: ExportLensesByIdRequest_Context_Extension | undefined;\n extension: ExportLensesByIdRequest_Context_Extension | undefined;\n extensionRequestContext: Uint8Array;\n}\nexport interface ExportLensesByIdRequest_Context_Extension {\n name: ExportLensesByIdRequest_Context_Extension_Name;\n version: string;\n}\nexport enum ExportLensesByIdRequest_Context_Extension_Name {\n UNSET = \"UNSET\",\n SHOP_KIT = \"SHOP_KIT\",\n LENS_WEB_BUILDER = \"LENS_WEB_BUILDER\",\n UNRECOGNIZED = \"UNRECOGNIZED\"\n}\nexport function exportLensesByIdRequest_Context_Extension_NameFromJSON(object: any): ExportLensesByIdRequest_Context_Extension_Name {\n switch (object) {\n case 0:\n case \"UNSET\":\n return ExportLensesByIdRequest_Context_Extension_Name.UNSET;\n case 1:\n case \"SHOP_KIT\":\n return ExportLensesByIdRequest_Context_Extension_Name.SHOP_KIT;\n case 2:\n case \"LENS_WEB_BUILDER\":\n return ExportLensesByIdRequest_Context_Extension_Name.LENS_WEB_BUILDER;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return ExportLensesByIdRequest_Context_Extension_Name.UNRECOGNIZED;\n }\n}\nexport function exportLensesByIdRequest_Context_Extension_NameToNumber(object: ExportLensesByIdRequest_Context_Extension_Name): number {\n switch (object) {\n case ExportLensesByIdRequest_Context_Extension_Name.UNSET:\n return 0;\n case ExportLensesByIdRequest_Context_Extension_Name.SHOP_KIT:\n return 1;\n case ExportLensesByIdRequest_Context_Extension_Name.LENS_WEB_BUILDER:\n return 2;\n default:\n return 0;\n }\n}\nexport interface ExportLensesByIdResponse {\n lenses: {\n [key: string]: Uint8Array;\n };\n excludedLenses: ExportLensesByIdResponse_ExcludedLens[];\n}\nexport interface ExportLensesByIdResponse_LensesEntry {\n key: string;\n value: Uint8Array;\n}\nexport interface ExportLensesByIdResponse_ExcludedLens {\n lensId: string;\n code: ExportLensesByIdResponse_ExcludedLens_Code;\n reason: string;\n}\nexport enum ExportLensesByIdResponse_ExcludedLens_Code {\n UNSET = \"UNSET\",\n UNKNOWN = \"UNKNOWN\",\n NOT_FOUND = \"NOT_FOUND\",\n INCOMPATIBLE_LENS_CORE_VERSION = \"INCOMPATIBLE_LENS_CORE_VERSION\",\n ARCHIVED_OR_INVISIBLE = \"ARCHIVED_OR_INVISIBLE\",\n CONTAINS_MUSIC = \"CONTAINS_MUSIC\",\n UNRECOGNIZED = \"UNRECOGNIZED\"\n}\nexport function exportLensesByIdResponse_ExcludedLens_CodeFromJSON(object: any): ExportLensesByIdResponse_ExcludedLens_Code {\n switch (object) {\n case 0:\n case \"UNSET\":\n return ExportLensesByIdResponse_ExcludedLens_Code.UNSET;\n case 1:\n case \"UNKNOWN\":\n return ExportLensesByIdResponse_ExcludedLens_Code.UNKNOWN;\n case 2:\n case \"NOT_FOUND\":\n return ExportLensesByIdResponse_ExcludedLens_Code.NOT_FOUND;\n case 3:\n case \"INCOMPATIBLE_LENS_CORE_VERSION\":\n return ExportLensesByIdResponse_ExcludedLens_Code.INCOMPATIBLE_LENS_CORE_VERSION;\n case 4:\n case \"ARCHIVED_OR_INVISIBLE\":\n return ExportLensesByIdResponse_ExcludedLens_Code.ARCHIVED_OR_INVISIBLE;\n case 5:\n case \"CONTAINS_MUSIC\":\n return ExportLensesByIdResponse_ExcludedLens_Code.CONTAINS_MUSIC;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return ExportLensesByIdResponse_ExcludedLens_Code.UNRECOGNIZED;\n }\n}\nexport function exportLensesByIdResponse_ExcludedLens_CodeToNumber(object: ExportLensesByIdResponse_ExcludedLens_Code): number {\n switch (object) {\n case ExportLensesByIdResponse_ExcludedLens_Code.UNSET:\n return 0;\n case ExportLensesByIdResponse_ExcludedLens_Code.UNKNOWN:\n return 1;\n case ExportLensesByIdResponse_ExcludedLens_Code.NOT_FOUND:\n return 2;\n case ExportLensesByIdResponse_ExcludedLens_Code.INCOMPATIBLE_LENS_CORE_VERSION:\n return 3;\n case ExportLensesByIdResponse_ExcludedLens_Code.ARCHIVED_OR_INVISIBLE:\n return 4;\n case ExportLensesByIdResponse_ExcludedLens_Code.CONTAINS_MUSIC:\n return 5;\n default:\n return 0;\n }\n}\nexport interface ExtensionRequestContext {\n userAgent: string;\n locale: string;\n}\nexport interface Envelope {\n lenses: Lens[];\n}\nfunction createBaseExportLensesByIdRequest(): ExportLensesByIdRequest {\n return { unlockableIds: [], context: undefined };\n}\nexport const ExportLensesByIdRequest = {\n encode(message: ExportLensesByIdRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n writer.uint32(10).fork();\n for (const v of message.unlockableIds) {\n writer.int64(v);\n }\n writer.ldelim();\n if (message.context !== undefined) {\n ExportLensesByIdRequest_Context.encode(message.context, writer.uint32(18).fork()).ldelim();\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): ExportLensesByIdRequest {\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 = createBaseExportLensesByIdRequest();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if ((tag & 7) === 2) {\n const end2 = reader.uint32() + reader.pos;\n while (reader.pos < end2) {\n message.unlockableIds.push(longToString(reader.int64() as Long));\n }\n }\n else {\n message.unlockableIds.push(longToString(reader.int64() as Long));\n }\n break;\n case 2:\n message.context = ExportLensesByIdRequest_Context.decode(reader, reader.uint32());\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<ExportLensesByIdRequest>, I>>(object: I): ExportLensesByIdRequest {\n const message = createBaseExportLensesByIdRequest();\n message.unlockableIds = object.unlockableIds?.map((e) => e) || [];\n message.context =\n object.context !== undefined && object.context !== null\n ? ExportLensesByIdRequest_Context.fromPartial(object.context)\n : undefined;\n return message;\n },\n};\nfunction createBaseExportLensesByIdRequest_Context(): ExportLensesByIdRequest_Context {\n return {\n userAgent: \"\",\n locale: \"\",\n extention: undefined,\n extension: undefined,\n extensionRequestContext: new Uint8Array(),\n };\n}\nexport const ExportLensesByIdRequest_Context = {\n encode(message: ExportLensesByIdRequest_Context, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.userAgent !== \"\") {\n writer.uint32(10).string(message.userAgent);\n }\n if (message.locale !== \"\") {\n writer.uint32(18).string(message.locale);\n }\n if (message.extention !== undefined) {\n ExportLensesByIdRequest_Context_Extension.encode(message.extention, writer.uint32(26).fork()).ldelim();\n }\n if (message.extension !== undefined) {\n ExportLensesByIdRequest_Context_Extension.encode(message.extension, writer.uint32(34).fork()).ldelim();\n }\n if (message.extensionRequestContext.length !== 0) {\n writer.uint32(42).bytes(message.extensionRequestContext);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): ExportLensesByIdRequest_Context {\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 = createBaseExportLensesByIdRequest_Context();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.userAgent = reader.string();\n break;\n case 2:\n message.locale = reader.string();\n break;\n case 3:\n message.extention = ExportLensesByIdRequest_Context_Extension.decode(reader, reader.uint32());\n break;\n case 4:\n message.extension = ExportLensesByIdRequest_Context_Extension.decode(reader, reader.uint32());\n break;\n case 5:\n message.extensionRequestContext = reader.bytes();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<ExportLensesByIdRequest_Context>, I>>(object: I): ExportLensesByIdRequest_Context {\n const message = createBaseExportLensesByIdRequest_Context();\n message.userAgent = object.userAgent ?? \"\";\n message.locale = object.locale ?? \"\";\n message.extention =\n object.extention !== undefined && object.extention !== null\n ? ExportLensesByIdRequest_Context_Extension.fromPartial(object.extention)\n : undefined;\n message.extension =\n object.extension !== undefined && object.extension !== null\n ? ExportLensesByIdRequest_Context_Extension.fromPartial(object.extension)\n : undefined;\n message.extensionRequestContext = object.extensionRequestContext ?? new Uint8Array();\n return message;\n },\n};\nfunction createBaseExportLensesByIdRequest_Context_Extension(): ExportLensesByIdRequest_Context_Extension {\n return { name: ExportLensesByIdRequest_Context_Extension_Name.UNSET, version: \"\" };\n}\nexport const ExportLensesByIdRequest_Context_Extension = {\n encode(message: ExportLensesByIdRequest_Context_Extension, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.name !== ExportLensesByIdRequest_Context_Extension_Name.UNSET) {\n writer.uint32(8).int32(exportLensesByIdRequest_Context_Extension_NameToNumber(message.name));\n }\n if (message.version !== \"\") {\n writer.uint32(18).string(message.version);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): ExportLensesByIdRequest_Context_Extension {\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 = createBaseExportLensesByIdRequest_Context_Extension();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.name = exportLensesByIdRequest_Context_Extension_NameFromJSON(reader.int32());\n break;\n case 2:\n message.version = reader.string();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<ExportLensesByIdRequest_Context_Extension>, I>>(object: I): ExportLensesByIdRequest_Context_Extension {\n const message = createBaseExportLensesByIdRequest_Context_Extension();\n message.name = object.name ?? ExportLensesByIdRequest_Context_Extension_Name.UNSET;\n message.version = object.version ?? \"\";\n return message;\n },\n};\nfunction createBaseExportLensesByIdResponse(): ExportLensesByIdResponse {\n return { lenses: {}, excludedLenses: [] };\n}\nexport const ExportLensesByIdResponse = {\n encode(message: ExportLensesByIdResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n Object.entries(message.lenses).forEach(([key, value]) => {\n ExportLensesByIdResponse_LensesEntry.encode({ key: key as any, value }, writer.uint32(10).fork()).ldelim();\n });\n for (const v of message.excludedLenses) {\n ExportLensesByIdResponse_ExcludedLens.encode(v!, writer.uint32(18).fork()).ldelim();\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): ExportLensesByIdResponse {\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 = createBaseExportLensesByIdResponse();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n const entry1 = ExportLensesByIdResponse_LensesEntry.decode(reader, reader.uint32());\n if (entry1.value !== undefined) {\n message.lenses[entry1.key] = entry1.value;\n }\n break;\n case 2:\n message.excludedLenses.push(ExportLensesByIdResponse_ExcludedLens.decode(reader, reader.uint32()));\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<ExportLensesByIdResponse>, I>>(object: I): ExportLensesByIdResponse {\n const message = createBaseExportLensesByIdResponse();\n message.lenses = Object.entries(object.lenses ?? {}).reduce<{\n [key: string]: Uint8Array;\n }>((acc, [key, value]) => {\n if (value !== undefined) {\n acc[key] = value;\n }\n return acc;\n }, {});\n message.excludedLenses =\n object.excludedLenses?.map((e) => ExportLensesByIdResponse_ExcludedLens.fromPartial(e)) || [];\n return message;\n },\n};\nfunction createBaseExportLensesByIdResponse_LensesEntry(): ExportLensesByIdResponse_LensesEntry {\n return { key: \"0\", value: new Uint8Array() };\n}\nexport const ExportLensesByIdResponse_LensesEntry = {\n encode(message: ExportLensesByIdResponse_LensesEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.key !== \"0\") {\n writer.uint32(8).int64(message.key);\n }\n if (message.value.length !== 0) {\n writer.uint32(18).bytes(message.value);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): ExportLensesByIdResponse_LensesEntry {\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 = createBaseExportLensesByIdResponse_LensesEntry();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.key = longToString(reader.int64() as Long);\n break;\n case 2:\n message.value = reader.bytes();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<ExportLensesByIdResponse_LensesEntry>, I>>(object: I): ExportLensesByIdResponse_LensesEntry {\n const message = createBaseExportLensesByIdResponse_LensesEntry();\n message.key = object.key ?? \"0\";\n message.value = object.value ?? new Uint8Array();\n return message;\n },\n};\nfunction createBaseExportLensesByIdResponse_ExcludedLens(): ExportLensesByIdResponse_ExcludedLens {\n return { lensId: \"0\", code: ExportLensesByIdResponse_ExcludedLens_Code.UNSET, reason: \"\" };\n}\nexport const ExportLensesByIdResponse_ExcludedLens = {\n encode(message: ExportLensesByIdResponse_ExcludedLens, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.lensId !== \"0\") {\n writer.uint32(8).int64(message.lensId);\n }\n if (message.code !== ExportLensesByIdResponse_ExcludedLens_Code.UNSET) {\n writer.uint32(16).int32(exportLensesByIdResponse_ExcludedLens_CodeToNumber(message.code));\n }\n if (message.reason !== \"\") {\n writer.uint32(26).string(message.reason);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): ExportLensesByIdResponse_ExcludedLens {\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 = createBaseExportLensesByIdResponse_ExcludedLens();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.lensId = longToString(reader.int64() as Long);\n break;\n case 2:\n message.code = exportLensesByIdResponse_ExcludedLens_CodeFromJSON(reader.int32());\n break;\n case 3:\n message.reason = reader.string();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<ExportLensesByIdResponse_ExcludedLens>, I>>(object: I): ExportLensesByIdResponse_ExcludedLens {\n const message = createBaseExportLensesByIdResponse_ExcludedLens();\n message.lensId = object.lensId ?? \"0\";\n message.code = object.code ?? ExportLensesByIdResponse_ExcludedLens_Code.UNSET;\n message.reason = object.reason ?? \"\";\n return message;\n },\n};\nfunction createBaseExtensionRequestContext(): ExtensionRequestContext {\n return { userAgent: \"\", locale: \"\" };\n}\nexport const ExtensionRequestContext = {\n encode(message: ExtensionRequestContext, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.userAgent !== \"\") {\n writer.uint32(10).string(message.userAgent);\n }\n if (message.locale !== \"\") {\n writer.uint32(18).string(message.locale);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): ExtensionRequestContext {\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 = createBaseExtensionRequestContext();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.userAgent = reader.string();\n break;\n case 2:\n message.locale = reader.string();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<ExtensionRequestContext>, I>>(object: I): ExtensionRequestContext {\n const message = createBaseExtensionRequestContext();\n message.userAgent = object.userAgent ?? \"\";\n message.locale = object.locale ?? \"\";\n return message;\n },\n};\nfunction createBaseEnvelope(): Envelope {\n return { lenses: [] };\n}\nexport const Envelope = {\n decode(input: _m0.Reader | Uint8Array, length?: number): Envelope {\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 = createBaseEnvelope();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.lenses.push(Lens.decode(reader, reader.uint32()));\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<Envelope>, I>>(object: I): Envelope {\n const message = createBaseEnvelope();\n message.lenses = object.lenses?.map((e) => Lens.fromPartial(e)) || [];\n return message;\n },\n};\nexport interface Export {\n ExportLensesById(request: ExportLensesByIdRequest): Promise<ExportLensesByIdResponse>;\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 $case: string;\n} ? {\n [K in keyof Omit<T, \"$case\">]?: DeepPartial<T[K]>;\n} & {\n $case: T[\"$case\"];\n} : 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>;\nfunction longToString(long: Long) {\n return long.toString();\n}\nif (_m0.util.Long !== Long) {\n _m0.util.Long = Long as any;\n _m0.configure();\n}\n"]}
1
+ {"version":3,"file":"export.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/camera_kit/v3/export.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,MAAM,CAAC,MAAM,eAAe,GAAG,uBAAuB,CAAC;AAgBvD,MAAM,CAAN,IAAY,8CAKX;AALD,WAAY,8CAA8C;IACtD,iEAAe,CAAA;IACf,uEAAqB,CAAA;IACrB,uFAAqC,CAAA;IACrC,+EAA6B,CAAA;AACjC,CAAC,EALW,8CAA8C,KAA9C,8CAA8C,QAKzD;AACD,MAAM,UAAU,sDAAsD,CAAC,MAAW;IAC9E,QAAQ,MAAM,EAAE;QACZ,KAAK,CAAC,CAAC;QACP,KAAK,OAAO;YACR,OAAO,8CAA8C,CAAC,KAAK,CAAC;QAChE,KAAK,CAAC,CAAC;QACP,KAAK,UAAU;YACX,OAAO,8CAA8C,CAAC,QAAQ,CAAC;QACnE,K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CAAC;CACJ,CAAC","sourcesContent":["import { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Lens } from \"./lens\";\nexport const protobufPackage = \"com.snap.camerakit.v3\";\nexport interface ExportLensesByIdRequest {\n unlockableIds: string[];\n context: ExportLensesByIdRequest_Context | undefined;\n}\nexport interface ExportLensesByIdRequest_Context {\n userAgent: string;\n locale: string;\n extention: ExportLensesByIdRequest_Context_Extension | undefined;\n extension: ExportLensesByIdRequest_Context_Extension | undefined;\n extensionRequestContext: Uint8Array;\n}\nexport interface ExportLensesByIdRequest_Context_Extension {\n name: ExportLensesByIdRequest_Context_Extension_Name;\n version: string;\n}\nexport enum ExportLensesByIdRequest_Context_Extension_Name {\n UNSET = \"UNSET\",\n SHOP_KIT = \"SHOP_KIT\",\n LENS_WEB_BUILDER = \"LENS_WEB_BUILDER\",\n UNRECOGNIZED = \"UNRECOGNIZED\"\n}\nexport function exportLensesByIdRequest_Context_Extension_NameFromJSON(object: any): ExportLensesByIdRequest_Context_Extension_Name {\n switch (object) {\n case 0:\n case \"UNSET\":\n return ExportLensesByIdRequest_Context_Extension_Name.UNSET;\n case 1:\n case \"SHOP_KIT\":\n return ExportLensesByIdRequest_Context_Extension_Name.SHOP_KIT;\n case 2:\n case \"LENS_WEB_BUILDER\":\n return ExportLensesByIdRequest_Context_Extension_Name.LENS_WEB_BUILDER;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return ExportLensesByIdRequest_Context_Extension_Name.UNRECOGNIZED;\n }\n}\nexport function exportLensesByIdRequest_Context_Extension_NameToNumber(object: ExportLensesByIdRequest_Context_Extension_Name): number {\n switch (object) {\n case ExportLensesByIdRequest_Context_Extension_Name.UNSET:\n return 0;\n case ExportLensesByIdRequest_Context_Extension_Name.SHOP_KIT:\n return 1;\n case ExportLensesByIdRequest_Context_Extension_Name.LENS_WEB_BUILDER:\n return 2;\n case ExportLensesByIdRequest_Context_Extension_Name.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport interface ExportLensesByIdResponse {\n lenses: {\n [key: string]: Uint8Array;\n };\n excludedLenses: ExportLensesByIdResponse_ExcludedLens[];\n}\nexport interface ExportLensesByIdResponse_LensesEntry {\n key: string;\n value: Uint8Array;\n}\nexport interface ExportLensesByIdResponse_ExcludedLens {\n lensId: string;\n code: ExportLensesByIdResponse_ExcludedLens_Code;\n reason: string;\n}\nexport enum ExportLensesByIdResponse_ExcludedLens_Code {\n UNSET = \"UNSET\",\n UNKNOWN = \"UNKNOWN\",\n NOT_FOUND = \"NOT_FOUND\",\n INCOMPATIBLE_LENS_CORE_VERSION = \"INCOMPATIBLE_LENS_CORE_VERSION\",\n ARCHIVED_OR_INVISIBLE = \"ARCHIVED_OR_INVISIBLE\",\n CONTAINS_MUSIC = \"CONTAINS_MUSIC\",\n UNRECOGNIZED = \"UNRECOGNIZED\"\n}\nexport function exportLensesByIdResponse_ExcludedLens_CodeFromJSON(object: any): ExportLensesByIdResponse_ExcludedLens_Code {\n switch (object) {\n case 0:\n case \"UNSET\":\n return ExportLensesByIdResponse_ExcludedLens_Code.UNSET;\n case 1:\n case \"UNKNOWN\":\n return ExportLensesByIdResponse_ExcludedLens_Code.UNKNOWN;\n case 2:\n case \"NOT_FOUND\":\n return ExportLensesByIdResponse_ExcludedLens_Code.NOT_FOUND;\n case 3:\n case \"INCOMPATIBLE_LENS_CORE_VERSION\":\n return ExportLensesByIdResponse_ExcludedLens_Code.INCOMPATIBLE_LENS_CORE_VERSION;\n case 4:\n case \"ARCHIVED_OR_INVISIBLE\":\n return ExportLensesByIdResponse_ExcludedLens_Code.ARCHIVED_OR_INVISIBLE;\n case 5:\n case \"CONTAINS_MUSIC\":\n return ExportLensesByIdResponse_ExcludedLens_Code.CONTAINS_MUSIC;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return ExportLensesByIdResponse_ExcludedLens_Code.UNRECOGNIZED;\n }\n}\nexport function exportLensesByIdResponse_ExcludedLens_CodeToNumber(object: ExportLensesByIdResponse_ExcludedLens_Code): number {\n switch (object) {\n case ExportLensesByIdResponse_ExcludedLens_Code.UNSET:\n return 0;\n case ExportLensesByIdResponse_ExcludedLens_Code.UNKNOWN:\n return 1;\n case ExportLensesByIdResponse_ExcludedLens_Code.NOT_FOUND:\n return 2;\n case ExportLensesByIdResponse_ExcludedLens_Code.INCOMPATIBLE_LENS_CORE_VERSION:\n return 3;\n case ExportLensesByIdResponse_ExcludedLens_Code.ARCHIVED_OR_INVISIBLE:\n return 4;\n case ExportLensesByIdResponse_ExcludedLens_Code.CONTAINS_MUSIC:\n return 5;\n case ExportLensesByIdResponse_ExcludedLens_Code.UNRECOGNIZED:\n default:\n return -1;\n }\n}\nexport interface ExtensionRequestContext {\n userAgent: string;\n locale: string;\n}\nexport interface Envelope {\n lenses: Lens[];\n}\nfunction createBaseExportLensesByIdRequest(): ExportLensesByIdRequest {\n return { unlockableIds: [], context: undefined };\n}\nexport const ExportLensesByIdRequest: MessageFns<ExportLensesByIdRequest> = {\n encode(message: ExportLensesByIdRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n writer.uint32(10).fork();\n for (const v of message.unlockableIds) {\n writer.int64(v);\n }\n writer.join();\n if (message.context !== undefined) {\n ExportLensesByIdRequest_Context.encode(message.context, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n decode(input: BinaryReader | Uint8Array, length?: number): ExportLensesByIdRequest {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseExportLensesByIdRequest();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag === 8) {\n message.unlockableIds.push(reader.int64().toString());\n continue;\n }\n if (tag === 10) {\n const end2 = reader.uint32() + reader.pos;\n while (reader.pos < end2) {\n message.unlockableIds.push(reader.int64().toString());\n }\n continue;\n }\n break;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n message.context = ExportLensesByIdRequest_Context.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n create<I extends Exact<DeepPartial<ExportLensesByIdRequest>, I>>(base?: I): ExportLensesByIdRequest {\n return ExportLensesByIdRequest.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<ExportLensesByIdRequest>, I>>(object: I): ExportLensesByIdRequest {\n const message = createBaseExportLensesByIdRequest();\n message.unlockableIds = object.unlockableIds?.map((e) => e) || [];\n message.context = (object.context !== undefined && object.context !== null)\n ? ExportLensesByIdRequest_Context.fromPartial(object.context)\n : undefined;\n return message;\n },\n};\nfunction createBaseExportLensesByIdRequest_Context(): ExportLensesByIdRequest_Context {\n return {\n userAgent: \"\",\n locale: \"\",\n extention: undefined,\n extension: undefined,\n extensionRequestContext: new Uint8Array(0),\n };\n}\nexport const ExportLensesByIdRequest_Context: MessageFns<ExportLensesByIdRequest_Context> = {\n encode(message: ExportLensesByIdRequest_Context, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.userAgent !== \"\") {\n writer.uint32(10).string(message.userAgent);\n }\n if (message.locale !== \"\") {\n writer.uint32(18).string(message.locale);\n }\n if (message.extention !== undefined) {\n ExportLensesByIdRequest_Context_Extension.encode(message.extention, writer.uint32(26).fork()).join();\n }\n if (message.extension !== undefined) {\n ExportLensesByIdRequest_Context_Extension.encode(message.extension, writer.uint32(34).fork()).join();\n }\n if (message.extensionRequestContext.length !== 0) {\n writer.uint32(42).bytes(message.extensionRequestContext);\n }\n return writer;\n },\n decode(input: BinaryReader | Uint8Array, length?: number): ExportLensesByIdRequest_Context {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseExportLensesByIdRequest_Context();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n message.userAgent = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n message.locale = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n message.extention = ExportLensesByIdRequest_Context_Extension.decode(reader, reader.uint32());\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n message.extension = ExportLensesByIdRequest_Context_Extension.decode(reader, reader.uint32());\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n message.extensionRequestContext = reader.bytes();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n create<I extends Exact<DeepPartial<ExportLensesByIdRequest_Context>, I>>(base?: I): ExportLensesByIdRequest_Context {\n return ExportLensesByIdRequest_Context.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<ExportLensesByIdRequest_Context>, I>>(object: I): ExportLensesByIdRequest_Context {\n const message = createBaseExportLensesByIdRequest_Context();\n message.userAgent = object.userAgent ?? \"\";\n message.locale = object.locale ?? \"\";\n message.extention = (object.extention !== undefined && object.extention !== null)\n ? ExportLensesByIdRequest_Context_Extension.fromPartial(object.extention)\n : undefined;\n message.extension = (object.extension !== undefined && object.extension !== null)\n ? ExportLensesByIdRequest_Context_Extension.fromPartial(object.extension)\n : undefined;\n message.extensionRequestContext = object.extensionRequestContext ?? new Uint8Array(0);\n return message;\n },\n};\nfunction createBaseExportLensesByIdRequest_Context_Extension(): ExportLensesByIdRequest_Context_Extension {\n return { name: ExportLensesByIdRequest_Context_Extension_Name.UNSET, version: \"\" };\n}\nexport const ExportLensesByIdRequest_Context_Extension: MessageFns<ExportLensesByIdRequest_Context_Extension> = {\n encode(message: ExportLensesByIdRequest_Context_Extension, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.name !== ExportLensesByIdRequest_Context_Extension_Name.UNSET) {\n writer.uint32(8).int32(exportLensesByIdRequest_Context_Extension_NameToNumber(message.name));\n }\n if (message.version !== \"\") {\n writer.uint32(18).string(message.version);\n }\n return writer;\n },\n decode(input: BinaryReader | Uint8Array, length?: number): ExportLensesByIdRequest_Context_Extension {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseExportLensesByIdRequest_Context_Extension();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n message.name = exportLensesByIdRequest_Context_Extension_NameFromJSON(reader.int32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n message.version = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n create<I extends Exact<DeepPartial<ExportLensesByIdRequest_Context_Extension>, I>>(base?: I): ExportLensesByIdRequest_Context_Extension {\n return ExportLensesByIdRequest_Context_Extension.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<ExportLensesByIdRequest_Context_Extension>, I>>(object: I): ExportLensesByIdRequest_Context_Extension {\n const message = createBaseExportLensesByIdRequest_Context_Extension();\n message.name = object.name ?? ExportLensesByIdRequest_Context_Extension_Name.UNSET;\n message.version = object.version ?? \"\";\n return message;\n },\n};\nfunction createBaseExportLensesByIdResponse(): ExportLensesByIdResponse {\n return { lenses: {}, excludedLenses: [] };\n}\nexport const ExportLensesByIdResponse: MessageFns<ExportLensesByIdResponse> = {\n encode(message: ExportLensesByIdResponse, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n Object.entries(message.lenses).forEach(([key, value]) => {\n ExportLensesByIdResponse_LensesEntry.encode({ key: key as any, value }, writer.uint32(10).fork()).join();\n });\n for (const v of message.excludedLenses) {\n ExportLensesByIdResponse_ExcludedLens.encode(v!, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n decode(input: BinaryReader | Uint8Array, length?: number): ExportLensesByIdResponse {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseExportLensesByIdResponse();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n const entry1 = ExportLensesByIdResponse_LensesEntry.decode(reader, reader.uint32());\n if (entry1.value !== undefined) {\n message.lenses[entry1.key] = entry1.value;\n }\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n message.excludedLenses.push(ExportLensesByIdResponse_ExcludedLens.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n create<I extends Exact<DeepPartial<ExportLensesByIdResponse>, I>>(base?: I): ExportLensesByIdResponse {\n return ExportLensesByIdResponse.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<ExportLensesByIdResponse>, I>>(object: I): ExportLensesByIdResponse {\n const message = createBaseExportLensesByIdResponse();\n message.lenses = Object.entries(object.lenses ?? {}).reduce<{\n [key: string]: Uint8Array;\n }>((acc, [key, value]) => {\n if (value !== undefined) {\n acc[key] = value;\n }\n return acc;\n }, {});\n message.excludedLenses = object.excludedLenses?.map((e) => ExportLensesByIdResponse_ExcludedLens.fromPartial(e)) ||\n [];\n return message;\n },\n};\nfunction createBaseExportLensesByIdResponse_LensesEntry(): ExportLensesByIdResponse_LensesEntry {\n return { key: \"0\", value: new Uint8Array(0) };\n}\nexport const ExportLensesByIdResponse_LensesEntry: MessageFns<ExportLensesByIdResponse_LensesEntry> = {\n encode(message: ExportLensesByIdResponse_LensesEntry, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.key !== \"0\") {\n writer.uint32(8).int64(message.key);\n }\n if (message.value.length !== 0) {\n writer.uint32(18).bytes(message.value);\n }\n return writer;\n },\n decode(input: BinaryReader | Uint8Array, length?: number): ExportLensesByIdResponse_LensesEntry {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseExportLensesByIdResponse_LensesEntry();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n message.key = reader.int64().toString();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n message.value = reader.bytes();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n create<I extends Exact<DeepPartial<ExportLensesByIdResponse_LensesEntry>, I>>(base?: I): ExportLensesByIdResponse_LensesEntry {\n return ExportLensesByIdResponse_LensesEntry.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<ExportLensesByIdResponse_LensesEntry>, I>>(object: I): ExportLensesByIdResponse_LensesEntry {\n const message = createBaseExportLensesByIdResponse_LensesEntry();\n message.key = object.key ?? \"0\";\n message.value = object.value ?? new Uint8Array(0);\n return message;\n },\n};\nfunction createBaseExportLensesByIdResponse_ExcludedLens(): ExportLensesByIdResponse_ExcludedLens {\n return { lensId: \"0\", code: ExportLensesByIdResponse_ExcludedLens_Code.UNSET, reason: \"\" };\n}\nexport const ExportLensesByIdResponse_ExcludedLens: MessageFns<ExportLensesByIdResponse_ExcludedLens> = {\n encode(message: ExportLensesByIdResponse_ExcludedLens, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.lensId !== \"0\") {\n writer.uint32(8).int64(message.lensId);\n }\n if (message.code !== ExportLensesByIdResponse_ExcludedLens_Code.UNSET) {\n writer.uint32(16).int32(exportLensesByIdResponse_ExcludedLens_CodeToNumber(message.code));\n }\n if (message.reason !== \"\") {\n writer.uint32(26).string(message.reason);\n }\n return writer;\n },\n decode(input: BinaryReader | Uint8Array, length?: number): ExportLensesByIdResponse_ExcludedLens {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseExportLensesByIdResponse_ExcludedLens();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n message.lensId = reader.int64().toString();\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n message.code = exportLensesByIdResponse_ExcludedLens_CodeFromJSON(reader.int32());\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n message.reason = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n create<I extends Exact<DeepPartial<ExportLensesByIdResponse_ExcludedLens>, I>>(base?: I): ExportLensesByIdResponse_ExcludedLens {\n return ExportLensesByIdResponse_ExcludedLens.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<ExportLensesByIdResponse_ExcludedLens>, I>>(object: I): ExportLensesByIdResponse_ExcludedLens {\n const message = createBaseExportLensesByIdResponse_ExcludedLens();\n message.lensId = object.lensId ?? \"0\";\n message.code = object.code ?? ExportLensesByIdResponse_ExcludedLens_Code.UNSET;\n message.reason = object.reason ?? \"\";\n return message;\n },\n};\nfunction createBaseExtensionRequestContext(): ExtensionRequestContext {\n return { userAgent: \"\", locale: \"\" };\n}\nexport const ExtensionRequestContext: MessageFns<ExtensionRequestContext> = {\n encode(message: ExtensionRequestContext, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.userAgent !== \"\") {\n writer.uint32(10).string(message.userAgent);\n }\n if (message.locale !== \"\") {\n writer.uint32(18).string(message.locale);\n }\n return writer;\n },\n decode(input: BinaryReader | Uint8Array, length?: number): ExtensionRequestContext {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseExtensionRequestContext();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n message.userAgent = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n message.locale = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n create<I extends Exact<DeepPartial<ExtensionRequestContext>, I>>(base?: I): ExtensionRequestContext {\n return ExtensionRequestContext.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<ExtensionRequestContext>, I>>(object: I): ExtensionRequestContext {\n const message = createBaseExtensionRequestContext();\n message.userAgent = object.userAgent ?? \"\";\n message.locale = object.locale ?? \"\";\n return message;\n },\n};\nfunction createBaseEnvelope(): Envelope {\n return { lenses: [] };\n}\nexport const Envelope: MessageFns<Envelope> = {\n encode() {\n throw new Error(\"Not implemented.\");\n },\n decode(input: BinaryReader | Uint8Array, length?: number): Envelope {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEnvelope();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n message.lenses.push(Lens.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n create<I extends Exact<DeepPartial<Envelope>, I>>(base?: I): Envelope {\n return Envelope.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<Envelope>, I>>(object: I): Envelope {\n const message = createBaseEnvelope();\n message.lenses = object.lenses?.map((e) => Lens.fromPartial(e)) || [];\n return message;\n },\n};\nexport interface Export {\n ExportLensesById(request: ExportLensesByIdRequest): Promise<ExportLensesByIdResponse>;\n}\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;\nexport type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {\n $case: string;\n} ? {\n [K in keyof Omit<T, \"$case\">]?: DeepPartial<T[K]>;\n} & {\n $case: T[\"$case\"];\n} : 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} & {\n [K in Exclude<keyof I, KeysOfUnion<P>>]: never;\n};\nexport interface MessageFns<T> {\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;\n fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;\n}\n"]}
@@ -1,4 +1,4 @@
1
- import _m0 from "protobufjs/minimal";
1
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  export declare const protobufPackage = "com.snap.camerakit.v3.features";
3
3
  /**
4
4
  * Ranking feature metadata.
@@ -8,17 +8,9 @@ export interface RankingInfo {
8
8
  /** Ranking request id can be reported by clients along with lens usage to build ranking models. */
9
9
  rankingRequestId: string;
10
10
  }
11
- export declare const RankingInfo: {
12
- encode(message: RankingInfo, writer?: _m0.Writer): _m0.Writer;
13
- decode(input: _m0.Reader | Uint8Array, length?: number): RankingInfo;
14
- fromPartial<I extends {
15
- rankingRequestId?: string | undefined;
16
- } & {
17
- rankingRequestId?: string | undefined;
18
- } & Record<Exclude<keyof I, "rankingRequestId">, never>>(object: I): RankingInfo;
19
- };
11
+ export declare const RankingInfo: MessageFns<RankingInfo>;
20
12
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
21
- 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 {
13
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
22
14
  $case: string;
23
15
  } ? {
24
16
  [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
@@ -30,6 +22,14 @@ export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ?
30
22
  type KeysOfUnion<T> = T extends T ? keyof T : never;
31
23
  export type Exact<P, I extends P> = P extends Builtin ? P : P & {
32
24
  [K in keyof P]: Exact<P[K], I[K]>;
33
- } & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
25
+ } & {
26
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
27
+ };
28
+ export interface MessageFns<T> {
29
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
30
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
31
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
32
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
33
+ }
34
34
  export {};
35
35
  //# sourceMappingURL=ranking_info.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ranking_info.d.ts","sourceRoot":"","sources":["../../../../../../src/generated-proto/pb_schema/camera_kit/v3/features/ranking_info.ts"],"names":[],"mappings":"AAEA,OAAO,GAAG,MAAM,oBAAoB,CAAC;AAErC,eAAO,MAAM,eAAe,mCAAmC,CAAC;AAEhE;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,mGAAmG;IACnG,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAMD,eAAO,MAAM,WAAW;oBACN,WAAW,WAAU,IAAI,MAAM,GAAyB,IAAI,MAAM;kBAOpE,IAAI,MAAM,GAAG,UAAU,WAAW,MAAM,GAAG,WAAW;;;;;yEAkBE,WAAW;CAKlF,CAAC;AAEF,KAAK,OAAO,GAAG,IAAI,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AAEpF,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,GAC1C,CAAC,GACD,CAAC,SAAS,K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AE,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GAAG;KAAG,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK;CAAE,CAAC;AAEnG,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,YAAY,CAAC;IACxD,MAAM,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAC7D,MAAM,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACxD,WAAW,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC;CAC/D"}
@@ -1,33 +1,40 @@
1
- import Long from "long";
2
- import _m0 from "protobufjs/minimal";
1
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
3
2
  export const protobufPackage = "com.snap.camerakit.v3.features";
4
3
  function createBaseRankingInfo() {
5
4
  return { rankingRequestId: "" };
6
5
  }
7
6
  export const RankingInfo = {
8
- encode(message, writer = _m0.Writer.create()) {
7
+ encode(message, writer = new BinaryWriter()) {
9
8
  if (message.rankingRequestId !== "") {
10
9
  writer.uint32(10).string(message.rankingRequestId);
11
10
  }
12
11
  return writer;
13
12
  },
14
13
  decode(input, length) {
15
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
14
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
16
15
  let end = length === undefined ? reader.len : reader.pos + length;
17
16
  const message = createBaseRankingInfo();
18
17
  while (reader.pos < end) {
19
18
  const tag = reader.uint32();
20
19
  switch (tag >>> 3) {
21
- case 1:
20
+ case 1: {
21
+ if (tag !== 10) {
22
+ break;
23
+ }
22
24
  message.rankingRequestId = reader.string();
23
- break;
24
- default:
25
- reader.skipType(tag & 7);
26
- break;
25
+ continue;
26
+ }
27
27
  }
28
+ if ((tag & 7) === 4 || tag === 0) {
29
+ break;
30
+ }
31
+ reader.skip(tag & 7);
28
32
  }
29
33
  return message;
30
34
  },
35
+ create(base) {
36
+ return RankingInfo.fromPartial(base !== null && base !== void 0 ? base : {});
37
+ },
31
38
  fromPartial(object) {
32
39
  var _a;
33
40
  const message = createBaseRankingInfo();
@@ -35,8 +42,4 @@ export const RankingInfo = {
35
42
  return message;
36
43
  },
37
44
  };
38
- if (_m0.util.Long !== Long) {
39
- _m0.util.Long = Long;
40
- _m0.configure();
41
- }
42
45
  //# sourceMappingURL=ranking_info.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ranking_info.js","sourceRoot":"","sources":["../../../../../../src/generated-proto/pb_schema/camera_kit/v3/features/ranking_info.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,GAAG,MAAM,oBAAoB,CAAC;AAErC,MAAM,CAAC,MAAM,eAAe,GAAG,gCAAgC,CAAC;AAWhE,SAAS,qBAAqB;IAC5B,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE,CAAC;AAClC,CAAC;AAED,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,MAAM,CAAC,OAAoB,EAAE,SAAqB,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QACnE,IAAI,OAAO,CAAC,gBAAgB,KAAK,EAAE,EAAE;YACnC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;SACpD;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,MAAM,CAAC,KAA8B,EAAE,MAAe;QACpD,MAAM,MAAM,GAAG,KAAK,YAAY,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC3E,IAAI,GAAG,GAAG,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,GAAG,MAAM,CAAC;QAClE,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;QACxC,OAAO,MAAM,CAAC,GAAG,GAAG,GAAG,EAAE;YACvB,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC;YAC5B,QAAQ,GAAG,KAAK,CAAC,EAAE;gBACjB,KAAK,CAAC;oBACJ,OAAO,CAAC,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC;oBAC3C,MAAM;gBACR;oBACE,MAAM,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;oBACzB,MAAM;aACT;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,WAAW,CAA+C,MAAS;;QACjE,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;QACxC,OAAO,CAAC,gBAAgB,GAAG,MAAA,MAAM,CAAC,gBAAgB,mCAAI,EAAE,CAAC;QACzD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC;AAqBF,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,EAAE;IAC1B,GAAG,CAAC,IAAI,CAAC,IAAI,GAAG,IAAW,CAAC;IAC5B,GAAG,CAAC,SAAS,EAAE,CAAC;CACjB","sourcesContent":["/* eslint-disable */\nimport Long from \"long\";\nimport _m0 from \"protobufjs/minimal\";\n\nexport const protobufPackage = \"com.snap.camerakit.v3.features\";\n\n/**\n * Ranking feature metadata.\n * https://docs.google.com/document/d/1vKDLVpnblnUZHhNbFGGzUf64nmdkO6NGyarq8q9nPE8/edit#heading=h.2yfm0j3kldwv\n */\nexport interface RankingInfo {\n /** Ranking request id can be reported by clients along with lens usage to build ranking models. */\n rankingRequestId: string;\n}\n\nfunction createBaseRankingInfo(): RankingInfo {\n return { rankingRequestId: \"\" };\n}\n\nexport const RankingInfo = {\n encode(message: RankingInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.rankingRequestId !== \"\") {\n writer.uint32(10).string(message.rankingRequestId);\n }\n return writer;\n },\n\n decode(input: _m0.Reader | Uint8Array, length?: number): RankingInfo {\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 = createBaseRankingInfo();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.rankingRequestId = reader.string();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n\n fromPartial<I extends Exact<DeepPartial<RankingInfo>, I>>(object: I): RankingInfo {\n const message = createBaseRankingInfo();\n message.rankingRequestId = object.rankingRequestId ?? \"\";\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;\n\nexport type DeepPartial<T> = T extends Builtin\n ? T\n : T extends Array<infer U>\n ? Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U>\n ? ReadonlyArray<DeepPartial<U>>\n : T extends { $case: string }\n ? { [K in keyof Omit<T, \"$case\">]?: DeepPartial<T[K]> } & { $case: T[\"$case\"] }\n : T extends {}\n ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\ntype KeysOfUnion<T> = T extends T ? keyof T : never;\nexport type Exact<P, I extends P> = P extends Builtin\n ? P\n : P & { [K in keyof P]: Exact<P[K], I[K]> } & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;\n\nif (_m0.util.Long !== Long) {\n _m0.util.Long = Long as any;\n _m0.configure();\n}\n"]}
1
+ {"version":3,"file":"ranking_info.js","sourceRoot":"","sources":["../../../../../../src/generated-proto/pb_schema/camera_kit/v3/features/ranking_info.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAA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GAAG,GAAG,CAAC,CAAC,CAAC;SACtB;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,MAAM,CAA+C,IAAQ;QAC3D,OAAO,WAAW,CAAC,WAAW,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAK,EAAU,CAAC,CAAC;IACtD,CAAC;IACD,WAAW,CAA+C,MAAS;;QACjE,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;QACxC,OAAO,CAAC,gBAAgB,GAAG,MAAA,MAAM,CAAC,gBAAgB,mCAAI,EAAE,CAAC;QACzD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC","sourcesContent":["// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.2.4\n// protoc v5.28.2\n// source: camera_kit/v3/features/ranking_info.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\n\nexport const protobufPackage = \"com.snap.camerakit.v3.features\";\n\n/**\n * Ranking feature metadata.\n * https://docs.google.com/document/d/1vKDLVpnblnUZHhNbFGGzUf64nmdkO6NGyarq8q9nPE8/edit#heading=h.2yfm0j3kldwv\n */\nexport interface RankingInfo {\n /** Ranking request id can be reported by clients along with lens usage to build ranking models. */\n rankingRequestId: string;\n}\n\nfunction createBaseRankingInfo(): RankingInfo {\n return { rankingRequestId: \"\" };\n}\n\nexport const RankingInfo: MessageFns<RankingInfo> = {\n encode(message: RankingInfo, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.rankingRequestId !== \"\") {\n writer.uint32(10).string(message.rankingRequestId);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): RankingInfo {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseRankingInfo();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.rankingRequestId = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n create<I extends Exact<DeepPartial<RankingInfo>, I>>(base?: I): RankingInfo {\n return RankingInfo.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<RankingInfo>, I>>(object: I): RankingInfo {\n const message = createBaseRankingInfo();\n message.rankingRequestId = object.rankingRequestId ?? \"\";\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;\n\nexport type DeepPartial<T> = T extends Builtin ? T\n : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends { $case: string } ? { [K in keyof Omit<T, \"$case\">]?: DeepPartial<T[K]> } & { $case: T[\"$case\"] }\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\ntype KeysOfUnion<T> = T extends T ? keyof T : never;\nexport type Exact<P, I extends P> = P extends Builtin ? P\n : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };\n\nexport interface MessageFns<T> {\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;\n fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;\n}\n"]}
@@ -1,19 +1,11 @@
1
- import _m0 from "protobufjs/minimal";
1
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  export declare const protobufPackage = "com.snap.camerakit.v3.features";
3
3
  export interface RemoteApiInfo {
4
4
  apiSpecIds: string[];
5
5
  }
6
- export declare const RemoteApiInfo: {
7
- encode(message: RemoteApiInfo, writer?: _m0.Writer): _m0.Writer;
8
- decode(input: _m0.Reader | Uint8Array, length?: number): RemoteApiInfo;
9
- fromPartial<I extends {
10
- apiSpecIds?: string[] | undefined;
11
- } & {
12
- apiSpecIds?: (string[] & string[] & Record<Exclude<keyof I["apiSpecIds"], keyof string[]>, never>) | undefined;
13
- } & Record<Exclude<keyof I, "apiSpecIds">, never>>(object: I): RemoteApiInfo;
14
- };
6
+ export declare const RemoteApiInfo: MessageFns<RemoteApiInfo>;
15
7
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
16
- 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 {
8
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
17
9
  $case: string;
18
10
  } ? {
19
11
  [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
@@ -25,6 +17,14 @@ export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ?
25
17
  type KeysOfUnion<T> = T extends T ? keyof T : never;
26
18
  export type Exact<P, I extends P> = P extends Builtin ? P : P & {
27
19
  [K in keyof P]: Exact<P[K], I[K]>;
28
- } & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
20
+ } & {
21
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
22
+ };
23
+ export interface MessageFns<T> {
24
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
25
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
26
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
27
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
28
+ }
29
29
  export {};
30
30
  //# sourceMappingURL=remote_api_info.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remote_api_info.d.ts","sourceRoot":"","sources":["../../../../../../src/generated-proto/pb_schema/camera_kit/v3/features/remote_api_info.ts"],"names":[],"mappings":"AACA,OAAO,GAA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AS,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"}
1
+ {"version":3,"file":"remote_api_info.d.ts","sourceRoot":"","sources":["../../../../../../src/generated-proto/pb_schema/camera_kit/v3/features/remote_api_info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,eAAO,MAAM,eAAe,mCAAmC,CAAC;AAChE,MAAM,WAAW,aAAa;IAC1B,UAAU,EAAE,MAAM,EAAE,CAAC;CACxB;AAID,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,aAAa,CAqCnD,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,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,UAAU,CAAC,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;IACvM,KAAK,EAAE,MAAM,CAAC;CACjB,GAAG;KACC,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CACpD,GAAG;IACA,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC;CACrB,GAAG,CAAC,SAAS,EAAE,GAAG;KACd,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;KACC,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK;CACjD,CAAC;AACF,MAAM,WAAW,UAAU,CAAC,CAAC;IACzB,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,YAAY,CAAC;IACxD,MAAM,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAC7D,MAAM,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACxD,WAAW,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC;CACjE"}
@@ -1,33 +1,40 @@
1
- import Long from "long";
2
- import _m0 from "protobufjs/minimal";
1
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
3
2
  export const protobufPackage = "com.snap.camerakit.v3.features";
4
3
  function createBaseRemoteApiInfo() {
5
4
  return { apiSpecIds: [] };
6
5
  }
7
6
  export const RemoteApiInfo = {
8
- encode(message, writer = _m0.Writer.create()) {
7
+ encode(message, writer = new BinaryWriter()) {
9
8
  for (const v of message.apiSpecIds) {
10
9
  writer.uint32(10).string(v);
11
10
  }
12
11
  return writer;
13
12
  },
14
13
  decode(input, length) {
15
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
14
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
16
15
  let end = length === undefined ? reader.len : reader.pos + length;
17
16
  const message = createBaseRemoteApiInfo();
18
17
  while (reader.pos < end) {
19
18
  const tag = reader.uint32();
20
19
  switch (tag >>> 3) {
21
- case 1:
20
+ case 1: {
21
+ if (tag !== 10) {
22
+ break;
23
+ }
22
24
  message.apiSpecIds.push(reader.string());
23
- break;
24
- default:
25
- reader.skipType(tag & 7);
26
- break;
25
+ continue;
26
+ }
27
27
  }
28
+ if ((tag & 7) === 4 || tag === 0) {
29
+ break;
30
+ }
31
+ reader.skip(tag & 7);
28
32
  }
29
33
  return message;
30
34
  },
35
+ create(base) {
36
+ return RemoteApiInfo.fromPartial(base !== null && base !== void 0 ? base : {});
37
+ },
31
38
  fromPartial(object) {
32
39
  var _a;
33
40
  const message = createBaseRemoteApiInfo();
@@ -35,8 +42,4 @@ export const RemoteApiInfo = {
35
42
  return message;
36
43
  },
37
44
  };
38
- if (_m0.util.Long !== Long) {
39
- _m0.util.Long = Long;
40
- _m0.configure();
41
- }
42
45
  //# sourceMappingURL=remote_api_info.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"remote_api_info.js","sourceRoot":"","sources":["../../../../../../src/generated-proto/pb_schema/camera_kit/v3/features/remote_api_info.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,GAAG,MAAM,oBAAoB,CAAC;AACrC,MAAM,CAAC,MAAM,eAAe,GAAG,gCAAgC,CAAC;AAIhE,SAAS,uBAAuB;IAC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C,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAI,EAAE,CAAC;QAC5D,OAAO,OAAO,CAAC;IACnB,CAAC;CACJ,CAAC;AAeF,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 = \"com.snap.camerakit.v3.features\";\nexport interface RemoteApiInfo {\n apiSpecIds: string[];\n}\nfunction createBaseRemoteApiInfo(): RemoteApiInfo {\n return { apiSpecIds: [] };\n}\nexport const RemoteApiInfo = {\n encode(message: RemoteApiInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n for (const v of message.apiSpecIds) {\n writer.uint32(10).string(v!);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): RemoteApiInfo {\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 = createBaseRemoteApiInfo();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.apiSpecIds.push(reader.string());\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<RemoteApiInfo>, I>>(object: I): RemoteApiInfo {\n const message = createBaseRemoteApiInfo();\n message.apiSpecIds = object.apiSpecIds?.map((e) => e) || [];\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 $case: string;\n} ? {\n [K in keyof Omit<T, \"$case\">]?: DeepPartial<T[K]>;\n} & {\n $case: T[\"$case\"];\n} : 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"]}
1
+ {"version":3,"file":"remote_api_info.js","sourceRoot":"","sources":["../../../../../../src/generated-proto/pb_schema/camera_kit/v3/features/remote_api_info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,MAAM,CAAC,MAAM,eAAe,GAAG,gCAAgC,CAAC;AAIhE,SAAS,uBAAuB;IAC5B,OAAO,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;AAC9B,CAAC;AACD,MAAM,CAAC,MAAM,aAAa,GAA8B;IACpD,MAAM,CAAC,OAAsB,EAAE,SAAuB,IAAI,YAAY,EAAE;QACpE,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,UAAU,EAAE;YAChC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAE,CAAC,CAAC;SAChC;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;IACD,MAAM,CAAC,KAAgC,EAAE,MAAe;QACpD,MAAM,MAAM,GAAG,KAAK,YAAY,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,YAAY,CAAC,KAAK,CAAC,CAAC;QAC/E,IAAI,GAAG,GAAG,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,GAAG,MAAM,CAAC;QAClE,MAAM,OAAO,GAAG,uBAAuB,EAAE,CAAC;QAC1C,OAAO,MAAM,CAAC,GAAG,GAAG,GAAG,EAAE;YACrB,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC;YAC5B,QAAQ,GAAG,KAAK,CAAC,EAAE;gBACf,KAAK,CAAC,CAAC,CAAC;oBACJ,IAAI,GAAG,KAAK,EAAE,EAAE;wBACZ,MAAM;qBACT;oBACD,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;oBACzC,SAAS;iBACZ;aACJ;YACD,IAAI,CAAC,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,EAAE;gBAC9B,MAAM;aACT;YACD,MAAM,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;SACxB;QACD,OAAO,OAAO,CAAC;IACnB,CAAC;IACD,MAAM,CAAiD,IAAQ;QAC3D,OAAO,aAAa,CAAC,WAAW,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAK,EAAU,CAAC,CAAC;IAC1D,CAAC;IACD,WAAW,CAAiD,MAAS;;QACjE,MAAM,OAAO,GAAG,uBAAuB,EAAE,CAAC;QAC1C,OAAO,CAAC,UAAU,GAAG,CAAA,MAAA,MAAM,CAAC,UAAU,0CAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAI,EAAE,CAAC;QAC5D,OAAO,OAAO,CAAC;IACnB,CAAC;CACJ,CAAC","sourcesContent":["import { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nexport const protobufPackage = \"com.snap.camerakit.v3.features\";\nexport interface RemoteApiInfo {\n apiSpecIds: string[];\n}\nfunction createBaseRemoteApiInfo(): RemoteApiInfo {\n return { apiSpecIds: [] };\n}\nexport const RemoteApiInfo: MessageFns<RemoteApiInfo> = {\n encode(message: RemoteApiInfo, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.apiSpecIds) {\n writer.uint32(10).string(v!);\n }\n return writer;\n },\n decode(input: BinaryReader | Uint8Array, length?: number): RemoteApiInfo {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseRemoteApiInfo();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n message.apiSpecIds.push(reader.string());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n create<I extends Exact<DeepPartial<RemoteApiInfo>, I>>(base?: I): RemoteApiInfo {\n return RemoteApiInfo.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<RemoteApiInfo>, I>>(object: I): RemoteApiInfo {\n const message = createBaseRemoteApiInfo();\n message.apiSpecIds = object.apiSpecIds?.map((e) => e) || [];\n return message;\n },\n};\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;\nexport type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {\n $case: string;\n} ? {\n [K in keyof Omit<T, \"$case\">]?: DeepPartial<T[K]>;\n} & {\n $case: T[\"$case\"];\n} : 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} & {\n [K in Exclude<keyof I, KeysOfUnion<P>>]: never;\n};\nexport interface MessageFns<T> {\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;\n fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;\n}\n"]}
@@ -1,4 +1,4 @@
1
- import _m0 from "protobufjs/minimal";
1
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  export declare const protobufPackage = "com.snap.camerakit.v3";
3
3
  export interface LegalPrompt {
4
4
  documents: LegalDocument[];
@@ -17,59 +17,10 @@ export declare enum LegalDocument_Type {
17
17
  LEARN_MORE = 3,
18
18
  UNRECOGNIZED = -1
19
19
  }
20
- export declare const LegalPrompt: {
21
- encode(message: LegalPrompt, writer?: _m0.Writer): _m0.Writer;
22
- decode(input: _m0.Reader | Uint8Array, length?: number): LegalPrompt;
23
- fromPartial<I extends {
24
- documents?: {
25
- type?: LegalDocument_Type | undefined;
26
- webUrl?: string | undefined;
27
- version?: string | undefined;
28
- timestamp?: Date | undefined;
29
- }[] | undefined;
30
- disabled?: boolean | undefined;
31
- } & {
32
- documents?: ({
33
- type?: LegalDocument_Type | undefined;
34
- webUrl?: string | undefined;
35
- version?: string | undefined;
36
- timestamp?: Date | undefined;
37
- }[] & ({
38
- type?: LegalDocument_Type | undefined;
39
- webUrl?: string | undefined;
40
- version?: string | undefined;
41
- timestamp?: Date | undefined;
42
- } & {
43
- type?: LegalDocument_Type | undefined;
44
- webUrl?: string | undefined;
45
- version?: string | undefined;
46
- timestamp?: Date | undefined;
47
- } & Record<Exclude<keyof I["documents"][number], keyof LegalDocument>, never>)[] & Record<Exclude<keyof I["documents"], keyof {
48
- type?: LegalDocument_Type | undefined;
49
- webUrl?: string | undefined;
50
- version?: string | undefined;
51
- timestamp?: Date | undefined;
52
- }[]>, never>) | undefined;
53
- disabled?: boolean | undefined;
54
- } & Record<Exclude<keyof I, keyof LegalPrompt>, never>>(object: I): LegalPrompt;
55
- };
56
- export declare const LegalDocument: {
57
- encode(message: LegalDocument, writer?: _m0.Writer): _m0.Writer;
58
- decode(input: _m0.Reader | Uint8Array, length?: number): LegalDocument;
59
- fromPartial<I extends {
60
- type?: LegalDocument_Type | undefined;
61
- webUrl?: string | undefined;
62
- version?: string | undefined;
63
- timestamp?: Date | undefined;
64
- } & {
65
- type?: LegalDocument_Type | undefined;
66
- webUrl?: string | undefined;
67
- version?: string | undefined;
68
- timestamp?: Date | undefined;
69
- } & Record<Exclude<keyof I, keyof LegalDocument>, never>>(object: I): LegalDocument;
70
- };
20
+ export declare const LegalPrompt: MessageFns<LegalPrompt>;
21
+ export declare const LegalDocument: MessageFns<LegalDocument>;
71
22
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
72
- 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 {
23
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
73
24
  $case: string;
74
25
  } ? {
75
26
  [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
@@ -81,6 +32,14 @@ export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ?
81
32
  type KeysOfUnion<T> = T extends T ? keyof T : never;
82
33
  export type Exact<P, I extends P> = P extends Builtin ? P : P & {
83
34
  [K in keyof P]: Exact<P[K], I[K]>;
84
- } & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
35
+ } & {
36
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
37
+ };
38
+ export interface MessageFns<T> {
39
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
40
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
41
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
42
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
43
+ }
85
44
  export {};
86
45
  //# sourceMappingURL=legal_prompt.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"legal_prompt.d.ts","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/camera_kit/v3/legal_prompt.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,oBAAoB,CAAC;AAErC,eAAO,MAAM,eAAe,0BAA0B,CAAC;AACvD,MAAM,WAAW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