@@ -287,19 +287,6 @@ declare module "node-appwrite" {
287
287
variables : Variable [ ] ;
288
288
}
289
289
/**
290
- * Rule List
291
- */
292
- export type ProxyRuleList = {
293
- /**
294
- * Total number of rules documents that matched your query.
295
- */
296
- total : number ;
297
- /**
298
- * List of rules.
299
- */
300
- rules : ProxyRule [ ] ;
301
- }
302
- /**
303
290
* Locale codes list
304
291
*/
305
292
export type LocaleCodeList = {
@@ -2009,47 +1996,6 @@ declare module "node-appwrite" {
2009
1996
*/
2010
1997
value : string ;
2011
1998
}
2012
- /**
2013
- * Rule
2014
- */
2015
- export type ProxyRule = {
2016
- /**
2017
- * Rule ID.
2018
- */
2019
- $id : string ;
2020
- /**
2021
- * Rule creation date in ISO 8601 format.
2022
- */
2023
- $createdAt : string ;
2024
- /**
2025
- * Rule update date in ISO 8601 format.
2026
- */
2027
- $updatedAt : string ;
2028
- /**
2029
- * Domain name.
2030
- */
2031
- domain : string ;
2032
- /**
2033
- * Action definition for the rule. Possible values are "api", "function", or "redirect"
2034
- */
2035
- resourceType : string ;
2036
- /**
2037
- * ID of resource for the action type. If resourceType is "api" or "url", it is empty. If resourceType is "function", it is ID of the function.
2038
- */
2039
- resourceId : string ;
2040
- /**
2041
- * Domain verification status. Possible values are "created", "verifying", "verified" and "unverified"
2042
- */
2043
- status : string ;
2044
- /**
2045
- * Certificate generation logs. This will return an empty string if generation did not run, or succeeded.
2046
- */
2047
- logs : string ;
2048
- /**
2049
- * Certificate auto-renewal date in ISO 8601 format.
2050
- */
2051
- renewAt : string ;
2052
- }
2053
1999
}
2054
2000
export class Client {
2055
2001
/**
@@ -3773,121 +3719,6 @@ declare module "node-appwrite" {
3773
3719
*/
3774
3720
listLanguages ( ) : Promise < Models . LanguageList > ;
3775
3721
}
3776
- export class Project extends Service {
3777
- constructor ( client : Client ) ;
3778
-
3779
- /**
3780
- * List Variables
3781
- *
3782
- * Get a list of all project variables. These variables will be accessible in
3783
- * all Appwrite Functions at runtime.
3784
- *
3785
- * @throws {AppwriteException }
3786
- * @returns {Promise }
3787
- */
3788
- listVariables ( ) : Promise < Models . VariableList > ;
3789
- /**
3790
- * Create Variable
3791
- *
3792
- * Create a new project variable. This variable will be accessible in all
3793
- * Appwrite Functions at runtime.
3794
- *
3795
- * @param {string } key
3796
- * @param {string } value
3797
- * @throws {AppwriteException }
3798
- * @returns {Promise }
3799
- */
3800
- createVariable ( key : string , value : string ) : Promise < Models . Variable > ;
3801
- /**
3802
- * Get Variable
3803
- *
3804
- * Get a project variable by its unique ID.
3805
- *
3806
- * @param {string } variableId
3807
- * @throws {AppwriteException }
3808
- * @returns {Promise }
3809
- */
3810
- getVariable ( variableId : string ) : Promise < Models . Variable > ;
3811
- /**
3812
- * Update Variable
3813
- *
3814
- * Update project variable by its unique ID. This variable will be accessible
3815
- * in all Appwrite Functions at runtime.
3816
- *
3817
- * @param {string } variableId
3818
- * @param {string } key
3819
- * @param {string } value
3820
- * @throws {AppwriteException }
3821
- * @returns {Promise }
3822
- */
3823
- updateVariable ( variableId : string , key : string , value ?: string ) : Promise < Models . Variable > ;
3824
- /**
3825
- * Delete Variable
3826
- *
3827
- * Delete a project variable by its unique ID.
3828
- *
3829
- * @param {string } variableId
3830
- * @throws {AppwriteException }
3831
- * @returns {Promise }
3832
- */
3833
- deleteVariable ( variableId : string ) : Promise < string > ;
3834
- }
3835
- export class Proxy extends Service {
3836
- constructor ( client : Client ) ;
3837
-
3838
- /**
3839
- * List Rules
3840
- *
3841
- * Get a list of all the proxy rules. You can use the query params to filter
3842
- * your results.
3843
- *
3844
- * @param {string[] } queries
3845
- * @param {string } search
3846
- * @throws {AppwriteException }
3847
- * @returns {Promise }
3848
- */
3849
- listRules ( queries ?: string [ ] , search ?: string ) : Promise < Models . ProxyRuleList > ;
3850
- /**
3851
- * Create Rule
3852
- *
3853
- * Create a new proxy rule.
3854
- *
3855
- * @param {string } domain
3856
- * @param {string } resourceType
3857
- * @param {string } resourceId
3858
- * @throws {AppwriteException }
3859
- * @returns {Promise }
3860
- */
3861
- createRule ( domain : string , resourceType : string , resourceId ?: string ) : Promise < Models . ProxyRule > ;
3862
- /**
3863
- * Get Rule
3864
- *
3865
- * Get a proxy rule by its unique ID.
3866
- *
3867
- * @param {string } ruleId
3868
- * @throws {AppwriteException }
3869
- * @returns {Promise }
3870
- */
3871
- getRule ( ruleId : string ) : Promise < Models . ProxyRule > ;
3872
- /**
3873
- * Delete Rule
3874
- *
3875
- * Delete a proxy rule by its unique ID.
3876
- *
3877
- * @param {string } ruleId
3878
- * @throws {AppwriteException }
3879
- * @returns {Promise }
3880
- */
3881
- deleteRule ( ruleId : string ) : Promise < string > ;
3882
- /**
3883
- * Update Rule Verification Status
3884
- *
3885
- * @param {string } ruleId
3886
- * @throws {AppwriteException }
3887
- * @returns {Promise }
3888
- */
3889
- updateRuleVerification ( ruleId : string ) : Promise < Models . ProxyRule > ;
3890
- }
3891
3722
export class Storage extends Service {
3892
3723
constructor ( client : Client ) ;
3893
3724
0 commit comments