@scaleway/sdk 2.61.0 → 2.62.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 (168) hide show
  1. package/dist/api/account/index.gen.d.ts +2 -2
  2. package/dist/api/account/v2/index.gen.d.ts +1 -1
  3. package/dist/api/account/v3/api.gen.cjs +106 -0
  4. package/dist/api/account/v3/api.gen.d.ts +53 -1
  5. package/dist/api/account/v3/api.gen.js +108 -2
  6. package/dist/api/account/v3/index.gen.cjs +1 -0
  7. package/dist/api/account/v3/index.gen.d.ts +3 -3
  8. package/dist/api/account/v3/index.gen.js +2 -1
  9. package/dist/api/account/v3/marshalling.gen.cjs +71 -0
  10. package/dist/api/account/v3/marshalling.gen.d.ts +6 -1
  11. package/dist/api/account/v3/marshalling.gen.js +71 -0
  12. package/dist/api/account/v3/types.gen.d.ts +81 -0
  13. package/dist/api/account/v3/validation-rules.gen.cjs +22 -0
  14. package/dist/api/account/v3/validation-rules.gen.d.ts +19 -0
  15. package/dist/api/account/v3/validation-rules.gen.js +22 -0
  16. package/dist/api/applesilicon/index.gen.d.ts +1 -1
  17. package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +2 -2
  18. package/dist/api/audit_trail/index.gen.d.ts +1 -1
  19. package/dist/api/audit_trail/v1alpha1/index.gen.d.ts +2 -2
  20. package/dist/api/baremetal/index.gen.d.ts +2 -2
  21. package/dist/api/baremetal/v1/api.utils.d.ts +2 -2
  22. package/dist/api/baremetal/v1/index.d.ts +4 -4
  23. package/dist/api/baremetal/v1/index.gen.d.ts +3 -3
  24. package/dist/api/baremetal/v3/index.gen.d.ts +2 -2
  25. package/dist/api/billing/index.gen.d.ts +2 -2
  26. package/dist/api/billing/v2alpha1/index.gen.d.ts +1 -1
  27. package/dist/api/billing/v2beta1/index.gen.d.ts +1 -1
  28. package/dist/api/block/index.gen.d.ts +1 -1
  29. package/dist/api/block/v1alpha1/index.gen.d.ts +3 -3
  30. package/dist/api/cockpit/index.gen.d.ts +2 -2
  31. package/dist/api/cockpit/v1/index.gen.d.ts +2 -2
  32. package/dist/api/cockpit/v1beta1/index.gen.d.ts +2 -2
  33. package/dist/api/container/index.gen.d.ts +1 -1
  34. package/dist/api/container/v1beta1/index.gen.d.ts +3 -3
  35. package/dist/api/dedibox/index.gen.d.ts +1 -1
  36. package/dist/api/dedibox/v1/index.gen.d.ts +3 -3
  37. package/dist/api/document_db/index.gen.d.ts +1 -1
  38. package/dist/api/document_db/v1beta1/index.gen.d.ts +3 -3
  39. package/dist/api/domain/index.gen.d.ts +1 -1
  40. package/dist/api/domain/v2beta1/index.gen.d.ts +2 -2
  41. package/dist/api/edge_services/index.gen.d.ts +1 -1
  42. package/dist/api/edge_services/v1alpha1/index.gen.d.ts +2 -2
  43. package/dist/api/flexibleip/index.gen.d.ts +1 -1
  44. package/dist/api/flexibleip/v1alpha1/index.gen.d.ts +3 -3
  45. package/dist/api/function/index.gen.d.ts +1 -1
  46. package/dist/api/function/v1beta1/index.gen.d.ts +3 -3
  47. package/dist/api/iam/index.gen.d.ts +1 -1
  48. package/dist/api/iam/v1alpha1/api.gen.cjs +46 -0
  49. package/dist/api/iam/v1alpha1/api.gen.d.ts +24 -1
  50. package/dist/api/iam/v1alpha1/api.gen.js +47 -1
  51. package/dist/api/iam/v1alpha1/index.gen.d.ts +3 -3
  52. package/dist/api/iam/v1alpha1/marshalling.gen.cjs +27 -2
  53. package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +4 -1
  54. package/dist/api/iam/v1alpha1/marshalling.gen.js +28 -3
  55. package/dist/api/iam/v1alpha1/types.gen.d.ts +21 -5
  56. package/dist/api/iam/v1alpha1/validation-rules.gen.cjs +6 -0
  57. package/dist/api/iam/v1alpha1/validation-rules.gen.d.ts +5 -0
  58. package/dist/api/iam/v1alpha1/validation-rules.gen.js +7 -1
  59. package/dist/api/index.d.ts +16 -16
  60. package/dist/api/index.gen.d.ts +41 -41
  61. package/dist/api/inference/index.gen.d.ts +1 -1
  62. package/dist/api/inference/v1beta1/index.gen.d.ts +3 -3
  63. package/dist/api/instance/index.gen.d.ts +1 -1
  64. package/dist/api/instance/v1/api.utils.d.ts +2 -2
  65. package/dist/api/instance/v1/index.d.ts +2 -2
  66. package/dist/api/instance/v1/index.gen.d.ts +2 -2
  67. package/dist/api/interlink/index.gen.d.ts +1 -1
  68. package/dist/api/interlink/v1beta1/index.gen.d.ts +2 -2
  69. package/dist/api/iot/index.gen.d.ts +1 -1
  70. package/dist/api/iot/v1/index.gen.d.ts +2 -2
  71. package/dist/api/ipam/index.gen.d.ts +1 -1
  72. package/dist/api/ipam/v1/index.gen.d.ts +2 -2
  73. package/dist/api/ipfs/index.gen.d.ts +1 -1
  74. package/dist/api/ipfs/v1alpha1/index.gen.d.ts +2 -2
  75. package/dist/api/jobs/index.gen.d.ts +1 -1
  76. package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -1
  77. package/dist/api/jobs/v1alpha1/api.gen.js +2 -1
  78. package/dist/api/jobs/v1alpha1/index.gen.d.ts +3 -3
  79. package/dist/api/jobs/v1alpha1/types.gen.d.ts +1 -0
  80. package/dist/api/k8s/index.gen.d.ts +1 -1
  81. package/dist/api/k8s/v1/api.utils.d.ts +1 -1
  82. package/dist/api/k8s/v1/index.d.ts +3 -3
  83. package/dist/api/k8s/v1/index.gen.d.ts +3 -3
  84. package/dist/api/key_manager/index.gen.d.ts +1 -1
  85. package/dist/api/key_manager/v1alpha1/index.gen.d.ts +1 -1
  86. package/dist/api/lb/index.gen.d.ts +1 -1
  87. package/dist/api/lb/v1/api.utils.d.ts +2 -2
  88. package/dist/api/lb/v1/index.d.ts +2 -2
  89. package/dist/api/lb/v1/index.gen.d.ts +2 -2
  90. package/dist/api/llm_inference/index.gen.d.ts +1 -1
  91. package/dist/api/llm_inference/v1beta1/index.gen.d.ts +3 -3
  92. package/dist/api/marketplace/index.gen.d.ts +1 -1
  93. package/dist/api/marketplace/v2/index.gen.d.ts +1 -1
  94. package/dist/api/mnq/index.gen.d.ts +1 -1
  95. package/dist/api/mnq/v1beta1/index.gen.d.ts +2 -2
  96. package/dist/api/mongodb/index.gen.d.ts +1 -1
  97. package/dist/api/mongodb/v1alpha1/index.gen.d.ts +3 -3
  98. package/dist/api/qaas/index.gen.d.ts +1 -1
  99. package/dist/api/qaas/v1alpha1/index.gen.d.ts +3 -3
  100. package/dist/api/rdb/index.gen.d.ts +1 -1
  101. package/dist/api/rdb/v1/index.gen.d.ts +3 -3
  102. package/dist/api/redis/index.gen.d.ts +1 -1
  103. package/dist/api/redis/v1/index.gen.d.ts +2 -2
  104. package/dist/api/registry/index.gen.d.ts +1 -1
  105. package/dist/api/registry/v1/index.gen.d.ts +2 -2
  106. package/dist/api/secret/index.gen.d.ts +2 -2
  107. package/dist/api/secret/v1alpha1/index.gen.d.ts +1 -1
  108. package/dist/api/secret/v1beta1/index.gen.d.ts +2 -2
  109. package/dist/api/serverless_sqldb/index.gen.d.ts +1 -1
  110. package/dist/api/serverless_sqldb/v1alpha1/index.gen.d.ts +3 -3
  111. package/dist/api/tem/index.gen.d.ts +1 -1
  112. package/dist/api/tem/v1alpha1/api.gen.cjs +54 -0
  113. package/dist/api/tem/v1alpha1/api.gen.d.ts +27 -1
  114. package/dist/api/tem/v1alpha1/api.gen.js +55 -1
  115. package/dist/api/tem/v1alpha1/index.gen.d.ts +4 -4
  116. package/dist/api/tem/v1alpha1/marshalling.gen.cjs +48 -0
  117. package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +4 -1
  118. package/dist/api/tem/v1alpha1/marshalling.gen.js +48 -0
  119. package/dist/api/tem/v1alpha1/types.gen.d.ts +84 -1
  120. package/dist/api/tem/v1alpha1/validation-rules.gen.cjs +16 -0
  121. package/dist/api/tem/v1alpha1/validation-rules.gen.d.ts +14 -0
  122. package/dist/api/tem/v1alpha1/validation-rules.gen.js +16 -0
  123. package/dist/api/test/index.gen.d.ts +1 -1
  124. package/dist/api/test/v1/index.gen.d.ts +2 -2
  125. package/dist/api/vpc/index.gen.d.ts +2 -2
  126. package/dist/api/vpc/v1/index.gen.d.ts +1 -1
  127. package/dist/api/vpc/v2/index.gen.d.ts +2 -2
  128. package/dist/api/vpcgw/index.gen.d.ts +2 -2
  129. package/dist/api/vpcgw/v1/index.gen.d.ts +2 -2
  130. package/dist/api/vpcgw/v2/index.gen.d.ts +2 -2
  131. package/dist/api/webhosting/index.gen.d.ts +2 -2
  132. package/dist/api/webhosting/v1/index.gen.d.ts +3 -3
  133. package/dist/api/webhosting/v1alpha1/index.gen.d.ts +3 -3
  134. package/dist/bridge.d.ts +10 -10
  135. package/dist/index.d.ts +11 -11
  136. package/dist/internal/logger/console-logger.d.ts +1 -1
  137. package/dist/internal/logger/index.d.ts +1 -1
  138. package/dist/internal/logger/logger.d.ts +1 -1
  139. package/dist/internals.d.ts +10 -10
  140. package/dist/scw/api.d.ts +1 -1
  141. package/dist/scw/auth.d.ts +1 -1
  142. package/dist/scw/client-ini-factory.d.ts +3 -3
  143. package/dist/scw/client-settings.d.ts +1 -1
  144. package/dist/scw/client.d.ts +3 -3
  145. package/dist/scw/constants.cjs +1 -1
  146. package/dist/scw/constants.d.ts +2 -2
  147. package/dist/scw/constants.js +1 -1
  148. package/dist/scw/custom-marshalling.d.ts +2 -2
  149. package/dist/scw/errors/error-parser.d.ts +2 -2
  150. package/dist/scw/errors/non-standard/invalid-request-mapper.d.ts +4 -4
  151. package/dist/scw/errors/non-standard/unknown-resource-mapper.d.ts +3 -3
  152. package/dist/scw/errors/scw-error-from-json.d.ts +2 -2
  153. package/dist/scw/errors/scw-error.d.ts +1 -1
  154. package/dist/scw/errors/standard/already-exists-error.d.ts +2 -2
  155. package/dist/scw/errors/standard/denied-authentication-error.d.ts +2 -2
  156. package/dist/scw/errors/standard/index.d.ts +17 -17
  157. package/dist/scw/errors/standard/invalid-arguments-error.d.ts +2 -2
  158. package/dist/scw/errors/standard/out-of-stock-error.d.ts +2 -2
  159. package/dist/scw/errors/standard/permissions-denied-error.d.ts +2 -2
  160. package/dist/scw/errors/standard/precondition-failed-error.d.ts +2 -2
  161. package/dist/scw/errors/standard/quotas-exceeded-error.d.ts +2 -2
  162. package/dist/scw/errors/standard/resource-expired-error.d.ts +2 -2
  163. package/dist/scw/errors/standard/resource-locked-error.d.ts +2 -2
  164. package/dist/scw/errors/standard/resource-not-found-error.d.ts +2 -2
  165. package/dist/scw/errors/standard/too-many-requests-error.d.ts +2 -2
  166. package/dist/scw/errors/standard/transient-state-error.d.ts +2 -2
  167. package/dist/scw/fetch/build-fetcher.d.ts +1 -1
  168. package/package.json +3 -3
@@ -1,11 +1,13 @@
1
1
  import type { Region } from '../../../bridge';
2
+ export type BlocklistType = 'unknown_type' | 'mailbox_full' | 'mailbox_not_found';
2
3
  export type DomainLastStatusAutoconfigStateReason = 'unknown_reason' | 'permission_denied' | 'domain_not_found';
3
4
  export type DomainLastStatusRecordStatus = 'unknown_record_status' | 'valid' | 'invalid' | 'not_found';
4
5
  export type DomainReputationStatus = 'unknown_status' | 'excellent' | 'good' | 'average' | 'bad';
5
6
  export type DomainStatus = 'unknown' | 'checked' | 'unchecked' | 'invalid' | 'locked' | 'revoked' | 'pending' | 'autoconfiguring';
6
- export type EmailFlag = 'unknown_flag' | 'soft_bounce' | 'hard_bounce' | 'spam' | 'mailbox_full' | 'mailbox_not_found' | 'greylisted' | 'send_before_expiration';
7
+ export type EmailFlag = 'unknown_flag' | 'soft_bounce' | 'hard_bounce' | 'spam' | 'mailbox_full' | 'mailbox_not_found' | 'greylisted' | 'send_before_expiration' | 'blocklisted';
7
8
  export type EmailRcptType = 'unknown_rcpt_type' | 'to' | 'cc' | 'bcc';
8
9
  export type EmailStatus = 'unknown' | 'new' | 'sending' | 'sent' | 'failed' | 'canceled';
10
+ export type ListBlocklistsRequestOrderBy = 'created_at_desc' | 'created_at_asc' | 'ends_at_desc' | 'ends_at_asc';
9
11
  export type ListEmailsRequestOrderBy = 'created_at_desc' | 'created_at_asc' | 'updated_at_desc' | 'updated_at_asc' | 'status_desc' | 'status_asc' | 'mail_from_desc' | 'mail_from_asc' | 'mail_rcpt_desc' | 'mail_rcpt_asc' | 'subject_desc' | 'subject_asc';
10
12
  export type ListWebhookEventsRequestOrderBy = 'created_at_desc' | 'created_at_asc';
11
13
  export type ListWebhooksRequestOrderBy = 'created_at_desc' | 'created_at_asc';
@@ -60,6 +62,29 @@ export interface DomainStatistics {
60
62
  failedCount: number;
61
63
  canceledCount: number;
62
64
  }
65
+ export interface Blocklist {
66
+ /** ID of the blocklist. */
67
+ id: string;
68
+ /** Domain ID linked to the blocklist. */
69
+ domainId: string;
70
+ /** Date and time of the blocklist creation. */
71
+ createdAt?: Date;
72
+ /** Date and time of the blocklist's last update. */
73
+ updatedAt?: Date;
74
+ /** Date and time when the blocklist ends. Empty if the blocklist has no end. */
75
+ endsAt?: Date;
76
+ /** Email blocked by the blocklist. */
77
+ email: string;
78
+ /** Type of block for this email. */
79
+ type: BlocklistType;
80
+ /** Reason to block this email. */
81
+ reason: string;
82
+ /**
83
+ * True if this blocklist was created manually. False for an automatic
84
+ * Transactional Email blocklist.
85
+ */
86
+ custom: boolean;
87
+ }
63
88
  export interface CreateEmailRequestAddress {
64
89
  /** Email address. */
65
90
  email: string;
@@ -259,6 +284,25 @@ export interface UpdateProjectSettingsRequestUpdatePeriodicReport {
259
284
  */
260
285
  sendingDay?: number;
261
286
  }
287
+ export type BulkCreateBlocklistsRequest = {
288
+ /**
289
+ * Region to target. If none is passed will use default region from the
290
+ * config.
291
+ */
292
+ region?: Region;
293
+ /** Domain ID linked to the blocklist. */
294
+ domainId: string;
295
+ /** Email blocked by the blocklist. */
296
+ emails?: string[];
297
+ /** Type of blocklist. */
298
+ type?: BlocklistType;
299
+ /** Reason to block the email. */
300
+ reason?: string;
301
+ };
302
+ export interface BulkCreateBlocklistsResponse {
303
+ /** List of blocklist created. */
304
+ blocklists: Blocklist[];
305
+ }
262
306
  export type CancelEmailRequest = {
263
307
  /**
264
308
  * Region to target. If none is passed will use default region from the
@@ -342,6 +386,15 @@ export type CreateWebhookRequest = {
342
386
  /** Scaleway SNS ARN topic to push the events to. */
343
387
  snsArn: string;
344
388
  };
389
+ export type DeleteBlocklistRequest = {
390
+ /**
391
+ * Region to target. If none is passed will use default region from the
392
+ * config.
393
+ */
394
+ region?: Region;
395
+ /** ID of the blocklist to delete. */
396
+ blocklistId: string;
397
+ };
345
398
  export type DeleteWebhookRequest = {
346
399
  /**
347
400
  * Region to target. If none is passed will use default region from the
@@ -430,6 +483,36 @@ export type GetWebhookRequest = {
430
483
  /** ID of the Webhook to check. */
431
484
  webhookId: string;
432
485
  };
486
+ export type ListBlocklistsRequest = {
487
+ /**
488
+ * Region to target. If none is passed will use default region from the
489
+ * config.
490
+ */
491
+ region?: Region;
492
+ /** (Optional) List blocklist corresponding to specific criteria. */
493
+ orderBy?: ListBlocklistsRequestOrderBy;
494
+ /** (Optional) Requested page number. Value must be greater or equal to 1. */
495
+ page?: number;
496
+ /** (Optional) Requested page size. Value must be between 1 and 100. */
497
+ pageSize?: number;
498
+ /** (Optional) Filter by a domain ID. */
499
+ domainId: string;
500
+ /** (Optional) Filter by an email address. */
501
+ email?: string;
502
+ /** (Optional) Filter by a blocklist type. */
503
+ type?: BlocklistType;
504
+ /**
505
+ * (Optional) Filter by custom blocklist (true) or automatic Transactional
506
+ * Email blocklist (false).
507
+ */
508
+ custom?: boolean;
509
+ };
510
+ export interface ListBlocklistsResponse {
511
+ /** Number of blocklists matching the requested criteria. */
512
+ totalCount: number;
513
+ /** Single page of blocklists matching the requested criteria. */
514
+ blocklists: Blocklist[];
515
+ }
433
516
  export type ListDomainsRequest = {
434
517
  /**
435
518
  * Region to target. If none is passed will use default region from the
@@ -1,5 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const BulkCreateBlocklistsRequest = {
4
+ reason: {
5
+ maxLength: 200
6
+ }
7
+ };
3
8
  const CreateDomainRequest = {
4
9
  domainName: {
5
10
  maxLength: 255,
@@ -42,6 +47,15 @@ const CreateWebhookRequest = {
42
47
  minLength: 3
43
48
  }
44
49
  };
50
+ const ListBlocklistsRequest = {
51
+ page: {
52
+ greaterThan: 0
53
+ },
54
+ pageSize: {
55
+ greaterThanOrEqual: 1,
56
+ lessThanOrEqual: 100
57
+ }
58
+ };
45
59
  const ListDomainsRequest = {
46
60
  page: {
47
61
  greaterThan: 0
@@ -105,12 +119,14 @@ const UpdateWebhookRequest = {
105
119
  minLength: 3
106
120
  }
107
121
  };
122
+ exports.BulkCreateBlocklistsRequest = BulkCreateBlocklistsRequest;
108
123
  exports.CreateDomainRequest = CreateDomainRequest;
109
124
  exports.CreateEmailRequest = CreateEmailRequest;
110
125
  exports.CreateEmailRequestAddress = CreateEmailRequestAddress;
111
126
  exports.CreateEmailRequestAttachment = CreateEmailRequestAttachment;
112
127
  exports.CreateEmailRequestHeader = CreateEmailRequestHeader;
113
128
  exports.CreateWebhookRequest = CreateWebhookRequest;
129
+ exports.ListBlocklistsRequest = ListBlocklistsRequest;
114
130
  exports.ListDomainsRequest = ListDomainsRequest;
115
131
  exports.ListEmailsRequest = ListEmailsRequest;
116
132
  exports.ListWebhookEventsRequest = ListWebhookEventsRequest;
@@ -1,3 +1,8 @@
1
+ export declare const BulkCreateBlocklistsRequest: {
2
+ reason: {
3
+ maxLength: number;
4
+ };
5
+ };
1
6
  export declare const CreateDomainRequest: {
2
7
  domainName: {
3
8
  maxLength: number;
@@ -40,6 +45,15 @@ export declare const CreateWebhookRequest: {
40
45
  minLength: number;
41
46
  };
42
47
  };
48
+ export declare const ListBlocklistsRequest: {
49
+ page: {
50
+ greaterThan: number;
51
+ };
52
+ pageSize: {
53
+ greaterThanOrEqual: number;
54
+ lessThanOrEqual: number;
55
+ };
56
+ };
43
57
  export declare const ListDomainsRequest: {
44
58
  page: {
45
59
  greaterThan: number;
@@ -1,3 +1,8 @@
1
+ const BulkCreateBlocklistsRequest = {
2
+ reason: {
3
+ maxLength: 200
4
+ }
5
+ };
1
6
  const CreateDomainRequest = {
2
7
  domainName: {
3
8
  maxLength: 255,
@@ -40,6 +45,15 @@ const CreateWebhookRequest = {
40
45
  minLength: 3
41
46
  }
42
47
  };
48
+ const ListBlocklistsRequest = {
49
+ page: {
50
+ greaterThan: 0
51
+ },
52
+ pageSize: {
53
+ greaterThanOrEqual: 1,
54
+ lessThanOrEqual: 100
55
+ }
56
+ };
43
57
  const ListDomainsRequest = {
44
58
  page: {
45
59
  greaterThan: 0
@@ -104,12 +118,14 @@ const UpdateWebhookRequest = {
104
118
  }
105
119
  };
106
120
  export {
121
+ BulkCreateBlocklistsRequest,
107
122
  CreateDomainRequest,
108
123
  CreateEmailRequest,
109
124
  CreateEmailRequestAddress,
110
125
  CreateEmailRequestAttachment,
111
126
  CreateEmailRequestHeader,
112
127
  CreateWebhookRequest,
128
+ ListBlocklistsRequest,
113
129
  ListDomainsRequest,
114
130
  ListEmailsRequest,
115
131
  ListWebhookEventsRequest,
@@ -2,4 +2,4 @@
2
2
  * This file is automatically generated from /scripts/generate.js PLEASE DO NOT
3
3
  * EDIT HERE
4
4
  */
5
- export * as v1 from './v1/index.gen';
5
+ export * as v1 from './v1/index.gen.js';
@@ -1,3 +1,3 @@
1
- export { API } from './api.gen';
2
- export * from './content.gen';
1
+ export { API } from './api.gen.js';
2
+ export * from './content.gen.js';
3
3
  export type { CreateHumanRequest, DeleteHumanRequest, EyeColors, GetHumanRequest, Human, HumanStatus, ListHumansRequest, ListHumansRequestOrderBy, ListHumansResponse, RegisterRequest, RegisterResponse, RunHumanRequest, SmokeHumanRequest, UpdateHumanRequest, } from './types.gen';
@@ -2,5 +2,5 @@
2
2
  * This file is automatically generated from /scripts/generate.js PLEASE DO NOT
3
3
  * EDIT HERE
4
4
  */
5
- export * as v1 from './v1/index.gen';
6
- export * as v2 from './v2/index.gen';
5
+ export * as v1 from './v1/index.gen.js';
6
+ export * as v2 from './v2/index.gen.js';
@@ -1,2 +1,2 @@
1
- export { API } from './api.gen';
1
+ export { API } from './api.gen.js';
2
2
  export type { CreatePrivateNetworkRequest, DeletePrivateNetworkRequest, GetPrivateNetworkRequest, ListPrivateNetworksRequest, ListPrivateNetworksRequestOrderBy, ListPrivateNetworksResponse, PrivateNetwork, UpdatePrivateNetworkRequest, } from './types.gen';
@@ -1,3 +1,3 @@
1
- export { API } from './api.gen';
1
+ export { API } from './api.gen.js';
2
2
  export type { AddSubnetsRequest, AddSubnetsResponse, CreatePrivateNetworkRequest, CreateRouteRequest, CreateVPCRequest, DeletePrivateNetworkRequest, DeleteRouteRequest, DeleteSubnetsRequest, DeleteSubnetsResponse, DeleteVPCRequest, EnableDHCPRequest, EnableRoutingRequest, GetPrivateNetworkRequest, GetRouteRequest, GetVPCRequest, ListPrivateNetworksRequest, ListPrivateNetworksRequestOrderBy, ListPrivateNetworksResponse, ListSubnetsRequest, ListSubnetsRequestOrderBy, ListSubnetsResponse, ListVPCsRequest, ListVPCsRequestOrderBy, ListVPCsResponse, MigrateZonalPrivateNetworksRequest, PrivateNetwork, Route, SetSubnetsRequest, SetSubnetsResponse, Subnet, UpdatePrivateNetworkRequest, UpdateRouteRequest, UpdateVPCRequest, VPC, } from './types.gen';
3
- export * as ValidationRules from './validation-rules.gen';
3
+ export * as ValidationRules from './validation-rules.gen.js';
@@ -2,5 +2,5 @@
2
2
  * This file is automatically generated from /scripts/generate.js PLEASE DO NOT
3
3
  * EDIT HERE
4
4
  */
5
- export * as v1 from './v1/index.gen';
6
- export * as v2 from './v2/index.gen';
5
+ export * as v1 from './v1/index.gen.js';
6
+ export * as v2 from './v2/index.gen.js';
@@ -1,3 +1,3 @@
1
- export { API } from './api.gen';
2
- export * from './content.gen';
1
+ export { API } from './api.gen.js';
2
+ export * from './content.gen.js';
3
3
  export type { CreateDHCPEntryRequest, CreateDHCPRequest, CreateGatewayNetworkRequest, CreateGatewayNetworkRequestIpamConfig, CreateGatewayRequest, CreateIPRequest, CreatePATRuleRequest, DHCP, DHCPEntry, DHCPEntryType, DeleteDHCPEntryRequest, DeleteDHCPRequest, DeleteGatewayNetworkRequest, DeleteGatewayRequest, DeleteIPRequest, DeletePATRuleRequest, EnableIPMobilityRequest, Gateway, GatewayNetwork, GatewayNetworkStatus, GatewayStatus, GatewayType, GetDHCPEntryRequest, GetDHCPRequest, GetGatewayNetworkRequest, GetGatewayRequest, GetIPRequest, GetPATRuleRequest, IP, IpamConfig, ListDHCPEntriesRequest, ListDHCPEntriesRequestOrderBy, ListDHCPEntriesResponse, ListDHCPsRequest, ListDHCPsRequestOrderBy, ListDHCPsResponse, ListGatewayNetworksRequest, ListGatewayNetworksRequestOrderBy, ListGatewayNetworksResponse, ListGatewayTypesRequest, ListGatewayTypesResponse, ListGatewaysRequest, ListGatewaysRequestOrderBy, ListGatewaysResponse, ListIPsRequest, ListIPsRequestOrderBy, ListIPsResponse, ListPATRulesRequest, ListPATRulesRequestOrderBy, ListPATRulesResponse, PATRule, PATRuleProtocol, RefreshSSHKeysRequest, SetDHCPEntriesRequest, SetDHCPEntriesRequestEntry, SetDHCPEntriesResponse, SetPATRulesRequest, SetPATRulesRequestRule, SetPATRulesResponse, UpdateDHCPEntryRequest, UpdateDHCPRequest, UpdateGatewayNetworkRequest, UpdateGatewayNetworkRequestIpamConfig, UpdateGatewayRequest, UpdateIPRequest, UpdatePATRuleRequest, UpgradeGatewayRequest, } from './types.gen';
@@ -1,3 +1,3 @@
1
- export { API } from './api.gen';
2
- export * from './content.gen';
1
+ export { API } from './api.gen.js';
2
+ export * from './content.gen.js';
3
3
  export type { AddBastionAllowedIPsRequest, AddBastionAllowedIPsResponse, CreateGatewayNetworkRequest, CreateGatewayRequest, CreateIPRequest, CreatePatRuleRequest, DeleteBastionAllowedIPsRequest, DeleteGatewayNetworkRequest, DeleteGatewayRequest, DeleteIPRequest, DeletePatRuleRequest, Gateway, GatewayNetwork, GatewayNetworkStatus, GatewayStatus, GatewayType, GetGatewayNetworkRequest, GetGatewayRequest, GetIPRequest, GetPatRuleRequest, IP, ListGatewayNetworksRequest, ListGatewayNetworksRequestOrderBy, ListGatewayNetworksResponse, ListGatewayTypesRequest, ListGatewayTypesResponse, ListGatewaysRequest, ListGatewaysRequestOrderBy, ListGatewaysResponse, ListIPsRequest, ListIPsRequestOrderBy, ListIPsResponse, ListPatRulesRequest, ListPatRulesRequestOrderBy, ListPatRulesResponse, PatRule, PatRuleProtocol, RefreshSSHKeysRequest, SetBastionAllowedIPsRequest, SetBastionAllowedIPsResponse, SetPatRulesRequest, SetPatRulesRequestRule, SetPatRulesResponse, UpdateGatewayNetworkRequest, UpdateGatewayRequest, UpdateIPRequest, UpdatePatRuleRequest, UpgradeGatewayRequest, } from './types.gen';
@@ -2,5 +2,5 @@
2
2
  * This file is automatically generated from /scripts/generate.js PLEASE DO NOT
3
3
  * EDIT HERE
4
4
  */
5
- export * as v1 from './v1/index.gen';
6
- export * as v1alpha1 from './v1alpha1/index.gen';
5
+ export * as v1 from './v1/index.gen.js';
6
+ export * as v1alpha1 from './v1alpha1/index.gen.js';
@@ -1,4 +1,4 @@
1
- export { ControlPanelAPI, DatabaseAPI, DnsAPI, FtpAccountAPI, HostingAPI, MailAccountAPI, OfferAPI, WebsiteAPI, } from './api.gen';
2
- export * from './content.gen';
1
+ export { ControlPanelAPI, DatabaseAPI, DnsAPI, FtpAccountAPI, HostingAPI, MailAccountAPI, OfferAPI, WebsiteAPI, } from './api.gen.js';
2
+ export * from './content.gen.js';
3
3
  export type { CheckUserOwnsDomainResponse, ControlPanel, ControlPanelApiListControlPanelsRequest, CreateDatabaseRequestUser, CreateHostingRequestDomainConfiguration, Database, DatabaseApiAssignDatabaseUserRequest, DatabaseApiChangeDatabaseUserPasswordRequest, DatabaseApiCreateDatabaseRequest, DatabaseApiCreateDatabaseUserRequest, DatabaseApiDeleteDatabaseRequest, DatabaseApiDeleteDatabaseUserRequest, DatabaseApiGetDatabaseRequest, DatabaseApiGetDatabaseUserRequest, DatabaseApiListDatabaseUsersRequest, DatabaseApiListDatabasesRequest, DatabaseApiUnassignDatabaseUserRequest, DatabaseUser, DnsApiCheckUserOwnsDomainRequest, DnsApiGetDomainDnsRecordsRequest, DnsApiSyncDomainDnsRecordsRequest, DnsRecord, DnsRecordStatus, DnsRecordType, DnsRecords, DnsRecordsStatus, FtpAccount, FtpAccountApiChangeFtpAccountPasswordRequest, FtpAccountApiCreateFtpAccountRequest, FtpAccountApiListFtpAccountsRequest, FtpAccountApiRemoveFtpAccountRequest, Hosting, HostingApiCreateHostingRequest, HostingApiCreateSessionRequest, HostingApiDeleteHostingRequest, HostingApiGetHostingRequest, HostingApiGetResourceSummaryRequest, HostingApiListHostingsRequest, HostingApiResetHostingPasswordRequest, HostingApiUpdateHostingRequest, HostingStatus, HostingSummary, HostingSummaryStatus, HostingUser, ListControlPanelsResponse, ListDatabaseUsersRequestOrderBy, ListDatabaseUsersResponse, ListDatabasesRequestOrderBy, ListDatabasesResponse, ListFtpAccountsRequestOrderBy, ListFtpAccountsResponse, ListHostingsRequestOrderBy, ListHostingsResponse, ListMailAccountsRequestOrderBy, ListMailAccountsResponse, ListOffersRequestOrderBy, ListOffersResponse, ListWebsitesRequestOrderBy, ListWebsitesResponse, MailAccount, MailAccountApiChangeMailAccountPasswordRequest, MailAccountApiCreateMailAccountRequest, MailAccountApiListMailAccountsRequest, MailAccountApiRemoveMailAccountRequest, Nameserver, NameserverStatus, Offer, OfferApiListOffersRequest, OfferOption, OfferOptionName, OfferOptionRequest, OfferOptionWarning, Platform, PlatformControlPanel, PlatformControlPanelUrls, PlatformPlatformGroup, ResetHostingPasswordResponse, ResourceSummary, Session, SyncDomainDnsRecordsRequestRecord, Website, WebsiteApiListWebsitesRequest, } from './types.gen';
4
- export * as ValidationRules from './validation-rules.gen';
4
+ export * as ValidationRules from './validation-rules.gen.js';
@@ -1,4 +1,4 @@
1
- export { API, ClassicMailAPI } from './api.gen';
2
- export * from './content.gen';
1
+ export { API, ClassicMailAPI } from './api.gen.js';
2
+ export * from './content.gen.js';
3
3
  export type { CheckUserOwnsDomainRequest, CheckUserOwnsDomainResponse, ClassicMailApiCreateMailboxRequest, ClassicMailApiDeleteMailboxRequest, ClassicMailApiGetMailboxRequest, ClassicMailApiListMailboxesRequest, ClassicMailApiUpdateMailboxRequest, ControlPanel, CreateHostingRequest, CreateHostingRequestDomainConfiguration, CreateSessionRequest, DeleteHostingRequest, DnsRecord, DnsRecordStatus, DnsRecordType, DnsRecords, DnsRecordsStatus, EmailAddress, GetDomainDnsRecordsRequest, GetHostingRequest, Hosting, HostingCpanelUrls, HostingDnsStatus, HostingOption, HostingStatus, ListControlPanelsRequest, ListControlPanelsResponse, ListHostingsRequest, ListHostingsRequestOrderBy, ListHostingsResponse, ListMailboxesResponse, ListOffersRequest, ListOffersRequestOrderBy, ListOffersResponse, Mailbox, Nameserver, NameserverStatus, Offer, OfferProduct, OfferQuotaWarning, ResetHostingPasswordRequest, ResetHostingPasswordResponse, RestoreHostingRequest, Session, UpdateHostingRequest, } from './types.gen';
4
- export * as ValidationRules from './validation-rules.gen';
4
+ export * as ValidationRules from './validation-rules.gen.js';
package/dist/bridge.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  /** List all helpers required by APIs */
2
- export { isJSONObject } from './helpers/json';
3
- export { waitForResource } from './internal/async/interval-retrier';
4
- export type { WaitForOptions } from './internal/async/interval-retrier';
5
- export { API } from './scw/api';
6
- export type { DefaultValues } from './scw/client-settings';
7
- export type { Money, ServiceInfo, ScwFile, TimeSeries, } from './scw/custom-types';
8
- export { Decimal } from './scw/custom-types';
9
- export { marshalScwFile, marshalMoney, marshalTimeSeries, marshalDecimal, marshalBlobToScwFile, unmarshalMoney, unmarshalScwFile, unmarshalServiceInfo, unmarshalTimeSeries, unmarshalTimeSeriesPoint, unmarshalDecimal, } from './scw/custom-marshalling';
10
- export { enrichForPagination } from './scw/fetch/resource-paginator';
2
+ export { isJSONObject } from './helpers/json.js';
3
+ export { waitForResource } from './internal/async/interval-retrier.js';
4
+ export type { WaitForOptions } from './internal/async/interval-retrier.js';
5
+ export { API } from './scw/api.js';
6
+ export type { DefaultValues } from './scw/client-settings.js';
7
+ export type { Money, ServiceInfo, ScwFile, TimeSeries, } from './scw/custom-types.js';
8
+ export { Decimal } from './scw/custom-types.js';
9
+ export { marshalScwFile, marshalMoney, marshalTimeSeries, marshalDecimal, marshalBlobToScwFile, unmarshalMoney, unmarshalScwFile, unmarshalServiceInfo, unmarshalTimeSeries, unmarshalTimeSeriesPoint, unmarshalDecimal, } from './scw/custom-marshalling.js';
10
+ export { enrichForPagination } from './scw/fetch/resource-paginator.js';
11
11
  export type { Region, Zone } from './scw/locality';
12
- export { resolveOneOf, unmarshalDate, unmarshalArrayOfObject, unmarshalMapOfObject, urlParams, validatePathParam, } from './helpers/marshalling';
12
+ export { resolveOneOf, unmarshalDate, unmarshalArrayOfObject, unmarshalMapOfObject, urlParams, validatePathParam, } from './helpers/marshalling.js';
package/dist/index.d.ts CHANGED
@@ -1,16 +1,16 @@
1
- export type { WaitForOptions, WaitForStopCondition, } from './internal/async/interval-retrier';
1
+ export type { WaitForOptions, WaitForStopCondition, } from './internal/async/interval-retrier.js';
2
2
  export type { NetworkInterceptors, RequestInterceptor, ResponseInterceptor, ResponseErrorInterceptor, } from './internal/interceptors/types';
3
- export { enableConsoleLogger, setLogger } from './internal/logger';
3
+ export { enableConsoleLogger, setLogger } from './internal/logger/index.js';
4
4
  export type { Logger } from './internal/logger/logger';
5
- export { createClient, createAdvancedClient } from './scw/client';
6
- export type { Client } from './scw/client';
7
- export type { Profile } from './scw/client-ini-profile';
8
- export type { Settings } from './scw/client-settings';
9
- export { withAdditionalInterceptors, withDefaultPageSize, withHTTPClient, withProfile, withUserAgent, withUserAgentSuffix, } from './scw/client-ini-factory';
10
- export type { ClientConfig } from './scw/client-ini-factory';
11
- export { Decimal } from './scw/custom-types';
12
- export type { Money, ScwFile, TimeSeries } from './scw/custom-types';
13
- export * as Errors from './scw/errors/standard';
5
+ export { createClient, createAdvancedClient } from './scw/client.js';
6
+ export type { Client } from './scw/client.js';
7
+ export type { Profile } from './scw/client-ini-profile.js';
8
+ export type { Settings } from './scw/client-settings.js';
9
+ export { withAdditionalInterceptors, withDefaultPageSize, withHTTPClient, withProfile, withUserAgent, withUserAgentSuffix, } from './scw/client-ini-factory.js';
10
+ export type { ClientConfig } from './scw/client-ini-factory.js';
11
+ export { Decimal } from './scw/custom-types.js';
12
+ export type { Money, ScwFile, TimeSeries } from './scw/custom-types.js';
13
+ export * as Errors from './scw/errors/standard/index.js';
14
14
  export type { Region, Zone } from './scw/locality';
15
15
  export * from './internals';
16
16
  export * from './api';
@@ -1,4 +1,4 @@
1
- import type { LogLevel } from './level-resolver';
1
+ import type { LogLevel } from './level-resolver.js';
2
2
  import type { Logger } from './logger';
3
3
  /**
4
4
  * A Logger using console output.
@@ -1,4 +1,4 @@
1
- import type { LogLevel } from './level-resolver';
1
+ import type { LogLevel } from './level-resolver.js';
2
2
  import type { Logger } from './logger';
3
3
  /**
4
4
  * Sets a logger to be used within the SDK.
@@ -1,4 +1,4 @@
1
- import type { LogLevel } from './level-resolver';
1
+ import type { LogLevel } from './level-resolver.js';
2
2
  /**
3
3
  * Logger.
4
4
  *
@@ -1,10 +1,10 @@
1
- export { isJSONObject } from './helpers/json';
2
- export { createExponentialBackoffStrategy, tryAtIntervals, waitForResource, } from './internal/async/interval-retrier';
3
- export { addAsyncHeaderInterceptor } from './internal/interceptors/helpers';
4
- export { API } from './scw/api';
5
- export { authenticateWithSessionToken } from './scw/auth';
6
- export type { DefaultValues } from './scw/client-settings';
7
- export { marshalDecimal, marshalScwFile, marshalMoney, marshalTimeSeries, marshalBlobToScwFile, unmarshalDecimal, unmarshalMoney, unmarshalScwFile, unmarshalServiceInfo, unmarshalTimeSeries, unmarshalTimeSeriesPoint, } from './scw/custom-marshalling';
8
- export type { ServiceInfo } from './scw/custom-types';
9
- export { resolveOneOf, unmarshalDate, unmarshalArrayOfObject, unmarshalMapOfObject, urlParams, validatePathParam, } from './helpers/marshalling';
10
- export { enrichForPagination } from './scw/fetch/resource-paginator';
1
+ export { isJSONObject } from './helpers/json.js';
2
+ export { createExponentialBackoffStrategy, tryAtIntervals, waitForResource, } from './internal/async/interval-retrier.js';
3
+ export { addAsyncHeaderInterceptor } from './internal/interceptors/helpers.js';
4
+ export { API } from './scw/api.js';
5
+ export { authenticateWithSessionToken } from './scw/auth.js';
6
+ export type { DefaultValues } from './scw/client-settings.js';
7
+ export { marshalDecimal, marshalScwFile, marshalMoney, marshalTimeSeries, marshalBlobToScwFile, unmarshalDecimal, unmarshalMoney, unmarshalScwFile, unmarshalServiceInfo, unmarshalTimeSeries, unmarshalTimeSeriesPoint, } from './scw/custom-marshalling.js';
8
+ export type { ServiceInfo } from './scw/custom-types.js';
9
+ export { resolveOneOf, unmarshalDate, unmarshalArrayOfObject, unmarshalMapOfObject, urlParams, validatePathParam, } from './helpers/marshalling.js';
10
+ export { enrichForPagination } from './scw/fetch/resource-paginator.js';
package/dist/scw/api.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { Client } from './client';
1
+ import type { Client } from './client.js';
2
2
  /**
3
3
  * Abstract class to instantiate API from a {@link Client}.
4
4
  *
@@ -1,5 +1,5 @@
1
1
  import type { RequestInterceptor } from '../internal/interceptors/types';
2
- import type { AuthenticationSecrets } from './client-ini-profile';
2
+ import type { AuthenticationSecrets } from './client-ini-profile.js';
3
3
  interface TokenAccessor {
4
4
  (): Promise<string | undefined>;
5
5
  }
@@ -1,6 +1,6 @@
1
- import type { NetworkInterceptors } from '../index';
2
- import type { Profile } from './client-ini-profile';
3
- import type { Settings } from './client-settings';
1
+ import type { NetworkInterceptors } from '../index.js';
2
+ import type { Profile } from './client-ini-profile.js';
3
+ import type { Settings } from './client-settings.js';
4
4
  /**
5
5
  * A factory to build {@link Settings}.
6
6
  *
@@ -1,5 +1,5 @@
1
1
  import type { NetworkInterceptors, RequestInterceptor, ResponseInterceptor } from '../internal/interceptors/types';
2
- import type { ProfileDefaultValues } from './client-ini-profile';
2
+ import type { ProfileDefaultValues } from './client-ini-profile.js';
3
3
  /**
4
4
  * Holds default values of settings.
5
5
  *
@@ -1,6 +1,6 @@
1
- import type { ClientConfig } from './client-ini-factory';
2
- import type { Settings } from './client-settings';
3
- import type { Fetcher } from './fetch/build-fetcher';
1
+ import type { ClientConfig } from './client-ini-factory.js';
2
+ import type { Settings } from './client-settings.js';
3
+ import type { Fetcher } from './fetch/build-fetcher.js';
4
4
  /**
5
5
  * Scaleway client.
6
6
  */
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const version = "v2.60.0";
3
+ const version = "v2.61.0";
4
4
  const userAgent = `scaleway-sdk-js/${version}`;
5
5
  exports.userAgent = userAgent;
6
6
  exports.version = version;
@@ -1,2 +1,2 @@
1
- export declare const version = "v2.60.0";
2
- export declare const userAgent = "scaleway-sdk-js/v2.60.0";
1
+ export declare const version = "v2.61.0";
2
+ export declare const userAgent = "scaleway-sdk-js/v2.61.0";
@@ -1,4 +1,4 @@
1
- const version = "v2.60.0";
1
+ const version = "v2.61.0";
2
2
  const userAgent = `scaleway-sdk-js/${version}`;
3
3
  export {
4
4
  userAgent,
@@ -1,5 +1,5 @@
1
- import type { Money, ScwFile, ServiceInfo, TimeSeries, TimeSeriesPoint } from './custom-types';
2
- import { Decimal } from './custom-types';
1
+ import type { Money, ScwFile, ServiceInfo, TimeSeries, TimeSeriesPoint } from './custom-types.js';
2
+ import { Decimal } from './custom-types.js';
3
3
  /**
4
4
  * Unmarshals {@link Money}
5
5
  *
@@ -1,5 +1,5 @@
1
- import type { JSONObject } from '../../helpers/json';
2
- import { ScalewayError } from './scw-error';
1
+ import type { JSONObject } from '../../helpers/json.js';
2
+ import { ScalewayError } from './scw-error.js';
3
3
  /**
4
4
  * Parses Scaleway error from raw body.
5
5
  *
@@ -1,7 +1,7 @@
1
- import type { JSONObject } from '../../../helpers/json';
2
- import { ScalewayError } from '../scw-error';
3
- import { InvalidArgumentsError } from '../standard/invalid-arguments-error';
4
- import { QuotasExceededError } from '../standard/quotas-exceeded-error';
1
+ import type { JSONObject } from '../../../helpers/json.js';
2
+ import { ScalewayError } from '../scw-error.js';
3
+ import { InvalidArgumentsError } from '../standard/invalid-arguments-error.js';
4
+ import { QuotasExceededError } from '../standard/quotas-exceeded-error.js';
5
5
  /**
6
6
  * InvalidRequest error is only returned by the instance API.
7
7
  *
@@ -1,6 +1,6 @@
1
- import type { JSONObject } from '../../../helpers/json';
2
- import { ScalewayError } from '../scw-error';
3
- import { ResourceNotFoundError } from '../standard/resource-not-found-error';
1
+ import type { JSONObject } from '../../../helpers/json.js';
2
+ import { ScalewayError } from '../scw-error.js';
3
+ import { ResourceNotFoundError } from '../standard/resource-not-found-error.js';
4
4
  /**
5
5
  * UnknownResource error is only returned by the instance API.
6
6
  *
@@ -1,5 +1,5 @@
1
- import type { JSONObject } from '../../helpers/json';
2
- import type { ScalewayError } from './scw-error';
1
+ import type { JSONObject } from '../../helpers/json.js';
2
+ import type { ScalewayError } from './scw-error.js';
3
3
  /**
4
4
  * Interface with static method that initialize {@link ScalewayError} from JSON.
5
5
  *
@@ -1,4 +1,4 @@
1
- import type { JSONObject } from '../../helpers/json';
1
+ import type { JSONObject } from '../../helpers/json.js';
2
2
  /**
3
3
  * Scaleway error.
4
4
  *
@@ -1,5 +1,5 @@
1
- import type { JSONObject } from '../../../helpers/json';
2
- import { ScalewayError } from '../scw-error';
1
+ import type { JSONObject } from '../../../helpers/json.js';
2
+ import { ScalewayError } from '../scw-error.js';
3
3
  /**
4
4
  * AlreadyExists error is used when a resource already exists.
5
5
  *
@@ -1,5 +1,5 @@
1
- import type { JSONObject } from '../../../helpers/json';
2
- import { ScalewayError } from '../scw-error';
1
+ import type { JSONObject } from '../../../helpers/json.js';
2
+ import { ScalewayError } from '../scw-error.js';
3
3
  /**
4
4
  * DeniedAuthentication error is used by the API Gateway auth service to deny a request.
5
5
  *
@@ -1,17 +1,17 @@
1
- export { ScalewayError } from '../scw-error';
2
- export { AlreadyExistsError } from './already-exists-error';
3
- export { DeniedAuthenticationError } from './denied-authentication-error';
4
- export { InvalidArgumentsError } from './invalid-arguments-error';
5
- export type { InvalidArgumentsErrorDetails } from './invalid-arguments-error';
6
- export { OutOfStockError } from './out-of-stock-error';
7
- export { PermissionsDeniedError } from './permissions-denied-error';
8
- export type { PermissionsDeniedErrorDetails } from './permissions-denied-error';
9
- export { PreconditionFailedError } from './precondition-failed-error';
10
- export { QuotasExceededError } from './quotas-exceeded-error';
11
- export type { QuotasExceededErrorDetails, QuotasExceededErrorScope, } from './quotas-exceeded-error';
12
- export { ResourceExpiredError } from './resource-expired-error';
13
- export { ResourceLockedError } from './resource-locked-error';
14
- export { ResourceNotFoundError } from './resource-not-found-error';
15
- export { TooManyRequestsError } from './too-many-requests-error';
16
- export type { TooManyRequestsQuotaPolicy } from './too-many-requests-error';
17
- export { TransientStateError } from './transient-state-error';
1
+ export { ScalewayError } from '../scw-error.js';
2
+ export { AlreadyExistsError } from './already-exists-error.js';
3
+ export { DeniedAuthenticationError } from './denied-authentication-error.js';
4
+ export { InvalidArgumentsError } from './invalid-arguments-error.js';
5
+ export type { InvalidArgumentsErrorDetails } from './invalid-arguments-error.js';
6
+ export { OutOfStockError } from './out-of-stock-error.js';
7
+ export { PermissionsDeniedError } from './permissions-denied-error.js';
8
+ export type { PermissionsDeniedErrorDetails } from './permissions-denied-error.js';
9
+ export { PreconditionFailedError } from './precondition-failed-error.js';
10
+ export { QuotasExceededError } from './quotas-exceeded-error.js';
11
+ export type { QuotasExceededErrorDetails, QuotasExceededErrorScope, } from './quotas-exceeded-error.js';
12
+ export { ResourceExpiredError } from './resource-expired-error.js';
13
+ export { ResourceLockedError } from './resource-locked-error.js';
14
+ export { ResourceNotFoundError } from './resource-not-found-error.js';
15
+ export { TooManyRequestsError } from './too-many-requests-error.js';
16
+ export type { TooManyRequestsQuotaPolicy } from './too-many-requests-error.js';
17
+ export { TransientStateError } from './transient-state-error.js';
@@ -1,5 +1,5 @@
1
- import type { JSONObject } from '../../../helpers/json';
2
- import { ScalewayError } from '../scw-error';
1
+ import type { JSONObject } from '../../../helpers/json.js';
2
+ import { ScalewayError } from '../scw-error.js';
3
3
  /**
4
4
  * Details of an {@link InvalidArgumentsError} error.
5
5
  *