@mathrunet/masamune 3.7.0 → 3.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/README.md +1 -1
- package/dist/functions/test.d.ts +1 -1
- package/dist/functions/test.js +2 -3
- package/dist/functions/test.js.map +1 -1
- package/dist/functions.d.ts +2 -245
- package/dist/functions.js +2 -245
- package/dist/functions.js.map +1 -1
- package/dist/index.d.ts +4 -17
- package/dist/index.js +13 -15
- package/dist/index.js.map +1 -1
- package/package.json +10 -23
- package/.claude/settings.local.json +0 -12
- package/dist/functions/aggregate_model_firestore.d.ts +0 -1
- package/dist/functions/aggregate_model_firestore.js +0 -225
- package/dist/functions/aggregate_model_firestore.js.map +0 -1
- package/dist/functions/aggregation_model_firestore.d.ts +0 -1
- package/dist/functions/aggregation_model_firestore.js +0 -220
- package/dist/functions/aggregation_model_firestore.js.map +0 -1
- package/dist/functions/agora_cloud_recording.d.ts +0 -1
- package/dist/functions/agora_cloud_recording.js +0 -125
- package/dist/functions/agora_cloud_recording.js.map +0 -1
- package/dist/functions/agora_token.d.ts +0 -1
- package/dist/functions/agora_token.js +0 -144
- package/dist/functions/agora_token.js.map +0 -1
- package/dist/functions/algolia.d.ts +0 -1
- package/dist/functions/algolia.js +0 -145
- package/dist/functions/algolia.js.map +0 -1
- package/dist/functions/android_auth_code.d.ts +0 -1
- package/dist/functions/android_auth_code.js +0 -97
- package/dist/functions/android_auth_code.js.map +0 -1
- package/dist/functions/android_token.d.ts +0 -1
- package/dist/functions/android_token.js +0 -132
- package/dist/functions/android_token.js.map +0 -1
- package/dist/functions/collection_model_firestore.d.ts +0 -1
- package/dist/functions/collection_model_firestore.js +0 -222
- package/dist/functions/collection_model_firestore.js.map +0 -1
- package/dist/functions/conduct_broad_research.d.ts +0 -1
- package/dist/functions/conduct_broad_research.js +0 -162
- package/dist/functions/conduct_broad_research.js.map +0 -1
- package/dist/functions/conduct_detailed_research.d.ts +0 -1
- package/dist/functions/conduct_detailed_research.js +0 -162
- package/dist/functions/conduct_detailed_research.js.map +0 -1
- package/dist/functions/consumable_verify_android.d.ts +0 -1
- package/dist/functions/consumable_verify_android.js +0 -172
- package/dist/functions/consumable_verify_android.js.map +0 -1
- package/dist/functions/consumable_verify_ios.d.ts +0 -1
- package/dist/functions/consumable_verify_ios.js +0 -136
- package/dist/functions/consumable_verify_ios.js.map +0 -1
- package/dist/functions/delete_documents.d.ts +0 -1
- package/dist/functions/delete_documents.js +0 -91
- package/dist/functions/delete_documents.js.map +0 -1
- package/dist/functions/delete_user.d.ts +0 -1
- package/dist/functions/delete_user.js +0 -87
- package/dist/functions/delete_user.js.map +0 -1
- package/dist/functions/document_model_firestore.d.ts +0 -1
- package/dist/functions/document_model_firestore.js +0 -218
- package/dist/functions/document_model_firestore.js.map +0 -1
- package/dist/functions/geocoding.d.ts +0 -1
- package/dist/functions/geocoding.js +0 -93
- package/dist/functions/geocoding.js.map +0 -1
- package/dist/functions/gmail.d.ts +0 -1
- package/dist/functions/gmail.js +0 -117
- package/dist/functions/gmail.js.map +0 -1
- package/dist/functions/google_token.d.ts +0 -1
- package/dist/functions/google_token.js +0 -105
- package/dist/functions/google_token.js.map +0 -1
- package/dist/functions/hls.d.ts +0 -1
- package/dist/functions/hls.js +0 -169
- package/dist/functions/hls.js.map +0 -1
- package/dist/functions/nonconsumable_verify_android.d.ts +0 -1
- package/dist/functions/nonconsumable_verify_android.js +0 -166
- package/dist/functions/nonconsumable_verify_android.js.map +0 -1
- package/dist/functions/nonconsumable_verify_ios.d.ts +0 -1
- package/dist/functions/nonconsumable_verify_ios.js +0 -130
- package/dist/functions/nonconsumable_verify_ios.js.map +0 -1
- package/dist/functions/openai_chat_gpt.d.ts +0 -1
- package/dist/functions/openai_chat_gpt.js +0 -117
- package/dist/functions/openai_chat_gpt.js.map +0 -1
- package/dist/functions/purchase_webhook_android.d.ts +0 -1
- package/dist/functions/purchase_webhook_android.js +0 -306
- package/dist/functions/purchase_webhook_android.js.map +0 -1
- package/dist/functions/purchase_webhook_ios.d.ts +0 -1
- package/dist/functions/purchase_webhook_ios.js +0 -182
- package/dist/functions/purchase_webhook_ios.js.map +0 -1
- package/dist/functions/schedule_asset_creation.d.ts +0 -1
- package/dist/functions/schedule_asset_creation.js +0 -103
- package/dist/functions/schedule_asset_creation.js.map +0 -1
- package/dist/functions/scheduler.d.ts +0 -1
- package/dist/functions/scheduler.js +0 -144
- package/dist/functions/scheduler.js.map +0 -1
- package/dist/functions/send_grid.d.ts +0 -1
- package/dist/functions/send_grid.js +0 -111
- package/dist/functions/send_grid.js.map +0 -1
- package/dist/functions/send_notification.d.ts +0 -1
- package/dist/functions/send_notification.js +0 -207
- package/dist/functions/send_notification.js.map +0 -1
- package/dist/functions/start_asset_creation.d.ts +0 -1
- package/dist/functions/start_asset_creation.js +0 -106
- package/dist/functions/start_asset_creation.js.map +0 -1
- package/dist/functions/storage_firebase.d.ts +0 -1
- package/dist/functions/storage_firebase.js +0 -286
- package/dist/functions/storage_firebase.js.map +0 -1
- package/dist/functions/stripe.d.ts +0 -1
- package/dist/functions/stripe.js +0 -1243
- package/dist/functions/stripe.js.map +0 -1
- package/dist/functions/stripe_webhook.d.ts +0 -1
- package/dist/functions/stripe_webhook.js +0 -605
- package/dist/functions/stripe_webhook.js.map +0 -1
- package/dist/functions/stripe_webhook_connect.d.ts +0 -1
- package/dist/functions/stripe_webhook_connect.js +0 -173
- package/dist/functions/stripe_webhook_connect.js.map +0 -1
- package/dist/functions/stripe_webhook_secure.d.ts +0 -1
- package/dist/functions/stripe_webhook_secure.js +0 -182
- package/dist/functions/stripe_webhook_secure.js.map +0 -1
- package/dist/functions/subscription_verify_android.d.ts +0 -1
- package/dist/functions/subscription_verify_android.js +0 -195
- package/dist/functions/subscription_verify_android.js.map +0 -1
- package/dist/functions/subscription_verify_ios.d.ts +0 -1
- package/dist/functions/subscription_verify_ios.js +0 -170
- package/dist/functions/subscription_verify_ios.js.map +0 -1
- package/dist/lib/api.d.ts +0 -185
- package/dist/lib/api.js +0 -172
- package/dist/lib/api.js.map +0 -1
- package/dist/lib/exntensions/string.extension.d.ts +0 -214
- package/dist/lib/exntensions/string.extension.js +0 -226
- package/dist/lib/exntensions/string.extension.js.map +0 -1
- package/dist/lib/functions/delete_documents.d.ts +0 -32
- package/dist/lib/functions/delete_documents.js +0 -111
- package/dist/lib/functions/delete_documents.js.map +0 -1
- package/dist/lib/functions/firestore.d.ts +0 -114
- package/dist/lib/functions/firestore.js +0 -347
- package/dist/lib/functions/firestore.js.map +0 -1
- package/dist/lib/functions/gmail.d.ts +0 -39
- package/dist/lib/functions/gmail.js +0 -64
- package/dist/lib/functions/gmail.js.map +0 -1
- package/dist/lib/functions/send_grid.d.ts +0 -33
- package/dist/lib/functions/send_grid.js +0 -57
- package/dist/lib/functions/send_grid.js.map +0 -1
- package/dist/lib/functions/send_notification.d.ts +0 -109
- package/dist/lib/functions/send_notification.js +0 -386
- package/dist/lib/functions/send_notification.js.map +0 -1
- package/dist/lib/functions/update_subscription.d.ts +0 -84
- package/dist/lib/functions/update_subscription.js +0 -150
- package/dist/lib/functions/update_subscription.js.map +0 -1
- package/dist/lib/functions/update_unlock.d.ts +0 -28
- package/dist/lib/functions/update_unlock.js +0 -84
- package/dist/lib/functions/update_unlock.js.map +0 -1
- package/dist/lib/functions/update_wallet.d.ts +0 -34
- package/dist/lib/functions/update_wallet.js +0 -91
- package/dist/lib/functions/update_wallet.js.map +0 -1
- package/dist/lib/functions/verify_android.d.ts +0 -50
- package/dist/lib/functions/verify_android.js +0 -130
- package/dist/lib/functions/verify_android.js.map +0 -1
- package/dist/lib/functions/verify_ios.d.ts +0 -73
- package/dist/lib/functions/verify_ios.js +0 -227
- package/dist/lib/functions/verify_ios.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_basic_converter.d.ts +0 -25
- package/dist/lib/model_field_value/converters/firestore_basic_converter.js +0 -28
- package/dist/lib/model_field_value/converters/firestore_basic_converter.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_enum_converter.d.ts +0 -25
- package/dist/lib/model_field_value/converters/firestore_enum_converter.js +0 -28
- package/dist/lib/model_field_value/converters/firestore_enum_converter.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_model_command_base_converter.d.ts +0 -25
- package/dist/lib/model_field_value/converters/firestore_model_command_base_converter.js +0 -58
- package/dist/lib/model_field_value/converters/firestore_model_command_base_converter.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_model_counter_converter.d.ts +0 -25
- package/dist/lib/model_field_value/converters/firestore_model_counter_converter.js +0 -177
- package/dist/lib/model_field_value/converters/firestore_model_counter_converter.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_model_date_converter.d.ts +0 -26
- package/dist/lib/model_field_value/converters/firestore_model_date_converter.js +0 -174
- package/dist/lib/model_field_value/converters/firestore_model_date_converter.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_model_date_range_converter.d.ts +0 -25
- package/dist/lib/model_field_value/converters/firestore_model_date_range_converter.js +0 -183
- package/dist/lib/model_field_value/converters/firestore_model_date_range_converter.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_model_geo_value_converter.d.ts +0 -25
- package/dist/lib/model_field_value/converters/firestore_model_geo_value_converter.js +0 -163
- package/dist/lib/model_field_value/converters/firestore_model_geo_value_converter.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_model_image_uri_converter.d.ts +0 -25
- package/dist/lib/model_field_value/converters/firestore_model_image_uri_converter.js +0 -134
- package/dist/lib/model_field_value/converters/firestore_model_image_uri_converter.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_model_locale_converter.d.ts +0 -25
- package/dist/lib/model_field_value/converters/firestore_model_locale_converter.js +0 -163
- package/dist/lib/model_field_value/converters/firestore_model_locale_converter.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_model_localized_value_converter.d.ts +0 -25
- package/dist/lib/model_field_value/converters/firestore_model_localized_value_converter.js +0 -89
- package/dist/lib/model_field_value/converters/firestore_model_localized_value_converter.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_model_ref_converter.d.ts +0 -25
- package/dist/lib/model_field_value/converters/firestore_model_ref_converter.js +0 -113
- package/dist/lib/model_field_value/converters/firestore_model_ref_converter.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_model_search_converter.d.ts +0 -25
- package/dist/lib/model_field_value/converters/firestore_model_search_converter.js +0 -91
- package/dist/lib/model_field_value/converters/firestore_model_search_converter.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_model_time_converter.d.ts +0 -26
- package/dist/lib/model_field_value/converters/firestore_model_time_converter.js +0 -191
- package/dist/lib/model_field_value/converters/firestore_model_time_converter.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_model_time_range_converter.d.ts +0 -25
- package/dist/lib/model_field_value/converters/firestore_model_time_range_converter.js +0 -183
- package/dist/lib/model_field_value/converters/firestore_model_time_range_converter.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_model_timestamp_converter.d.ts +0 -26
- package/dist/lib/model_field_value/converters/firestore_model_timestamp_converter.js +0 -246
- package/dist/lib/model_field_value/converters/firestore_model_timestamp_converter.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_model_timestamp_range_converter.d.ts +0 -25
- package/dist/lib/model_field_value/converters/firestore_model_timestamp_range_converter.js +0 -183
- package/dist/lib/model_field_value/converters/firestore_model_timestamp_range_converter.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_model_token_converter.d.ts +0 -25
- package/dist/lib/model_field_value/converters/firestore_model_token_converter.js +0 -91
- package/dist/lib/model_field_value/converters/firestore_model_token_converter.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_model_uri_converter.d.ts +0 -25
- package/dist/lib/model_field_value/converters/firestore_model_uri_converter.js +0 -134
- package/dist/lib/model_field_value/converters/firestore_model_uri_converter.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_model_vector_value_converter.d.ts +0 -25
- package/dist/lib/model_field_value/converters/firestore_model_vector_value_converter.js +0 -80
- package/dist/lib/model_field_value/converters/firestore_model_vector_value_converter.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_model_video_uri_converter.d.ts +0 -25
- package/dist/lib/model_field_value/converters/firestore_model_video_uri_converter.js +0 -134
- package/dist/lib/model_field_value/converters/firestore_model_video_uri_converter.js.map +0 -1
- package/dist/lib/model_field_value/converters/firestore_null_converter.d.ts +0 -25
- package/dist/lib/model_field_value/converters/firestore_null_converter.js +0 -45
- package/dist/lib/model_field_value/converters/firestore_null_converter.js.map +0 -1
- package/dist/lib/model_field_value/default_firestore_model_field_value_converter.d.ts +0 -61
- package/dist/lib/model_field_value/default_firestore_model_field_value_converter.js +0 -140
- package/dist/lib/model_field_value/default_firestore_model_field_value_converter.js.map +0 -1
- package/dist/lib/model_field_value/firestore_model_field_value_converter.d.ts +0 -154
- package/dist/lib/model_field_value/firestore_model_field_value_converter.js +0 -127
- package/dist/lib/model_field_value/firestore_model_field_value_converter.js.map +0 -1
- package/dist/lib/model_field_value/model_field_value.d.ts +0 -264
- package/dist/lib/model_field_value/model_field_value.js +0 -314
- package/dist/lib/model_field_value/model_field_value.js.map +0 -1
- package/dist/lib/regions.d.ts +0 -6
- package/dist/lib/regions.js +0 -3
- package/dist/lib/regions.js.map +0 -1
- package/dist/lib/schedulers/copy_document.d.ts +0 -35
- package/dist/lib/schedulers/copy_document.js +0 -59
- package/dist/lib/schedulers/copy_document.js.map +0 -1
- package/dist/lib/schedulers/delete_documents.d.ts +0 -35
- package/dist/lib/schedulers/delete_documents.js +0 -86
- package/dist/lib/schedulers/delete_documents.js.map +0 -1
- package/dist/lib/schedulers/notification.d.ts +0 -35
- package/dist/lib/schedulers/notification.js +0 -78
- package/dist/lib/schedulers/notification.js.map +0 -1
- package/dist/lib/src/call_process_function_base.d.ts +0 -39
- package/dist/lib/src/call_process_function_base.js +0 -82
- package/dist/lib/src/call_process_function_base.js.map +0 -1
- package/dist/lib/src/firebase_loader.d.ts +0 -30
- package/dist/lib/src/firebase_loader.js +0 -77
- package/dist/lib/src/firebase_loader.js.map +0 -1
- package/dist/lib/src/firestore_triggered_process_function_base.d.ts +0 -40
- package/dist/lib/src/firestore_triggered_process_function_base.js +0 -82
- package/dist/lib/src/firestore_triggered_process_function_base.js.map +0 -1
- package/dist/lib/src/functions_base.d.ts +0 -327
- package/dist/lib/src/functions_base.js +0 -38
- package/dist/lib/src/functions_base.js.map +0 -1
- package/dist/lib/src/functions_data.d.ts +0 -10
- package/dist/lib/src/functions_data.js +0 -19
- package/dist/lib/src/functions_data.js.map +0 -1
- package/dist/lib/src/request_process_function_base.d.ts +0 -39
- package/dist/lib/src/request_process_function_base.js +0 -80
- package/dist/lib/src/request_process_function_base.js.map +0 -1
- package/dist/lib/src/schedule_process_function_base.d.ts +0 -33
- package/dist/lib/src/schedule_process_function_base.js +0 -81
- package/dist/lib/src/schedule_process_function_base.js.map +0 -1
- package/dist/lib/src/sql_api_base.d.ts +0 -185
- package/dist/lib/src/sql_api_base.js +0 -94
- package/dist/lib/src/sql_api_base.js.map +0 -1
- package/dist/lib/utils.d.ts +0 -82
- package/dist/lib/utils.js +0 -142
- package/dist/lib/utils.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [3.8.1](https://github.com/mathrunet/node_masamune/compare/v3.7.0...v3.8.1) (2025-11-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### feat
|
|
5
|
+
|
|
6
|
+
* Add Lyria background music generation, Google Cloud Text-to-Speech integration, updated test configuration, and new development documentation. ([d234b83](https://github.com/mathrunet/node_masamune/commit/d234b83b0ab706bfa3c93f2f887755aa022baa48))
|
|
7
|
+
* add scheduler notification tests and update general test utilities and Firestore tests. ([710e462](https://github.com/mathrunet/node_masamune/commit/710e46287e7eb7fea6dd461e0d5354ce2f1bbfd2))
|
|
8
|
+
* Add short video generation function using Gemini 2.5 Flash and FFmpeg, including tests, documentation, and updated ignore rules for temporary files. ([7e6cde2](https://github.com/mathrunet/node_masamune/commit/7e6cde28f7760c54058cb1e2073c6e97f552d39e))
|
|
9
|
+
* Enhance detailed research to guide content creation, determine asset type, and add new documentation files. ([bf6125a](https://github.com/mathrunet/node_masamune/commit/bf6125a2e35f7b52f9a84468770901a98ef226be))
|
|
10
|
+
* implement Firebase function to generate short video metadata using Vertex AI, including tests and development documentation. ([2251993](https://github.com/mathrunet/node_masamune/commit/22519933c8b1f84fc7ae26a5754c6c02d96b5969))
|
|
11
|
+
* Package separation. And monorepo management. ([2647952](https://github.com/mathrunet/node_masamune/commit/2647952ad48823ac0c3d578a366f4af0bf60bcc1))
|
|
12
|
+
* Update Masamune package versions to 3.8.0. ([318f89a](https://github.com/mathrunet/node_masamune/commit/318f89a7427dfa71149026207eae19c4ff845edc))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
1
16
|
# [3.7.0](https://github.com/mathrunet/node_masamune/compare/v3.6.0...v3.7.0) (2025-11-20)
|
|
2
17
|
|
|
3
18
|
|
package/README.md
CHANGED
package/dist/functions/test.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
package/dist/functions/test.js
CHANGED
|
@@ -43,8 +43,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
43
43
|
};
|
|
44
44
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45
45
|
const functions = __importStar(require("firebase-functions/v2"));
|
|
46
|
-
require("
|
|
47
|
-
const firebase_loader_1 = require("../lib/src/firebase_loader");
|
|
46
|
+
const katana_1 = require("@mathrunet/katana");
|
|
48
47
|
/**
|
|
49
48
|
* Endpoints for testing.
|
|
50
49
|
*
|
|
@@ -71,7 +70,7 @@ module.exports = (regions, options, data) => {
|
|
|
71
70
|
}
|
|
72
71
|
const firestoreDatabaseIds = (_a = options.firestoreDatabaseIds) !== null && _a !== void 0 ? _a : [""];
|
|
73
72
|
for (const databaseId of firestoreDatabaseIds) {
|
|
74
|
-
const firestoreInstance = (0,
|
|
73
|
+
const firestoreInstance = (0, katana_1.firestoreLoader)(databaseId);
|
|
75
74
|
const doc = yield firestoreInstance.doc(path).get();
|
|
76
75
|
return Object.assign({}, doc.data());
|
|
77
76
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test.js","sourceRoot":"","sources":["../../src/functions/test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iEAAmD;AACnD
|
|
1
|
+
{"version":3,"file":"test.js","sourceRoot":"","sources":["../../src/functions/test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iEAAmD;AACnD,8CAA0E;AAE1E;;;;GAIG;AACH,MAAM,CAAC,OAAO,GAAG,CACf,OAAiB,EACjB,OAA6B,EAC7B,IAA4B,EAC5B,EAAE;;IAAC,OAAA,SAAS,CAAC,KAAK,CAAC,MAAM,CACzB;QACE,MAAM,EAAE,MAAA,OAAO,CAAC,MAAM,mCAAI,OAAO;QACjC,cAAc,EAAE,OAAO,CAAC,cAAc;QACtC,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,YAAY,EAAE,OAAO,CAAC,YAAY;QAClC,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,YAAY,EAAE,OAAO,CAAC,YAAY;QAClC,cAAc,EAAE,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,mCAAI,SAAS;QACpD,eAAe,EAAE,MAAA,OAAO,CAAC,eAAe,mCAAI,SAAS;QACrD,oBAAoB,EAAE,MAAA,OAAO,CAAC,oBAAoB,mCAAI,SAAS;KAChE,EACD,CAAO,KAAK,EAAE,EAAE;;QACd,IAAI,CAAC;YACH,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC;YAC7B,IAAI,CAAC,IAAI,EAAE,CAAC;gBACV,OAAO,EAAE,CAAC;YACZ,CAAC;YACD,MAAM,oBAAoB,GAAG,MAAA,OAAO,CAAC,oBAAoB,mCAAI,CAAC,EAAE,CAAC,CAAC;YAClE,KAAK,MAAM,UAAU,IAAI,oBAAoB,EAAE,CAAC;gBAC9C,MAAM,iBAAiB,GAAG,IAAA,wBAAe,EAAC,UAAU,CAAC,CAAC;gBACtD,MAAM,GAAG,GAAG,MAAM,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,CAAC;gBACpD,yBAAY,GAAG,CAAC,IAAI,EAAE,EAAG;YAC3B,CAAC;QACH,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YACnB,MAAM,GAAG,CAAC;QACZ,CAAC;IACH,CAAC,CAAA,CACF,CAAA;CAAA,CAAC"}
|
package/dist/functions.d.ts
CHANGED
|
@@ -1,252 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as katana from "@mathrunet/katana";
|
|
2
2
|
/**
|
|
3
3
|
* Define a list of applicable Functions for FirebaseFunctions.
|
|
4
4
|
*
|
|
5
5
|
* FirebaseFunctions用の適用可能なFunctionの一覧を定義します。
|
|
6
6
|
*/
|
|
7
7
|
export declare const Functions: {
|
|
8
|
-
|
|
9
|
-
* Delete the FirebaseAuthentication user.
|
|
10
|
-
*
|
|
11
|
-
* FirebaseAuthenticationのユーザーを削除するようにします。
|
|
12
|
-
*/
|
|
13
|
-
readonly deleteUser: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
14
|
-
/**
|
|
15
|
-
* When a document is deleted, the related collections should be deleted together.
|
|
16
|
-
*
|
|
17
|
-
* ドキュメントが削除された場合関連するコレクションをまとめて削除するようにします。
|
|
18
|
-
*/
|
|
19
|
-
readonly deleteDocuments: (options?: data.RelationPathFunctionsOptions) => data.FunctionsData;
|
|
20
|
-
/**
|
|
21
|
-
* Synchronize data to Algolia.
|
|
22
|
-
*
|
|
23
|
-
* Algoliaにデータを同期します。
|
|
24
|
-
*/
|
|
25
|
-
readonly algolia: (options?: data.PathFunctionsOptions) => data.FunctionsData;
|
|
26
|
-
/**
|
|
27
|
-
* Get latitude and longitude with GeocodingAPI.
|
|
28
|
-
*
|
|
29
|
-
* GeocodingAPIで緯度経度を取得します。
|
|
30
|
-
*/
|
|
31
|
-
readonly geocoding: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
32
|
-
/**
|
|
33
|
-
* Function for sending PUSH notifications.
|
|
34
|
-
*
|
|
35
|
-
* PUSH通知を送信するためのFunction。
|
|
36
|
-
*/
|
|
37
|
-
readonly sendNotification: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
38
|
-
/**
|
|
39
|
-
* Function for periodic processing.
|
|
40
|
-
*
|
|
41
|
-
* 定期的に処理するためのFunction。
|
|
42
|
-
*/
|
|
43
|
-
readonly scheduler: (options?: data.SchedulerFunctionsOptions) => data.FunctionsData;
|
|
44
|
-
/**
|
|
45
|
-
* The text is generated using Open AI's GPT.
|
|
46
|
-
*
|
|
47
|
-
* Open AIのChat GPTを利用して文章を生成します。
|
|
48
|
-
*/
|
|
49
|
-
readonly openAIChatGPT: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
50
|
-
/**
|
|
51
|
-
* Obtain an Agora.io security token.
|
|
52
|
-
*
|
|
53
|
-
* Agora.ioのセキュリティトークンを取得します。
|
|
54
|
-
*/
|
|
55
|
-
readonly agoraToken: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
56
|
-
/**
|
|
57
|
-
* Convert files generated by Agora.io's cloud recording into an easy-to-handle format from within the app.
|
|
58
|
-
*
|
|
59
|
-
* It is executed when the file is saved to FirebaseStorage.
|
|
60
|
-
*
|
|
61
|
-
* Agora.ioのクラウドレコーディングで生成されたファイルをアプリ上から扱いやすい形式に変換します。
|
|
62
|
-
*
|
|
63
|
-
* FirebaseStorageにファイルが保存されたタイミングで実行されます。
|
|
64
|
-
*/
|
|
65
|
-
readonly agoraCloudRecording: (options?: data.StorageFunctionsOptions) => data.FunctionsData;
|
|
66
|
-
/**
|
|
67
|
-
* Performs various Stripe processes.
|
|
68
|
-
*
|
|
69
|
-
* Firestore integration is a must; please make Firestore available as well.
|
|
70
|
-
*
|
|
71
|
-
* Stripeの各種処理を実行します。
|
|
72
|
-
*
|
|
73
|
-
* Firestoreとの連携が必須です。Firestoreも利用可能にしてください。
|
|
74
|
-
*/
|
|
75
|
-
readonly stripe: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
76
|
-
/**
|
|
77
|
-
* Receives and processes webhooks from Stripe.
|
|
78
|
-
*
|
|
79
|
-
* Please register the URL when you deploy this in your Stripe webhook settings.
|
|
80
|
-
*
|
|
81
|
-
* Firestore integration is a must; please make Firestore available as well.
|
|
82
|
-
*
|
|
83
|
-
* StripeからのWebhookを受け取り処理を行います。
|
|
84
|
-
*
|
|
85
|
-
* こちらをデプロイした際のURLをStripeのWebhook設定に登録してください。
|
|
86
|
-
*
|
|
87
|
-
* Firestoreとの連携が必須です。Firestoreも利用可能にしてください。
|
|
88
|
-
*/
|
|
89
|
-
readonly stripeWebhook: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
90
|
-
/**
|
|
91
|
-
* Receive and process webhooks for Stripe Connect.
|
|
92
|
-
*
|
|
93
|
-
* If you do not use Stripe Connect, do not configure it as a Webhook.
|
|
94
|
-
*
|
|
95
|
-
* Please register the URL when you deploy this in your Stripe webhook settings.
|
|
96
|
-
*
|
|
97
|
-
* Firestore integration is a must; please make Firestore available as well.
|
|
98
|
-
*
|
|
99
|
-
* Stripe Connect用のWebhookを受信して処理します。
|
|
100
|
-
*
|
|
101
|
-
* Stripe Connectを利用しない場合はWebhookとして設定しないでください。
|
|
102
|
-
*
|
|
103
|
-
* こちらをデプロイした際のURLをStripeのWebhook設定に登録してください。
|
|
104
|
-
*
|
|
105
|
-
* Firestoreとの連携が必須です。Firestoreも利用可能にしてください。
|
|
106
|
-
*/
|
|
107
|
-
readonly stripeWebhookConnect: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
108
|
-
/**
|
|
109
|
-
* Webhook for proper redirection when 3D Secure authentication is required.
|
|
110
|
-
*
|
|
111
|
-
* It is used by accessing the URL directly.
|
|
112
|
-
*
|
|
113
|
-
* Please set here for [returnUrl].
|
|
114
|
-
*
|
|
115
|
-
* 3Dセキュア認証が必要な場合、適切なリダイレクトを行うためのWebhookです。
|
|
116
|
-
*
|
|
117
|
-
* 直接URLにアクセスすることで利用します。
|
|
118
|
-
*
|
|
119
|
-
* [returnUrl]にこちらを設定してください。
|
|
120
|
-
*/
|
|
121
|
-
readonly stripeWebhookSecure: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
122
|
-
/**
|
|
123
|
-
* Send email via Gmail.
|
|
124
|
-
*
|
|
125
|
-
* Gmailでメールを送信します。
|
|
126
|
-
*/
|
|
127
|
-
readonly gmail: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
128
|
-
/**
|
|
129
|
-
* Send mail through SendGrid.
|
|
130
|
-
*
|
|
131
|
-
* SendGridでメールを送信します。
|
|
132
|
-
*/
|
|
133
|
-
readonly sendGrid: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
134
|
-
/**
|
|
135
|
-
* After being redirected from [android_auth_code], you will get a refresh token to connect to Google's API. Applications Library System Users Volumes bin cores dev etc home opt private sbin tmp usr var Execute [android_auth_code] after registering the required information.
|
|
136
|
-
*
|
|
137
|
-
* [android_auth_code]からリダイレクトされた後、GoogleのAPIに接続するためのリフレッシュトークンを取得します。
|
|
138
|
-
* 必要情報を登録した後[android_auth_code]を実行してください。
|
|
139
|
-
*/
|
|
140
|
-
readonly androidAuthCode: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
141
|
-
/**
|
|
142
|
-
* After being redirected from [android_auth_code], you will get a refresh token to connect to Google's API. Applications Library System Users Volumes bin cores dev etc home opt private sbin tmp usr var Execute [android_auth_code] after registering the required information.
|
|
143
|
-
*
|
|
144
|
-
* [android_auth_code]からリダイレクトされた後、GoogleのAPIに接続するためのリフレッシュトークンを取得します。
|
|
145
|
-
* 必要情報を登録した後[android_auth_code]を実行してください。
|
|
146
|
-
*/
|
|
147
|
-
readonly androidToken: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
148
|
-
/**
|
|
149
|
-
* Performs a consumption-type in-app purchase. The value of the field in the document specified in [path] is added to [value].
|
|
150
|
-
*
|
|
151
|
-
* 消費型のアプリ内課金を行います。[path]に指定したドキュメント内のフィールドの値を[value]に加算します。
|
|
152
|
-
*/
|
|
153
|
-
readonly consumableVerifyAndroid: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
154
|
-
/**
|
|
155
|
-
* Performs a consumption-type in-app purchase. The value of the field in the document specified in [path] is added to [value].
|
|
156
|
-
*
|
|
157
|
-
* 消費型のアプリ内課金を行います。[path]に指定したドキュメント内のフィールドの値を[value]に加算します。
|
|
158
|
-
*/
|
|
159
|
-
readonly consumableVerifyIOS: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
160
|
-
/**
|
|
161
|
-
* Performs non-consumable in-app purchases. Unlock by setting the value of the field in the document specified in [path] to `true`.
|
|
162
|
-
*
|
|
163
|
-
* 非消費型のアプリ内課金を行います。[path]に指定したドキュメント内のフィールドの値を`true`にすることでアンロックを行います。
|
|
164
|
-
*/
|
|
165
|
-
readonly nonconsumableVerifyAndroid: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
166
|
-
/**
|
|
167
|
-
* Performs non-consumable in-app purchases. Unlock by setting the value of the field in the document specified in [path] to `true`.
|
|
168
|
-
*
|
|
169
|
-
* 非消費型のアプリ内課金を行います。[path]に指定したドキュメント内のフィールドの値を`true`にすることでアンロックを行います。
|
|
170
|
-
*/
|
|
171
|
-
readonly nonconsumableVerifyIOS: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
172
|
-
/**
|
|
173
|
-
* This is a webhook endpoint for Android. you can create a `purchasing` topic in GCP's pub/sub and set the principal to "google-play-developer-notifications@system.gserviceaccount.com" to receive notifications.
|
|
174
|
-
*
|
|
175
|
-
* Android用のWebhookのエンドポイントです。GCPのpub/subに`purchasing`のトピックを作成しプリンシパルに「google-play-developer-notifications@system.gserviceaccount.com」を設定することで通知を受け取ることができるようになります。
|
|
176
|
-
*/
|
|
177
|
-
readonly purchaseWebhookAndroid: (options?: data.PubsubFunctionsOptions) => data.FunctionsData;
|
|
178
|
-
/**
|
|
179
|
-
* Webhook endpoint for IOS, which allows you to receive notifications by setting the endpoint in AppStoreConnect's [App]->[App Information]->[App Store Server Notification].
|
|
180
|
-
*
|
|
181
|
-
* IOS用のWebhookのエンドポイントです。AppStoreConnectの[App]->[App情報]->[App Storeサーバ通知]にエンドポイントを設定することで通知を受け取ることができるようになります。
|
|
182
|
-
*/
|
|
183
|
-
readonly purchaseWebhookIOS: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
184
|
-
/**
|
|
185
|
-
* Verify subscriptions and add data.
|
|
186
|
-
*
|
|
187
|
-
* サブスクリプションの検証とデータの追加を行います。
|
|
188
|
-
*/
|
|
189
|
-
readonly subscriptionVerifyAndroid: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
190
|
-
/**
|
|
191
|
-
* Verify subscriptions and add data.
|
|
192
|
-
*
|
|
193
|
-
* サブスクリプションの検証とデータの追加を行います。
|
|
194
|
-
*/
|
|
195
|
-
readonly subscriptionVerifyIOS: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
196
|
-
/**
|
|
197
|
-
* Convert videos uploaded to storage to HLS format.
|
|
198
|
-
*
|
|
199
|
-
* ストレージにアップロードされた動画をHLS形式に変換します。
|
|
200
|
-
*/
|
|
201
|
-
readonly hls: (options?: data.StorageFunctionsOptions) => data.FunctionsData;
|
|
202
|
-
/**
|
|
203
|
-
* A function to enable the use of external Firestore Collection Models.
|
|
204
|
-
*
|
|
205
|
-
* 外部のFirestoreのCollectionModelを利用できるようにするためのFunction。
|
|
206
|
-
*/
|
|
207
|
-
readonly collectionModelFirestore: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
208
|
-
/**
|
|
209
|
-
* A function to enable the use of external Firestore Document Models.
|
|
210
|
-
*
|
|
211
|
-
* 外部のFirestoreのDocumentModelを利用できるようにするためのFunction。
|
|
212
|
-
*/
|
|
213
|
-
readonly documentModelFirestore: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
214
|
-
/**
|
|
215
|
-
* Functions for enabling external Firestore Aggregate methods.
|
|
216
|
-
*
|
|
217
|
-
* 外部のFirestoreのAggregateメソッドを利用できるようにするFunctions。
|
|
218
|
-
*/
|
|
219
|
-
readonly aggregateModelFirestore: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
220
|
-
/**
|
|
221
|
-
* A function to enable the use of external Firebase Storage.
|
|
222
|
-
*
|
|
223
|
-
* 外部のFirebase Storageを利用できるようにするためのFunction。
|
|
224
|
-
*/
|
|
225
|
-
readonly storageFirebase: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
226
|
-
/**
|
|
227
|
-
* A function to get a Google Cloud Platform authentication token.
|
|
228
|
-
*
|
|
229
|
-
* Google Cloud Platformの認証トークンを取得するためのFunction。
|
|
230
|
-
*/
|
|
231
|
-
readonly googleToken: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
232
|
-
/**
|
|
233
|
-
* Endpoints for testing.
|
|
234
|
-
*
|
|
235
|
-
* テストを行うためのエンドポイントです。
|
|
236
|
-
*/
|
|
237
|
-
readonly test: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
238
|
-
/**
|
|
239
|
-
* Start the asset creation process.
|
|
240
|
-
*
|
|
241
|
-
* アセット作成プロセスを開始します。
|
|
242
|
-
*/
|
|
243
|
-
readonly startAssetCreation: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
244
|
-
/**
|
|
245
|
-
* Periodically check and start asset creation.
|
|
246
|
-
*
|
|
247
|
-
* 定期的にアセット作成をチェックし開始します。
|
|
248
|
-
*/
|
|
249
|
-
readonly scheduleAssetCreation: (options?: data.SchedulerFunctionsOptions) => data.FunctionsData;
|
|
250
|
-
readonly conductBroadResearch: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
251
|
-
readonly conductDetailedResearch: (options?: data.HttpFunctionsOptions) => data.FunctionsData;
|
|
8
|
+
readonly test: (options?: katana.HttpFunctionsOptions) => katana.FunctionsData;
|
|
252
9
|
};
|
package/dist/functions.js
CHANGED
|
@@ -34,256 +34,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Functions = void 0;
|
|
37
|
-
const
|
|
37
|
+
const katana = __importStar(require("@mathrunet/katana"));
|
|
38
38
|
/**
|
|
39
39
|
* Define a list of applicable Functions for FirebaseFunctions.
|
|
40
40
|
*
|
|
41
41
|
* FirebaseFunctions用の適用可能なFunctionの一覧を定義します。
|
|
42
42
|
*/
|
|
43
43
|
exports.Functions = {
|
|
44
|
-
|
|
45
|
-
* Delete the FirebaseAuthentication user.
|
|
46
|
-
*
|
|
47
|
-
* FirebaseAuthenticationのユーザーを削除するようにします。
|
|
48
|
-
*/
|
|
49
|
-
deleteUser: (options = {}) => new data.FunctionsData({ id: "delete_user", func: require("./functions/delete_user"), options: options }),
|
|
50
|
-
/**
|
|
51
|
-
* When a document is deleted, the related collections should be deleted together.
|
|
52
|
-
*
|
|
53
|
-
* ドキュメントが削除された場合関連するコレクションをまとめて削除するようにします。
|
|
54
|
-
*/
|
|
55
|
-
deleteDocuments: (options = {}) => new data.FunctionsData({ id: "delete_documents", func: require("./functions/delete_documents"), options: options }),
|
|
56
|
-
/**
|
|
57
|
-
* Synchronize data to Algolia.
|
|
58
|
-
*
|
|
59
|
-
* Algoliaにデータを同期します。
|
|
60
|
-
*/
|
|
61
|
-
algolia: (options = {}) => new data.FunctionsData({ id: "algolia", func: require("./functions/algolia"), options: options }),
|
|
62
|
-
/**
|
|
63
|
-
* Get latitude and longitude with GeocodingAPI.
|
|
64
|
-
*
|
|
65
|
-
* GeocodingAPIで緯度経度を取得します。
|
|
66
|
-
*/
|
|
67
|
-
geocoding: (options = {}) => new data.FunctionsData({ id: "geocoding", func: require("./functions/geocoding"), options: options }),
|
|
68
|
-
/**
|
|
69
|
-
* Function for sending PUSH notifications.
|
|
70
|
-
*
|
|
71
|
-
* PUSH通知を送信するためのFunction。
|
|
72
|
-
*/
|
|
73
|
-
sendNotification: (options = {}) => new data.FunctionsData({ id: "send_notification", func: require("./functions/send_notification"), options: options }),
|
|
74
|
-
/**
|
|
75
|
-
* Function for periodic processing.
|
|
76
|
-
*
|
|
77
|
-
* 定期的に処理するためのFunction。
|
|
78
|
-
*/
|
|
79
|
-
scheduler: (options = {}) => new data.FunctionsData({ id: "scheduler", func: require("./functions/scheduler"), options: options }),
|
|
80
|
-
/**
|
|
81
|
-
* The text is generated using Open AI's GPT.
|
|
82
|
-
*
|
|
83
|
-
* Open AIのChat GPTを利用して文章を生成します。
|
|
84
|
-
*/
|
|
85
|
-
openAIChatGPT: (options = {}) => new data.FunctionsData({ id: "openai_chat_gpt", func: require("./functions/openai_chat_gpt"), options: options }),
|
|
86
|
-
/**
|
|
87
|
-
* Obtain an Agora.io security token.
|
|
88
|
-
*
|
|
89
|
-
* Agora.ioのセキュリティトークンを取得します。
|
|
90
|
-
*/
|
|
91
|
-
agoraToken: (options = {}) => new data.FunctionsData({ id: "agora_token", func: require("./functions/agora_token"), options: options }),
|
|
92
|
-
/**
|
|
93
|
-
* Convert files generated by Agora.io's cloud recording into an easy-to-handle format from within the app.
|
|
94
|
-
*
|
|
95
|
-
* It is executed when the file is saved to FirebaseStorage.
|
|
96
|
-
*
|
|
97
|
-
* Agora.ioのクラウドレコーディングで生成されたファイルをアプリ上から扱いやすい形式に変換します。
|
|
98
|
-
*
|
|
99
|
-
* FirebaseStorageにファイルが保存されたタイミングで実行されます。
|
|
100
|
-
*/
|
|
101
|
-
agoraCloudRecording: (options = {}) => new data.FunctionsData({ id: "agora_cloud_recording", func: require("./functions/agora_cloud_recording"), options: options }),
|
|
102
|
-
/**
|
|
103
|
-
* Performs various Stripe processes.
|
|
104
|
-
*
|
|
105
|
-
* Firestore integration is a must; please make Firestore available as well.
|
|
106
|
-
*
|
|
107
|
-
* Stripeの各種処理を実行します。
|
|
108
|
-
*
|
|
109
|
-
* Firestoreとの連携が必須です。Firestoreも利用可能にしてください。
|
|
110
|
-
*/
|
|
111
|
-
stripe: (options = {}) => new data.FunctionsData({ id: "stripe", func: require("./functions/stripe"), options: options }),
|
|
112
|
-
/**
|
|
113
|
-
* Receives and processes webhooks from Stripe.
|
|
114
|
-
*
|
|
115
|
-
* Please register the URL when you deploy this in your Stripe webhook settings.
|
|
116
|
-
*
|
|
117
|
-
* Firestore integration is a must; please make Firestore available as well.
|
|
118
|
-
*
|
|
119
|
-
* StripeからのWebhookを受け取り処理を行います。
|
|
120
|
-
*
|
|
121
|
-
* こちらをデプロイした際のURLをStripeのWebhook設定に登録してください。
|
|
122
|
-
*
|
|
123
|
-
* Firestoreとの連携が必須です。Firestoreも利用可能にしてください。
|
|
124
|
-
*/
|
|
125
|
-
stripeWebhook: (options = {}) => new data.FunctionsData({ id: "stripe_webhook", func: require("./functions/stripe_webhook"), options: options }),
|
|
126
|
-
/**
|
|
127
|
-
* Receive and process webhooks for Stripe Connect.
|
|
128
|
-
*
|
|
129
|
-
* If you do not use Stripe Connect, do not configure it as a Webhook.
|
|
130
|
-
*
|
|
131
|
-
* Please register the URL when you deploy this in your Stripe webhook settings.
|
|
132
|
-
*
|
|
133
|
-
* Firestore integration is a must; please make Firestore available as well.
|
|
134
|
-
*
|
|
135
|
-
* Stripe Connect用のWebhookを受信して処理します。
|
|
136
|
-
*
|
|
137
|
-
* Stripe Connectを利用しない場合はWebhookとして設定しないでください。
|
|
138
|
-
*
|
|
139
|
-
* こちらをデプロイした際のURLをStripeのWebhook設定に登録してください。
|
|
140
|
-
*
|
|
141
|
-
* Firestoreとの連携が必須です。Firestoreも利用可能にしてください。
|
|
142
|
-
*/
|
|
143
|
-
stripeWebhookConnect: (options = {}) => new data.FunctionsData({ id: "stripe_webhook_connect", func: require("./functions/stripe_webhook_connect"), options: options }),
|
|
144
|
-
/**
|
|
145
|
-
* Webhook for proper redirection when 3D Secure authentication is required.
|
|
146
|
-
*
|
|
147
|
-
* It is used by accessing the URL directly.
|
|
148
|
-
*
|
|
149
|
-
* Please set here for [returnUrl].
|
|
150
|
-
*
|
|
151
|
-
* 3Dセキュア認証が必要な場合、適切なリダイレクトを行うためのWebhookです。
|
|
152
|
-
*
|
|
153
|
-
* 直接URLにアクセスすることで利用します。
|
|
154
|
-
*
|
|
155
|
-
* [returnUrl]にこちらを設定してください。
|
|
156
|
-
*/
|
|
157
|
-
stripeWebhookSecure: (options = {}) => new data.FunctionsData({ id: "stripe_webhook_secure", func: require("./functions/stripe_webhook_secure"), options: options }),
|
|
158
|
-
/**
|
|
159
|
-
* Send email via Gmail.
|
|
160
|
-
*
|
|
161
|
-
* Gmailでメールを送信します。
|
|
162
|
-
*/
|
|
163
|
-
gmail: (options = {}) => new data.FunctionsData({ id: "gmail", func: require("./functions/gmail"), options: options }),
|
|
164
|
-
/**
|
|
165
|
-
* Send mail through SendGrid.
|
|
166
|
-
*
|
|
167
|
-
* SendGridでメールを送信します。
|
|
168
|
-
*/
|
|
169
|
-
sendGrid: (options = {}) => new data.FunctionsData({ id: "send_grid", func: require("./functions/send_grid"), options: options }),
|
|
170
|
-
/**
|
|
171
|
-
* After being redirected from [android_auth_code], you will get a refresh token to connect to Google's API. Applications Library System Users Volumes bin cores dev etc home opt private sbin tmp usr var Execute [android_auth_code] after registering the required information.
|
|
172
|
-
*
|
|
173
|
-
* [android_auth_code]からリダイレクトされた後、GoogleのAPIに接続するためのリフレッシュトークンを取得します。
|
|
174
|
-
* 必要情報を登録した後[android_auth_code]を実行してください。
|
|
175
|
-
*/
|
|
176
|
-
androidAuthCode: (options = {}) => new data.FunctionsData({ id: "android_auth_code", func: require("./functions/android_auth_code"), options: options }),
|
|
177
|
-
/**
|
|
178
|
-
* After being redirected from [android_auth_code], you will get a refresh token to connect to Google's API. Applications Library System Users Volumes bin cores dev etc home opt private sbin tmp usr var Execute [android_auth_code] after registering the required information.
|
|
179
|
-
*
|
|
180
|
-
* [android_auth_code]からリダイレクトされた後、GoogleのAPIに接続するためのリフレッシュトークンを取得します。
|
|
181
|
-
* 必要情報を登録した後[android_auth_code]を実行してください。
|
|
182
|
-
*/
|
|
183
|
-
androidToken: (options = {}) => new data.FunctionsData({ id: "android_token", func: require("./functions/android_token"), options: options }),
|
|
184
|
-
/**
|
|
185
|
-
* Performs a consumption-type in-app purchase. The value of the field in the document specified in [path] is added to [value].
|
|
186
|
-
*
|
|
187
|
-
* 消費型のアプリ内課金を行います。[path]に指定したドキュメント内のフィールドの値を[value]に加算します。
|
|
188
|
-
*/
|
|
189
|
-
consumableVerifyAndroid: (options = {}) => new data.FunctionsData({ id: "consumable_verify_android", func: require("./functions/consumable_verify_android"), options: options }),
|
|
190
|
-
/**
|
|
191
|
-
* Performs a consumption-type in-app purchase. The value of the field in the document specified in [path] is added to [value].
|
|
192
|
-
*
|
|
193
|
-
* 消費型のアプリ内課金を行います。[path]に指定したドキュメント内のフィールドの値を[value]に加算します。
|
|
194
|
-
*/
|
|
195
|
-
consumableVerifyIOS: (options = {}) => new data.FunctionsData({ id: "consumable_verify_ios", func: require("./functions/consumable_verify_ios"), options: options }),
|
|
196
|
-
/**
|
|
197
|
-
* Performs non-consumable in-app purchases. Unlock by setting the value of the field in the document specified in [path] to `true`.
|
|
198
|
-
*
|
|
199
|
-
* 非消費型のアプリ内課金を行います。[path]に指定したドキュメント内のフィールドの値を`true`にすることでアンロックを行います。
|
|
200
|
-
*/
|
|
201
|
-
nonconsumableVerifyAndroid: (options = {}) => new data.FunctionsData({ id: "nonconsumable_verify_android", func: require("./functions/nonconsumable_verify_android"), options: options }),
|
|
202
|
-
/**
|
|
203
|
-
* Performs non-consumable in-app purchases. Unlock by setting the value of the field in the document specified in [path] to `true`.
|
|
204
|
-
*
|
|
205
|
-
* 非消費型のアプリ内課金を行います。[path]に指定したドキュメント内のフィールドの値を`true`にすることでアンロックを行います。
|
|
206
|
-
*/
|
|
207
|
-
nonconsumableVerifyIOS: (options = {}) => new data.FunctionsData({ id: "nonconsumable_verify_ios", func: require("./functions/nonconsumable_verify_ios"), options: options }),
|
|
208
|
-
/**
|
|
209
|
-
* This is a webhook endpoint for Android. you can create a `purchasing` topic in GCP's pub/sub and set the principal to "google-play-developer-notifications@system.gserviceaccount.com" to receive notifications.
|
|
210
|
-
*
|
|
211
|
-
* Android用のWebhookのエンドポイントです。GCPのpub/subに`purchasing`のトピックを作成しプリンシパルに「google-play-developer-notifications@system.gserviceaccount.com」を設定することで通知を受け取ることができるようになります。
|
|
212
|
-
*/
|
|
213
|
-
purchaseWebhookAndroid: (options = {}) => new data.FunctionsData({ id: "purchase_webhook_android", func: require("./functions/purchase_webhook_android"), options: options }),
|
|
214
|
-
/**
|
|
215
|
-
* Webhook endpoint for IOS, which allows you to receive notifications by setting the endpoint in AppStoreConnect's [App]->[App Information]->[App Store Server Notification].
|
|
216
|
-
*
|
|
217
|
-
* IOS用のWebhookのエンドポイントです。AppStoreConnectの[App]->[App情報]->[App Storeサーバ通知]にエンドポイントを設定することで通知を受け取ることができるようになります。
|
|
218
|
-
*/
|
|
219
|
-
purchaseWebhookIOS: (options = {}) => new data.FunctionsData({ id: "purchase_webhook_ios", func: require("./functions/purchase_webhook_ios"), options: options }),
|
|
220
|
-
/**
|
|
221
|
-
* Verify subscriptions and add data.
|
|
222
|
-
*
|
|
223
|
-
* サブスクリプションの検証とデータの追加を行います。
|
|
224
|
-
*/
|
|
225
|
-
subscriptionVerifyAndroid: (options = {}) => new data.FunctionsData({ id: "subscription_verify_android", func: require("./functions/subscription_verify_android"), options: options }),
|
|
226
|
-
/**
|
|
227
|
-
* Verify subscriptions and add data.
|
|
228
|
-
*
|
|
229
|
-
* サブスクリプションの検証とデータの追加を行います。
|
|
230
|
-
*/
|
|
231
|
-
subscriptionVerifyIOS: (options = {}) => new data.FunctionsData({ id: "subscription_verify_ios", func: require("./functions/subscription_verify_ios"), options: options }),
|
|
232
|
-
/**
|
|
233
|
-
* Convert videos uploaded to storage to HLS format.
|
|
234
|
-
*
|
|
235
|
-
* ストレージにアップロードされた動画をHLS形式に変換します。
|
|
236
|
-
*/
|
|
237
|
-
hls: (options = {}) => new data.FunctionsData({ id: "hls", func: require("./functions/hls"), options: options }),
|
|
238
|
-
/**
|
|
239
|
-
* A function to enable the use of external Firestore Collection Models.
|
|
240
|
-
*
|
|
241
|
-
* 外部のFirestoreのCollectionModelを利用できるようにするためのFunction。
|
|
242
|
-
*/
|
|
243
|
-
collectionModelFirestore: (options = {}) => new data.FunctionsData({ id: "collection_model_firestore", func: require("./functions/collection_model_firestore"), options: options }),
|
|
244
|
-
/**
|
|
245
|
-
* A function to enable the use of external Firestore Document Models.
|
|
246
|
-
*
|
|
247
|
-
* 外部のFirestoreのDocumentModelを利用できるようにするためのFunction。
|
|
248
|
-
*/
|
|
249
|
-
documentModelFirestore: (options = {}) => new data.FunctionsData({ id: "document_model_firestore", func: require("./functions/document_model_firestore"), options: options }),
|
|
250
|
-
/**
|
|
251
|
-
* Functions for enabling external Firestore Aggregate methods.
|
|
252
|
-
*
|
|
253
|
-
* 外部のFirestoreのAggregateメソッドを利用できるようにするFunctions。
|
|
254
|
-
*/
|
|
255
|
-
aggregateModelFirestore: (options = {}) => new data.FunctionsData({ id: "aggregate_model_firestore", func: require("./functions/aggregate_model_firestore"), options: options }),
|
|
256
|
-
/**
|
|
257
|
-
* A function to enable the use of external Firebase Storage.
|
|
258
|
-
*
|
|
259
|
-
* 外部のFirebase Storageを利用できるようにするためのFunction。
|
|
260
|
-
*/
|
|
261
|
-
storageFirebase: (options = {}) => new data.FunctionsData({ id: "storage_firebase", func: require("./functions/storage_firebase"), options: options }),
|
|
262
|
-
/**
|
|
263
|
-
* A function to get a Google Cloud Platform authentication token.
|
|
264
|
-
*
|
|
265
|
-
* Google Cloud Platformの認証トークンを取得するためのFunction。
|
|
266
|
-
*/
|
|
267
|
-
googleToken: (options = {}) => new data.FunctionsData({ id: "google_token", func: require("./functions/google_token"), options: options }),
|
|
268
|
-
/**
|
|
269
|
-
* Endpoints for testing.
|
|
270
|
-
*
|
|
271
|
-
* テストを行うためのエンドポイントです。
|
|
272
|
-
*/
|
|
273
|
-
test: (options = {}) => new data.FunctionsData({ id: "test", func: require("./functions/test"), options: options }),
|
|
274
|
-
/**
|
|
275
|
-
* Start the asset creation process.
|
|
276
|
-
*
|
|
277
|
-
* アセット作成プロセスを開始します。
|
|
278
|
-
*/
|
|
279
|
-
startAssetCreation: (options = {}) => new data.FunctionsData({ id: "start_asset_creation", func: require("./functions/start_asset_creation"), options: options }),
|
|
280
|
-
/**
|
|
281
|
-
* Periodically check and start asset creation.
|
|
282
|
-
*
|
|
283
|
-
* 定期的にアセット作成をチェックし開始します。
|
|
284
|
-
*/
|
|
285
|
-
scheduleAssetCreation: (options = {}) => new data.FunctionsData({ id: "schedule_asset_creation", func: require("./functions/schedule_asset_creation"), options: options }),
|
|
286
|
-
conductBroadResearch: (options = {}) => new data.FunctionsData({ id: "conductBroadResearch", func: require("./functions/conduct_broad_research"), options: options }),
|
|
287
|
-
conductDetailedResearch: (options = {}) => new data.FunctionsData({ id: "conductDetailedResearch", func: require("./functions/conduct_detailed_research"), options: options }),
|
|
44
|
+
test: (options = {}) => new katana.FunctionsData({ id: "test", func: require("./functions/test"), options: options }),
|
|
288
45
|
};
|
|
289
46
|
//# sourceMappingURL=functions.js.map
|
package/dist/functions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../src/functions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../src/functions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAE5C;;;;GAIG;AACU,QAAA,SAAS,GAAG;IAKvB,IAAI,EAAE,CAAC,UAAuC,EAAE,EAAE,EAAE,CAAC,IAAI,MAAM,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC,kBAAkB,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;CAC1I,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
export * from "./functions";
|
|
4
|
-
export * from "./lib/api";
|
|
5
|
-
export * from "./lib/src/sql_api_base";
|
|
6
|
-
export * from "./lib/src/schedule_process_function_base";
|
|
7
|
-
export * from "./lib/src/request_process_function_base";
|
|
8
|
-
export * from "./lib/src/call_process_function_base";
|
|
9
|
-
export * from "./lib/src/firestore_triggered_process_function_base";
|
|
10
|
-
export * from "./lib/model_field_value/model_field_value";
|
|
11
|
-
export * from "./lib/utils";
|
|
12
|
-
export * from "./lib/exntensions/string.extension";
|
|
13
|
-
export * as gmail from "./lib/functions/gmail";
|
|
14
|
-
export * as sendGrid from "./lib/functions/send_grid";
|
|
15
|
-
export * as notification from "./lib/functions/send_notification";
|
|
16
|
-
export * from "./lib/src/firebase_loader";
|
|
1
|
+
import * as katana from "@mathrunet/katana";
|
|
2
|
+
export * from "@mathrunet/katana";
|
|
3
|
+
export * as test from "./functions/test";
|
|
17
4
|
/**
|
|
18
5
|
* Methods for deploying to Firebase Functions.
|
|
19
6
|
*
|
|
@@ -39,4 +26,4 @@ export * from "./lib/src/firebase_loader";
|
|
|
39
26
|
*
|
|
40
27
|
* pub/subで用いるトピック名やスケジュールの長さなどを指定します。
|
|
41
28
|
*/
|
|
42
|
-
export declare function deploy(exports: any, region:
|
|
29
|
+
export declare function deploy(exports: any, region: katana.Regions, deployFunctions: katana.FunctionsBase[]): void;
|