appwrite-cli 6.0.0-rc.4 → 6.0.0-rc.6

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.
@@ -2455,7 +2455,7 @@ const messagingDeleteSubscriber = async ({topicId,subscriberId,parseOutput = tru
2455
2455
  }
2456
2456
 
2457
2457
  messaging
2458
- .command(`listMessages`)
2458
+ .command(`list-messages`)
2459
2459
  .description(`Get a list of all messages from the current Appwrite project.`)
2460
2460
  .option(`--queries [queries...]`, `Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: scheduledAt, deliveredAt, deliveredTotal, status, description, providerType`)
2461
2461
  .option(`--search <search>`, `Search term to filter your list results. Max length: 256 chars.`)
@@ -2463,9 +2463,9 @@ messaging
2463
2463
  .action(actionRunner(messagingListMessages))
2464
2464
 
2465
2465
  messaging
2466
- .command(`createEmail`)
2466
+ .command(`create-email`)
2467
2467
  .description(`Create a new email message.`)
2468
- .requiredOption(`--messageId <messageId>`, `Message ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2468
+ .requiredOption(`--message-id <message-id>`, `Message ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2469
2469
  .requiredOption(`--subject <subject>`, `Email Subject.`)
2470
2470
  .requiredOption(`--content <content>`, `Email Content.`)
2471
2471
  .option(`--topics [topics...]`, `List of Topic IDs.`)
@@ -2476,13 +2476,13 @@ messaging
2476
2476
  .option(`--attachments [attachments...]`, `Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as <BUCKET_ID>:<FILE_ID>.`)
2477
2477
  .option(`--draft <draft>`, `Is message a draft`, parseBool)
2478
2478
  .option(`--html <html>`, `Is content of type HTML`, parseBool)
2479
- .option(`--scheduledAt <scheduledAt>`, `Scheduled delivery time for message in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future.`)
2479
+ .option(`--scheduled-at <scheduled-at>`, `Scheduled delivery time for message in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future.`)
2480
2480
  .action(actionRunner(messagingCreateEmail))
2481
2481
 
2482
2482
  messaging
2483
- .command(`updateEmail`)
2483
+ .command(`update-email`)
2484
2484
  .description(`Update an email message by its unique ID. `)
2485
- .requiredOption(`--messageId <messageId>`, `Message ID.`)
2485
+ .requiredOption(`--message-id <message-id>`, `Message ID.`)
2486
2486
  .option(`--topics [topics...]`, `List of Topic IDs.`)
2487
2487
  .option(`--users [users...]`, `List of User IDs.`)
2488
2488
  .option(`--targets [targets...]`, `List of Targets IDs.`)
@@ -2492,14 +2492,14 @@ messaging
2492
2492
  .option(`--html <html>`, `Is content of type HTML`, parseBool)
2493
2493
  .option(`--cc [cc...]`, `Array of target IDs to be added as CC.`)
2494
2494
  .option(`--bcc [bcc...]`, `Array of target IDs to be added as BCC.`)
2495
- .option(`--scheduledAt <scheduledAt>`, `Scheduled delivery time for message in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future.`)
2495
+ .option(`--scheduled-at <scheduled-at>`, `Scheduled delivery time for message in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future.`)
2496
2496
  .option(`--attachments [attachments...]`, `Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as <BUCKET_ID>:<FILE_ID>.`)
2497
2497
  .action(actionRunner(messagingUpdateEmail))
2498
2498
 
2499
2499
  messaging
2500
- .command(`createPush`)
2500
+ .command(`create-push`)
2501
2501
  .description(`Create a new push notification.`)
2502
- .requiredOption(`--messageId <messageId>`, `Message ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2502
+ .requiredOption(`--message-id <message-id>`, `Message ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2503
2503
  .requiredOption(`--title <title>`, `Title for push notification.`)
2504
2504
  .requiredOption(`--body <body>`, `Body for push notification.`)
2505
2505
  .option(`--topics [topics...]`, `List of Topic IDs.`)
@@ -2514,13 +2514,13 @@ messaging
2514
2514
  .option(`--tag <tag>`, `Tag for push notification. Available only for Android Platform.`)
2515
2515
  .option(`--badge <badge>`, `Badge for push notification. Available only for IOS Platform.`)
2516
2516
  .option(`--draft <draft>`, `Is message a draft`, parseBool)
2517
- .option(`--scheduledAt <scheduledAt>`, `Scheduled delivery time for message in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future.`)
2517
+ .option(`--scheduled-at <scheduled-at>`, `Scheduled delivery time for message in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future.`)
2518
2518
  .action(actionRunner(messagingCreatePush))
2519
2519
 
2520
2520
  messaging
2521
- .command(`updatePush`)
2521
+ .command(`update-push`)
2522
2522
  .description(`Update a push notification by its unique ID. `)
2523
- .requiredOption(`--messageId <messageId>`, `Message ID.`)
2523
+ .requiredOption(`--message-id <message-id>`, `Message ID.`)
2524
2524
  .option(`--topics [topics...]`, `List of Topic IDs.`)
2525
2525
  .option(`--users [users...]`, `List of User IDs.`)
2526
2526
  .option(`--targets [targets...]`, `List of Targets IDs.`)
@@ -2535,63 +2535,63 @@ messaging
2535
2535
  .option(`--tag <tag>`, `Tag for push notification. Available only for Android platforms.`)
2536
2536
  .option(`--badge <badge>`, `Badge for push notification. Available only for iOS platforms.`, parseInteger)
2537
2537
  .option(`--draft <draft>`, `Is message a draft`, parseBool)
2538
- .option(`--scheduledAt <scheduledAt>`, `Scheduled delivery time for message in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future.`)
2538
+ .option(`--scheduled-at <scheduled-at>`, `Scheduled delivery time for message in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future.`)
2539
2539
  .action(actionRunner(messagingUpdatePush))
2540
2540
 
2541
2541
  messaging
2542
- .command(`createSms`)
2542
+ .command(`create-sms`)
2543
2543
  .description(`Create a new SMS message.`)
2544
- .requiredOption(`--messageId <messageId>`, `Message ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2544
+ .requiredOption(`--message-id <message-id>`, `Message ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2545
2545
  .requiredOption(`--content <content>`, `SMS Content.`)
2546
2546
  .option(`--topics [topics...]`, `List of Topic IDs.`)
2547
2547
  .option(`--users [users...]`, `List of User IDs.`)
2548
2548
  .option(`--targets [targets...]`, `List of Targets IDs.`)
2549
2549
  .option(`--draft <draft>`, `Is message a draft`, parseBool)
2550
- .option(`--scheduledAt <scheduledAt>`, `Scheduled delivery time for message in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future.`)
2550
+ .option(`--scheduled-at <scheduled-at>`, `Scheduled delivery time for message in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future.`)
2551
2551
  .action(actionRunner(messagingCreateSms))
2552
2552
 
2553
2553
  messaging
2554
- .command(`updateSms`)
2554
+ .command(`update-sms`)
2555
2555
  .description(`Update an email message by its unique ID. `)
2556
- .requiredOption(`--messageId <messageId>`, `Message ID.`)
2556
+ .requiredOption(`--message-id <message-id>`, `Message ID.`)
2557
2557
  .option(`--topics [topics...]`, `List of Topic IDs.`)
2558
2558
  .option(`--users [users...]`, `List of User IDs.`)
2559
2559
  .option(`--targets [targets...]`, `List of Targets IDs.`)
2560
2560
  .option(`--content <content>`, `Email Content.`)
2561
2561
  .option(`--draft <draft>`, `Is message a draft`, parseBool)
2562
- .option(`--scheduledAt <scheduledAt>`, `Scheduled delivery time for message in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future.`)
2562
+ .option(`--scheduled-at <scheduled-at>`, `Scheduled delivery time for message in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future.`)
2563
2563
  .action(actionRunner(messagingUpdateSms))
2564
2564
 
2565
2565
  messaging
2566
- .command(`getMessage`)
2566
+ .command(`get-message`)
2567
2567
  .description(`Get a message by its unique ID. `)
2568
- .requiredOption(`--messageId <messageId>`, `Message ID.`)
2568
+ .requiredOption(`--message-id <message-id>`, `Message ID.`)
2569
2569
  .option(`--console`, `Get the resource console url`)
2570
2570
  .action(actionRunner(messagingGetMessage))
2571
2571
 
2572
2572
  messaging
2573
2573
  .command(`delete`)
2574
2574
  .description(`Delete a message. If the message is not a draft or scheduled, but has been sent, this will not recall the message.`)
2575
- .requiredOption(`--messageId <messageId>`, `Message ID.`)
2575
+ .requiredOption(`--message-id <message-id>`, `Message ID.`)
2576
2576
  .action(actionRunner(messagingDelete))
2577
2577
 
2578
2578
  messaging
2579
- .command(`listMessageLogs`)
2579
+ .command(`list-message-logs`)
2580
2580
  .description(`Get the message activity logs listed by its unique ID.`)
2581
- .requiredOption(`--messageId <messageId>`, `Message ID.`)
2581
+ .requiredOption(`--message-id <message-id>`, `Message ID.`)
2582
2582
  .option(`--queries [queries...]`, `Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Only supported methods are limit and offset`)
2583
2583
  .option(`--console`, `Get the resource console url`)
2584
2584
  .action(actionRunner(messagingListMessageLogs))
2585
2585
 
2586
2586
  messaging
2587
- .command(`listTargets`)
2587
+ .command(`list-targets`)
2588
2588
  .description(`Get a list of the targets associated with a message.`)
2589
- .requiredOption(`--messageId <messageId>`, `Message ID.`)
2589
+ .requiredOption(`--message-id <message-id>`, `Message ID.`)
2590
2590
  .option(`--queries [queries...]`, `Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, providerId, identifier, providerType`)
2591
2591
  .action(actionRunner(messagingListTargets))
2592
2592
 
2593
2593
  messaging
2594
- .command(`listProviders`)
2594
+ .command(`list-providers`)
2595
2595
  .description(`Get a list of all providers from the current Appwrite project.`)
2596
2596
  .option(`--queries [queries...]`, `Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, provider, type, enabled`)
2597
2597
  .option(`--search <search>`, `Search term to filter your list results. Max length: 256 chars.`)
@@ -2599,282 +2599,282 @@ messaging
2599
2599
  .action(actionRunner(messagingListProviders))
2600
2600
 
2601
2601
  messaging
2602
- .command(`createApnsProvider`)
2602
+ .command(`create-apns-provider`)
2603
2603
  .description(`Create a new Apple Push Notification service provider.`)
2604
- .requiredOption(`--providerId <providerId>`, `Provider ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2604
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2605
2605
  .requiredOption(`--name <name>`, `Provider name.`)
2606
- .option(`--authKey <authKey>`, `APNS authentication key.`)
2607
- .option(`--authKeyId <authKeyId>`, `APNS authentication key ID.`)
2608
- .option(`--teamId <teamId>`, `APNS team ID.`)
2609
- .option(`--bundleId <bundleId>`, `APNS bundle ID.`)
2606
+ .option(`--auth-key <auth-key>`, `APNS authentication key.`)
2607
+ .option(`--auth-key-id <auth-key-id>`, `APNS authentication key ID.`)
2608
+ .option(`--team-id <team-id>`, `APNS team ID.`)
2609
+ .option(`--bundle-id <bundle-id>`, `APNS bundle ID.`)
2610
2610
  .option(`--sandbox <sandbox>`, `Use APNS sandbox environment.`, parseBool)
2611
2611
  .option(`--enabled <enabled>`, `Set as enabled.`, parseBool)
2612
2612
  .action(actionRunner(messagingCreateApnsProvider))
2613
2613
 
2614
2614
  messaging
2615
- .command(`updateApnsProvider`)
2615
+ .command(`update-apns-provider`)
2616
2616
  .description(`Update a Apple Push Notification service provider by its unique ID.`)
2617
- .requiredOption(`--providerId <providerId>`, `Provider ID.`)
2617
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID.`)
2618
2618
  .option(`--name <name>`, `Provider name.`)
2619
2619
  .option(`--enabled <enabled>`, `Set as enabled.`, parseBool)
2620
- .option(`--authKey <authKey>`, `APNS authentication key.`)
2621
- .option(`--authKeyId <authKeyId>`, `APNS authentication key ID.`)
2622
- .option(`--teamId <teamId>`, `APNS team ID.`)
2623
- .option(`--bundleId <bundleId>`, `APNS bundle ID.`)
2620
+ .option(`--auth-key <auth-key>`, `APNS authentication key.`)
2621
+ .option(`--auth-key-id <auth-key-id>`, `APNS authentication key ID.`)
2622
+ .option(`--team-id <team-id>`, `APNS team ID.`)
2623
+ .option(`--bundle-id <bundle-id>`, `APNS bundle ID.`)
2624
2624
  .option(`--sandbox <sandbox>`, `Use APNS sandbox environment.`, parseBool)
2625
2625
  .action(actionRunner(messagingUpdateApnsProvider))
2626
2626
 
2627
2627
  messaging
2628
- .command(`createFcmProvider`)
2628
+ .command(`create-fcm-provider`)
2629
2629
  .description(`Create a new Firebase Cloud Messaging provider.`)
2630
- .requiredOption(`--providerId <providerId>`, `Provider ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2630
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2631
2631
  .requiredOption(`--name <name>`, `Provider name.`)
2632
- .option(`--serviceAccountJSON <serviceAccountJSON>`, `FCM service account JSON.`)
2632
+ .option(`--service-account-json <service-account-json>`, `FCM service account JSON.`)
2633
2633
  .option(`--enabled <enabled>`, `Set as enabled.`, parseBool)
2634
2634
  .action(actionRunner(messagingCreateFcmProvider))
2635
2635
 
2636
2636
  messaging
2637
- .command(`updateFcmProvider`)
2637
+ .command(`update-fcm-provider`)
2638
2638
  .description(`Update a Firebase Cloud Messaging provider by its unique ID.`)
2639
- .requiredOption(`--providerId <providerId>`, `Provider ID.`)
2639
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID.`)
2640
2640
  .option(`--name <name>`, `Provider name.`)
2641
2641
  .option(`--enabled <enabled>`, `Set as enabled.`, parseBool)
2642
- .option(`--serviceAccountJSON <serviceAccountJSON>`, `FCM service account JSON.`)
2642
+ .option(`--service-account-json <service-account-json>`, `FCM service account JSON.`)
2643
2643
  .action(actionRunner(messagingUpdateFcmProvider))
2644
2644
 
2645
2645
  messaging
2646
- .command(`createMailgunProvider`)
2646
+ .command(`create-mailgun-provider`)
2647
2647
  .description(`Create a new Mailgun provider.`)
2648
- .requiredOption(`--providerId <providerId>`, `Provider ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2648
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2649
2649
  .requiredOption(`--name <name>`, `Provider name.`)
2650
- .option(`--apiKey <apiKey>`, `Mailgun API Key.`)
2650
+ .option(`--api-key <api-key>`, `Mailgun API Key.`)
2651
2651
  .option(`--domain <domain>`, `Mailgun Domain.`)
2652
- .option(`--isEuRegion <isEuRegion>`, `Set as EU region.`, parseBool)
2653
- .option(`--fromName <fromName>`, `Sender Name.`)
2654
- .option(`--fromEmail <fromEmail>`, `Sender email address.`)
2655
- .option(`--replyToName <replyToName>`, `Name set in the reply to field for the mail. Default value is sender name. Reply to name must have reply to email as well.`)
2656
- .option(`--replyToEmail <replyToEmail>`, `Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.`)
2652
+ .option(`--is-eu-region <is-eu-region>`, `Set as EU region.`, parseBool)
2653
+ .option(`--from-name <from-name>`, `Sender Name.`)
2654
+ .option(`--from-email <from-email>`, `Sender email address.`)
2655
+ .option(`--reply-to-name <reply-to-name>`, `Name set in the reply to field for the mail. Default value is sender name. Reply to name must have reply to email as well.`)
2656
+ .option(`--reply-to-email <reply-to-email>`, `Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.`)
2657
2657
  .option(`--enabled <enabled>`, `Set as enabled.`, parseBool)
2658
2658
  .action(actionRunner(messagingCreateMailgunProvider))
2659
2659
 
2660
2660
  messaging
2661
- .command(`updateMailgunProvider`)
2661
+ .command(`update-mailgun-provider`)
2662
2662
  .description(`Update a Mailgun provider by its unique ID.`)
2663
- .requiredOption(`--providerId <providerId>`, `Provider ID.`)
2663
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID.`)
2664
2664
  .option(`--name <name>`, `Provider name.`)
2665
- .option(`--apiKey <apiKey>`, `Mailgun API Key.`)
2665
+ .option(`--api-key <api-key>`, `Mailgun API Key.`)
2666
2666
  .option(`--domain <domain>`, `Mailgun Domain.`)
2667
- .option(`--isEuRegion <isEuRegion>`, `Set as EU region.`, parseBool)
2667
+ .option(`--is-eu-region <is-eu-region>`, `Set as EU region.`, parseBool)
2668
2668
  .option(`--enabled <enabled>`, `Set as enabled.`, parseBool)
2669
- .option(`--fromName <fromName>`, `Sender Name.`)
2670
- .option(`--fromEmail <fromEmail>`, `Sender email address.`)
2671
- .option(`--replyToName <replyToName>`, `Name set in the reply to field for the mail. Default value is sender name.`)
2672
- .option(`--replyToEmail <replyToEmail>`, `Email set in the reply to field for the mail. Default value is sender email.`)
2669
+ .option(`--from-name <from-name>`, `Sender Name.`)
2670
+ .option(`--from-email <from-email>`, `Sender email address.`)
2671
+ .option(`--reply-to-name <reply-to-name>`, `Name set in the reply to field for the mail. Default value is sender name.`)
2672
+ .option(`--reply-to-email <reply-to-email>`, `Email set in the reply to field for the mail. Default value is sender email.`)
2673
2673
  .action(actionRunner(messagingUpdateMailgunProvider))
2674
2674
 
2675
2675
  messaging
2676
- .command(`createMsg91Provider`)
2676
+ .command(`create-msg-91-provider`)
2677
2677
  .description(`Create a new MSG91 provider.`)
2678
- .requiredOption(`--providerId <providerId>`, `Provider ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2678
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2679
2679
  .requiredOption(`--name <name>`, `Provider name.`)
2680
- .option(`--templateId <templateId>`, `Msg91 template ID`)
2681
- .option(`--senderId <senderId>`, `Msg91 sender ID.`)
2682
- .option(`--authKey <authKey>`, `Msg91 auth key.`)
2680
+ .option(`--template-id <template-id>`, `Msg91 template ID`)
2681
+ .option(`--sender-id <sender-id>`, `Msg91 sender ID.`)
2682
+ .option(`--auth-key <auth-key>`, `Msg91 auth key.`)
2683
2683
  .option(`--enabled <enabled>`, `Set as enabled.`, parseBool)
2684
2684
  .action(actionRunner(messagingCreateMsg91Provider))
2685
2685
 
2686
2686
  messaging
2687
- .command(`updateMsg91Provider`)
2687
+ .command(`update-msg-91-provider`)
2688
2688
  .description(`Update a MSG91 provider by its unique ID.`)
2689
- .requiredOption(`--providerId <providerId>`, `Provider ID.`)
2689
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID.`)
2690
2690
  .option(`--name <name>`, `Provider name.`)
2691
2691
  .option(`--enabled <enabled>`, `Set as enabled.`, parseBool)
2692
- .option(`--templateId <templateId>`, `Msg91 template ID.`)
2693
- .option(`--senderId <senderId>`, `Msg91 sender ID.`)
2694
- .option(`--authKey <authKey>`, `Msg91 auth key.`)
2692
+ .option(`--template-id <template-id>`, `Msg91 template ID.`)
2693
+ .option(`--sender-id <sender-id>`, `Msg91 sender ID.`)
2694
+ .option(`--auth-key <auth-key>`, `Msg91 auth key.`)
2695
2695
  .action(actionRunner(messagingUpdateMsg91Provider))
2696
2696
 
2697
2697
  messaging
2698
- .command(`createSendgridProvider`)
2698
+ .command(`create-sendgrid-provider`)
2699
2699
  .description(`Create a new Sendgrid provider.`)
2700
- .requiredOption(`--providerId <providerId>`, `Provider ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2700
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2701
2701
  .requiredOption(`--name <name>`, `Provider name.`)
2702
- .option(`--apiKey <apiKey>`, `Sendgrid API key.`)
2703
- .option(`--fromName <fromName>`, `Sender Name.`)
2704
- .option(`--fromEmail <fromEmail>`, `Sender email address.`)
2705
- .option(`--replyToName <replyToName>`, `Name set in the reply to field for the mail. Default value is sender name.`)
2706
- .option(`--replyToEmail <replyToEmail>`, `Email set in the reply to field for the mail. Default value is sender email.`)
2702
+ .option(`--api-key <api-key>`, `Sendgrid API key.`)
2703
+ .option(`--from-name <from-name>`, `Sender Name.`)
2704
+ .option(`--from-email <from-email>`, `Sender email address.`)
2705
+ .option(`--reply-to-name <reply-to-name>`, `Name set in the reply to field for the mail. Default value is sender name.`)
2706
+ .option(`--reply-to-email <reply-to-email>`, `Email set in the reply to field for the mail. Default value is sender email.`)
2707
2707
  .option(`--enabled <enabled>`, `Set as enabled.`, parseBool)
2708
2708
  .action(actionRunner(messagingCreateSendgridProvider))
2709
2709
 
2710
2710
  messaging
2711
- .command(`updateSendgridProvider`)
2711
+ .command(`update-sendgrid-provider`)
2712
2712
  .description(`Update a Sendgrid provider by its unique ID.`)
2713
- .requiredOption(`--providerId <providerId>`, `Provider ID.`)
2713
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID.`)
2714
2714
  .option(`--name <name>`, `Provider name.`)
2715
2715
  .option(`--enabled <enabled>`, `Set as enabled.`, parseBool)
2716
- .option(`--apiKey <apiKey>`, `Sendgrid API key.`)
2717
- .option(`--fromName <fromName>`, `Sender Name.`)
2718
- .option(`--fromEmail <fromEmail>`, `Sender email address.`)
2719
- .option(`--replyToName <replyToName>`, `Name set in the Reply To field for the mail. Default value is Sender Name.`)
2720
- .option(`--replyToEmail <replyToEmail>`, `Email set in the Reply To field for the mail. Default value is Sender Email.`)
2716
+ .option(`--api-key <api-key>`, `Sendgrid API key.`)
2717
+ .option(`--from-name <from-name>`, `Sender Name.`)
2718
+ .option(`--from-email <from-email>`, `Sender email address.`)
2719
+ .option(`--reply-to-name <reply-to-name>`, `Name set in the Reply To field for the mail. Default value is Sender Name.`)
2720
+ .option(`--reply-to-email <reply-to-email>`, `Email set in the Reply To field for the mail. Default value is Sender Email.`)
2721
2721
  .action(actionRunner(messagingUpdateSendgridProvider))
2722
2722
 
2723
2723
  messaging
2724
- .command(`createSmtpProvider`)
2724
+ .command(`create-smtp-provider`)
2725
2725
  .description(`Create a new SMTP provider.`)
2726
- .requiredOption(`--providerId <providerId>`, `Provider ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2726
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2727
2727
  .requiredOption(`--name <name>`, `Provider name.`)
2728
2728
  .requiredOption(`--host <host>`, `SMTP hosts. Either a single hostname or multiple semicolon-delimited hostnames. You can also specify a different port for each host such as 'smtp1.example.com:25;smtp2.example.com'. You can also specify encryption type, for example: 'tls://smtp1.example.com:587;ssl://smtp2.example.com:465"'. Hosts will be tried in order.`)
2729
2729
  .option(`--port <port>`, `The default SMTP server port.`, parseInteger)
2730
2730
  .option(`--username <username>`, `Authentication username.`)
2731
2731
  .option(`--password <password>`, `Authentication password.`)
2732
2732
  .option(`--encryption <encryption>`, `Encryption type. Can be omitted, 'ssl', or 'tls'`)
2733
- .option(`--autoTLS <autoTLS>`, `Enable SMTP AutoTLS feature.`, parseBool)
2733
+ .option(`--auto-tls <auto-tls>`, `Enable SMTP AutoTLS feature.`, parseBool)
2734
2734
  .option(`--mailer <mailer>`, `The value to use for the X-Mailer header.`)
2735
- .option(`--fromName <fromName>`, `Sender Name.`)
2736
- .option(`--fromEmail <fromEmail>`, `Sender email address.`)
2737
- .option(`--replyToName <replyToName>`, `Name set in the reply to field for the mail. Default value is sender name.`)
2738
- .option(`--replyToEmail <replyToEmail>`, `Email set in the reply to field for the mail. Default value is sender email.`)
2735
+ .option(`--from-name <from-name>`, `Sender Name.`)
2736
+ .option(`--from-email <from-email>`, `Sender email address.`)
2737
+ .option(`--reply-to-name <reply-to-name>`, `Name set in the reply to field for the mail. Default value is sender name.`)
2738
+ .option(`--reply-to-email <reply-to-email>`, `Email set in the reply to field for the mail. Default value is sender email.`)
2739
2739
  .option(`--enabled <enabled>`, `Set as enabled.`, parseBool)
2740
2740
  .action(actionRunner(messagingCreateSmtpProvider))
2741
2741
 
2742
2742
  messaging
2743
- .command(`updateSmtpProvider`)
2743
+ .command(`update-smtp-provider`)
2744
2744
  .description(`Update a SMTP provider by its unique ID.`)
2745
- .requiredOption(`--providerId <providerId>`, `Provider ID.`)
2745
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID.`)
2746
2746
  .option(`--name <name>`, `Provider name.`)
2747
2747
  .option(`--host <host>`, `SMTP hosts. Either a single hostname or multiple semicolon-delimited hostnames. You can also specify a different port for each host such as 'smtp1.example.com:25;smtp2.example.com'. You can also specify encryption type, for example: 'tls://smtp1.example.com:587;ssl://smtp2.example.com:465"'. Hosts will be tried in order.`)
2748
2748
  .option(`--port <port>`, `SMTP port.`, parseInteger)
2749
2749
  .option(`--username <username>`, `Authentication username.`)
2750
2750
  .option(`--password <password>`, `Authentication password.`)
2751
2751
  .option(`--encryption <encryption>`, `Encryption type. Can be 'ssl' or 'tls'`)
2752
- .option(`--autoTLS <autoTLS>`, `Enable SMTP AutoTLS feature.`, parseBool)
2752
+ .option(`--auto-tls <auto-tls>`, `Enable SMTP AutoTLS feature.`, parseBool)
2753
2753
  .option(`--mailer <mailer>`, `The value to use for the X-Mailer header.`)
2754
- .option(`--fromName <fromName>`, `Sender Name.`)
2755
- .option(`--fromEmail <fromEmail>`, `Sender email address.`)
2756
- .option(`--replyToName <replyToName>`, `Name set in the Reply To field for the mail. Default value is Sender Name.`)
2757
- .option(`--replyToEmail <replyToEmail>`, `Email set in the Reply To field for the mail. Default value is Sender Email.`)
2754
+ .option(`--from-name <from-name>`, `Sender Name.`)
2755
+ .option(`--from-email <from-email>`, `Sender email address.`)
2756
+ .option(`--reply-to-name <reply-to-name>`, `Name set in the Reply To field for the mail. Default value is Sender Name.`)
2757
+ .option(`--reply-to-email <reply-to-email>`, `Email set in the Reply To field for the mail. Default value is Sender Email.`)
2758
2758
  .option(`--enabled <enabled>`, `Set as enabled.`, parseBool)
2759
2759
  .action(actionRunner(messagingUpdateSmtpProvider))
2760
2760
 
2761
2761
  messaging
2762
- .command(`createTelesignProvider`)
2762
+ .command(`create-telesign-provider`)
2763
2763
  .description(`Create a new Telesign provider.`)
2764
- .requiredOption(`--providerId <providerId>`, `Provider ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2764
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2765
2765
  .requiredOption(`--name <name>`, `Provider name.`)
2766
2766
  .option(`--from <from>`, `Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.`)
2767
- .option(`--customerId <customerId>`, `Telesign customer ID.`)
2768
- .option(`--apiKey <apiKey>`, `Telesign API key.`)
2767
+ .option(`--customer-id <customer-id>`, `Telesign customer ID.`)
2768
+ .option(`--api-key <api-key>`, `Telesign API key.`)
2769
2769
  .option(`--enabled <enabled>`, `Set as enabled.`, parseBool)
2770
2770
  .action(actionRunner(messagingCreateTelesignProvider))
2771
2771
 
2772
2772
  messaging
2773
- .command(`updateTelesignProvider`)
2773
+ .command(`update-telesign-provider`)
2774
2774
  .description(`Update a Telesign provider by its unique ID.`)
2775
- .requiredOption(`--providerId <providerId>`, `Provider ID.`)
2775
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID.`)
2776
2776
  .option(`--name <name>`, `Provider name.`)
2777
2777
  .option(`--enabled <enabled>`, `Set as enabled.`, parseBool)
2778
- .option(`--customerId <customerId>`, `Telesign customer ID.`)
2779
- .option(`--apiKey <apiKey>`, `Telesign API key.`)
2778
+ .option(`--customer-id <customer-id>`, `Telesign customer ID.`)
2779
+ .option(`--api-key <api-key>`, `Telesign API key.`)
2780
2780
  .option(`--from <from>`, `Sender number.`)
2781
2781
  .action(actionRunner(messagingUpdateTelesignProvider))
2782
2782
 
2783
2783
  messaging
2784
- .command(`createTextmagicProvider`)
2784
+ .command(`create-textmagic-provider`)
2785
2785
  .description(`Create a new Textmagic provider.`)
2786
- .requiredOption(`--providerId <providerId>`, `Provider ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2786
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2787
2787
  .requiredOption(`--name <name>`, `Provider name.`)
2788
2788
  .option(`--from <from>`, `Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.`)
2789
2789
  .option(`--username <username>`, `Textmagic username.`)
2790
- .option(`--apiKey <apiKey>`, `Textmagic apiKey.`)
2790
+ .option(`--api-key <api-key>`, `Textmagic apiKey.`)
2791
2791
  .option(`--enabled <enabled>`, `Set as enabled.`, parseBool)
2792
2792
  .action(actionRunner(messagingCreateTextmagicProvider))
2793
2793
 
2794
2794
  messaging
2795
- .command(`updateTextmagicProvider`)
2795
+ .command(`update-textmagic-provider`)
2796
2796
  .description(`Update a Textmagic provider by its unique ID.`)
2797
- .requiredOption(`--providerId <providerId>`, `Provider ID.`)
2797
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID.`)
2798
2798
  .option(`--name <name>`, `Provider name.`)
2799
2799
  .option(`--enabled <enabled>`, `Set as enabled.`, parseBool)
2800
2800
  .option(`--username <username>`, `Textmagic username.`)
2801
- .option(`--apiKey <apiKey>`, `Textmagic apiKey.`)
2801
+ .option(`--api-key <api-key>`, `Textmagic apiKey.`)
2802
2802
  .option(`--from <from>`, `Sender number.`)
2803
2803
  .action(actionRunner(messagingUpdateTextmagicProvider))
2804
2804
 
2805
2805
  messaging
2806
- .command(`createTwilioProvider`)
2806
+ .command(`create-twilio-provider`)
2807
2807
  .description(`Create a new Twilio provider.`)
2808
- .requiredOption(`--providerId <providerId>`, `Provider ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2808
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2809
2809
  .requiredOption(`--name <name>`, `Provider name.`)
2810
2810
  .option(`--from <from>`, `Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.`)
2811
- .option(`--accountSid <accountSid>`, `Twilio account secret ID.`)
2812
- .option(`--authToken <authToken>`, `Twilio authentication token.`)
2811
+ .option(`--account-sid <account-sid>`, `Twilio account secret ID.`)
2812
+ .option(`--auth-token <auth-token>`, `Twilio authentication token.`)
2813
2813
  .option(`--enabled <enabled>`, `Set as enabled.`, parseBool)
2814
2814
  .action(actionRunner(messagingCreateTwilioProvider))
2815
2815
 
2816
2816
  messaging
2817
- .command(`updateTwilioProvider`)
2817
+ .command(`update-twilio-provider`)
2818
2818
  .description(`Update a Twilio provider by its unique ID.`)
2819
- .requiredOption(`--providerId <providerId>`, `Provider ID.`)
2819
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID.`)
2820
2820
  .option(`--name <name>`, `Provider name.`)
2821
2821
  .option(`--enabled <enabled>`, `Set as enabled.`, parseBool)
2822
- .option(`--accountSid <accountSid>`, `Twilio account secret ID.`)
2823
- .option(`--authToken <authToken>`, `Twilio authentication token.`)
2822
+ .option(`--account-sid <account-sid>`, `Twilio account secret ID.`)
2823
+ .option(`--auth-token <auth-token>`, `Twilio authentication token.`)
2824
2824
  .option(`--from <from>`, `Sender number.`)
2825
2825
  .action(actionRunner(messagingUpdateTwilioProvider))
2826
2826
 
2827
2827
  messaging
2828
- .command(`createVonageProvider`)
2828
+ .command(`create-vonage-provider`)
2829
2829
  .description(`Create a new Vonage provider.`)
2830
- .requiredOption(`--providerId <providerId>`, `Provider ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2830
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
2831
2831
  .requiredOption(`--name <name>`, `Provider name.`)
2832
2832
  .option(`--from <from>`, `Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.`)
2833
- .option(`--apiKey <apiKey>`, `Vonage API key.`)
2834
- .option(`--apiSecret <apiSecret>`, `Vonage API secret.`)
2833
+ .option(`--api-key <api-key>`, `Vonage API key.`)
2834
+ .option(`--api-secret <api-secret>`, `Vonage API secret.`)
2835
2835
  .option(`--enabled <enabled>`, `Set as enabled.`, parseBool)
2836
2836
  .action(actionRunner(messagingCreateVonageProvider))
2837
2837
 
2838
2838
  messaging
2839
- .command(`updateVonageProvider`)
2839
+ .command(`update-vonage-provider`)
2840
2840
  .description(`Update a Vonage provider by its unique ID.`)
2841
- .requiredOption(`--providerId <providerId>`, `Provider ID.`)
2841
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID.`)
2842
2842
  .option(`--name <name>`, `Provider name.`)
2843
2843
  .option(`--enabled <enabled>`, `Set as enabled.`, parseBool)
2844
- .option(`--apiKey <apiKey>`, `Vonage API key.`)
2845
- .option(`--apiSecret <apiSecret>`, `Vonage API secret.`)
2844
+ .option(`--api-key <api-key>`, `Vonage API key.`)
2845
+ .option(`--api-secret <api-secret>`, `Vonage API secret.`)
2846
2846
  .option(`--from <from>`, `Sender number.`)
2847
2847
  .action(actionRunner(messagingUpdateVonageProvider))
2848
2848
 
2849
2849
  messaging
2850
- .command(`getProvider`)
2850
+ .command(`get-provider`)
2851
2851
  .description(`Get a provider by its unique ID. `)
2852
- .requiredOption(`--providerId <providerId>`, `Provider ID.`)
2852
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID.`)
2853
2853
  .option(`--console`, `Get the resource console url`)
2854
2854
  .action(actionRunner(messagingGetProvider))
2855
2855
 
2856
2856
  messaging
2857
- .command(`deleteProvider`)
2857
+ .command(`delete-provider`)
2858
2858
  .description(`Delete a provider by its unique ID.`)
2859
- .requiredOption(`--providerId <providerId>`, `Provider ID.`)
2859
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID.`)
2860
2860
  .action(actionRunner(messagingDeleteProvider))
2861
2861
 
2862
2862
  messaging
2863
- .command(`listProviderLogs`)
2863
+ .command(`list-provider-logs`)
2864
2864
  .description(`Get the provider activity logs listed by its unique ID.`)
2865
- .requiredOption(`--providerId <providerId>`, `Provider ID.`)
2865
+ .requiredOption(`--provider-id <provider-id>`, `Provider ID.`)
2866
2866
  .option(`--queries [queries...]`, `Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Only supported methods are limit and offset`)
2867
2867
  .action(actionRunner(messagingListProviderLogs))
2868
2868
 
2869
2869
  messaging
2870
- .command(`listSubscriberLogs`)
2870
+ .command(`list-subscriber-logs`)
2871
2871
  .description(`Get the subscriber activity logs listed by its unique ID.`)
2872
- .requiredOption(`--subscriberId <subscriberId>`, `Subscriber ID.`)
2872
+ .requiredOption(`--subscriber-id <subscriber-id>`, `Subscriber ID.`)
2873
2873
  .option(`--queries [queries...]`, `Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Only supported methods are limit and offset`)
2874
2874
  .action(actionRunner(messagingListSubscriberLogs))
2875
2875
 
2876
2876
  messaging
2877
- .command(`listTopics`)
2877
+ .command(`list-topics`)
2878
2878
  .description(`Get a list of all topics from the current Appwrite project.`)
2879
2879
  .option(`--queries [queries...]`, `Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, description, emailTotal, smsTotal, pushTotal`)
2880
2880
  .option(`--search <search>`, `Search term to filter your list results. Max length: 256 chars.`)
@@ -2882,70 +2882,70 @@ messaging
2882
2882
  .action(actionRunner(messagingListTopics))
2883
2883
 
2884
2884
  messaging
2885
- .command(`createTopic`)
2885
+ .command(`create-topic`)
2886
2886
  .description(`Create a new topic.`)
2887
- .requiredOption(`--topicId <topicId>`, `Topic ID. Choose a custom Topic ID or a new Topic ID.`)
2887
+ .requiredOption(`--topic-id <topic-id>`, `Topic ID. Choose a custom Topic ID or a new Topic ID.`)
2888
2888
  .requiredOption(`--name <name>`, `Topic Name.`)
2889
2889
  .option(`--subscribe [subscribe...]`, `An array of role strings with subscribe permission. By default all users are granted with any subscribe permission. [learn more about roles](https://appwrite.io/docs/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.`)
2890
2890
  .action(actionRunner(messagingCreateTopic))
2891
2891
 
2892
2892
  messaging
2893
- .command(`getTopic`)
2893
+ .command(`get-topic`)
2894
2894
  .description(`Get a topic by its unique ID. `)
2895
- .requiredOption(`--topicId <topicId>`, `Topic ID.`)
2895
+ .requiredOption(`--topic-id <topic-id>`, `Topic ID.`)
2896
2896
  .option(`--console`, `Get the resource console url`)
2897
2897
  .action(actionRunner(messagingGetTopic))
2898
2898
 
2899
2899
  messaging
2900
- .command(`updateTopic`)
2900
+ .command(`update-topic`)
2901
2901
  .description(`Update a topic by its unique ID. `)
2902
- .requiredOption(`--topicId <topicId>`, `Topic ID.`)
2902
+ .requiredOption(`--topic-id <topic-id>`, `Topic ID.`)
2903
2903
  .option(`--name <name>`, `Topic Name.`)
2904
2904
  .option(`--subscribe [subscribe...]`, `An array of role strings with subscribe permission. By default all users are granted with any subscribe permission. [learn more about roles](https://appwrite.io/docs/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.`)
2905
2905
  .action(actionRunner(messagingUpdateTopic))
2906
2906
 
2907
2907
  messaging
2908
- .command(`deleteTopic`)
2908
+ .command(`delete-topic`)
2909
2909
  .description(`Delete a topic by its unique ID.`)
2910
- .requiredOption(`--topicId <topicId>`, `Topic ID.`)
2910
+ .requiredOption(`--topic-id <topic-id>`, `Topic ID.`)
2911
2911
  .action(actionRunner(messagingDeleteTopic))
2912
2912
 
2913
2913
  messaging
2914
- .command(`listTopicLogs`)
2914
+ .command(`list-topic-logs`)
2915
2915
  .description(`Get the topic activity logs listed by its unique ID.`)
2916
- .requiredOption(`--topicId <topicId>`, `Topic ID.`)
2916
+ .requiredOption(`--topic-id <topic-id>`, `Topic ID.`)
2917
2917
  .option(`--queries [queries...]`, `Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Only supported methods are limit and offset`)
2918
2918
  .action(actionRunner(messagingListTopicLogs))
2919
2919
 
2920
2920
  messaging
2921
- .command(`listSubscribers`)
2921
+ .command(`list-subscribers`)
2922
2922
  .description(`Get a list of all subscribers from the current Appwrite project.`)
2923
- .requiredOption(`--topicId <topicId>`, `Topic ID. The topic ID subscribed to.`)
2923
+ .requiredOption(`--topic-id <topic-id>`, `Topic ID. The topic ID subscribed to.`)
2924
2924
  .option(`--queries [queries...]`, `Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, provider, type, enabled`)
2925
2925
  .option(`--search <search>`, `Search term to filter your list results. Max length: 256 chars.`)
2926
2926
  .option(`--console`, `Get the resource console url`)
2927
2927
  .action(actionRunner(messagingListSubscribers))
2928
2928
 
2929
2929
  messaging
2930
- .command(`createSubscriber`)
2930
+ .command(`create-subscriber`)
2931
2931
  .description(`Create a new subscriber.`)
2932
- .requiredOption(`--topicId <topicId>`, `Topic ID. The topic ID to subscribe to.`)
2933
- .requiredOption(`--subscriberId <subscriberId>`, `Subscriber ID. Choose a custom Subscriber ID or a new Subscriber ID.`)
2934
- .requiredOption(`--targetId <targetId>`, `Target ID. The target ID to link to the specified Topic ID.`)
2932
+ .requiredOption(`--topic-id <topic-id>`, `Topic ID. The topic ID to subscribe to.`)
2933
+ .requiredOption(`--subscriber-id <subscriber-id>`, `Subscriber ID. Choose a custom Subscriber ID or a new Subscriber ID.`)
2934
+ .requiredOption(`--target-id <target-id>`, `Target ID. The target ID to link to the specified Topic ID.`)
2935
2935
  .action(actionRunner(messagingCreateSubscriber))
2936
2936
 
2937
2937
  messaging
2938
- .command(`getSubscriber`)
2938
+ .command(`get-subscriber`)
2939
2939
  .description(`Get a subscriber by its unique ID. `)
2940
- .requiredOption(`--topicId <topicId>`, `Topic ID. The topic ID subscribed to.`)
2941
- .requiredOption(`--subscriberId <subscriberId>`, `Subscriber ID.`)
2940
+ .requiredOption(`--topic-id <topic-id>`, `Topic ID. The topic ID subscribed to.`)
2941
+ .requiredOption(`--subscriber-id <subscriber-id>`, `Subscriber ID.`)
2942
2942
  .action(actionRunner(messagingGetSubscriber))
2943
2943
 
2944
2944
  messaging
2945
- .command(`deleteSubscriber`)
2945
+ .command(`delete-subscriber`)
2946
2946
  .description(`Delete a subscriber by its unique ID.`)
2947
- .requiredOption(`--topicId <topicId>`, `Topic ID. The topic ID subscribed to.`)
2948
- .requiredOption(`--subscriberId <subscriberId>`, `Subscriber ID.`)
2947
+ .requiredOption(`--topic-id <topic-id>`, `Topic ID. The topic ID subscribed to.`)
2948
+ .requiredOption(`--subscriber-id <subscriber-id>`, `Subscriber ID.`)
2949
2949
  .action(actionRunner(messagingDeleteSubscriber))
2950
2950
 
2951
2951
  module.exports = {