@appwrite.io/console 5.0.0 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +2 -2
  3. package/dist/cjs/sdk.js +517 -286
  4. package/dist/cjs/sdk.js.map +1 -1
  5. package/dist/esm/sdk.js +517 -287
  6. package/dist/esm/sdk.js.map +1 -1
  7. package/dist/iife/sdk.js +518 -287
  8. package/docs/examples/domains/{confirm-purchase.md → update-purchase.md} +1 -1
  9. package/docs/examples/domains/{confirm-transfer-in.md → update-transfer-in.md} +1 -1
  10. package/docs/examples/{projects/update-webhook.md → webhooks/create.md} +5 -6
  11. package/docs/examples/{projects/get-webhook.md → webhooks/delete.md} +3 -4
  12. package/docs/examples/{projects/delete-webhook.md → webhooks/get.md} +3 -4
  13. package/docs/examples/{projects/list-webhooks.md → webhooks/list.md} +4 -4
  14. package/docs/examples/{projects/update-webhook-signature.md → webhooks/update-signature.md} +3 -4
  15. package/docs/examples/{projects/create-webhook.md → webhooks/update.md} +6 -6
  16. package/package.json +1 -1
  17. package/src/client.ts +2 -2
  18. package/src/enums/build-runtime.ts +86 -3
  19. package/src/enums/domain-purchase-status.ts +6 -0
  20. package/src/enums/{domain-transfer-status-status.ts → domain-transfer-status-enum.ts} +1 -1
  21. package/src/enums/runtime.ts +86 -3
  22. package/src/enums/runtimes.ts +86 -3
  23. package/src/enums/scopes.ts +2 -0
  24. package/src/index.ts +4 -3
  25. package/src/models.ts +60 -18
  26. package/src/services/domains.ts +30 -30
  27. package/src/services/projects.ts +0 -473
  28. package/src/services/webhooks.ts +451 -0
  29. package/types/enums/build-runtime.d.ts +87 -4
  30. package/types/enums/domain-purchase-status.d.ts +6 -0
  31. package/types/enums/{domain-transfer-status-status.d.ts → domain-transfer-status-enum.d.ts} +1 -1
  32. package/types/enums/runtime.d.ts +87 -4
  33. package/types/enums/runtimes.d.ts +87 -4
  34. package/types/enums/scopes.d.ts +2 -0
  35. package/types/index.d.ts +4 -3
  36. package/types/models.d.ts +59 -18
  37. package/types/services/domains.d.ts +22 -22
  38. package/types/services/projects.d.ts +0 -171
  39. package/types/services/webhooks.d.ts +165 -0
  40. package/src/enums/domain-purchase-payment-status.ts +0 -10
  41. package/types/enums/domain-purchase-payment-status.d.ts +0 -10
package/dist/cjs/sdk.js CHANGED
@@ -574,8 +574,8 @@ class Client {
574
574
  'x-sdk-name': 'Console',
575
575
  'x-sdk-platform': 'console',
576
576
  'x-sdk-language': 'web',
577
- 'x-sdk-version': '5.0.0',
578
- 'X-Appwrite-Response-Format': '1.8.0',
577
+ 'x-sdk-version': '7.0.0',
578
+ 'X-Appwrite-Response-Format': '1.9.0',
579
579
  };
580
580
  this.realtime = {
581
581
  socket: undefined,
@@ -7867,7 +7867,7 @@ class Domains {
7867
7867
  };
7868
7868
  return this.client.call('post', uri, apiHeaders, payload);
7869
7869
  }
7870
- confirmPurchase(paramsOrFirst, ...rest) {
7870
+ updatePurchase(paramsOrFirst, ...rest) {
7871
7871
  let params;
7872
7872
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
7873
7873
  params = (paramsOrFirst || {});
@@ -7886,7 +7886,7 @@ class Domains {
7886
7886
  if (typeof organizationId === 'undefined') {
7887
7887
  throw new AppwriteException('Missing required parameter: "organizationId"');
7888
7888
  }
7889
- const apiPath = '/domains/purchases/{domainId}/confirm'.replace('{domainId}', domainId);
7889
+ const apiPath = '/domains/purchases/{domainId}'.replace('{domainId}', domainId);
7890
7890
  const payload = {};
7891
7891
  if (typeof organizationId !== 'undefined') {
7892
7892
  payload['organizationId'] = organizationId;
@@ -7895,7 +7895,7 @@ class Domains {
7895
7895
  const apiHeaders = {
7896
7896
  'content-type': 'application/json',
7897
7897
  };
7898
- return this.client.call('post', uri, apiHeaders, payload);
7898
+ return this.client.call('patch', uri, apiHeaders, payload);
7899
7899
  }
7900
7900
  listSuggestions(paramsOrFirst, ...rest) {
7901
7901
  let params;
@@ -7994,7 +7994,7 @@ class Domains {
7994
7994
  };
7995
7995
  return this.client.call('post', uri, apiHeaders, payload);
7996
7996
  }
7997
- confirmTransferIn(paramsOrFirst, ...rest) {
7997
+ updateTransferIn(paramsOrFirst, ...rest) {
7998
7998
  let params;
7999
7999
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
8000
8000
  params = (paramsOrFirst || {});
@@ -8013,7 +8013,7 @@ class Domains {
8013
8013
  if (typeof organizationId === 'undefined') {
8014
8014
  throw new AppwriteException('Missing required parameter: "organizationId"');
8015
8015
  }
8016
- const apiPath = '/domains/transfers/in/{domainId}/confirm'.replace('{domainId}', domainId);
8016
+ const apiPath = '/domains/transfers/in/{domainId}'.replace('{domainId}', domainId);
8017
8017
  const payload = {};
8018
8018
  if (typeof organizationId !== 'undefined') {
8019
8019
  payload['organizationId'] = organizationId;
@@ -8022,7 +8022,7 @@ class Domains {
8022
8022
  const apiHeaders = {
8023
8023
  'content-type': 'application/json',
8024
8024
  };
8025
- return this.client.call('post', uri, apiHeaders, payload);
8025
+ return this.client.call('patch', uri, apiHeaders, payload);
8026
8026
  }
8027
8027
  createTransferOut(paramsOrFirst, ...rest) {
8028
8028
  let params;
@@ -18712,253 +18712,6 @@ class Projects {
18712
18712
  };
18713
18713
  return this.client.call('delete', uri, apiHeaders, payload);
18714
18714
  }
18715
- listWebhooks(paramsOrFirst, ...rest) {
18716
- let params;
18717
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
18718
- params = (paramsOrFirst || {});
18719
- }
18720
- else {
18721
- params = {
18722
- projectId: paramsOrFirst,
18723
- total: rest[0]
18724
- };
18725
- }
18726
- const projectId = params.projectId;
18727
- const total = params.total;
18728
- if (typeof projectId === 'undefined') {
18729
- throw new AppwriteException('Missing required parameter: "projectId"');
18730
- }
18731
- const apiPath = '/projects/{projectId}/webhooks'.replace('{projectId}', projectId);
18732
- const payload = {};
18733
- if (typeof total !== 'undefined') {
18734
- payload['total'] = total;
18735
- }
18736
- const uri = new URL(this.client.config.endpoint + apiPath);
18737
- const apiHeaders = {};
18738
- return this.client.call('get', uri, apiHeaders, payload);
18739
- }
18740
- createWebhook(paramsOrFirst, ...rest) {
18741
- let params;
18742
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
18743
- params = (paramsOrFirst || {});
18744
- }
18745
- else {
18746
- params = {
18747
- projectId: paramsOrFirst,
18748
- name: rest[0],
18749
- events: rest[1],
18750
- url: rest[2],
18751
- security: rest[3],
18752
- enabled: rest[4],
18753
- httpUser: rest[5],
18754
- httpPass: rest[6]
18755
- };
18756
- }
18757
- const projectId = params.projectId;
18758
- const name = params.name;
18759
- const events = params.events;
18760
- const url = params.url;
18761
- const security = params.security;
18762
- const enabled = params.enabled;
18763
- const httpUser = params.httpUser;
18764
- const httpPass = params.httpPass;
18765
- if (typeof projectId === 'undefined') {
18766
- throw new AppwriteException('Missing required parameter: "projectId"');
18767
- }
18768
- if (typeof name === 'undefined') {
18769
- throw new AppwriteException('Missing required parameter: "name"');
18770
- }
18771
- if (typeof events === 'undefined') {
18772
- throw new AppwriteException('Missing required parameter: "events"');
18773
- }
18774
- if (typeof url === 'undefined') {
18775
- throw new AppwriteException('Missing required parameter: "url"');
18776
- }
18777
- if (typeof security === 'undefined') {
18778
- throw new AppwriteException('Missing required parameter: "security"');
18779
- }
18780
- const apiPath = '/projects/{projectId}/webhooks'.replace('{projectId}', projectId);
18781
- const payload = {};
18782
- if (typeof name !== 'undefined') {
18783
- payload['name'] = name;
18784
- }
18785
- if (typeof enabled !== 'undefined') {
18786
- payload['enabled'] = enabled;
18787
- }
18788
- if (typeof events !== 'undefined') {
18789
- payload['events'] = events;
18790
- }
18791
- if (typeof url !== 'undefined') {
18792
- payload['url'] = url;
18793
- }
18794
- if (typeof security !== 'undefined') {
18795
- payload['security'] = security;
18796
- }
18797
- if (typeof httpUser !== 'undefined') {
18798
- payload['httpUser'] = httpUser;
18799
- }
18800
- if (typeof httpPass !== 'undefined') {
18801
- payload['httpPass'] = httpPass;
18802
- }
18803
- const uri = new URL(this.client.config.endpoint + apiPath);
18804
- const apiHeaders = {
18805
- 'content-type': 'application/json',
18806
- };
18807
- return this.client.call('post', uri, apiHeaders, payload);
18808
- }
18809
- getWebhook(paramsOrFirst, ...rest) {
18810
- let params;
18811
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
18812
- params = (paramsOrFirst || {});
18813
- }
18814
- else {
18815
- params = {
18816
- projectId: paramsOrFirst,
18817
- webhookId: rest[0]
18818
- };
18819
- }
18820
- const projectId = params.projectId;
18821
- const webhookId = params.webhookId;
18822
- if (typeof projectId === 'undefined') {
18823
- throw new AppwriteException('Missing required parameter: "projectId"');
18824
- }
18825
- if (typeof webhookId === 'undefined') {
18826
- throw new AppwriteException('Missing required parameter: "webhookId"');
18827
- }
18828
- const apiPath = '/projects/{projectId}/webhooks/{webhookId}'.replace('{projectId}', projectId).replace('{webhookId}', webhookId);
18829
- const payload = {};
18830
- const uri = new URL(this.client.config.endpoint + apiPath);
18831
- const apiHeaders = {};
18832
- return this.client.call('get', uri, apiHeaders, payload);
18833
- }
18834
- updateWebhook(paramsOrFirst, ...rest) {
18835
- let params;
18836
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
18837
- params = (paramsOrFirst || {});
18838
- }
18839
- else {
18840
- params = {
18841
- projectId: paramsOrFirst,
18842
- webhookId: rest[0],
18843
- name: rest[1],
18844
- events: rest[2],
18845
- url: rest[3],
18846
- security: rest[4],
18847
- enabled: rest[5],
18848
- httpUser: rest[6],
18849
- httpPass: rest[7]
18850
- };
18851
- }
18852
- const projectId = params.projectId;
18853
- const webhookId = params.webhookId;
18854
- const name = params.name;
18855
- const events = params.events;
18856
- const url = params.url;
18857
- const security = params.security;
18858
- const enabled = params.enabled;
18859
- const httpUser = params.httpUser;
18860
- const httpPass = params.httpPass;
18861
- if (typeof projectId === 'undefined') {
18862
- throw new AppwriteException('Missing required parameter: "projectId"');
18863
- }
18864
- if (typeof webhookId === 'undefined') {
18865
- throw new AppwriteException('Missing required parameter: "webhookId"');
18866
- }
18867
- if (typeof name === 'undefined') {
18868
- throw new AppwriteException('Missing required parameter: "name"');
18869
- }
18870
- if (typeof events === 'undefined') {
18871
- throw new AppwriteException('Missing required parameter: "events"');
18872
- }
18873
- if (typeof url === 'undefined') {
18874
- throw new AppwriteException('Missing required parameter: "url"');
18875
- }
18876
- if (typeof security === 'undefined') {
18877
- throw new AppwriteException('Missing required parameter: "security"');
18878
- }
18879
- const apiPath = '/projects/{projectId}/webhooks/{webhookId}'.replace('{projectId}', projectId).replace('{webhookId}', webhookId);
18880
- const payload = {};
18881
- if (typeof name !== 'undefined') {
18882
- payload['name'] = name;
18883
- }
18884
- if (typeof enabled !== 'undefined') {
18885
- payload['enabled'] = enabled;
18886
- }
18887
- if (typeof events !== 'undefined') {
18888
- payload['events'] = events;
18889
- }
18890
- if (typeof url !== 'undefined') {
18891
- payload['url'] = url;
18892
- }
18893
- if (typeof security !== 'undefined') {
18894
- payload['security'] = security;
18895
- }
18896
- if (typeof httpUser !== 'undefined') {
18897
- payload['httpUser'] = httpUser;
18898
- }
18899
- if (typeof httpPass !== 'undefined') {
18900
- payload['httpPass'] = httpPass;
18901
- }
18902
- const uri = new URL(this.client.config.endpoint + apiPath);
18903
- const apiHeaders = {
18904
- 'content-type': 'application/json',
18905
- };
18906
- return this.client.call('put', uri, apiHeaders, payload);
18907
- }
18908
- deleteWebhook(paramsOrFirst, ...rest) {
18909
- let params;
18910
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
18911
- params = (paramsOrFirst || {});
18912
- }
18913
- else {
18914
- params = {
18915
- projectId: paramsOrFirst,
18916
- webhookId: rest[0]
18917
- };
18918
- }
18919
- const projectId = params.projectId;
18920
- const webhookId = params.webhookId;
18921
- if (typeof projectId === 'undefined') {
18922
- throw new AppwriteException('Missing required parameter: "projectId"');
18923
- }
18924
- if (typeof webhookId === 'undefined') {
18925
- throw new AppwriteException('Missing required parameter: "webhookId"');
18926
- }
18927
- const apiPath = '/projects/{projectId}/webhooks/{webhookId}'.replace('{projectId}', projectId).replace('{webhookId}', webhookId);
18928
- const payload = {};
18929
- const uri = new URL(this.client.config.endpoint + apiPath);
18930
- const apiHeaders = {
18931
- 'content-type': 'application/json',
18932
- };
18933
- return this.client.call('delete', uri, apiHeaders, payload);
18934
- }
18935
- updateWebhookSignature(paramsOrFirst, ...rest) {
18936
- let params;
18937
- if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
18938
- params = (paramsOrFirst || {});
18939
- }
18940
- else {
18941
- params = {
18942
- projectId: paramsOrFirst,
18943
- webhookId: rest[0]
18944
- };
18945
- }
18946
- const projectId = params.projectId;
18947
- const webhookId = params.webhookId;
18948
- if (typeof projectId === 'undefined') {
18949
- throw new AppwriteException('Missing required parameter: "projectId"');
18950
- }
18951
- if (typeof webhookId === 'undefined') {
18952
- throw new AppwriteException('Missing required parameter: "webhookId"');
18953
- }
18954
- const apiPath = '/projects/{projectId}/webhooks/{webhookId}/signature'.replace('{projectId}', projectId).replace('{webhookId}', webhookId);
18955
- const payload = {};
18956
- const uri = new URL(this.client.config.endpoint + apiPath);
18957
- const apiHeaders = {
18958
- 'content-type': 'application/json',
18959
- };
18960
- return this.client.call('patch', uri, apiHeaders, payload);
18961
- }
18962
18715
  }
18963
18716
 
18964
18717
  class Proxy {
@@ -26664,6 +26417,236 @@ class Vcs {
26664
26417
  }
26665
26418
  }
26666
26419
 
26420
+ class Webhooks {
26421
+ constructor(client) {
26422
+ this.client = client;
26423
+ }
26424
+ list(paramsOrFirst, ...rest) {
26425
+ let params;
26426
+ if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
26427
+ params = (paramsOrFirst || {});
26428
+ }
26429
+ else {
26430
+ params = {
26431
+ queries: paramsOrFirst,
26432
+ total: rest[0]
26433
+ };
26434
+ }
26435
+ const queries = params.queries;
26436
+ const total = params.total;
26437
+ const apiPath = '/webhooks';
26438
+ const payload = {};
26439
+ if (typeof queries !== 'undefined') {
26440
+ payload['queries'] = queries;
26441
+ }
26442
+ if (typeof total !== 'undefined') {
26443
+ payload['total'] = total;
26444
+ }
26445
+ const uri = new URL(this.client.config.endpoint + apiPath);
26446
+ const apiHeaders = {};
26447
+ return this.client.call('get', uri, apiHeaders, payload);
26448
+ }
26449
+ create(paramsOrFirst, ...rest) {
26450
+ let params;
26451
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
26452
+ params = (paramsOrFirst || {});
26453
+ }
26454
+ else {
26455
+ params = {
26456
+ webhookId: paramsOrFirst,
26457
+ url: rest[0],
26458
+ name: rest[1],
26459
+ events: rest[2],
26460
+ enabled: rest[3],
26461
+ security: rest[4],
26462
+ httpUser: rest[5],
26463
+ httpPass: rest[6]
26464
+ };
26465
+ }
26466
+ const webhookId = params.webhookId;
26467
+ const url = params.url;
26468
+ const name = params.name;
26469
+ const events = params.events;
26470
+ const enabled = params.enabled;
26471
+ const security = params.security;
26472
+ const httpUser = params.httpUser;
26473
+ const httpPass = params.httpPass;
26474
+ if (typeof webhookId === 'undefined') {
26475
+ throw new AppwriteException('Missing required parameter: "webhookId"');
26476
+ }
26477
+ if (typeof url === 'undefined') {
26478
+ throw new AppwriteException('Missing required parameter: "url"');
26479
+ }
26480
+ if (typeof name === 'undefined') {
26481
+ throw new AppwriteException('Missing required parameter: "name"');
26482
+ }
26483
+ if (typeof events === 'undefined') {
26484
+ throw new AppwriteException('Missing required parameter: "events"');
26485
+ }
26486
+ const apiPath = '/webhooks';
26487
+ const payload = {};
26488
+ if (typeof webhookId !== 'undefined') {
26489
+ payload['webhookId'] = webhookId;
26490
+ }
26491
+ if (typeof url !== 'undefined') {
26492
+ payload['url'] = url;
26493
+ }
26494
+ if (typeof name !== 'undefined') {
26495
+ payload['name'] = name;
26496
+ }
26497
+ if (typeof events !== 'undefined') {
26498
+ payload['events'] = events;
26499
+ }
26500
+ if (typeof enabled !== 'undefined') {
26501
+ payload['enabled'] = enabled;
26502
+ }
26503
+ if (typeof security !== 'undefined') {
26504
+ payload['security'] = security;
26505
+ }
26506
+ if (typeof httpUser !== 'undefined') {
26507
+ payload['httpUser'] = httpUser;
26508
+ }
26509
+ if (typeof httpPass !== 'undefined') {
26510
+ payload['httpPass'] = httpPass;
26511
+ }
26512
+ const uri = new URL(this.client.config.endpoint + apiPath);
26513
+ const apiHeaders = {
26514
+ 'content-type': 'application/json',
26515
+ };
26516
+ return this.client.call('post', uri, apiHeaders, payload);
26517
+ }
26518
+ get(paramsOrFirst) {
26519
+ let params;
26520
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
26521
+ params = (paramsOrFirst || {});
26522
+ }
26523
+ else {
26524
+ params = {
26525
+ webhookId: paramsOrFirst
26526
+ };
26527
+ }
26528
+ const webhookId = params.webhookId;
26529
+ if (typeof webhookId === 'undefined') {
26530
+ throw new AppwriteException('Missing required parameter: "webhookId"');
26531
+ }
26532
+ const apiPath = '/webhooks/{webhookId}'.replace('{webhookId}', webhookId);
26533
+ const payload = {};
26534
+ const uri = new URL(this.client.config.endpoint + apiPath);
26535
+ const apiHeaders = {};
26536
+ return this.client.call('get', uri, apiHeaders, payload);
26537
+ }
26538
+ update(paramsOrFirst, ...rest) {
26539
+ let params;
26540
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
26541
+ params = (paramsOrFirst || {});
26542
+ }
26543
+ else {
26544
+ params = {
26545
+ webhookId: paramsOrFirst,
26546
+ name: rest[0],
26547
+ url: rest[1],
26548
+ events: rest[2],
26549
+ enabled: rest[3],
26550
+ security: rest[4],
26551
+ httpUser: rest[5],
26552
+ httpPass: rest[6]
26553
+ };
26554
+ }
26555
+ const webhookId = params.webhookId;
26556
+ const name = params.name;
26557
+ const url = params.url;
26558
+ const events = params.events;
26559
+ const enabled = params.enabled;
26560
+ const security = params.security;
26561
+ const httpUser = params.httpUser;
26562
+ const httpPass = params.httpPass;
26563
+ if (typeof webhookId === 'undefined') {
26564
+ throw new AppwriteException('Missing required parameter: "webhookId"');
26565
+ }
26566
+ if (typeof name === 'undefined') {
26567
+ throw new AppwriteException('Missing required parameter: "name"');
26568
+ }
26569
+ if (typeof url === 'undefined') {
26570
+ throw new AppwriteException('Missing required parameter: "url"');
26571
+ }
26572
+ if (typeof events === 'undefined') {
26573
+ throw new AppwriteException('Missing required parameter: "events"');
26574
+ }
26575
+ const apiPath = '/webhooks/{webhookId}'.replace('{webhookId}', webhookId);
26576
+ const payload = {};
26577
+ if (typeof name !== 'undefined') {
26578
+ payload['name'] = name;
26579
+ }
26580
+ if (typeof url !== 'undefined') {
26581
+ payload['url'] = url;
26582
+ }
26583
+ if (typeof events !== 'undefined') {
26584
+ payload['events'] = events;
26585
+ }
26586
+ if (typeof enabled !== 'undefined') {
26587
+ payload['enabled'] = enabled;
26588
+ }
26589
+ if (typeof security !== 'undefined') {
26590
+ payload['security'] = security;
26591
+ }
26592
+ if (typeof httpUser !== 'undefined') {
26593
+ payload['httpUser'] = httpUser;
26594
+ }
26595
+ if (typeof httpPass !== 'undefined') {
26596
+ payload['httpPass'] = httpPass;
26597
+ }
26598
+ const uri = new URL(this.client.config.endpoint + apiPath);
26599
+ const apiHeaders = {
26600
+ 'content-type': 'application/json',
26601
+ };
26602
+ return this.client.call('put', uri, apiHeaders, payload);
26603
+ }
26604
+ delete(paramsOrFirst) {
26605
+ let params;
26606
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
26607
+ params = (paramsOrFirst || {});
26608
+ }
26609
+ else {
26610
+ params = {
26611
+ webhookId: paramsOrFirst
26612
+ };
26613
+ }
26614
+ const webhookId = params.webhookId;
26615
+ if (typeof webhookId === 'undefined') {
26616
+ throw new AppwriteException('Missing required parameter: "webhookId"');
26617
+ }
26618
+ const apiPath = '/webhooks/{webhookId}'.replace('{webhookId}', webhookId);
26619
+ const payload = {};
26620
+ const uri = new URL(this.client.config.endpoint + apiPath);
26621
+ const apiHeaders = {
26622
+ 'content-type': 'application/json',
26623
+ };
26624
+ return this.client.call('delete', uri, apiHeaders, payload);
26625
+ }
26626
+ updateSignature(paramsOrFirst) {
26627
+ let params;
26628
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
26629
+ params = (paramsOrFirst || {});
26630
+ }
26631
+ else {
26632
+ params = {
26633
+ webhookId: paramsOrFirst
26634
+ };
26635
+ }
26636
+ const webhookId = params.webhookId;
26637
+ if (typeof webhookId === 'undefined') {
26638
+ throw new AppwriteException('Missing required parameter: "webhookId"');
26639
+ }
26640
+ const apiPath = '/webhooks/{webhookId}/signature'.replace('{webhookId}', webhookId);
26641
+ const payload = {};
26642
+ const uri = new URL(this.client.config.endpoint + apiPath);
26643
+ const apiHeaders = {
26644
+ 'content-type': 'application/json',
26645
+ };
26646
+ return this.client.call('patch', uri, apiHeaders, payload);
26647
+ }
26648
+ }
26649
+
26667
26650
  var RealtimeCode;
26668
26651
  (function (RealtimeCode) {
26669
26652
  RealtimeCode[RealtimeCode["NORMAL_CLOSURE"] = 1000] = "NORMAL_CLOSURE";
@@ -27683,6 +27666,8 @@ exports.Scopes = void 0;
27683
27666
  Scopes["AssistantRead"] = "assistant.read";
27684
27667
  Scopes["TokensRead"] = "tokens.read";
27685
27668
  Scopes["TokensWrite"] = "tokens.write";
27669
+ Scopes["WebhooksRead"] = "webhooks.read";
27670
+ Scopes["WebhooksWrite"] = "webhooks.write";
27686
27671
  Scopes["PoliciesWrite"] = "policies.write";
27687
27672
  Scopes["PoliciesRead"] = "policies.read";
27688
27673
  Scopes["ArchivesRead"] = "archives.read";
@@ -28553,9 +28538,6 @@ exports.Runtime = void 0;
28553
28538
  Runtime["Pythonml311"] = "python-ml-3.11";
28554
28539
  Runtime["Pythonml312"] = "python-ml-3.12";
28555
28540
  Runtime["Pythonml313"] = "python-ml-3.13";
28556
- Runtime["Deno121"] = "deno-1.21";
28557
- Runtime["Deno124"] = "deno-1.24";
28558
- Runtime["Deno135"] = "deno-1.35";
28559
28541
  Runtime["Deno140"] = "deno-1.40";
28560
28542
  Runtime["Deno146"] = "deno-1.46";
28561
28543
  Runtime["Deno20"] = "deno-2.0";
@@ -28611,6 +28593,92 @@ exports.Runtime = void 0;
28611
28593
  Runtime["Flutter332"] = "flutter-3.32";
28612
28594
  Runtime["Flutter335"] = "flutter-3.35";
28613
28595
  Runtime["Flutter338"] = "flutter-3.38";
28596
+ Runtime["Node145rc"] = "node-14.5-rc";
28597
+ Runtime["Node160rc"] = "node-16.0-rc";
28598
+ Runtime["Node180rc"] = "node-18.0-rc";
28599
+ Runtime["Node190rc"] = "node-19.0-rc";
28600
+ Runtime["Node200rc"] = "node-20.0-rc";
28601
+ Runtime["Node210rc"] = "node-21.0-rc";
28602
+ Runtime["Node22rc"] = "node-22-rc";
28603
+ Runtime["Node23rc"] = "node-23-rc";
28604
+ Runtime["Node24rc"] = "node-24-rc";
28605
+ Runtime["Node25rc"] = "node-25-rc";
28606
+ Runtime["Php80rc"] = "php-8.0-rc";
28607
+ Runtime["Php81rc"] = "php-8.1-rc";
28608
+ Runtime["Php82rc"] = "php-8.2-rc";
28609
+ Runtime["Php83rc"] = "php-8.3-rc";
28610
+ Runtime["Php84rc"] = "php-8.4-rc";
28611
+ Runtime["Ruby30rc"] = "ruby-3.0-rc";
28612
+ Runtime["Ruby31rc"] = "ruby-3.1-rc";
28613
+ Runtime["Ruby32rc"] = "ruby-3.2-rc";
28614
+ Runtime["Ruby33rc"] = "ruby-3.3-rc";
28615
+ Runtime["Ruby34rc"] = "ruby-3.4-rc";
28616
+ Runtime["Ruby40rc"] = "ruby-4.0-rc";
28617
+ Runtime["Python38rc"] = "python-3.8-rc";
28618
+ Runtime["Python39rc"] = "python-3.9-rc";
28619
+ Runtime["Python310rc"] = "python-3.10-rc";
28620
+ Runtime["Python311rc"] = "python-3.11-rc";
28621
+ Runtime["Python312rc"] = "python-3.12-rc";
28622
+ Runtime["Python313rc"] = "python-3.13-rc";
28623
+ Runtime["Python314rc"] = "python-3.14-rc";
28624
+ Runtime["Pythonml311rc"] = "python-ml-3.11-rc";
28625
+ Runtime["Pythonml312rc"] = "python-ml-3.12-rc";
28626
+ Runtime["Pythonml313rc"] = "python-ml-3.13-rc";
28627
+ Runtime["Deno140rc"] = "deno-1.40-rc";
28628
+ Runtime["Deno146rc"] = "deno-1.46-rc";
28629
+ Runtime["Deno20rc"] = "deno-2.0-rc";
28630
+ Runtime["Deno25rc"] = "deno-2.5-rc";
28631
+ Runtime["Deno26rc"] = "deno-2.6-rc";
28632
+ Runtime["Dart215rc"] = "dart-2.15-rc";
28633
+ Runtime["Dart216rc"] = "dart-2.16-rc";
28634
+ Runtime["Dart217rc"] = "dart-2.17-rc";
28635
+ Runtime["Dart218rc"] = "dart-2.18-rc";
28636
+ Runtime["Dart219rc"] = "dart-2.19-rc";
28637
+ Runtime["Dart30rc"] = "dart-3.0-rc";
28638
+ Runtime["Dart31rc"] = "dart-3.1-rc";
28639
+ Runtime["Dart33rc"] = "dart-3.3-rc";
28640
+ Runtime["Dart35rc"] = "dart-3.5-rc";
28641
+ Runtime["Dart38rc"] = "dart-3.8-rc";
28642
+ Runtime["Dart39rc"] = "dart-3.9-rc";
28643
+ Runtime["Dart310rc"] = "dart-3.10-rc";
28644
+ Runtime["Dotnet60rc"] = "dotnet-6.0-rc";
28645
+ Runtime["Dotnet70rc"] = "dotnet-7.0-rc";
28646
+ Runtime["Dotnet80rc"] = "dotnet-8.0-rc";
28647
+ Runtime["Dotnet10rc"] = "dotnet-10-rc";
28648
+ Runtime["Java80rc"] = "java-8.0-rc";
28649
+ Runtime["Java110rc"] = "java-11.0-rc";
28650
+ Runtime["Java170rc"] = "java-17.0-rc";
28651
+ Runtime["Java180rc"] = "java-18.0-rc";
28652
+ Runtime["Java210rc"] = "java-21.0-rc";
28653
+ Runtime["Java22rc"] = "java-22-rc";
28654
+ Runtime["Java25rc"] = "java-25-rc";
28655
+ Runtime["Swift55rc"] = "swift-5.5-rc";
28656
+ Runtime["Swift58rc"] = "swift-5.8-rc";
28657
+ Runtime["Swift59rc"] = "swift-5.9-rc";
28658
+ Runtime["Swift510rc"] = "swift-5.10-rc";
28659
+ Runtime["Swift62rc"] = "swift-6.2-rc";
28660
+ Runtime["Kotlin16rc"] = "kotlin-1.6-rc";
28661
+ Runtime["Kotlin18rc"] = "kotlin-1.8-rc";
28662
+ Runtime["Kotlin19rc"] = "kotlin-1.9-rc";
28663
+ Runtime["Kotlin20rc"] = "kotlin-2.0-rc";
28664
+ Runtime["Kotlin23rc"] = "kotlin-2.3-rc";
28665
+ Runtime["Cpp17rc"] = "cpp-17-rc";
28666
+ Runtime["Cpp20rc"] = "cpp-20-rc";
28667
+ Runtime["Bun10rc"] = "bun-1.0-rc";
28668
+ Runtime["Bun11rc"] = "bun-1.1-rc";
28669
+ Runtime["Bun12rc"] = "bun-1.2-rc";
28670
+ Runtime["Bun13rc"] = "bun-1.3-rc";
28671
+ Runtime["Go123rc"] = "go-1.23-rc";
28672
+ Runtime["Go124rc"] = "go-1.24-rc";
28673
+ Runtime["Go125rc"] = "go-1.25-rc";
28674
+ Runtime["Go126rc"] = "go-1.26-rc";
28675
+ Runtime["Static1rc"] = "static-1-rc";
28676
+ Runtime["Flutter324rc"] = "flutter-3.24-rc";
28677
+ Runtime["Flutter327rc"] = "flutter-3.27-rc";
28678
+ Runtime["Flutter329rc"] = "flutter-3.29-rc";
28679
+ Runtime["Flutter332rc"] = "flutter-3.32-rc";
28680
+ Runtime["Flutter335rc"] = "flutter-3.35-rc";
28681
+ Runtime["Flutter338rc"] = "flutter-3.38-rc";
28614
28682
  })(exports.Runtime || (exports.Runtime = {}));
28615
28683
 
28616
28684
  exports.Runtimes = void 0;
@@ -28646,9 +28714,6 @@ exports.Runtimes = void 0;
28646
28714
  Runtimes["Pythonml311"] = "python-ml-3.11";
28647
28715
  Runtimes["Pythonml312"] = "python-ml-3.12";
28648
28716
  Runtimes["Pythonml313"] = "python-ml-3.13";
28649
- Runtimes["Deno121"] = "deno-1.21";
28650
- Runtimes["Deno124"] = "deno-1.24";
28651
- Runtimes["Deno135"] = "deno-1.35";
28652
28717
  Runtimes["Deno140"] = "deno-1.40";
28653
28718
  Runtimes["Deno146"] = "deno-1.46";
28654
28719
  Runtimes["Deno20"] = "deno-2.0";
@@ -28704,6 +28769,92 @@ exports.Runtimes = void 0;
28704
28769
  Runtimes["Flutter332"] = "flutter-3.32";
28705
28770
  Runtimes["Flutter335"] = "flutter-3.35";
28706
28771
  Runtimes["Flutter338"] = "flutter-3.38";
28772
+ Runtimes["Node145rc"] = "node-14.5-rc";
28773
+ Runtimes["Node160rc"] = "node-16.0-rc";
28774
+ Runtimes["Node180rc"] = "node-18.0-rc";
28775
+ Runtimes["Node190rc"] = "node-19.0-rc";
28776
+ Runtimes["Node200rc"] = "node-20.0-rc";
28777
+ Runtimes["Node210rc"] = "node-21.0-rc";
28778
+ Runtimes["Node22rc"] = "node-22-rc";
28779
+ Runtimes["Node23rc"] = "node-23-rc";
28780
+ Runtimes["Node24rc"] = "node-24-rc";
28781
+ Runtimes["Node25rc"] = "node-25-rc";
28782
+ Runtimes["Php80rc"] = "php-8.0-rc";
28783
+ Runtimes["Php81rc"] = "php-8.1-rc";
28784
+ Runtimes["Php82rc"] = "php-8.2-rc";
28785
+ Runtimes["Php83rc"] = "php-8.3-rc";
28786
+ Runtimes["Php84rc"] = "php-8.4-rc";
28787
+ Runtimes["Ruby30rc"] = "ruby-3.0-rc";
28788
+ Runtimes["Ruby31rc"] = "ruby-3.1-rc";
28789
+ Runtimes["Ruby32rc"] = "ruby-3.2-rc";
28790
+ Runtimes["Ruby33rc"] = "ruby-3.3-rc";
28791
+ Runtimes["Ruby34rc"] = "ruby-3.4-rc";
28792
+ Runtimes["Ruby40rc"] = "ruby-4.0-rc";
28793
+ Runtimes["Python38rc"] = "python-3.8-rc";
28794
+ Runtimes["Python39rc"] = "python-3.9-rc";
28795
+ Runtimes["Python310rc"] = "python-3.10-rc";
28796
+ Runtimes["Python311rc"] = "python-3.11-rc";
28797
+ Runtimes["Python312rc"] = "python-3.12-rc";
28798
+ Runtimes["Python313rc"] = "python-3.13-rc";
28799
+ Runtimes["Python314rc"] = "python-3.14-rc";
28800
+ Runtimes["Pythonml311rc"] = "python-ml-3.11-rc";
28801
+ Runtimes["Pythonml312rc"] = "python-ml-3.12-rc";
28802
+ Runtimes["Pythonml313rc"] = "python-ml-3.13-rc";
28803
+ Runtimes["Deno140rc"] = "deno-1.40-rc";
28804
+ Runtimes["Deno146rc"] = "deno-1.46-rc";
28805
+ Runtimes["Deno20rc"] = "deno-2.0-rc";
28806
+ Runtimes["Deno25rc"] = "deno-2.5-rc";
28807
+ Runtimes["Deno26rc"] = "deno-2.6-rc";
28808
+ Runtimes["Dart215rc"] = "dart-2.15-rc";
28809
+ Runtimes["Dart216rc"] = "dart-2.16-rc";
28810
+ Runtimes["Dart217rc"] = "dart-2.17-rc";
28811
+ Runtimes["Dart218rc"] = "dart-2.18-rc";
28812
+ Runtimes["Dart219rc"] = "dart-2.19-rc";
28813
+ Runtimes["Dart30rc"] = "dart-3.0-rc";
28814
+ Runtimes["Dart31rc"] = "dart-3.1-rc";
28815
+ Runtimes["Dart33rc"] = "dart-3.3-rc";
28816
+ Runtimes["Dart35rc"] = "dart-3.5-rc";
28817
+ Runtimes["Dart38rc"] = "dart-3.8-rc";
28818
+ Runtimes["Dart39rc"] = "dart-3.9-rc";
28819
+ Runtimes["Dart310rc"] = "dart-3.10-rc";
28820
+ Runtimes["Dotnet60rc"] = "dotnet-6.0-rc";
28821
+ Runtimes["Dotnet70rc"] = "dotnet-7.0-rc";
28822
+ Runtimes["Dotnet80rc"] = "dotnet-8.0-rc";
28823
+ Runtimes["Dotnet10rc"] = "dotnet-10-rc";
28824
+ Runtimes["Java80rc"] = "java-8.0-rc";
28825
+ Runtimes["Java110rc"] = "java-11.0-rc";
28826
+ Runtimes["Java170rc"] = "java-17.0-rc";
28827
+ Runtimes["Java180rc"] = "java-18.0-rc";
28828
+ Runtimes["Java210rc"] = "java-21.0-rc";
28829
+ Runtimes["Java22rc"] = "java-22-rc";
28830
+ Runtimes["Java25rc"] = "java-25-rc";
28831
+ Runtimes["Swift55rc"] = "swift-5.5-rc";
28832
+ Runtimes["Swift58rc"] = "swift-5.8-rc";
28833
+ Runtimes["Swift59rc"] = "swift-5.9-rc";
28834
+ Runtimes["Swift510rc"] = "swift-5.10-rc";
28835
+ Runtimes["Swift62rc"] = "swift-6.2-rc";
28836
+ Runtimes["Kotlin16rc"] = "kotlin-1.6-rc";
28837
+ Runtimes["Kotlin18rc"] = "kotlin-1.8-rc";
28838
+ Runtimes["Kotlin19rc"] = "kotlin-1.9-rc";
28839
+ Runtimes["Kotlin20rc"] = "kotlin-2.0-rc";
28840
+ Runtimes["Kotlin23rc"] = "kotlin-2.3-rc";
28841
+ Runtimes["Cpp17rc"] = "cpp-17-rc";
28842
+ Runtimes["Cpp20rc"] = "cpp-20-rc";
28843
+ Runtimes["Bun10rc"] = "bun-1.0-rc";
28844
+ Runtimes["Bun11rc"] = "bun-1.1-rc";
28845
+ Runtimes["Bun12rc"] = "bun-1.2-rc";
28846
+ Runtimes["Bun13rc"] = "bun-1.3-rc";
28847
+ Runtimes["Go123rc"] = "go-1.23-rc";
28848
+ Runtimes["Go124rc"] = "go-1.24-rc";
28849
+ Runtimes["Go125rc"] = "go-1.25-rc";
28850
+ Runtimes["Go126rc"] = "go-1.26-rc";
28851
+ Runtimes["Static1rc"] = "static-1-rc";
28852
+ Runtimes["Flutter324rc"] = "flutter-3.24-rc";
28853
+ Runtimes["Flutter327rc"] = "flutter-3.27-rc";
28854
+ Runtimes["Flutter329rc"] = "flutter-3.29-rc";
28855
+ Runtimes["Flutter332rc"] = "flutter-3.32-rc";
28856
+ Runtimes["Flutter335rc"] = "flutter-3.35-rc";
28857
+ Runtimes["Flutter338rc"] = "flutter-3.38-rc";
28707
28858
  })(exports.Runtimes || (exports.Runtimes = {}));
28708
28859
 
28709
28860
  exports.UseCases = void 0;
@@ -29295,9 +29446,6 @@ exports.BuildRuntime = void 0;
29295
29446
  BuildRuntime["Pythonml311"] = "python-ml-3.11";
29296
29447
  BuildRuntime["Pythonml312"] = "python-ml-3.12";
29297
29448
  BuildRuntime["Pythonml313"] = "python-ml-3.13";
29298
- BuildRuntime["Deno121"] = "deno-1.21";
29299
- BuildRuntime["Deno124"] = "deno-1.24";
29300
- BuildRuntime["Deno135"] = "deno-1.35";
29301
29449
  BuildRuntime["Deno140"] = "deno-1.40";
29302
29450
  BuildRuntime["Deno146"] = "deno-1.46";
29303
29451
  BuildRuntime["Deno20"] = "deno-2.0";
@@ -29353,6 +29501,92 @@ exports.BuildRuntime = void 0;
29353
29501
  BuildRuntime["Flutter332"] = "flutter-3.32";
29354
29502
  BuildRuntime["Flutter335"] = "flutter-3.35";
29355
29503
  BuildRuntime["Flutter338"] = "flutter-3.38";
29504
+ BuildRuntime["Node145rc"] = "node-14.5-rc";
29505
+ BuildRuntime["Node160rc"] = "node-16.0-rc";
29506
+ BuildRuntime["Node180rc"] = "node-18.0-rc";
29507
+ BuildRuntime["Node190rc"] = "node-19.0-rc";
29508
+ BuildRuntime["Node200rc"] = "node-20.0-rc";
29509
+ BuildRuntime["Node210rc"] = "node-21.0-rc";
29510
+ BuildRuntime["Node22rc"] = "node-22-rc";
29511
+ BuildRuntime["Node23rc"] = "node-23-rc";
29512
+ BuildRuntime["Node24rc"] = "node-24-rc";
29513
+ BuildRuntime["Node25rc"] = "node-25-rc";
29514
+ BuildRuntime["Php80rc"] = "php-8.0-rc";
29515
+ BuildRuntime["Php81rc"] = "php-8.1-rc";
29516
+ BuildRuntime["Php82rc"] = "php-8.2-rc";
29517
+ BuildRuntime["Php83rc"] = "php-8.3-rc";
29518
+ BuildRuntime["Php84rc"] = "php-8.4-rc";
29519
+ BuildRuntime["Ruby30rc"] = "ruby-3.0-rc";
29520
+ BuildRuntime["Ruby31rc"] = "ruby-3.1-rc";
29521
+ BuildRuntime["Ruby32rc"] = "ruby-3.2-rc";
29522
+ BuildRuntime["Ruby33rc"] = "ruby-3.3-rc";
29523
+ BuildRuntime["Ruby34rc"] = "ruby-3.4-rc";
29524
+ BuildRuntime["Ruby40rc"] = "ruby-4.0-rc";
29525
+ BuildRuntime["Python38rc"] = "python-3.8-rc";
29526
+ BuildRuntime["Python39rc"] = "python-3.9-rc";
29527
+ BuildRuntime["Python310rc"] = "python-3.10-rc";
29528
+ BuildRuntime["Python311rc"] = "python-3.11-rc";
29529
+ BuildRuntime["Python312rc"] = "python-3.12-rc";
29530
+ BuildRuntime["Python313rc"] = "python-3.13-rc";
29531
+ BuildRuntime["Python314rc"] = "python-3.14-rc";
29532
+ BuildRuntime["Pythonml311rc"] = "python-ml-3.11-rc";
29533
+ BuildRuntime["Pythonml312rc"] = "python-ml-3.12-rc";
29534
+ BuildRuntime["Pythonml313rc"] = "python-ml-3.13-rc";
29535
+ BuildRuntime["Deno140rc"] = "deno-1.40-rc";
29536
+ BuildRuntime["Deno146rc"] = "deno-1.46-rc";
29537
+ BuildRuntime["Deno20rc"] = "deno-2.0-rc";
29538
+ BuildRuntime["Deno25rc"] = "deno-2.5-rc";
29539
+ BuildRuntime["Deno26rc"] = "deno-2.6-rc";
29540
+ BuildRuntime["Dart215rc"] = "dart-2.15-rc";
29541
+ BuildRuntime["Dart216rc"] = "dart-2.16-rc";
29542
+ BuildRuntime["Dart217rc"] = "dart-2.17-rc";
29543
+ BuildRuntime["Dart218rc"] = "dart-2.18-rc";
29544
+ BuildRuntime["Dart219rc"] = "dart-2.19-rc";
29545
+ BuildRuntime["Dart30rc"] = "dart-3.0-rc";
29546
+ BuildRuntime["Dart31rc"] = "dart-3.1-rc";
29547
+ BuildRuntime["Dart33rc"] = "dart-3.3-rc";
29548
+ BuildRuntime["Dart35rc"] = "dart-3.5-rc";
29549
+ BuildRuntime["Dart38rc"] = "dart-3.8-rc";
29550
+ BuildRuntime["Dart39rc"] = "dart-3.9-rc";
29551
+ BuildRuntime["Dart310rc"] = "dart-3.10-rc";
29552
+ BuildRuntime["Dotnet60rc"] = "dotnet-6.0-rc";
29553
+ BuildRuntime["Dotnet70rc"] = "dotnet-7.0-rc";
29554
+ BuildRuntime["Dotnet80rc"] = "dotnet-8.0-rc";
29555
+ BuildRuntime["Dotnet10rc"] = "dotnet-10-rc";
29556
+ BuildRuntime["Java80rc"] = "java-8.0-rc";
29557
+ BuildRuntime["Java110rc"] = "java-11.0-rc";
29558
+ BuildRuntime["Java170rc"] = "java-17.0-rc";
29559
+ BuildRuntime["Java180rc"] = "java-18.0-rc";
29560
+ BuildRuntime["Java210rc"] = "java-21.0-rc";
29561
+ BuildRuntime["Java22rc"] = "java-22-rc";
29562
+ BuildRuntime["Java25rc"] = "java-25-rc";
29563
+ BuildRuntime["Swift55rc"] = "swift-5.5-rc";
29564
+ BuildRuntime["Swift58rc"] = "swift-5.8-rc";
29565
+ BuildRuntime["Swift59rc"] = "swift-5.9-rc";
29566
+ BuildRuntime["Swift510rc"] = "swift-5.10-rc";
29567
+ BuildRuntime["Swift62rc"] = "swift-6.2-rc";
29568
+ BuildRuntime["Kotlin16rc"] = "kotlin-1.6-rc";
29569
+ BuildRuntime["Kotlin18rc"] = "kotlin-1.8-rc";
29570
+ BuildRuntime["Kotlin19rc"] = "kotlin-1.9-rc";
29571
+ BuildRuntime["Kotlin20rc"] = "kotlin-2.0-rc";
29572
+ BuildRuntime["Kotlin23rc"] = "kotlin-2.3-rc";
29573
+ BuildRuntime["Cpp17rc"] = "cpp-17-rc";
29574
+ BuildRuntime["Cpp20rc"] = "cpp-20-rc";
29575
+ BuildRuntime["Bun10rc"] = "bun-1.0-rc";
29576
+ BuildRuntime["Bun11rc"] = "bun-1.1-rc";
29577
+ BuildRuntime["Bun12rc"] = "bun-1.2-rc";
29578
+ BuildRuntime["Bun13rc"] = "bun-1.3-rc";
29579
+ BuildRuntime["Go123rc"] = "go-1.23-rc";
29580
+ BuildRuntime["Go124rc"] = "go-1.24-rc";
29581
+ BuildRuntime["Go125rc"] = "go-1.25-rc";
29582
+ BuildRuntime["Go126rc"] = "go-1.26-rc";
29583
+ BuildRuntime["Static1rc"] = "static-1-rc";
29584
+ BuildRuntime["Flutter324rc"] = "flutter-3.24-rc";
29585
+ BuildRuntime["Flutter327rc"] = "flutter-3.27-rc";
29586
+ BuildRuntime["Flutter329rc"] = "flutter-3.29-rc";
29587
+ BuildRuntime["Flutter332rc"] = "flutter-3.32-rc";
29588
+ BuildRuntime["Flutter335rc"] = "flutter-3.35-rc";
29589
+ BuildRuntime["Flutter338rc"] = "flutter-3.38-rc";
29356
29590
  })(exports.BuildRuntime || (exports.BuildRuntime = {}));
29357
29591
 
29358
29592
  exports.Adapter = void 0;
@@ -29530,29 +29764,25 @@ exports.BillingPlanGroup = void 0;
29530
29764
  BillingPlanGroup["Scale"] = "scale";
29531
29765
  })(exports.BillingPlanGroup || (exports.BillingPlanGroup = {}));
29532
29766
 
29533
- exports.DomainPurchasePaymentStatus = void 0;
29534
- (function (DomainPurchasePaymentStatus) {
29535
- DomainPurchasePaymentStatus["Pending"] = "pending";
29536
- DomainPurchasePaymentStatus["PendingConfirmation"] = "pending_confirmation";
29537
- DomainPurchasePaymentStatus["PendingPaymentProcessing"] = "pending_payment_processing";
29538
- DomainPurchasePaymentStatus["Authorized"] = "authorized";
29539
- DomainPurchasePaymentStatus["Captured"] = "captured";
29540
- DomainPurchasePaymentStatus["Failed"] = "failed";
29541
- DomainPurchasePaymentStatus["CaptureFailed"] = "capture_failed";
29542
- DomainPurchasePaymentStatus["RenewalCaptureFailed"] = "renewal_capture_failed";
29543
- })(exports.DomainPurchasePaymentStatus || (exports.DomainPurchasePaymentStatus = {}));
29767
+ exports.DomainTransferStatusEnum = void 0;
29768
+ (function (DomainTransferStatusEnum) {
29769
+ DomainTransferStatusEnum["Transferrable"] = "transferrable";
29770
+ DomainTransferStatusEnum["NotTransferrable"] = "not_transferrable";
29771
+ DomainTransferStatusEnum["PendingOwner"] = "pending_owner";
29772
+ DomainTransferStatusEnum["PendingAdmin"] = "pending_admin";
29773
+ DomainTransferStatusEnum["PendingRegistry"] = "pending_registry";
29774
+ DomainTransferStatusEnum["Completed"] = "completed";
29775
+ DomainTransferStatusEnum["Cancelled"] = "cancelled";
29776
+ DomainTransferStatusEnum["ServiceUnavailable"] = "service_unavailable";
29777
+ })(exports.DomainTransferStatusEnum || (exports.DomainTransferStatusEnum = {}));
29544
29778
 
29545
- exports.DomainTransferStatusStatus = void 0;
29546
- (function (DomainTransferStatusStatus) {
29547
- DomainTransferStatusStatus["Transferrable"] = "transferrable";
29548
- DomainTransferStatusStatus["NotTransferrable"] = "not_transferrable";
29549
- DomainTransferStatusStatus["PendingOwner"] = "pending_owner";
29550
- DomainTransferStatusStatus["PendingAdmin"] = "pending_admin";
29551
- DomainTransferStatusStatus["PendingRegistry"] = "pending_registry";
29552
- DomainTransferStatusStatus["Completed"] = "completed";
29553
- DomainTransferStatusStatus["Cancelled"] = "cancelled";
29554
- DomainTransferStatusStatus["ServiceUnavailable"] = "service_unavailable";
29555
- })(exports.DomainTransferStatusStatus || (exports.DomainTransferStatusStatus = {}));
29779
+ exports.DomainPurchaseStatus = void 0;
29780
+ (function (DomainPurchaseStatus) {
29781
+ DomainPurchaseStatus["Pending"] = "pending";
29782
+ DomainPurchaseStatus["Succeeded"] = "succeeded";
29783
+ DomainPurchaseStatus["Failed"] = "failed";
29784
+ DomainPurchaseStatus["Cancelled"] = "cancelled";
29785
+ })(exports.DomainPurchaseStatus || (exports.DomainPurchaseStatus = {}));
29556
29786
 
29557
29787
  exports.Account = Account;
29558
29788
  exports.Activities = Activities;
@@ -29588,4 +29818,5 @@ exports.Teams = Teams;
29588
29818
  exports.Tokens = Tokens;
29589
29819
  exports.Users = Users;
29590
29820
  exports.Vcs = Vcs;
29821
+ exports.Webhooks = Webhooks;
29591
29822
  //# sourceMappingURL=sdk.js.map