@scaleway/sdk 2.68.0 → 2.70.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 (96) hide show
  1. package/dist/api/account/v3/api.gen.cjs +23 -0
  2. package/dist/api/account/v3/api.gen.d.ts +11 -1
  3. package/dist/api/account/v3/api.gen.js +24 -1
  4. package/dist/api/account/v3/index.gen.d.ts +1 -1
  5. package/dist/api/account/v3/marshalling.gen.cjs +171 -0
  6. package/dist/api/account/v3/marshalling.gen.d.ts +3 -1
  7. package/dist/api/account/v3/marshalling.gen.js +173 -2
  8. package/dist/api/account/v3/types.gen.d.ts +93 -0
  9. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +3 -2
  10. package/dist/api/audit_trail/v1alpha1/api.gen.cjs +1 -0
  11. package/dist/api/audit_trail/v1alpha1/api.gen.js +1 -0
  12. package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +5 -0
  13. package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +5 -0
  14. package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +50 -14
  15. package/dist/api/audit_trail/v1alpha1/validation-rules.gen.cjs +3 -0
  16. package/dist/api/audit_trail/v1alpha1/validation-rules.gen.d.ts +3 -0
  17. package/dist/api/audit_trail/v1alpha1/validation-rules.gen.js +3 -0
  18. package/dist/api/billing/v2beta1/api.gen.cjs +9 -2
  19. package/dist/api/billing/v2beta1/api.gen.d.ts +9 -2
  20. package/dist/api/billing/v2beta1/api.gen.js +9 -2
  21. package/dist/api/billing/v2beta1/types.gen.d.ts +1 -1
  22. package/dist/api/cockpit/v1/marshalling.gen.cjs +4 -4
  23. package/dist/api/cockpit/v1/marshalling.gen.js +4 -4
  24. package/dist/api/cockpit/v1/types.gen.d.ts +3 -3
  25. package/dist/api/edge_services/v1beta1/api.gen.cjs +1 -1
  26. package/dist/api/edge_services/v1beta1/api.gen.js +1 -1
  27. package/dist/api/edge_services/v1beta1/marshalling.gen.cjs +1 -0
  28. package/dist/api/edge_services/v1beta1/marshalling.gen.d.ts +2 -1
  29. package/dist/api/edge_services/v1beta1/marshalling.gen.js +1 -0
  30. package/dist/api/edge_services/v1beta1/types.gen.d.ts +104 -104
  31. package/dist/api/iam/v1alpha1/api.gen.cjs +8 -0
  32. package/dist/api/iam/v1alpha1/api.gen.d.ts +2 -1
  33. package/dist/api/iam/v1alpha1/api.gen.js +9 -1
  34. package/dist/api/iam/v1alpha1/index.gen.d.ts +1 -1
  35. package/dist/api/iam/v1alpha1/marshalling.gen.cjs +46 -0
  36. package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +2 -1
  37. package/dist/api/iam/v1alpha1/marshalling.gen.js +46 -0
  38. package/dist/api/iam/v1alpha1/types.gen.d.ts +26 -0
  39. package/dist/api/iam/v1alpha1/validation-rules.gen.cjs +23 -12
  40. package/dist/api/iam/v1alpha1/validation-rules.gen.d.ts +22 -11
  41. package/dist/api/iam/v1alpha1/validation-rules.gen.js +23 -12
  42. package/dist/api/inference/index.gen.cjs +4 -2
  43. package/dist/api/inference/index.gen.d.ts +1 -0
  44. package/dist/api/inference/index.gen.js +4 -2
  45. package/dist/api/inference/v1/api.gen.cjs +274 -0
  46. package/dist/api/inference/v1/api.gen.d.ts +140 -0
  47. package/dist/api/inference/v1/api.gen.js +274 -0
  48. package/dist/api/inference/v1/content.gen.cjs +13 -0
  49. package/dist/api/inference/v1/content.gen.d.ts +5 -0
  50. package/dist/api/inference/v1/content.gen.js +13 -0
  51. package/dist/api/inference/v1/index.gen.cjs +9 -0
  52. package/dist/api/inference/v1/index.gen.d.ts +4 -0
  53. package/dist/api/inference/v1/index.gen.js +9 -0
  54. package/dist/api/inference/v1/marshalling.gen.cjs +260 -0
  55. package/dist/api/inference/v1/marshalling.gen.d.ts +14 -0
  56. package/dist/api/inference/v1/marshalling.gen.js +260 -0
  57. package/dist/api/inference/v1/types.gen.d.ts +395 -0
  58. package/dist/api/inference/v1/validation-rules.gen.cjs +65 -0
  59. package/dist/api/inference/v1/validation-rules.gen.d.ts +57 -0
  60. package/dist/api/inference/v1/validation-rules.gen.js +65 -0
  61. package/dist/api/instance/v1/index.gen.d.ts +1 -1
  62. package/dist/api/instance/v1/marshalling.gen.cjs +13 -0
  63. package/dist/api/instance/v1/marshalling.gen.js +13 -0
  64. package/dist/api/instance/v1/types.gen.d.ts +10 -0
  65. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +1 -1
  66. package/dist/api/secret/v1beta1/api.gen.cjs +2 -34
  67. package/dist/api/secret/v1beta1/api.gen.d.ts +3 -19
  68. package/dist/api/secret/v1beta1/api.gen.js +2 -34
  69. package/dist/api/secret/v1beta1/index.gen.d.ts +1 -1
  70. package/dist/api/secret/v1beta1/types.gen.d.ts +3 -19
  71. package/dist/api/tem/v1alpha1/api.gen.cjs +93 -0
  72. package/dist/api/tem/v1alpha1/api.gen.d.ts +44 -1
  73. package/dist/api/tem/v1alpha1/api.gen.js +94 -1
  74. package/dist/api/tem/v1alpha1/index.gen.d.ts +1 -1
  75. package/dist/api/tem/v1alpha1/marshalling.gen.cjs +114 -0
  76. package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +7 -1
  77. package/dist/api/tem/v1alpha1/marshalling.gen.js +114 -0
  78. package/dist/api/tem/v1alpha1/types.gen.d.ts +162 -6
  79. package/dist/api/tem/v1alpha1/validation-rules.gen.cjs +10 -0
  80. package/dist/api/tem/v1alpha1/validation-rules.gen.d.ts +9 -0
  81. package/dist/api/tem/v1alpha1/validation-rules.gen.js +10 -0
  82. package/dist/api/vpcgw/v1/api.gen.cjs +7 -0
  83. package/dist/api/vpcgw/v1/api.gen.d.ts +7 -0
  84. package/dist/api/vpcgw/v1/api.gen.js +7 -0
  85. package/dist/api/vpcgw/v1/types.gen.d.ts +1 -0
  86. package/dist/api/webhosting/v1/index.gen.d.ts +1 -1
  87. package/dist/api/webhosting/v1/marshalling.gen.cjs +23 -1
  88. package/dist/api/webhosting/v1/marshalling.gen.js +23 -1
  89. package/dist/api/webhosting/v1/types.gen.d.ts +51 -12
  90. package/dist/scw/constants.cjs +1 -1
  91. package/dist/scw/constants.d.ts +2 -2
  92. package/dist/scw/constants.js +1 -1
  93. package/dist/scw/errors/standard/quotas-exceeded-error.cjs +1 -1
  94. package/dist/scw/errors/standard/quotas-exceeded-error.d.ts +4 -4
  95. package/dist/scw/errors/standard/quotas-exceeded-error.js +1 -1
  96. package/package.json +2 -2
@@ -76,7 +76,7 @@ class API extends api.API {
76
76
  method: "DELETE",
77
77
  path: `/secret-manager/v1beta1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/secrets/${marshalling.validatePathParam("secretId", request.secretId)}`
78
78
  });
79
- pageOfListSecrets = (request = {}) => this.client.fetch(
79
+ pageOfListSecrets = (request) => this.client.fetch(
80
80
  {
81
81
  method: "GET",
82
82
  path: `/secret-manager/v1beta1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/secrets`,
@@ -107,7 +107,7 @@ class API extends api.API {
107
107
  * @param request - The request {@link ListSecretsRequest}
108
108
  * @returns A Promise of ListSecretsResponse
109
109
  */
110
- listSecrets = (request = {}) => resourcePaginator.enrichForPagination("secrets", this.pageOfListSecrets, request);
110
+ listSecrets = (request) => resourcePaginator.enrichForPagination("secrets", this.pageOfListSecrets, request);
111
111
  /**
112
112
  * Browse secrets. Retrieve the list of secrets and folders for the given
113
113
  * prefix. You must specify either the `organization_id` or the `project_id`
@@ -387,37 +387,5 @@ class API extends api.API {
387
387
  * @returns A Promise of ListSecretTypesResponse
388
388
  */
389
389
  listSecretTypes = (request = {}) => resourcePaginator.enrichForPagination("types", this.pageOfListSecretTypes, request);
390
- /**
391
- * Restore a version.. Restore a secret's version specified by the `region`,
392
- * `secret_id` and `revision` parameters.
393
- *
394
- * @param request - The request {@link RestoreSecretVersionRequest}
395
- * @returns A Promise of SecretVersion
396
- */
397
- restoreSecretVersion = (request) => this.client.fetch(
398
- {
399
- body: "{}",
400
- headers: jsonContentHeaders,
401
- method: "POST",
402
- path: `/secret-manager/v1beta1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/secrets/${marshalling.validatePathParam("secretId", request.secretId)}/versions/${marshalling.validatePathParam("revision", request.revision)}/restore`
403
- },
404
- marshalling_gen.unmarshalSecretVersion
405
- );
406
- /**
407
- * Restore a secret.. Restore a secret and all its versions scheduled for
408
- * deletion specified by the `region` and `secret_id` parameters.
409
- *
410
- * @param request - The request {@link RestoreSecretRequest}
411
- * @returns A Promise of Secret
412
- */
413
- restoreSecret = (request) => this.client.fetch(
414
- {
415
- body: "{}",
416
- headers: jsonContentHeaders,
417
- method: "POST",
418
- path: `/secret-manager/v1beta1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/secrets/${marshalling.validatePathParam("secretId", request.secretId)}/restore`
419
- },
420
- marshalling_gen.unmarshalSecret
421
- );
422
390
  }
423
391
  exports.API = API;
@@ -1,6 +1,6 @@
1
1
  import { API as ParentAPI } from '../../../bridge';
2
2
  import type { Region as ScwRegion } from '../../../bridge';
3
- import type { AccessSecretVersionByPathRequest, AccessSecretVersionRequest, AccessSecretVersionResponse, AddSecretOwnerRequest, BrowseSecretsRequest, BrowseSecretsResponse, CreateSecretRequest, CreateSecretVersionRequest, DeleteSecretRequest, DeleteSecretVersionRequest, DisableSecretVersionRequest, EnableSecretVersionRequest, GetSecretRequest, GetSecretVersionRequest, ListSecretTypesRequest, ListSecretTypesResponse, ListSecretVersionsRequest, ListSecretVersionsResponse, ListSecretsRequest, ListSecretsResponse, ListTagsRequest, ListTagsResponse, ProtectSecretRequest, RestoreSecretRequest, RestoreSecretVersionRequest, Secret, SecretVersion, UnprotectSecretRequest, UpdateSecretRequest, UpdateSecretVersionRequest } from './types.gen';
3
+ import type { AccessSecretVersionByPathRequest, AccessSecretVersionRequest, AccessSecretVersionResponse, AddSecretOwnerRequest, BrowseSecretsRequest, BrowseSecretsResponse, CreateSecretRequest, CreateSecretVersionRequest, DeleteSecretRequest, DeleteSecretVersionRequest, DisableSecretVersionRequest, EnableSecretVersionRequest, GetSecretRequest, GetSecretVersionRequest, ListSecretTypesRequest, ListSecretTypesResponse, ListSecretVersionsRequest, ListSecretVersionsResponse, ListSecretsRequest, ListSecretsResponse, ListTagsRequest, ListTagsResponse, ProtectSecretRequest, Secret, SecretVersion, UnprotectSecretRequest, UpdateSecretRequest, UpdateSecretVersionRequest } from './types.gen';
4
4
  /**
5
5
  * Secret Manager API.
6
6
  *
@@ -43,7 +43,7 @@ export declare class API extends ParentAPI {
43
43
  * @param request - The request {@link DeleteSecretRequest}
44
44
  */
45
45
  deleteSecret: (request: Readonly<DeleteSecretRequest>) => Promise<void>;
46
- protected pageOfListSecrets: (request?: Readonly<ListSecretsRequest>) => Promise<ListSecretsResponse>;
46
+ protected pageOfListSecrets: (request: Readonly<ListSecretsRequest>) => Promise<ListSecretsResponse>;
47
47
  /**
48
48
  * List secrets. Retrieve the list of secrets created within an Organization
49
49
  * and/or Project. You must specify either the `organization_id` or the
@@ -52,7 +52,7 @@ export declare class API extends ParentAPI {
52
52
  * @param request - The request {@link ListSecretsRequest}
53
53
  * @returns A Promise of ListSecretsResponse
54
54
  */
55
- listSecrets: (request?: Readonly<ListSecretsRequest>) => Promise<ListSecretsResponse> & {
55
+ listSecrets: (request: Readonly<ListSecretsRequest>) => Promise<ListSecretsResponse> & {
56
56
  all: () => Promise<Secret[]>;
57
57
  [Symbol.asyncIterator]: () => AsyncGenerator<Secret[], void, void>;
58
58
  };
@@ -190,20 +190,4 @@ export declare class API extends ParentAPI {
190
190
  all: () => Promise<import("./types.gen").SecretType[]>;
191
191
  [Symbol.asyncIterator]: () => AsyncGenerator<import("./types.gen").SecretType[], void, void>;
192
192
  };
193
- /**
194
- * Restore a version.. Restore a secret's version specified by the `region`,
195
- * `secret_id` and `revision` parameters.
196
- *
197
- * @param request - The request {@link RestoreSecretVersionRequest}
198
- * @returns A Promise of SecretVersion
199
- */
200
- restoreSecretVersion: (request: Readonly<RestoreSecretVersionRequest>) => Promise<SecretVersion>;
201
- /**
202
- * Restore a secret.. Restore a secret and all its versions scheduled for
203
- * deletion specified by the `region` and `secret_id` parameters.
204
- *
205
- * @param request - The request {@link RestoreSecretRequest}
206
- * @returns A Promise of Secret
207
- */
208
- restoreSecret: (request: Readonly<RestoreSecretRequest>) => Promise<Secret>;
209
193
  }
@@ -74,7 +74,7 @@ class API extends API$1 {
74
74
  method: "DELETE",
75
75
  path: `/secret-manager/v1beta1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam("secretId", request.secretId)}`
76
76
  });
77
- pageOfListSecrets = (request = {}) => this.client.fetch(
77
+ pageOfListSecrets = (request) => this.client.fetch(
78
78
  {
79
79
  method: "GET",
80
80
  path: `/secret-manager/v1beta1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/secrets`,
@@ -105,7 +105,7 @@ class API extends API$1 {
105
105
  * @param request - The request {@link ListSecretsRequest}
106
106
  * @returns A Promise of ListSecretsResponse
107
107
  */
108
- listSecrets = (request = {}) => enrichForPagination("secrets", this.pageOfListSecrets, request);
108
+ listSecrets = (request) => enrichForPagination("secrets", this.pageOfListSecrets, request);
109
109
  /**
110
110
  * Browse secrets. Retrieve the list of secrets and folders for the given
111
111
  * prefix. You must specify either the `organization_id` or the `project_id`
@@ -385,38 +385,6 @@ class API extends API$1 {
385
385
  * @returns A Promise of ListSecretTypesResponse
386
386
  */
387
387
  listSecretTypes = (request = {}) => enrichForPagination("types", this.pageOfListSecretTypes, request);
388
- /**
389
- * Restore a version.. Restore a secret's version specified by the `region`,
390
- * `secret_id` and `revision` parameters.
391
- *
392
- * @param request - The request {@link RestoreSecretVersionRequest}
393
- * @returns A Promise of SecretVersion
394
- */
395
- restoreSecretVersion = (request) => this.client.fetch(
396
- {
397
- body: "{}",
398
- headers: jsonContentHeaders,
399
- method: "POST",
400
- path: `/secret-manager/v1beta1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam("secretId", request.secretId)}/versions/${validatePathParam("revision", request.revision)}/restore`
401
- },
402
- unmarshalSecretVersion
403
- );
404
- /**
405
- * Restore a secret.. Restore a secret and all its versions scheduled for
406
- * deletion specified by the `region` and `secret_id` parameters.
407
- *
408
- * @param request - The request {@link RestoreSecretRequest}
409
- * @returns A Promise of Secret
410
- */
411
- restoreSecret = (request) => this.client.fetch(
412
- {
413
- body: "{}",
414
- headers: jsonContentHeaders,
415
- method: "POST",
416
- path: `/secret-manager/v1beta1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam("secretId", request.secretId)}/restore`
417
- },
418
- unmarshalSecret
419
- );
420
388
  }
421
389
  export {
422
390
  API
@@ -1,3 +1,3 @@
1
1
  export { API } from './api.gen.js';
2
- export type { AccessSecretVersionByPathRequest, AccessSecretVersionRequest, AccessSecretVersionResponse, AddSecretOwnerRequest, BasicCredentials, BrowseSecretsRequest, BrowseSecretsRequestOrderBy, BrowseSecretsResponse, BrowseSecretsResponseItem, BrowseSecretsResponseItemFolderDetails, BrowseSecretsResponseItemSecretDetails, CreateSecretRequest, CreateSecretVersionRequest, DatabaseCredentials, DeleteSecretRequest, DeleteSecretVersionRequest, DisableSecretVersionRequest, EnableSecretVersionRequest, EphemeralPolicy, EphemeralPolicyAction, EphemeralProperties, GetSecretRequest, GetSecretVersionRequest, ListSecretTypesRequest, ListSecretTypesResponse, ListSecretVersionsRequest, ListSecretVersionsResponse, ListSecretsRequest, ListSecretsRequestOrderBy, ListSecretsResponse, ListTagsRequest, ListTagsResponse, Product, ProtectSecretRequest, RestoreSecretRequest, RestoreSecretVersionRequest, SSHKey, Secret, SecretStatus, SecretType, SecretVersion, SecretVersionStatus, UnprotectSecretRequest, UpdateSecretRequest, UpdateSecretVersionRequest, } from './types.gen';
2
+ export type { AccessSecretVersionByPathRequest, AccessSecretVersionRequest, AccessSecretVersionResponse, AddSecretOwnerRequest, BasicCredentials, BrowseSecretsRequest, BrowseSecretsRequestOrderBy, BrowseSecretsResponse, BrowseSecretsResponseItem, BrowseSecretsResponseItemFolderDetails, BrowseSecretsResponseItemSecretDetails, CreateSecretRequest, CreateSecretVersionRequest, DatabaseCredentials, DeleteSecretRequest, DeleteSecretVersionRequest, DisableSecretVersionRequest, EnableSecretVersionRequest, EphemeralPolicy, EphemeralPolicyAction, EphemeralProperties, GetSecretRequest, GetSecretVersionRequest, ListSecretTypesRequest, ListSecretTypesResponse, ListSecretVersionsRequest, ListSecretVersionsResponse, ListSecretsRequest, ListSecretsRequestOrderBy, ListSecretsResponse, ListTagsRequest, ListTagsResponse, Product, ProtectSecretRequest, SSHKey, Secret, SecretStatus, SecretType, SecretVersion, SecretVersionStatus, UnprotectSecretRequest, UpdateSecretRequest, UpdateSecretVersionRequest, } from './types.gen';
3
3
  export * as ValidationRules from './validation-rules.gen.js';
@@ -448,9 +448,10 @@ export type ListSecretsRequest = {
448
448
  type?: SecretType;
449
449
  /**
450
450
  * Filter by whether the secret was scheduled for deletion / not scheduled for
451
- * deletion (optional).
451
+ * deletion. By default, it will display only not scheduled for deletion
452
+ * secrets.
452
453
  */
453
- scheduledForDeletion?: boolean;
454
+ scheduledForDeletion: boolean;
454
455
  };
455
456
  export interface ListSecretsResponse {
456
457
  /** Single page of secrets matching the requested criteria. */
@@ -484,23 +485,6 @@ export type ProtectSecretRequest = {
484
485
  /** ID of the secret to enable secret protection for. */
485
486
  secretId: string;
486
487
  };
487
- export type RestoreSecretRequest = {
488
- /**
489
- * Region to target. If none is passed will use default region from the
490
- * config.
491
- */
492
- region?: ScwRegion;
493
- secretId: string;
494
- };
495
- export type RestoreSecretVersionRequest = {
496
- /**
497
- * Region to target. If none is passed will use default region from the
498
- * config.
499
- */
500
- region?: ScwRegion;
501
- secretId: string;
502
- revision: string;
503
- };
504
488
  export interface SSHKey {
505
489
  /** The private SSH key. */
506
490
  sshPrivateKey: string;
@@ -476,5 +476,98 @@ class API extends api.API {
476
476
  method: "DELETE",
477
477
  path: `/transactional-email/v1alpha1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/blocklists/${marshalling.validatePathParam("blocklistId", request.blocklistId)}`
478
478
  });
479
+ /**
480
+ * Get information about subscribed offers. Retrieve information about the
481
+ * offers you are subscribed to using the `project_id` and `region`
482
+ * parameters.
483
+ *
484
+ * @param request - The request {@link ListOfferSubscriptionsRequest}
485
+ * @returns A Promise of ListOfferSubscriptionsResponse
486
+ */
487
+ listOfferSubscriptions = (request = {}) => this.client.fetch(
488
+ {
489
+ method: "GET",
490
+ path: `/transactional-email/v1alpha1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/offer-subscriptions`,
491
+ urlParams: marshalling.urlParams([
492
+ "project_id",
493
+ request.projectId ?? this.client.settings.defaultProjectId
494
+ ])
495
+ },
496
+ marshalling_gen.unmarshalListOfferSubscriptionsResponse
497
+ );
498
+ /**
499
+ * Update a subscribed offer.
500
+ *
501
+ * @param request - The request {@link UpdateOfferSubscriptionRequest}
502
+ * @returns A Promise of OfferSubscription
503
+ */
504
+ updateOfferSubscription = (request = {}) => this.client.fetch(
505
+ {
506
+ body: JSON.stringify(
507
+ marshalling_gen.marshalUpdateOfferSubscriptionRequest(request, this.client.settings)
508
+ ),
509
+ headers: jsonContentHeaders,
510
+ method: "PATCH",
511
+ path: `/transactional-email/v1alpha1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/offer-subscriptions`
512
+ },
513
+ marshalling_gen.unmarshalOfferSubscription
514
+ );
515
+ /**
516
+ * List the available offers.. Retrieve the list of the available and
517
+ * free-of-charge offers you can subscribe to.
518
+ *
519
+ * @param request - The request {@link ListOffersRequest}
520
+ * @returns A Promise of ListOffersResponse
521
+ */
522
+ listOffers = (request = {}) => this.client.fetch(
523
+ {
524
+ method: "GET",
525
+ path: `/transactional-email/v1alpha1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/offers`
526
+ },
527
+ marshalling_gen.unmarshalListOffersResponse
528
+ );
529
+ pageOfListPools = (request = {}) => this.client.fetch(
530
+ {
531
+ method: "GET",
532
+ path: `/transactional-email/v1alpha1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/pools`,
533
+ urlParams: marshalling.urlParams(
534
+ ["page", request.page],
535
+ [
536
+ "page_size",
537
+ request.pageSize ?? this.client.settings.defaultPageSize
538
+ ],
539
+ [
540
+ "project_id",
541
+ request.projectId ?? this.client.settings.defaultProjectId
542
+ ]
543
+ )
544
+ },
545
+ marshalling_gen.unmarshalListPoolsResponse
546
+ );
547
+ /**
548
+ * Get information about a sending pool.. Retrieve information about a sending
549
+ * pool, including its creation status and configuration parameters.
550
+ *
551
+ * @param request - The request {@link ListPoolsRequest}
552
+ * @returns A Promise of ListPoolsResponse
553
+ */
554
+ listPools = (request = {}) => resourcePaginator.enrichForPagination("pools", this.pageOfListPools, request);
555
+ /**
556
+ * Get project resource consumption.. Get project resource consumption.
557
+ *
558
+ * @param request - The request {@link GetProjectConsumptionRequest}
559
+ * @returns A Promise of ProjectConsumption
560
+ */
561
+ getProjectConsumption = (request = {}) => this.client.fetch(
562
+ {
563
+ method: "GET",
564
+ path: `/transactional-email/v1alpha1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/project-consumption`,
565
+ urlParams: marshalling.urlParams([
566
+ "project_id",
567
+ request.projectId ?? this.client.settings.defaultProjectId
568
+ ])
569
+ },
570
+ marshalling_gen.unmarshalProjectConsumption
571
+ );
479
572
  }
480
573
  exports.API = API;
@@ -1,6 +1,6 @@
1
1
  import { API as ParentAPI } from '../../../bridge';
2
2
  import type { Region as ScwRegion, WaitForOptions } from '../../../bridge';
3
- import type { BulkCreateBlocklistsRequest, BulkCreateBlocklistsResponse, CancelEmailRequest, CheckDomainRequest, CreateDomainRequest, CreateEmailRequest, CreateEmailResponse, CreateWebhookRequest, DeleteBlocklistRequest, DeleteWebhookRequest, Domain, DomainLastStatus, Email, GetDomainLastStatusRequest, GetDomainRequest, GetEmailRequest, GetProjectSettingsRequest, GetStatisticsRequest, GetWebhookRequest, ListBlocklistsRequest, ListBlocklistsResponse, ListDomainsRequest, ListDomainsResponse, ListEmailsRequest, ListEmailsResponse, ListWebhookEventsRequest, ListWebhookEventsResponse, ListWebhooksRequest, ListWebhooksResponse, ProjectSettings, RevokeDomainRequest, Statistics, UpdateDomainRequest, UpdateProjectSettingsRequest, UpdateWebhookRequest, Webhook } from './types.gen';
3
+ import type { BulkCreateBlocklistsRequest, BulkCreateBlocklistsResponse, CancelEmailRequest, CheckDomainRequest, CreateDomainRequest, CreateEmailRequest, CreateEmailResponse, CreateWebhookRequest, DeleteBlocklistRequest, DeleteWebhookRequest, Domain, DomainLastStatus, Email, GetDomainLastStatusRequest, GetDomainRequest, GetEmailRequest, GetProjectConsumptionRequest, GetProjectSettingsRequest, GetStatisticsRequest, GetWebhookRequest, ListBlocklistsRequest, ListBlocklistsResponse, ListDomainsRequest, ListDomainsResponse, ListEmailsRequest, ListEmailsResponse, ListOfferSubscriptionsRequest, ListOfferSubscriptionsResponse, ListOffersRequest, ListOffersResponse, ListPoolsRequest, ListPoolsResponse, ListWebhookEventsRequest, ListWebhookEventsResponse, ListWebhooksRequest, ListWebhooksResponse, OfferSubscription, ProjectConsumption, ProjectSettings, RevokeDomainRequest, Statistics, UpdateDomainRequest, UpdateOfferSubscriptionRequest, UpdateProjectSettingsRequest, UpdateWebhookRequest, Webhook } from './types.gen';
4
4
  /**
5
5
  * Transactional Email API.
6
6
  *
@@ -236,4 +236,47 @@ export declare class API extends ParentAPI {
236
236
  * @param request - The request {@link DeleteBlocklistRequest}
237
237
  */
238
238
  deleteBlocklist: (request: Readonly<DeleteBlocklistRequest>) => Promise<void>;
239
+ /**
240
+ * Get information about subscribed offers. Retrieve information about the
241
+ * offers you are subscribed to using the `project_id` and `region`
242
+ * parameters.
243
+ *
244
+ * @param request - The request {@link ListOfferSubscriptionsRequest}
245
+ * @returns A Promise of ListOfferSubscriptionsResponse
246
+ */
247
+ listOfferSubscriptions: (request?: Readonly<ListOfferSubscriptionsRequest>) => Promise<ListOfferSubscriptionsResponse>;
248
+ /**
249
+ * Update a subscribed offer.
250
+ *
251
+ * @param request - The request {@link UpdateOfferSubscriptionRequest}
252
+ * @returns A Promise of OfferSubscription
253
+ */
254
+ updateOfferSubscription: (request?: Readonly<UpdateOfferSubscriptionRequest>) => Promise<OfferSubscription>;
255
+ /**
256
+ * List the available offers.. Retrieve the list of the available and
257
+ * free-of-charge offers you can subscribe to.
258
+ *
259
+ * @param request - The request {@link ListOffersRequest}
260
+ * @returns A Promise of ListOffersResponse
261
+ */
262
+ listOffers: (request?: Readonly<ListOffersRequest>) => Promise<ListOffersResponse>;
263
+ protected pageOfListPools: (request?: Readonly<ListPoolsRequest>) => Promise<ListPoolsResponse>;
264
+ /**
265
+ * Get information about a sending pool.. Retrieve information about a sending
266
+ * pool, including its creation status and configuration parameters.
267
+ *
268
+ * @param request - The request {@link ListPoolsRequest}
269
+ * @returns A Promise of ListPoolsResponse
270
+ */
271
+ listPools: (request?: Readonly<ListPoolsRequest>) => Promise<ListPoolsResponse> & {
272
+ all: () => Promise<import("./types.gen").Pool[]>;
273
+ [Symbol.asyncIterator]: () => AsyncGenerator<import("./types.gen").Pool[], void, void>;
274
+ };
275
+ /**
276
+ * Get project resource consumption.. Get project resource consumption.
277
+ *
278
+ * @param request - The request {@link GetProjectConsumptionRequest}
279
+ * @returns A Promise of ProjectConsumption
280
+ */
281
+ getProjectConsumption: (request?: Readonly<GetProjectConsumptionRequest>) => Promise<ProjectConsumption>;
239
282
  }
@@ -4,7 +4,7 @@ import { validatePathParam, urlParams } from "../../../helpers/marshalling.js";
4
4
  import "../../../vendor/base64/index.js";
5
5
  import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
6
6
  import { EMAIL_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES } from "./content.gen.js";
7
- import { marshalCreateEmailRequest, unmarshalCreateEmailResponse, unmarshalEmail, unmarshalListEmailsResponse, unmarshalStatistics, marshalCreateDomainRequest, unmarshalDomain, unmarshalListDomainsResponse, unmarshalDomainLastStatus, marshalUpdateDomainRequest, marshalCreateWebhookRequest, unmarshalWebhook, unmarshalListWebhooksResponse, marshalUpdateWebhookRequest, unmarshalListWebhookEventsResponse, unmarshalProjectSettings, marshalUpdateProjectSettingsRequest, unmarshalListBlocklistsResponse, marshalBulkCreateBlocklistsRequest, unmarshalBulkCreateBlocklistsResponse } from "./marshalling.gen.js";
7
+ import { marshalCreateEmailRequest, unmarshalCreateEmailResponse, unmarshalEmail, unmarshalListEmailsResponse, unmarshalStatistics, marshalCreateDomainRequest, unmarshalDomain, unmarshalListDomainsResponse, unmarshalDomainLastStatus, marshalUpdateDomainRequest, marshalCreateWebhookRequest, unmarshalWebhook, unmarshalListWebhooksResponse, marshalUpdateWebhookRequest, unmarshalListWebhookEventsResponse, unmarshalProjectSettings, marshalUpdateProjectSettingsRequest, unmarshalListBlocklistsResponse, marshalBulkCreateBlocklistsRequest, unmarshalBulkCreateBlocklistsResponse, unmarshalListOfferSubscriptionsResponse, marshalUpdateOfferSubscriptionRequest, unmarshalOfferSubscription, unmarshalListOffersResponse, unmarshalListPoolsResponse, unmarshalProjectConsumption } from "./marshalling.gen.js";
8
8
  const jsonContentHeaders = {
9
9
  "Content-Type": "application/json; charset=utf-8"
10
10
  };
@@ -474,6 +474,99 @@ class API extends API$1 {
474
474
  method: "DELETE",
475
475
  path: `/transactional-email/v1alpha1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/blocklists/${validatePathParam("blocklistId", request.blocklistId)}`
476
476
  });
477
+ /**
478
+ * Get information about subscribed offers. Retrieve information about the
479
+ * offers you are subscribed to using the `project_id` and `region`
480
+ * parameters.
481
+ *
482
+ * @param request - The request {@link ListOfferSubscriptionsRequest}
483
+ * @returns A Promise of ListOfferSubscriptionsResponse
484
+ */
485
+ listOfferSubscriptions = (request = {}) => this.client.fetch(
486
+ {
487
+ method: "GET",
488
+ path: `/transactional-email/v1alpha1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/offer-subscriptions`,
489
+ urlParams: urlParams([
490
+ "project_id",
491
+ request.projectId ?? this.client.settings.defaultProjectId
492
+ ])
493
+ },
494
+ unmarshalListOfferSubscriptionsResponse
495
+ );
496
+ /**
497
+ * Update a subscribed offer.
498
+ *
499
+ * @param request - The request {@link UpdateOfferSubscriptionRequest}
500
+ * @returns A Promise of OfferSubscription
501
+ */
502
+ updateOfferSubscription = (request = {}) => this.client.fetch(
503
+ {
504
+ body: JSON.stringify(
505
+ marshalUpdateOfferSubscriptionRequest(request, this.client.settings)
506
+ ),
507
+ headers: jsonContentHeaders,
508
+ method: "PATCH",
509
+ path: `/transactional-email/v1alpha1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/offer-subscriptions`
510
+ },
511
+ unmarshalOfferSubscription
512
+ );
513
+ /**
514
+ * List the available offers.. Retrieve the list of the available and
515
+ * free-of-charge offers you can subscribe to.
516
+ *
517
+ * @param request - The request {@link ListOffersRequest}
518
+ * @returns A Promise of ListOffersResponse
519
+ */
520
+ listOffers = (request = {}) => this.client.fetch(
521
+ {
522
+ method: "GET",
523
+ path: `/transactional-email/v1alpha1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/offers`
524
+ },
525
+ unmarshalListOffersResponse
526
+ );
527
+ pageOfListPools = (request = {}) => this.client.fetch(
528
+ {
529
+ method: "GET",
530
+ path: `/transactional-email/v1alpha1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/pools`,
531
+ urlParams: urlParams(
532
+ ["page", request.page],
533
+ [
534
+ "page_size",
535
+ request.pageSize ?? this.client.settings.defaultPageSize
536
+ ],
537
+ [
538
+ "project_id",
539
+ request.projectId ?? this.client.settings.defaultProjectId
540
+ ]
541
+ )
542
+ },
543
+ unmarshalListPoolsResponse
544
+ );
545
+ /**
546
+ * Get information about a sending pool.. Retrieve information about a sending
547
+ * pool, including its creation status and configuration parameters.
548
+ *
549
+ * @param request - The request {@link ListPoolsRequest}
550
+ * @returns A Promise of ListPoolsResponse
551
+ */
552
+ listPools = (request = {}) => enrichForPagination("pools", this.pageOfListPools, request);
553
+ /**
554
+ * Get project resource consumption.. Get project resource consumption.
555
+ *
556
+ * @param request - The request {@link GetProjectConsumptionRequest}
557
+ * @returns A Promise of ProjectConsumption
558
+ */
559
+ getProjectConsumption = (request = {}) => this.client.fetch(
560
+ {
561
+ method: "GET",
562
+ path: `/transactional-email/v1alpha1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/project-consumption`,
563
+ urlParams: urlParams([
564
+ "project_id",
565
+ request.projectId ?? this.client.settings.defaultProjectId
566
+ ])
567
+ },
568
+ unmarshalProjectConsumption
569
+ );
477
570
  }
478
571
  export {
479
572
  API
@@ -1,4 +1,4 @@
1
1
  export { API } from './api.gen.js';
2
2
  export * from './content.gen.js';
3
- export type { Blocklist, BlocklistType, BulkCreateBlocklistsRequest, BulkCreateBlocklistsResponse, CancelEmailRequest, CheckDomainRequest, CreateDomainRequest, CreateEmailRequest, CreateEmailRequestAddress, CreateEmailRequestAttachment, CreateEmailRequestHeader, CreateEmailResponse, CreateWebhookRequest, DeleteBlocklistRequest, DeleteWebhookRequest, Domain, DomainLastStatus, DomainLastStatusAutoconfigState, DomainLastStatusAutoconfigStateReason, DomainLastStatusDkimRecord, DomainLastStatusDmarcRecord, DomainLastStatusRecordStatus, DomainLastStatusSpfRecord, DomainRecords, DomainRecordsDMARC, DomainReputation, DomainReputationStatus, DomainStatistics, DomainStatus, Email, EmailFlag, EmailRcptType, EmailStatus, EmailTry, GetDomainLastStatusRequest, GetDomainRequest, GetEmailRequest, GetProjectSettingsRequest, GetStatisticsRequest, GetWebhookRequest, ListBlocklistsRequest, ListBlocklistsRequestOrderBy, ListBlocklistsResponse, ListDomainsRequest, ListDomainsResponse, ListEmailsRequest, ListEmailsRequestOrderBy, ListEmailsResponse, ListWebhookEventsRequest, ListWebhookEventsRequestOrderBy, ListWebhookEventsResponse, ListWebhooksRequest, ListWebhooksRequestOrderBy, ListWebhooksResponse, ProjectSettings, ProjectSettingsPeriodicReport, ProjectSettingsPeriodicReportFrequency, RevokeDomainRequest, Statistics, UpdateDomainRequest, UpdateProjectSettingsRequest, UpdateProjectSettingsRequestUpdatePeriodicReport, UpdateWebhookRequest, Webhook, WebhookEvent, WebhookEventStatus, WebhookEventType, } from './types.gen';
3
+ export type { Blocklist, BlocklistType, BulkCreateBlocklistsRequest, BulkCreateBlocklistsResponse, CancelEmailRequest, CheckDomainRequest, CreateDomainRequest, CreateEmailRequest, CreateEmailRequestAddress, CreateEmailRequestAttachment, CreateEmailRequestHeader, CreateEmailResponse, CreateWebhookRequest, DeleteBlocklistRequest, DeleteWebhookRequest, Domain, DomainLastStatus, DomainLastStatusAutoconfigState, DomainLastStatusAutoconfigStateReason, DomainLastStatusDkimRecord, DomainLastStatusDmarcRecord, DomainLastStatusRecordStatus, DomainLastStatusSpfRecord, DomainRecords, DomainRecordsDMARC, DomainReputation, DomainReputationStatus, DomainStatistics, DomainStatus, Email, EmailFlag, EmailRcptType, EmailStatus, EmailTry, GetDomainLastStatusRequest, GetDomainRequest, GetEmailRequest, GetProjectConsumptionRequest, GetProjectSettingsRequest, GetStatisticsRequest, GetWebhookRequest, ListBlocklistsRequest, ListBlocklistsRequestOrderBy, ListBlocklistsResponse, ListDomainsRequest, ListDomainsResponse, ListEmailsRequest, ListEmailsRequestOrderBy, ListEmailsResponse, ListOfferSubscriptionsRequest, ListOfferSubscriptionsResponse, ListOffersRequest, ListOffersResponse, ListPoolsRequest, ListPoolsResponse, ListWebhookEventsRequest, ListWebhookEventsRequestOrderBy, ListWebhookEventsResponse, ListWebhooksRequest, ListWebhooksRequestOrderBy, ListWebhooksResponse, Offer, OfferName, OfferSubscription, Pool, PoolStatus, ProjectConsumption, ProjectSettings, ProjectSettingsPeriodicReport, ProjectSettingsPeriodicReportFrequency, RevokeDomainRequest, Statistics, UpdateDomainRequest, UpdateOfferSubscriptionRequest, UpdateProjectSettingsRequest, UpdateProjectSettingsRequestUpdatePeriodicReport, UpdateWebhookRequest, Webhook, WebhookEvent, WebhookEventStatus, WebhookEventType, } from './types.gen';
4
4
  export * as ValidationRules from './validation-rules.gen.js';
@@ -114,6 +114,26 @@ const unmarshalDomain = (data) => {
114
114
  status: data.status
115
115
  };
116
116
  };
117
+ const unmarshalOfferSubscription = (data) => {
118
+ if (!json.isJSONObject(data)) {
119
+ throw new TypeError(
120
+ `Unmarshalling the type 'OfferSubscription' failed as data isn't a dictionary.`
121
+ );
122
+ }
123
+ return {
124
+ cancellationAvailableAt: marshalling.unmarshalDate(data.cancellation_available_at),
125
+ includedMonthlyEmails: data.included_monthly_emails,
126
+ maxCustomBlocklistsPerDomain: data.max_custom_blocklists_per_domain,
127
+ maxDedicatedIps: data.max_dedicated_ips,
128
+ maxDomains: data.max_domains,
129
+ maxWebhooksPerDomain: data.max_webhooks_per_domain,
130
+ offerName: data.offer_name,
131
+ organizationId: data.organization_id,
132
+ projectId: data.project_id,
133
+ sla: data.sla,
134
+ subscribedAt: marshalling.unmarshalDate(data.subscribed_at)
135
+ };
136
+ };
117
137
  const unmarshalWebhook = (data) => {
118
138
  if (!json.isJSONObject(data)) {
119
139
  throw new TypeError(
@@ -266,6 +286,75 @@ const unmarshalListEmailsResponse = (data) => {
266
286
  totalCount: data.total_count
267
287
  };
268
288
  };
289
+ const unmarshalListOfferSubscriptionsResponse = (data) => {
290
+ if (!json.isJSONObject(data)) {
291
+ throw new TypeError(
292
+ `Unmarshalling the type 'ListOfferSubscriptionsResponse' failed as data isn't a dictionary.`
293
+ );
294
+ }
295
+ return {
296
+ offerSubscriptions: marshalling.unmarshalArrayOfObject(
297
+ data.offer_subscriptions,
298
+ unmarshalOfferSubscription
299
+ ),
300
+ totalCount: data.total_count
301
+ };
302
+ };
303
+ const unmarshalOffer = (data) => {
304
+ if (!json.isJSONObject(data)) {
305
+ throw new TypeError(
306
+ `Unmarshalling the type 'Offer' failed as data isn't a dictionary.`
307
+ );
308
+ }
309
+ return {
310
+ commitmentPeriod: data.commitment_period,
311
+ createdAt: marshalling.unmarshalDate(data.created_at),
312
+ includedMonthlyEmails: data.included_monthly_emails,
313
+ maxCustomBlocklistsPerDomain: data.max_custom_blocklists_per_domain,
314
+ maxDedicatedIps: data.max_dedicated_ips,
315
+ maxDomains: data.max_domains,
316
+ maxWebhooksPerDomain: data.max_webhooks_per_domain,
317
+ name: data.name,
318
+ sla: data.sla
319
+ };
320
+ };
321
+ const unmarshalListOffersResponse = (data) => {
322
+ if (!json.isJSONObject(data)) {
323
+ throw new TypeError(
324
+ `Unmarshalling the type 'ListOffersResponse' failed as data isn't a dictionary.`
325
+ );
326
+ }
327
+ return {
328
+ offers: marshalling.unmarshalArrayOfObject(data.offers, unmarshalOffer),
329
+ totalCount: data.total_count
330
+ };
331
+ };
332
+ const unmarshalPool = (data) => {
333
+ if (!json.isJSONObject(data)) {
334
+ throw new TypeError(
335
+ `Unmarshalling the type 'Pool' failed as data isn't a dictionary.`
336
+ );
337
+ }
338
+ return {
339
+ details: data.details,
340
+ ips: data.ips,
341
+ projectId: data.project_id,
342
+ reverse: data.reverse,
343
+ status: data.status,
344
+ zone: data.zone
345
+ };
346
+ };
347
+ const unmarshalListPoolsResponse = (data) => {
348
+ if (!json.isJSONObject(data)) {
349
+ throw new TypeError(
350
+ `Unmarshalling the type 'ListPoolsResponse' failed as data isn't a dictionary.`
351
+ );
352
+ }
353
+ return {
354
+ pools: marshalling.unmarshalArrayOfObject(data.pools, unmarshalPool),
355
+ totalCount: data.total_count
356
+ };
357
+ };
269
358
  const unmarshalWebhookEvent = (data) => {
270
359
  if (!json.isJSONObject(data)) {
271
360
  throw new TypeError(
@@ -311,6 +400,21 @@ const unmarshalListWebhooksResponse = (data) => {
311
400
  webhooks: marshalling.unmarshalArrayOfObject(data.webhooks, unmarshalWebhook)
312
401
  };
313
402
  };
403
+ const unmarshalProjectConsumption = (data) => {
404
+ if (!json.isJSONObject(data)) {
405
+ throw new TypeError(
406
+ `Unmarshalling the type 'ProjectConsumption' failed as data isn't a dictionary.`
407
+ );
408
+ }
409
+ return {
410
+ customBlocklistsCount: data.custom_blocklists_count,
411
+ dedicatedIpsCount: data.dedicated_ips_count,
412
+ domainsCount: data.domains_count,
413
+ monthlyEmailsCount: data.monthly_emails_count,
414
+ projectId: data.project_id,
415
+ webhooksCount: data.webhooks_count
416
+ };
417
+ };
314
418
  const unmarshalProjectSettingsPeriodicReport = (data) => {
315
419
  if (!json.isJSONObject(data)) {
316
420
  throw new TypeError(
@@ -401,6 +505,10 @@ const marshalCreateWebhookRequest = (request, defaults) => ({
401
505
  const marshalUpdateDomainRequest = (request, defaults) => ({
402
506
  autoconfig: request.autoconfig
403
507
  });
508
+ const marshalUpdateOfferSubscriptionRequest = (request, defaults) => ({
509
+ name: request.name,
510
+ project_id: request.projectId ?? defaults.defaultProjectId
511
+ });
404
512
  const marshalUpdateProjectSettingsRequestUpdatePeriodicReport = (request, defaults) => ({
405
513
  enabled: request.enabled,
406
514
  frequency: request.frequency,
@@ -422,6 +530,7 @@ exports.marshalCreateDomainRequest = marshalCreateDomainRequest;
422
530
  exports.marshalCreateEmailRequest = marshalCreateEmailRequest;
423
531
  exports.marshalCreateWebhookRequest = marshalCreateWebhookRequest;
424
532
  exports.marshalUpdateDomainRequest = marshalUpdateDomainRequest;
533
+ exports.marshalUpdateOfferSubscriptionRequest = marshalUpdateOfferSubscriptionRequest;
425
534
  exports.marshalUpdateProjectSettingsRequest = marshalUpdateProjectSettingsRequest;
426
535
  exports.marshalUpdateWebhookRequest = marshalUpdateWebhookRequest;
427
536
  exports.unmarshalBulkCreateBlocklistsResponse = unmarshalBulkCreateBlocklistsResponse;
@@ -432,8 +541,13 @@ exports.unmarshalEmail = unmarshalEmail;
432
541
  exports.unmarshalListBlocklistsResponse = unmarshalListBlocklistsResponse;
433
542
  exports.unmarshalListDomainsResponse = unmarshalListDomainsResponse;
434
543
  exports.unmarshalListEmailsResponse = unmarshalListEmailsResponse;
544
+ exports.unmarshalListOfferSubscriptionsResponse = unmarshalListOfferSubscriptionsResponse;
545
+ exports.unmarshalListOffersResponse = unmarshalListOffersResponse;
546
+ exports.unmarshalListPoolsResponse = unmarshalListPoolsResponse;
435
547
  exports.unmarshalListWebhookEventsResponse = unmarshalListWebhookEventsResponse;
436
548
  exports.unmarshalListWebhooksResponse = unmarshalListWebhooksResponse;
549
+ exports.unmarshalOfferSubscription = unmarshalOfferSubscription;
550
+ exports.unmarshalProjectConsumption = unmarshalProjectConsumption;
437
551
  exports.unmarshalProjectSettings = unmarshalProjectSettings;
438
552
  exports.unmarshalStatistics = unmarshalStatistics;
439
553
  exports.unmarshalWebhook = unmarshalWebhook;