@appwrite.io/console 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/README.md +3 -3
  2. package/dist/cjs/sdk.js +1354 -1197
  3. package/dist/cjs/sdk.js.map +1 -1
  4. package/dist/esm/sdk.js +1354 -1197
  5. package/dist/esm/sdk.js.map +1 -1
  6. package/dist/iife/sdk.js +1354 -1197
  7. package/docs/examples/functions/create.md +1 -1
  8. package/docs/examples/functions/update.md +1 -1
  9. package/docs/examples/{projects/get-usage.md → health/get-queue-builds.md} +3 -3
  10. package/docs/examples/{account/create-with-invite-code.md → health/get-queue-databases.md} +3 -3
  11. package/docs/examples/health/get-queue-deletes.md +18 -0
  12. package/docs/examples/health/get-queue-mails.md +18 -0
  13. package/docs/examples/health/get-queue-messaging.md +18 -0
  14. package/docs/examples/health/get-queue-migrations.md +18 -0
  15. package/docs/examples/project/get-usage.md +1 -1
  16. package/docs/examples/teams/create-membership.md +1 -1
  17. package/package.json +3 -2
  18. package/src/client.ts +1 -1
  19. package/src/models.ts +124 -285
  20. package/src/query.ts +1 -1
  21. package/src/role.ts +72 -6
  22. package/src/services/account.ts +154 -204
  23. package/src/services/assistant.ts +3 -3
  24. package/src/services/avatars.ts +32 -31
  25. package/src/services/console.ts +4 -4
  26. package/src/services/databases.ts +195 -195
  27. package/src/services/functions.ts +117 -126
  28. package/src/services/graphql.ts +8 -8
  29. package/src/services/health.ts +219 -50
  30. package/src/services/locale.ts +31 -31
  31. package/src/services/migrations.ts +48 -48
  32. package/src/services/project.ts +40 -22
  33. package/src/services/projects.ts +143 -170
  34. package/src/services/proxy.ts +15 -15
  35. package/src/services/storage.ts +74 -84
  36. package/src/services/teams.ts +62 -66
  37. package/src/services/users.ts +132 -135
  38. package/src/services/vcs.ts +27 -27
  39. package/types/models.d.ts +124 -285
  40. package/types/role.d.ts +62 -0
  41. package/types/services/account.d.ts +61 -70
  42. package/types/services/avatars.d.ts +11 -10
  43. package/types/services/console.d.ts +1 -1
  44. package/types/services/databases.d.ts +51 -51
  45. package/types/services/functions.d.ts +32 -27
  46. package/types/services/graphql.d.ts +2 -2
  47. package/types/services/health.d.ts +85 -14
  48. package/types/services/locale.d.ts +7 -7
  49. package/types/services/project.d.ts +4 -2
  50. package/types/services/projects.d.ts +26 -36
  51. package/types/services/storage.d.ts +13 -13
  52. package/types/services/teams.d.ts +20 -20
  53. package/types/services/users.d.ts +45 -44
package/src/models.ts CHANGED
@@ -470,7 +470,7 @@ export namespace Models {
470
470
  */
471
471
  $updatedAt: string;
472
472
  /**
473
- * Collection permissions. [Learn more about permissions](/docs/permissions).
473
+ * Collection permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
474
474
  */
475
475
  $permissions: string[];
476
476
  /**
@@ -486,7 +486,7 @@ export namespace Models {
486
486
  */
487
487
  enabled: boolean;
488
488
  /**
489
- * Whether document-level permissions are enabled. [Learn more about permissions](/docs/permissions).
489
+ * Whether document-level permissions are enabled. [Learn more about permissions](https://appwrite.io/docs/permissions).
490
490
  */
491
491
  documentSecurity: boolean;
492
492
  /**
@@ -959,7 +959,7 @@ export namespace Models {
959
959
  */
960
960
  $updatedAt: string;
961
961
  /**
962
- * Document permissions. [Learn more about permissions](/docs/permissions).
962
+ * Document permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
963
963
  */
964
964
  $permissions: string[];
965
965
  [key: string]: any;
@@ -1229,67 +1229,6 @@ export namespace Models {
1229
1229
  */
1230
1230
  threads: number;
1231
1231
  }
1232
- /**
1233
- * Account
1234
- */
1235
- export type Account<Preferences extends Models.Preferences> = {
1236
- /**
1237
- * User ID.
1238
- */
1239
- $id: string;
1240
- /**
1241
- * User creation date in ISO 8601 format.
1242
- */
1243
- $createdAt: string;
1244
- /**
1245
- * User update date in ISO 8601 format.
1246
- */
1247
- $updatedAt: string;
1248
- /**
1249
- * User name.
1250
- */
1251
- name: string;
1252
- /**
1253
- * User registration date in ISO 8601 format.
1254
- */
1255
- registration: string;
1256
- /**
1257
- * User status. Pass `true` for enabled and `false` for disabled.
1258
- */
1259
- status: boolean;
1260
- /**
1261
- * Labels for the user.
1262
- */
1263
- labels: string[];
1264
- /**
1265
- * Password update time in ISO 8601 format.
1266
- */
1267
- passwordUpdate: string;
1268
- /**
1269
- * User email address.
1270
- */
1271
- email: string;
1272
- /**
1273
- * User phone number in E.164 format.
1274
- */
1275
- phone: string;
1276
- /**
1277
- * Email verification status.
1278
- */
1279
- emailVerification: boolean;
1280
- /**
1281
- * Phone verification status.
1282
- */
1283
- phoneVerification: boolean;
1284
- /**
1285
- * User preferences as a key-value object
1286
- */
1287
- prefs: Preferences;
1288
- /**
1289
- * Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.
1290
- */
1291
- accessedAt: string;
1292
- }
1293
1232
  /**
1294
1233
  * Preferences
1295
1234
  */
@@ -1547,7 +1486,7 @@ export namespace Models {
1547
1486
  */
1548
1487
  $updatedAt: string;
1549
1488
  /**
1550
- * File permissions. [Learn more about permissions](/docs/permissions).
1489
+ * File permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
1551
1490
  */
1552
1491
  $permissions: string[];
1553
1492
  /**
@@ -1592,11 +1531,11 @@ export namespace Models {
1592
1531
  */
1593
1532
  $updatedAt: string;
1594
1533
  /**
1595
- * Bucket permissions. [Learn more about permissions](/docs/permissions).
1534
+ * Bucket permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
1596
1535
  */
1597
1536
  $permissions: string[];
1598
1537
  /**
1599
- * Whether file-level security is enabled. [Learn more about permissions](/docs/permissions).
1538
+ * Whether file-level security is enabled. [Learn more about permissions](https://appwrite.io/docs/permissions).
1600
1539
  */
1601
1540
  fileSecurity: boolean;
1602
1541
  /**
@@ -2274,26 +2213,14 @@ export namespace Models {
2274
2213
  * Users service status
2275
2214
  */
2276
2215
  serviceStatusForUsers: boolean;
2277
- /**
2278
- * VCS service status
2279
- */
2280
- serviceStatusForVcs: boolean;
2281
2216
  /**
2282
2217
  * Functions service status
2283
2218
  */
2284
2219
  serviceStatusForFunctions: boolean;
2285
- /**
2286
- * Proxy service status
2287
- */
2288
- serviceStatusForProxy: boolean;
2289
2220
  /**
2290
2221
  * GraphQL service status
2291
2222
  */
2292
2223
  serviceStatusForGraphql: boolean;
2293
- /**
2294
- * Migrations service status
2295
- */
2296
- serviceStatusForMigrations: boolean;
2297
2224
  }
2298
2225
  /**
2299
2226
  * Webhook
@@ -2651,356 +2578,268 @@ export namespace Models {
2651
2578
  */
2652
2579
  export type UsageDatabases = {
2653
2580
  /**
2654
- * The time range of the usage stats.
2581
+ * Time range of the usage stats.
2655
2582
  */
2656
2583
  range: string;
2657
2584
  /**
2658
- * Aggregated stats for total number of documents.
2659
- */
2660
- databasesCount: Metric[];
2661
- /**
2662
- * Aggregated stats for total number of documents.
2585
+ * Total aggregated number of databases.
2663
2586
  */
2664
- documentsCount: Metric[];
2587
+ databasesTotal: number;
2665
2588
  /**
2666
- * Aggregated stats for total number of collections.
2589
+ * Total aggregated number of collections.
2667
2590
  */
2668
- collectionsCount: Metric[];
2591
+ collectionsTotal: number;
2669
2592
  /**
2670
- * Aggregated stats for documents created.
2593
+ * Total aggregated number of documents.
2671
2594
  */
2672
- databasesCreate: Metric[];
2595
+ documentsTotal: number;
2673
2596
  /**
2674
- * Aggregated stats for documents read.
2597
+ * Aggregated number of databases per period.
2675
2598
  */
2676
- databasesRead: Metric[];
2677
- /**
2678
- * Aggregated stats for documents updated.
2679
- */
2680
- databasesUpdate: Metric[];
2681
- /**
2682
- * Aggregated stats for total number of collections.
2683
- */
2684
- databasesDelete: Metric[];
2685
- /**
2686
- * Aggregated stats for documents created.
2687
- */
2688
- documentsCreate: Metric[];
2689
- /**
2690
- * Aggregated stats for documents read.
2691
- */
2692
- documentsRead: Metric[];
2693
- /**
2694
- * Aggregated stats for documents updated.
2695
- */
2696
- documentsUpdate: Metric[];
2697
- /**
2698
- * Aggregated stats for documents deleted.
2699
- */
2700
- documentsDelete: Metric[];
2701
- /**
2702
- * Aggregated stats for collections created.
2703
- */
2704
- collectionsCreate: Metric[];
2705
- /**
2706
- * Aggregated stats for collections read.
2707
- */
2708
- collectionsRead: Metric[];
2599
+ databases: Metric[];
2709
2600
  /**
2710
- * Aggregated stats for collections updated.
2601
+ * Aggregated number of collections per period.
2711
2602
  */
2712
- collectionsUpdate: Metric[];
2603
+ collections: Metric[];
2713
2604
  /**
2714
- * Aggregated stats for collections delete.
2605
+ * Aggregated number of documents per period.
2715
2606
  */
2716
- collectionsDelete: Metric[];
2607
+ documents: Metric[];
2717
2608
  }
2718
2609
  /**
2719
2610
  * UsageDatabase
2720
2611
  */
2721
2612
  export type UsageDatabase = {
2722
2613
  /**
2723
- * The time range of the usage stats.
2614
+ * Time range of the usage stats.
2724
2615
  */
2725
2616
  range: string;
2726
2617
  /**
2727
- * Aggregated stats for total number of documents.
2728
- */
2729
- documentsCount: Metric[];
2730
- /**
2731
- * Aggregated stats for total number of collections.
2732
- */
2733
- collectionsCount: Metric[];
2734
- /**
2735
- * Aggregated stats for documents created.
2736
- */
2737
- documentsCreate: Metric[];
2738
- /**
2739
- * Aggregated stats for documents read.
2740
- */
2741
- documentsRead: Metric[];
2742
- /**
2743
- * Aggregated stats for documents updated.
2744
- */
2745
- documentsUpdate: Metric[];
2746
- /**
2747
- * Aggregated stats for documents deleted.
2618
+ * Total aggregated number of collections.
2748
2619
  */
2749
- documentsDelete: Metric[];
2620
+ collectionsTotal: number;
2750
2621
  /**
2751
- * Aggregated stats for collections created.
2622
+ * Total aggregated number of documents.
2752
2623
  */
2753
- collectionsCreate: Metric[];
2624
+ documentsTotal: number;
2754
2625
  /**
2755
- * Aggregated stats for collections read.
2626
+ * Aggregated number of collections per period.
2756
2627
  */
2757
- collectionsRead: Metric[];
2628
+ collections: Metric[];
2758
2629
  /**
2759
- * Aggregated stats for collections updated.
2630
+ * Aggregated number of documents per period.
2760
2631
  */
2761
- collectionsUpdate: Metric[];
2762
- /**
2763
- * Aggregated stats for collections delete.
2764
- */
2765
- collectionsDelete: Metric[];
2632
+ documents: Metric[];
2766
2633
  }
2767
2634
  /**
2768
2635
  * UsageCollection
2769
2636
  */
2770
2637
  export type UsageCollection = {
2771
2638
  /**
2772
- * The time range of the usage stats.
2639
+ * Time range of the usage stats.
2773
2640
  */
2774
2641
  range: string;
2775
2642
  /**
2776
- * Aggregated stats for total number of documents.
2777
- */
2778
- documentsCount: Metric[];
2779
- /**
2780
- * Aggregated stats for documents created.
2643
+ * Total aggregated number of of documents.
2781
2644
  */
2782
- documentsCreate: Metric[];
2645
+ documentsTotal: number;
2783
2646
  /**
2784
- * Aggregated stats for documents read.
2647
+ * Aggregated number of documents per period.
2785
2648
  */
2786
- documentsRead: Metric[];
2787
- /**
2788
- * Aggregated stats for documents updated.
2789
- */
2790
- documentsUpdate: Metric[];
2791
- /**
2792
- * Aggregated stats for documents deleted.
2793
- */
2794
- documentsDelete: Metric[];
2649
+ documents: Metric[];
2795
2650
  }
2796
2651
  /**
2797
2652
  * UsageUsers
2798
2653
  */
2799
2654
  export type UsageUsers = {
2800
2655
  /**
2801
- * The time range of the usage stats.
2656
+ * Time range of the usage stats.
2802
2657
  */
2803
2658
  range: string;
2804
2659
  /**
2805
- * Aggregated stats for total number of users.
2660
+ * Total aggregated number of statistics of users.
2806
2661
  */
2807
- usersCount: Metric[];
2662
+ usersTotal: number;
2808
2663
  /**
2809
- * Aggregated stats for users created.
2664
+ * Total aggregated number of active sessions.
2810
2665
  */
2811
- usersCreate: Metric[];
2666
+ sessionsTotal: number;
2812
2667
  /**
2813
- * Aggregated stats for users read.
2668
+ * Aggregated number of users per period.
2814
2669
  */
2815
- usersRead: Metric[];
2816
- /**
2817
- * Aggregated stats for users updated.
2818
- */
2819
- usersUpdate: Metric[];
2820
- /**
2821
- * Aggregated stats for users deleted.
2822
- */
2823
- usersDelete: Metric[];
2824
- /**
2825
- * Aggregated stats for sessions created.
2826
- */
2827
- sessionsCreate: Metric[];
2828
- /**
2829
- * Aggregated stats for sessions created for a provider ( email, anonymous or oauth2 ).
2830
- */
2831
- sessionsProviderCreate: Metric[];
2670
+ users: Metric[];
2832
2671
  /**
2833
- * Aggregated stats for sessions deleted.
2672
+ * Aggregated number of active sessions per period.
2834
2673
  */
2835
- sessionsDelete: Metric[];
2674
+ sessions: Metric[];
2836
2675
  }
2837
2676
  /**
2838
2677
  * StorageUsage
2839
2678
  */
2840
2679
  export type UsageStorage = {
2841
2680
  /**
2842
- * The time range of the usage stats.
2681
+ * Time range of the usage stats.
2843
2682
  */
2844
2683
  range: string;
2845
2684
  /**
2846
- * Aggregated stats for the occupied storage size (in bytes).
2685
+ * Total aggregated number of buckets
2847
2686
  */
2848
- storage: Metric[];
2687
+ bucketsTotal: number;
2849
2688
  /**
2850
- * Aggregated stats for total number of files.
2689
+ * Total aggregated number of files.
2851
2690
  */
2852
- filesCount: Metric[];
2691
+ filesTotal: number;
2853
2692
  /**
2854
- * Aggregated stats for total number of buckets.
2693
+ * Total aggregated number of files storage (in bytes).
2855
2694
  */
2856
- bucketsCount: Metric[];
2695
+ filesStorageTotal: number;
2857
2696
  /**
2858
- * Aggregated stats for buckets created.
2697
+ * Aggregated number of buckets per period.
2859
2698
  */
2860
- bucketsCreate: Metric[];
2699
+ buckets: Metric[];
2861
2700
  /**
2862
- * Aggregated stats for buckets read.
2701
+ * Aggregated number of files per period.
2863
2702
  */
2864
- bucketsRead: Metric[];
2703
+ files: Metric[];
2865
2704
  /**
2866
- * Aggregated stats for buckets updated.
2705
+ * Aggregated number of files storage (in bytes) per period .
2867
2706
  */
2868
- bucketsUpdate: Metric[];
2707
+ storage: Metric[];
2708
+ }
2709
+ /**
2710
+ * UsageBuckets
2711
+ */
2712
+ export type UsageBuckets = {
2869
2713
  /**
2870
- * Aggregated stats for buckets deleted.
2714
+ * Time range of the usage stats.
2871
2715
  */
2872
- bucketsDelete: Metric[];
2716
+ range: string;
2873
2717
  /**
2874
- * Aggregated stats for files created.
2718
+ * Total aggregated number of bucket files.
2875
2719
  */
2876
- filesCreate: Metric[];
2720
+ filesTotal: number;
2877
2721
  /**
2878
- * Aggregated stats for files read.
2722
+ * Total aggregated number of bucket files storage (in bytes).
2879
2723
  */
2880
- filesRead: Metric[];
2724
+ filesStorageTotal: number;
2881
2725
  /**
2882
- * Aggregated stats for files updated.
2726
+ * Aggregated number of bucket files per period.
2883
2727
  */
2884
- filesUpdate: Metric[];
2728
+ files: Metric[];
2885
2729
  /**
2886
- * Aggregated stats for files deleted.
2730
+ * Aggregated number of bucket storage files (in bytes) per period.
2887
2731
  */
2888
- filesDelete: Metric[];
2732
+ storage: Metric[];
2889
2733
  }
2890
2734
  /**
2891
- * UsageBuckets
2735
+ * UsageFunctions
2892
2736
  */
2893
- export type UsageBuckets = {
2737
+ export type UsageFunctions = {
2894
2738
  /**
2895
- * The time range of the usage stats.
2739
+ * Time range of the usage stats.
2896
2740
  */
2897
2741
  range: string;
2898
2742
  /**
2899
- * Aggregated stats for total number of files in this bucket.
2743
+ * Total aggregated number of functions.
2900
2744
  */
2901
- filesCount: Metric[];
2745
+ functionsTotal: number;
2902
2746
  /**
2903
- * Aggregated stats for total storage of files in this bucket.
2747
+ * Total aggregated number of functions deployments.
2904
2748
  */
2905
- filesStorage: Metric[];
2749
+ deploymentsTotal: number;
2906
2750
  /**
2907
- * Aggregated stats for files created.
2751
+ * Total aggregated sum of functions deployment storage.
2908
2752
  */
2909
- filesCreate: Metric[];
2753
+ deploymentsStorageTotal: number;
2910
2754
  /**
2911
- * Aggregated stats for files read.
2755
+ * Total aggregated number of functions build.
2912
2756
  */
2913
- filesRead: Metric[];
2757
+ buildsTotal: number;
2914
2758
  /**
2915
- * Aggregated stats for files updated.
2759
+ * total aggregated sum of functions build storage.
2916
2760
  */
2917
- filesUpdate: Metric[];
2761
+ buildsStorageTotal: number;
2918
2762
  /**
2919
- * Aggregated stats for files deleted.
2763
+ * Total aggregated sum of functions build compute time.
2920
2764
  */
2921
- filesDelete: Metric[];
2922
- }
2923
- /**
2924
- * UsageFunctions
2925
- */
2926
- export type UsageFunctions = {
2765
+ buildsTimeTotal: number;
2927
2766
  /**
2928
- * The time range of the usage stats.
2767
+ * Total aggregated number of functions execution.
2929
2768
  */
2930
- range: string;
2769
+ executionsTotal: number;
2931
2770
  /**
2932
- * Aggregated stats for number of function executions.
2771
+ * Total aggregated sum of functions execution compute time.
2933
2772
  */
2934
- executionsTotal: Metric[];
2773
+ executionsTimeTotal: number;
2935
2774
  /**
2936
- * Aggregated stats for function execution failures.
2775
+ * Aggregated number of functions per period.
2937
2776
  */
2938
- executionsFailure: Metric[];
2777
+ functions: Metric[];
2939
2778
  /**
2940
- * Aggregated stats for function execution successes.
2779
+ * Aggregated number of functions deployment per period.
2941
2780
  */
2942
- executionsSuccess: Metric[];
2781
+ deployments: Metric[];
2943
2782
  /**
2944
- * Aggregated stats for function execution duration.
2783
+ * Aggregated number of functions deployment storage per period.
2945
2784
  */
2946
- executionsTime: Metric[];
2785
+ deploymentsStorage: Metric[];
2947
2786
  /**
2948
- * Aggregated stats for number of function builds.
2787
+ * Aggregated number of functions build per period.
2949
2788
  */
2950
- buildsTotal: Metric[];
2789
+ builds: Metric[];
2951
2790
  /**
2952
- * Aggregated stats for function build failures.
2791
+ * Aggregated sum of functions build storage per period.
2953
2792
  */
2954
- buildsFailure: Metric[];
2793
+ buildsStorage: Metric[];
2955
2794
  /**
2956
- * Aggregated stats for function build successes.
2795
+ * Aggregated sum of functions build compute time per period.
2957
2796
  */
2958
- buildsSuccess: Metric[];
2797
+ buildsTime: Metric[];
2959
2798
  /**
2960
- * Aggregated stats for function build duration.
2799
+ * Aggregated number of functions execution per period.
2961
2800
  */
2962
- buildsTime: Metric[];
2801
+ executions: Metric[];
2802
+ /**
2803
+ * Aggregated number of functions execution compute time per period.
2804
+ */
2805
+ executionsTime: Metric[];
2963
2806
  }
2964
2807
  /**
2965
2808
  * UsageProject
2966
2809
  */
2967
2810
  export type UsageProject = {
2968
2811
  /**
2969
- * The time range of the usage stats.
2970
- */
2971
- range: string;
2972
- /**
2973
- * Aggregated stats for number of requests.
2812
+ * Total aggregated number of function executions.
2974
2813
  */
2975
- requests: Metric[];
2814
+ executionsTotal: number;
2976
2815
  /**
2977
- * Aggregated stats for consumed bandwidth.
2816
+ * Total aggregated number of documents.
2978
2817
  */
2979
- network: Metric[];
2818
+ documentsTotal: number;
2980
2819
  /**
2981
- * Aggregated stats for function executions.
2820
+ * Total aggregated number of databases.
2982
2821
  */
2983
- executions: Metric[];
2822
+ databasesTotal: number;
2984
2823
  /**
2985
- * Aggregated stats for number of documents.
2824
+ * Total aggregated number of users.
2986
2825
  */
2987
- documents: Metric[];
2826
+ usersTotal: number;
2988
2827
  /**
2989
- * Aggregated stats for number of databases.
2828
+ * Total aggregated sum of files storage size (in bytes).
2990
2829
  */
2991
- databases: Metric[];
2830
+ filesStorageTotal: number;
2992
2831
  /**
2993
- * Aggregated stats for number of users.
2832
+ * Total aggregated number of buckets.
2994
2833
  */
2995
- users: Metric[];
2834
+ bucketsTotal: number;
2996
2835
  /**
2997
- * Aggregated stats for the occupied storage size (in bytes).
2836
+ * Aggregated number of requests per period.
2998
2837
  */
2999
- storage: Metric[];
2838
+ requests: string[];
3000
2839
  /**
3001
- * Aggregated stats for number of buckets.
2840
+ * Aggregated number of consumed bandwidth per period.
3002
2841
  */
3003
- buckets: Metric[];
2842
+ network: string[];
3004
2843
  }
3005
2844
  /**
3006
2845
  * Headers
@@ -3182,7 +3021,7 @@ export namespace Models {
3182
3021
  /**
3183
3022
  * All errors that occurred during the migration process.
3184
3023
  */
3185
- errors: string;
3024
+ errors: string[];
3186
3025
  }
3187
3026
  /**
3188
3027
  * Migration Report
package/src/query.ts CHANGED
@@ -28,7 +28,7 @@ export class Query {
28
28
  `isNotNull("${attribute}")`;
29
29
 
30
30
  static between = (attribute: string, start: string|number, end: string|number): string =>
31
- `between("${attribute}", [${Query.parseValues(start)},${Query.parseValues(end)}])`;
31
+ `between("${attribute}", ${Query.parseValues(start)}, ${Query.parseValues(end)})`;
32
32
 
33
33
  static startsWith = (attribute: string, value: string): string =>
34
34
  Query.addQuery(attribute, "startsWith", value);