@wix/auto_sdk_premium_google-subscriptions 1.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.
@@ -0,0 +1,1050 @@
1
+ import { IsEligibleRequest as IsEligibleRequest$1, IsEligibleResponse as IsEligibleResponse$1, ObserveEmailActionsRequest as ObserveEmailActionsRequest$1, ObserveEmailActionsResponse as ObserveEmailActionsResponse$1, RawHttpRequest as RawHttpRequest$1, RawHttpResponse as RawHttpResponse$1, QueryGoogleSubscriptionsRequest as QueryGoogleSubscriptionsRequest$1, QueryGoogleSubscriptionsResponse as QueryGoogleSubscriptionsResponse$1, RetrieveUsersByDomainRequest as RetrieveUsersByDomainRequest$1, RetrieveUsersByDomainResponse as RetrieveUsersByDomainResponse$1, GetStorageUsageRequest as GetStorageUsageRequest$1, GetStorageUsageResponse as GetStorageUsageResponse$1, AssignLicenseRequest as AssignLicenseRequest$1, AssignLicenseResponse as AssignLicenseResponse$1, RevokeLicenseRequest as RevokeLicenseRequest$1, RevokeLicenseResponse as RevokeLicenseResponse$1 } from './index.typings.js';
2
+ import '@wix/sdk-types';
3
+
4
+ /**
5
+ * A Google subscription is a Google Workspace subscription, such as Business Email, that a Wix account purchased for one of its domains.
6
+ * It holds the number of licensed seats, the subscription's status, and the IDs Google uses for the customer and the subscription.
7
+ */
8
+ interface GoogleSubscription {
9
+ /**
10
+ * Google subscription ID.
11
+ * @format GUID
12
+ * @readonly
13
+ */
14
+ id?: string | null;
15
+ /**
16
+ * Revision number, which increments by 1 each time the Google subscription is updated.
17
+ * To prevent conflicting changes,
18
+ * the current revision must be passed when updating the Google subscription.
19
+ *
20
+ * Ignored when creating a Google subscription.
21
+ * @readonly
22
+ */
23
+ revision?: string | null;
24
+ /**
25
+ * Date and time the Google subscription was created.
26
+ * @readonly
27
+ */
28
+ createdDate?: Date | null;
29
+ /**
30
+ * Date and time the Google subscription was last updated.
31
+ * @readonly
32
+ */
33
+ updatedDate?: Date | null;
34
+ /**
35
+ * Number of licensed seats in the subscription. Each seat is 1 user account.
36
+ * @readonly
37
+ * @min 1
38
+ */
39
+ seats?: number;
40
+ /**
41
+ * ID of the Wix premium subscription this Google subscription belongs to.
42
+ * @format GUID
43
+ * @readonly
44
+ */
45
+ subscriptionId?: string;
46
+ /**
47
+ * Domain the subscription is for. For example, `my-domain.com`.
48
+ * @format HOSTNAME
49
+ * @readonly
50
+ */
51
+ domainName?: string;
52
+ /**
53
+ * Subscription status.
54
+ * @readonly
55
+ */
56
+ status?: StatusWithLiterals;
57
+ /**
58
+ * IDs Google uses for this subscription.
59
+ * @readonly
60
+ */
61
+ googleData?: GoogleData;
62
+ }
63
+ declare enum Status {
64
+ /** Unknown subscription status. */
65
+ UNKNOWN = "UNKNOWN",
66
+ /** Subscription is live and its mailboxes work. */
67
+ ACTIVE = "ACTIVE",
68
+ /** Subscription ended and wasn't renewed. */
69
+ EXPIRED = "EXPIRED",
70
+ /** Subscription was purchased, but its administrator account isn't set up yet. */
71
+ INCOMPLETE_SETUP = "INCOMPLETE_SETUP",
72
+ /** Google suspended the subscription until the customer accepts Google's terms of service. */
73
+ SUSPENDED_TOS = "SUSPENDED_TOS",
74
+ /** Wix suspended the subscription, for example after a failed payment. */
75
+ SUSPENDED_BY_WIX = "SUSPENDED_BY_WIX",
76
+ /** Subscription was transferred to another Google reseller. */
77
+ TRANSFERRED_OUT = "TRANSFERRED_OUT",
78
+ /** Purchase is in progress and the subscription isn't created at Google yet. */
79
+ PENDING = "PENDING",
80
+ /** Purchase couldn't be delivered, so no subscription was created at Google. */
81
+ NOT_DELIVERED = "NOT_DELIVERED",
82
+ /** Purchase is waiting for the customer's Google Workspace to become available, for example until the customer accepts Google's terms of service. */
83
+ PENDING_GWS = "PENDING_GWS"
84
+ }
85
+ /** @enumType */
86
+ type StatusWithLiterals = Status | 'UNKNOWN' | 'ACTIVE' | 'EXPIRED' | 'INCOMPLETE_SETUP' | 'SUSPENDED_TOS' | 'SUSPENDED_BY_WIX' | 'TRANSFERRED_OUT' | 'PENDING' | 'NOT_DELIVERED' | 'PENDING_GWS';
87
+ interface GoogleData {
88
+ /**
89
+ * Google customer ID of the Google Workspace that owns the subscription.
90
+ * @readonly
91
+ * @maxLength 16
92
+ */
93
+ googleCustomerId?: string | null;
94
+ /**
95
+ * Subscription ID at Google.
96
+ * @readonly
97
+ * @maxLength 16
98
+ */
99
+ googleSubscriptionId?: string | null;
100
+ /**
101
+ * ID of the Google product SKU the subscription is for, such as a specific Google Workspace edition.
102
+ * @readonly
103
+ * @maxLength 16
104
+ */
105
+ googleSkuId?: string;
106
+ }
107
+ interface IsEligibleRequest {
108
+ /**
109
+ * Domain to check. For example, `my-domain.com`.
110
+ * @format HOSTNAME
111
+ */
112
+ domainName?: string;
113
+ /**
114
+ * ID of the product to check eligibility for.
115
+ *
116
+ * Supported products: Business Email, Business Email for Base44, Google Workspace, and the Google Voice add-on.
117
+ * @format GUID
118
+ */
119
+ productTypeId?: string;
120
+ /** Not-eligible reasons to ignore when calculating the result. */
121
+ postEligibility?: PostEligibilityActions;
122
+ /**
123
+ * Premium subscription ID of an existing Business Email subscription, when checking eligibility to upgrade it.
124
+ * @format GUID
125
+ */
126
+ existingSubscriptionPremiumId?: string | null;
127
+ }
128
+ interface PostEligibilityActions {
129
+ /**
130
+ * Not-eligible reasons to ignore.
131
+ *
132
+ * A reason is ignored only when it exactly matches a reason the check returns, including its fields, such as `domainName`.
133
+ * @maxSize 10
134
+ * @minSize 1
135
+ */
136
+ ignoreReasons?: NotEligibleReason[];
137
+ }
138
+ interface NotEligibleReason extends NotEligibleReasonReasonOneOf {
139
+ /** Requested number of seats isn't valid. Reserved, and currently not returned. */
140
+ invalidRequestedSeats?: InvalidRequestedSeats;
141
+ /** The account has no active Business Email subscription, which the product requires. */
142
+ noGwsFound?: NoGWSFound;
143
+ /** The account's current Google Workspace product isn't compatible with the product. Reserved, and currently not returned. */
144
+ incompatibleGws?: IncompatibleWithCurrentGWSProduct;
145
+ /** The customer must accept Google's terms of service first. Reserved, and currently not returned. */
146
+ acceptTosRequired?: AcceptTosRequired;
147
+ /** Another Google customer already uses the domain. Reserved, and currently not returned. */
148
+ alreadyTaken?: GoogleCustomerAlreadyTakenOnGoogle;
149
+ /** The domain already has a Business Email package. */
150
+ emailPackageAlreadyExists?: EmailPackageAlreadyExists;
151
+ /** The caller's account doesn't own the domain. */
152
+ domainNotOwnedByUser?: DomainNotOwnedByUser;
153
+ /** Couldn't find the domain. */
154
+ domainNotFound?: DomainNotFound;
155
+ /** No products are available to purchase for the domain. Reserved, and currently not returned. */
156
+ noPurchasableSkus?: NoPurchasableSkus;
157
+ /** The account already has the add-on. */
158
+ addonAlreadyExists?: AddonAlreadyExists;
159
+ /** The product isn't available in the customer's country. */
160
+ notEligibleCountry?: NotEligibleCountry;
161
+ /** Google can't set up a Google Workspace for the domain, for example because a Google customer already exists for it. */
162
+ notEligibleCloudIdentityType?: NotEligibleCloudIdentityType;
163
+ /** The domain name isn't valid. */
164
+ invalidDomainName?: InvalidDomainName;
165
+ /** The domain already has a Google Workspace subscription. Reserved, and currently not returned. */
166
+ workspaceSubscriptionAlreadyExists?: WorkspaceSubscriptionAlreadyExists;
167
+ /** Google Workspace can't be set up on the domain, for example because it's a subdomain or contains a Google trademark. */
168
+ restrictedDomainName?: RestrictedDomainName;
169
+ /** Another check failed. `reason` describes the check. */
170
+ validationFailure?: GoogleWorkspaceValidationFailure;
171
+ /** Requested number of seats isn't compatible with the current subscription. Reserved, and currently not returned. */
172
+ incompatibleSeats?: IncompatibleGWSSeats;
173
+ }
174
+ /** @oneof */
175
+ interface NotEligibleReasonReasonOneOf {
176
+ /** Requested number of seats isn't valid. Reserved, and currently not returned. */
177
+ invalidRequestedSeats?: InvalidRequestedSeats;
178
+ /** The account has no active Business Email subscription, which the product requires. */
179
+ noGwsFound?: NoGWSFound;
180
+ /** The account's current Google Workspace product isn't compatible with the product. Reserved, and currently not returned. */
181
+ incompatibleGws?: IncompatibleWithCurrentGWSProduct;
182
+ /** The customer must accept Google's terms of service first. Reserved, and currently not returned. */
183
+ acceptTosRequired?: AcceptTosRequired;
184
+ /** Another Google customer already uses the domain. Reserved, and currently not returned. */
185
+ alreadyTaken?: GoogleCustomerAlreadyTakenOnGoogle;
186
+ /** The domain already has a Business Email package. */
187
+ emailPackageAlreadyExists?: EmailPackageAlreadyExists;
188
+ /** The caller's account doesn't own the domain. */
189
+ domainNotOwnedByUser?: DomainNotOwnedByUser;
190
+ /** Couldn't find the domain. */
191
+ domainNotFound?: DomainNotFound;
192
+ /** No products are available to purchase for the domain. Reserved, and currently not returned. */
193
+ noPurchasableSkus?: NoPurchasableSkus;
194
+ /** The account already has the add-on. */
195
+ addonAlreadyExists?: AddonAlreadyExists;
196
+ /** The product isn't available in the customer's country. */
197
+ notEligibleCountry?: NotEligibleCountry;
198
+ /** Google can't set up a Google Workspace for the domain, for example because a Google customer already exists for it. */
199
+ notEligibleCloudIdentityType?: NotEligibleCloudIdentityType;
200
+ /** The domain name isn't valid. */
201
+ invalidDomainName?: InvalidDomainName;
202
+ /** The domain already has a Google Workspace subscription. Reserved, and currently not returned. */
203
+ workspaceSubscriptionAlreadyExists?: WorkspaceSubscriptionAlreadyExists;
204
+ /** Google Workspace can't be set up on the domain, for example because it's a subdomain or contains a Google trademark. */
205
+ restrictedDomainName?: RestrictedDomainName;
206
+ /** Another check failed. `reason` describes the check. */
207
+ validationFailure?: GoogleWorkspaceValidationFailure;
208
+ /** Requested number of seats isn't compatible with the current subscription. Reserved, and currently not returned. */
209
+ incompatibleSeats?: IncompatibleGWSSeats;
210
+ }
211
+ interface InvalidRequestedSeats {
212
+ /** Number of seats that can be purchased. */
213
+ availableSeats?: number;
214
+ /** Number of seats requested. */
215
+ requestedSeat?: number;
216
+ }
217
+ interface NoGWSFound {
218
+ }
219
+ interface IncompatibleWithCurrentGWSProduct {
220
+ /**
221
+ * Google SKU ID of the account's current Google Workspace product.
222
+ * @maxLength 16
223
+ */
224
+ gwsSkuId?: string;
225
+ }
226
+ interface AcceptTosRequired {
227
+ /**
228
+ * ID of the Google Workspace subscription whose terms of service must be accepted.
229
+ * @format GUID
230
+ */
231
+ acceptTosGwsId?: string;
232
+ }
233
+ interface GoogleCustomerAlreadyTakenOnGoogle {
234
+ /**
235
+ * Domain another Google customer already uses.
236
+ * @format HOSTNAME
237
+ */
238
+ domainName?: string;
239
+ }
240
+ interface EmailPackageAlreadyExists {
241
+ /**
242
+ * Domain that already has a Business Email package.
243
+ * @format HOSTNAME
244
+ */
245
+ domainName?: string;
246
+ /**
247
+ * ID of the Wix account that owns the existing package.
248
+ * @format GUID
249
+ */
250
+ targetAccountId?: string;
251
+ }
252
+ interface DomainNotOwnedByUser {
253
+ /**
254
+ * Domain the caller's account doesn't own.
255
+ * @format HOSTNAME
256
+ */
257
+ domainName?: string;
258
+ }
259
+ interface DomainNotFound {
260
+ /**
261
+ * Domain that couldn't be found.
262
+ * @format HOSTNAME
263
+ */
264
+ domainName?: string;
265
+ }
266
+ interface NoPurchasableSkus {
267
+ /**
268
+ * Domain with no products available to purchase.
269
+ * @format HOSTNAME
270
+ */
271
+ domainName?: string;
272
+ }
273
+ interface AddonAlreadyExists {
274
+ /**
275
+ * Domain whose Google Workspace already has the add-on.
276
+ * @format HOSTNAME
277
+ */
278
+ domainName?: string;
279
+ /**
280
+ * Status of the existing add-on subscription. For example, `ACTIVE`.
281
+ * @maxLength 16
282
+ */
283
+ status?: string;
284
+ /**
285
+ * Product type ID of the existing add-on.
286
+ * @format GUID
287
+ */
288
+ productTypeId?: string;
289
+ }
290
+ interface NotEligibleCountry {
291
+ /**
292
+ * Domain that was checked.
293
+ * @format HOSTNAME
294
+ */
295
+ domainName?: string;
296
+ /**
297
+ * 2-letter code, in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, of the country where the product isn't available.
298
+ * @minLength 2
299
+ * @maxLength 2
300
+ */
301
+ countryCode?: string;
302
+ }
303
+ interface NotEligibleCloudIdentityType {
304
+ /**
305
+ * Domain that was checked.
306
+ * @format HOSTNAME
307
+ */
308
+ domainName?: string;
309
+ /**
310
+ * Why Google can't set up a Google Workspace for the domain.
311
+ * @minLength 1
312
+ * @maxLength 50
313
+ */
314
+ reason?: string;
315
+ }
316
+ interface InvalidDomainName {
317
+ /**
318
+ * Domain name that isn't valid.
319
+ * @maxLength 200
320
+ */
321
+ domainName?: string;
322
+ }
323
+ interface WorkspaceSubscriptionAlreadyExists {
324
+ /**
325
+ * Domain that already has a Google Workspace subscription.
326
+ * @format HOSTNAME
327
+ */
328
+ domainName?: string;
329
+ /**
330
+ * Status of the existing subscription. For example, `ACTIVE`.
331
+ * @maxLength 16
332
+ */
333
+ status?: string;
334
+ /**
335
+ * Product type ID of the existing subscription.
336
+ * @format GUID
337
+ */
338
+ productTypeId?: string;
339
+ }
340
+ interface RestrictedDomainName {
341
+ /**
342
+ * Restricted domain.
343
+ * @maxLength 200
344
+ */
345
+ domainName?: string;
346
+ /** Why the domain is restricted. */
347
+ reason?: RestrictedDomainReasonWithLiterals;
348
+ }
349
+ /** Why a well-formed domain cannot host Google Workspace */
350
+ declare enum RestrictedDomainReason {
351
+ /** Unknown restriction reason. */
352
+ RESTRICTED_DOMAIN_REASON_UNSPECIFIED = "RESTRICTED_DOMAIN_REASON_UNSPECIFIED",
353
+ /** Not a registrable domain, e.g. app.example.com */
354
+ SUBDOMAIN = "SUBDOMAIN",
355
+ /** Contains a Google trademark, e.g. gmail / youtube */
356
+ BRAND = "BRAND",
357
+ /** Top-level domain Google does not serve */
358
+ TLD = "TLD"
359
+ }
360
+ /** @enumType */
361
+ type RestrictedDomainReasonWithLiterals = RestrictedDomainReason | 'RESTRICTED_DOMAIN_REASON_UNSPECIFIED' | 'SUBDOMAIN' | 'BRAND' | 'TLD';
362
+ interface GoogleWorkspaceValidationFailure {
363
+ /**
364
+ * Description of the check that failed.
365
+ * @minLength 1
366
+ * @maxLength 50
367
+ */
368
+ reason?: string;
369
+ }
370
+ interface IncompatibleGWSSeats {
371
+ /** Number of seats in the current subscription. */
372
+ seats?: number;
373
+ }
374
+ interface IsEligibleResponse {
375
+ /**
376
+ * Domain that was checked.
377
+ * @format HOSTNAME
378
+ */
379
+ domainName?: string;
380
+ /** Overall eligibility result. */
381
+ result?: EligibilityResult;
382
+ /**
383
+ * Eligibility result for each product family.
384
+ *
385
+ * Returned only for the Google Voice add-on.
386
+ */
387
+ results?: EligibilityResult[];
388
+ }
389
+ interface EligibilityResult extends EligibilityResultResultOneOf {
390
+ /** Returned when the account can purchase the product. */
391
+ eligible?: Eligible;
392
+ /** Returned when the account can't purchase the product. */
393
+ notEligible?: NotEligible;
394
+ /**
395
+ * ID of the product family this result is for.
396
+ *
397
+ * Returned only in `results`.
398
+ */
399
+ productFamilyId?: string | null;
400
+ }
401
+ /** @oneof */
402
+ interface EligibilityResultResultOneOf {
403
+ /** Returned when the account can purchase the product. */
404
+ eligible?: Eligible;
405
+ /** Returned when the account can't purchase the product. */
406
+ notEligible?: NotEligible;
407
+ }
408
+ interface Eligible {
409
+ /**
410
+ * Maximum number of seats the account can purchase.
411
+ *
412
+ * For a new Business Email purchase, `20`. For an upgrade, the subscription's current number of seats plus 20. For a repurchase or transfer, the previous subscription's number of seats.
413
+ */
414
+ seats?: number;
415
+ /**
416
+ * Whether the purchase includes a free trial.
417
+ *
418
+ * Currently always `false`.
419
+ */
420
+ freeTrial?: boolean;
421
+ /** Whether, and how, the purchase renews a previous subscription. */
422
+ renewalType?: RenewalTypeWithLiterals;
423
+ }
424
+ /** Whether, and how, a purchase renews a previous subscription. */
425
+ declare enum RenewalType {
426
+ /** Not a renewal. Returned for a new purchase. */
427
+ RENEWAL_TYPE_UNSPECIFIED = "RENEWAL_TYPE_UNSPECIFIED",
428
+ /** New subscription purchase. Reserved, and currently not returned. A new purchase returns `RENEWAL_TYPE_UNSPECIFIED`. */
429
+ NEW_PURCHASE = "NEW_PURCHASE",
430
+ /** Repurchase of a subscription that Wix suspended. */
431
+ REPURCHASE = "REPURCHASE",
432
+ /** Transfer back to Wix of a subscription that was transferred out to another reseller. */
433
+ TRANSFER_IN = "TRANSFER_IN"
434
+ }
435
+ /** @enumType */
436
+ type RenewalTypeWithLiterals = RenewalType | 'RENEWAL_TYPE_UNSPECIFIED' | 'NEW_PURCHASE' | 'REPURCHASE' | 'TRANSFER_IN';
437
+ interface NotEligible {
438
+ /**
439
+ * Reasons the account can't purchase the product.
440
+ * @maxSize 10
441
+ * @minSize 1
442
+ */
443
+ reasons?: NotEligibleReason[];
444
+ }
445
+ interface ResolveEmailActionRequest {
446
+ /**
447
+ * Domain to evaluate. Must be a domain the caller's account owns.
448
+ * @format HOSTNAME
449
+ */
450
+ domainName?: string;
451
+ }
452
+ interface ResolveEmailActionResponse {
453
+ /** Proposed recovery action. */
454
+ action?: RecoveryActionWithLiterals;
455
+ /** Why the action was proposed. */
456
+ reason?: RecoveryReasonWithLiterals;
457
+ }
458
+ /** The action the resolver proposes for a mailbox target. */
459
+ declare enum RecoveryAction {
460
+ /** Unknown recovery action. */
461
+ RECOVERY_ACTION_UNSPECIFIED = "RECOVERY_ACTION_UNSPECIFIED",
462
+ /** An unresolved paid purchase already exists; no new purchase. */
463
+ RECOVERY_ACTION_PROCESSING = "RECOVERY_ACTION_PROCESSING",
464
+ /** Required evidence could not be read; offer a recheck rather than claim absence. */
465
+ RECOVERY_ACTION_RETRY = "RECOVERY_ACTION_RETRY",
466
+ /** No safe action; existing shared unavailable/support experience. */
467
+ RECOVERY_ACTION_UNAVAILABLE = "RECOVERY_ACTION_UNAVAILABLE",
468
+ /** Customer must accept Google Workspace terms. */
469
+ RECOVERY_ACTION_ACCEPT_GOOGLE_TOS = "RECOVERY_ACTION_ACCEPT_GOOGLE_TOS",
470
+ /** Subscription is still in Wix's channel and restorable. */
471
+ RECOVERY_ACTION_RENEW = "RECOVERY_ACTION_RENEW",
472
+ /** Customer must authorize Wix before a transfer can be attempted. */
473
+ RECOVERY_ACTION_AUTHORIZE_WIX = "RECOVERY_ACTION_AUTHORIZE_WIX",
474
+ /** A supported transfer is available. */
475
+ RECOVERY_ACTION_TRANSFER_IN = "RECOVERY_ACTION_TRANSFER_IN",
476
+ /** Healthy service; normal Business Email management. */
477
+ RECOVERY_ACTION_MANAGE = "RECOVERY_ACTION_MANAGE",
478
+ /** Confirmed absence; hand off to unchanged initial purchase. */
479
+ RECOVERY_ACTION_INITIAL_PURCHASE = "RECOVERY_ACTION_INITIAL_PURCHASE"
480
+ }
481
+ /** @enumType */
482
+ type RecoveryActionWithLiterals = RecoveryAction | 'RECOVERY_ACTION_UNSPECIFIED' | 'RECOVERY_ACTION_PROCESSING' | 'RECOVERY_ACTION_RETRY' | 'RECOVERY_ACTION_UNAVAILABLE' | 'RECOVERY_ACTION_ACCEPT_GOOGLE_TOS' | 'RECOVERY_ACTION_RENEW' | 'RECOVERY_ACTION_AUTHORIZE_WIX' | 'RECOVERY_ACTION_TRANSFER_IN' | 'RECOVERY_ACTION_MANAGE' | 'RECOVERY_ACTION_INITIAL_PURCHASE';
483
+ /** Why the resolver selected its action. */
484
+ declare enum RecoveryReason {
485
+ /** Unknown recovery reason. */
486
+ RECOVERY_REASON_UNSPECIFIED = "RECOVERY_REASON_UNSPECIFIED",
487
+ /** A recovery for the domain is already in progress. */
488
+ RECOVERY_REASON_RECOVERY_IN_PROGRESS = "RECOVERY_REASON_RECOVERY_IN_PROGRESS",
489
+ /** An earlier recovery for the domain needs attention before it can continue. */
490
+ RECOVERY_REASON_RECOVERY_NEEDS_ATTENTION = "RECOVERY_REASON_RECOVERY_NEEDS_ATTENTION",
491
+ /** An earlier recovery for the domain is waiting for the customer to accept Google's terms of service. */
492
+ RECOVERY_REASON_RECOVERY_TOS_REQUIRED = "RECOVERY_REASON_RECOVERY_TOS_REQUIRED",
493
+ /** Data needed for the decision couldn't be read. */
494
+ RECOVERY_REASON_REQUIRED_EVIDENCE_UNAVAILABLE = "RECOVERY_REASON_REQUIRED_EVIDENCE_UNAVAILABLE",
495
+ /** The domain's Google identity needs a manual review. */
496
+ RECOVERY_REASON_IDENTITY_REQUIRES_REVIEW = "RECOVERY_REASON_IDENTITY_REQUIRES_REVIEW",
497
+ /** The customer must accept Google's terms of service. */
498
+ RECOVERY_REASON_GOOGLE_TOS_REQUIRED = "RECOVERY_REASON_GOOGLE_TOS_REQUIRED",
499
+ /** The subscription is still with Wix and can be renewed. */
500
+ RECOVERY_REASON_RETAINED_SUBSCRIPTION_RENEWABLE = "RECOVERY_REASON_RETAINED_SUBSCRIPTION_RENEWABLE",
501
+ /** The customer must authorize Wix before the subscription can be transferred. */
502
+ RECOVERY_REASON_TRANSFER_AUTHORIZATION_REQUIRED = "RECOVERY_REASON_TRANSFER_AUTHORIZATION_REQUIRED",
503
+ /** The subscription can be transferred to Wix. */
504
+ RECOVERY_REASON_SUPPORTED_TRANSFER_AVAILABLE = "RECOVERY_REASON_SUPPORTED_TRANSFER_AVAILABLE",
505
+ /** The subscription is working normally. */
506
+ RECOVERY_REASON_SUBSCRIPTION_HEALTHY = "RECOVERY_REASON_SUBSCRIPTION_HEALTHY",
507
+ /** Google has no customer for the domain. */
508
+ RECOVERY_REASON_GOOGLE_CUSTOMER_ABSENCE_CONFIRMED = "RECOVERY_REASON_GOOGLE_CUSTOMER_ABSENCE_CONFIRMED",
509
+ /** Google has an organization for the domain, but it has no subscription. */
510
+ RECOVERY_REASON_EXISTING_ORGANIZATION_WITHOUT_SUBSCRIPTION = "RECOVERY_REASON_EXISTING_ORGANIZATION_WITHOUT_SUBSCRIPTION",
511
+ /** The domain's state has no supported recovery. */
512
+ RECOVERY_REASON_UNSUPPORTED_RECOVERY = "RECOVERY_REASON_UNSUPPORTED_RECOVERY",
513
+ /** The domain's release from its previous Google setup isn't resolved. */
514
+ RECOVERY_REASON_RELEASE_UNRESOLVED = "RECOVERY_REASON_RELEASE_UNRESOLVED",
515
+ /** The available data doesn't support a decision. */
516
+ RECOVERY_REASON_INCONCLUSIVE = "RECOVERY_REASON_INCONCLUSIVE",
517
+ /** The customer hasn't finished setting up Business Email: Google's terms of service aren't accepted and no seat is licensed yet. */
518
+ RECOVERY_REASON_SETUP_INCOMPLETE = "RECOVERY_REASON_SETUP_INCOMPLETE"
519
+ }
520
+ /** @enumType */
521
+ type RecoveryReasonWithLiterals = RecoveryReason | 'RECOVERY_REASON_UNSPECIFIED' | 'RECOVERY_REASON_RECOVERY_IN_PROGRESS' | 'RECOVERY_REASON_RECOVERY_NEEDS_ATTENTION' | 'RECOVERY_REASON_RECOVERY_TOS_REQUIRED' | 'RECOVERY_REASON_REQUIRED_EVIDENCE_UNAVAILABLE' | 'RECOVERY_REASON_IDENTITY_REQUIRES_REVIEW' | 'RECOVERY_REASON_GOOGLE_TOS_REQUIRED' | 'RECOVERY_REASON_RETAINED_SUBSCRIPTION_RENEWABLE' | 'RECOVERY_REASON_TRANSFER_AUTHORIZATION_REQUIRED' | 'RECOVERY_REASON_SUPPORTED_TRANSFER_AVAILABLE' | 'RECOVERY_REASON_SUBSCRIPTION_HEALTHY' | 'RECOVERY_REASON_GOOGLE_CUSTOMER_ABSENCE_CONFIRMED' | 'RECOVERY_REASON_EXISTING_ORGANIZATION_WITHOUT_SUBSCRIPTION' | 'RECOVERY_REASON_UNSUPPORTED_RECOVERY' | 'RECOVERY_REASON_RELEASE_UNRESOLVED' | 'RECOVERY_REASON_INCONCLUSIVE' | 'RECOVERY_REASON_SETUP_INCOMPLETE';
522
+ interface ObserveEmailActionsRequest {
523
+ /**
524
+ * Domains to evaluate. For example, `my-domain.com`.
525
+ *
526
+ * Duplicates are ignored, regardless of case. Domains the caller's account doesn't own are skipped.
527
+ *
528
+ * Up to 20 distinct domains are evaluated per request. Any others are counted in `skipped`.
529
+ * @maxSize 50
530
+ * @minSize 1
531
+ * @format HOSTNAME
532
+ */
533
+ domainNames?: string[];
534
+ }
535
+ interface ObserveEmailActionsResponse {
536
+ /** Number of distinct domains that were evaluated. Includes domains where some of the data needed for the evaluation couldn't be read. */
537
+ observed?: number;
538
+ /** Number of requested domains that weren't evaluated. Includes duplicates, domains the caller's account doesn't own, domains beyond the per-request limit, and domains whose evaluation failed. */
539
+ skipped?: number;
540
+ }
541
+ interface DomainEvent extends DomainEventBodyOneOf {
542
+ createdEvent?: EntityCreatedEvent;
543
+ updatedEvent?: EntityUpdatedEvent;
544
+ deletedEvent?: EntityDeletedEvent;
545
+ actionEvent?: ActionEvent;
546
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
547
+ id?: string;
548
+ /**
549
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
550
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
551
+ */
552
+ entityFqdn?: string;
553
+ /**
554
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
555
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
556
+ */
557
+ slug?: string;
558
+ /** ID of the entity associated with the event. */
559
+ entityId?: string;
560
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
561
+ eventTime?: Date | null;
562
+ /**
563
+ * Whether the event was triggered as a result of a privacy regulation application
564
+ * (for example, GDPR).
565
+ */
566
+ triggeredByAnonymizeRequest?: boolean | null;
567
+ /** If present, indicates the action that triggered the event. */
568
+ originatedFrom?: string | null;
569
+ /**
570
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.
571
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
572
+ */
573
+ entityEventSequence?: string | null;
574
+ }
575
+ /** @oneof */
576
+ interface DomainEventBodyOneOf {
577
+ createdEvent?: EntityCreatedEvent;
578
+ updatedEvent?: EntityUpdatedEvent;
579
+ deletedEvent?: EntityDeletedEvent;
580
+ actionEvent?: ActionEvent;
581
+ }
582
+ interface EntityCreatedEvent {
583
+ entityAsJson?: string;
584
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
585
+ restoreInfo?: RestoreInfo;
586
+ }
587
+ interface RestoreInfo {
588
+ deletedDate?: Date | null;
589
+ }
590
+ interface EntityUpdatedEvent {
591
+ /**
592
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
593
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
594
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
595
+ */
596
+ currentEntityAsJson?: string;
597
+ }
598
+ interface EntityDeletedEvent {
599
+ /** Entity that was deleted. */
600
+ deletedEntityAsJson?: string | null;
601
+ }
602
+ interface ActionEvent {
603
+ bodyAsJson?: string;
604
+ }
605
+ interface MessageEnvelope {
606
+ /**
607
+ * App instance ID.
608
+ * @format GUID
609
+ */
610
+ instanceId?: string | null;
611
+ /**
612
+ * Event type.
613
+ * @maxLength 150
614
+ */
615
+ eventType?: string;
616
+ /** The identification type and identity data. */
617
+ identity?: IdentificationData;
618
+ /** Stringify payload. */
619
+ data?: string;
620
+ /** Details related to the account */
621
+ accountInfo?: AccountInfo;
622
+ }
623
+ interface IdentificationData extends IdentificationDataIdOneOf {
624
+ /**
625
+ * ID of a site visitor that has not logged in to the site.
626
+ * @format GUID
627
+ */
628
+ anonymousVisitorId?: string;
629
+ /**
630
+ * ID of a site visitor that has logged in to the site.
631
+ * @format GUID
632
+ */
633
+ memberId?: string;
634
+ /**
635
+ * ID of a Wix user (site owner, contributor, etc.).
636
+ * @format GUID
637
+ */
638
+ wixUserId?: string;
639
+ /**
640
+ * ID of an app.
641
+ * @format GUID
642
+ */
643
+ appId?: string;
644
+ /** @readonly */
645
+ identityType?: WebhookIdentityTypeWithLiterals;
646
+ }
647
+ /** @oneof */
648
+ interface IdentificationDataIdOneOf {
649
+ /**
650
+ * ID of a site visitor that has not logged in to the site.
651
+ * @format GUID
652
+ */
653
+ anonymousVisitorId?: string;
654
+ /**
655
+ * ID of a site visitor that has logged in to the site.
656
+ * @format GUID
657
+ */
658
+ memberId?: string;
659
+ /**
660
+ * ID of a Wix user (site owner, contributor, etc.).
661
+ * @format GUID
662
+ */
663
+ wixUserId?: string;
664
+ /**
665
+ * ID of an app.
666
+ * @format GUID
667
+ */
668
+ appId?: string;
669
+ }
670
+ declare enum WebhookIdentityType {
671
+ UNKNOWN = "UNKNOWN",
672
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
673
+ MEMBER = "MEMBER",
674
+ WIX_USER = "WIX_USER",
675
+ APP = "APP"
676
+ }
677
+ /** @enumType */
678
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
679
+ interface AccountInfo {
680
+ /**
681
+ * ID of the Wix account associated with the event.
682
+ * @format GUID
683
+ */
684
+ accountId?: string | null;
685
+ /**
686
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
687
+ * @format GUID
688
+ */
689
+ parentAccountId?: string | null;
690
+ /**
691
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
692
+ * @format GUID
693
+ */
694
+ siteId?: string | null;
695
+ }
696
+ interface RawHttpRequest {
697
+ body?: Uint8Array;
698
+ pathParams?: PathParametersEntry[];
699
+ queryParams?: QueryParametersEntry[];
700
+ headers?: HeadersEntry[];
701
+ method?: string;
702
+ rawPath?: string;
703
+ rawQuery?: string;
704
+ }
705
+ interface PathParametersEntry {
706
+ key?: string;
707
+ value?: string;
708
+ }
709
+ interface QueryParametersEntry {
710
+ key?: string;
711
+ value?: string;
712
+ }
713
+ interface HeadersEntry {
714
+ key?: string;
715
+ value?: string;
716
+ }
717
+ interface RawHttpResponse {
718
+ body?: Uint8Array;
719
+ statusCode?: number | null;
720
+ headers?: HeadersEntry[];
721
+ }
722
+ interface CreateGoogleSubscriptionRequest {
723
+ /** Google subscription to create. */
724
+ googleSubscription?: GoogleSubscription;
725
+ }
726
+ interface CreateGoogleSubscriptionResponse {
727
+ /** Created Google subscription. */
728
+ googleSubscription?: GoogleSubscription;
729
+ }
730
+ interface GetGoogleSubscriptionRequest {
731
+ /**
732
+ * ID of the Google subscription to retrieve.
733
+ * @format GUID
734
+ */
735
+ googleSubscriptionId?: string;
736
+ }
737
+ interface GetGoogleSubscriptionResponse {
738
+ /** Retrieved Google subscription. */
739
+ googleSubscription?: GoogleSubscription;
740
+ }
741
+ interface UpdateGoogleSubscriptionRequest {
742
+ /** Google subscription to update. May be partial. */
743
+ googleSubscription?: GoogleSubscription;
744
+ }
745
+ interface UpdateGoogleSubscriptionResponse {
746
+ /** Updated Google subscription. */
747
+ googleSubscription?: GoogleSubscription;
748
+ }
749
+ interface DeleteGoogleSubscriptionRequest {
750
+ /**
751
+ * ID of the Google subscription to delete.
752
+ * @format GUID
753
+ */
754
+ googleSubscriptionId?: string;
755
+ }
756
+ interface DeleteGoogleSubscriptionResponse {
757
+ }
758
+ interface QueryGoogleSubscriptionsRequest {
759
+ /** Query options. */
760
+ query?: QueryV2;
761
+ }
762
+ interface QueryV2 extends QueryV2PagingMethodOneOf {
763
+ /** Paging options to limit and skip the number of items. */
764
+ paging?: Paging;
765
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
766
+ cursorPaging?: CursorPaging;
767
+ /**
768
+ * Filter object in the following format:
769
+ * `"filter" : {
770
+ * "fieldName1": "value1",
771
+ * "fieldName2":{"$operator":"value2"}
772
+ * }`
773
+ * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
774
+ */
775
+ filter?: Record<string, any> | null;
776
+ /**
777
+ * Sort object in the following format:
778
+ * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
779
+ * @maxSize 4
780
+ */
781
+ sort?: Sorting[];
782
+ /**
783
+ * Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned.
784
+ * @maxLength 200
785
+ * @maxSize 20
786
+ */
787
+ fields?: string[];
788
+ /**
789
+ * Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned.
790
+ * @maxLength 200
791
+ * @maxSize 20
792
+ */
793
+ fieldsets?: string[];
794
+ }
795
+ /** @oneof */
796
+ interface QueryV2PagingMethodOneOf {
797
+ /** Paging options to limit and skip the number of items. */
798
+ paging?: Paging;
799
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
800
+ cursorPaging?: CursorPaging;
801
+ }
802
+ interface Sorting {
803
+ /**
804
+ * Name of the field to sort by.
805
+ * @maxLength 50
806
+ */
807
+ fieldName?: string;
808
+ /** Sort order. */
809
+ order?: SortOrderWithLiterals;
810
+ }
811
+ declare enum SortOrder {
812
+ ASC = "ASC",
813
+ DESC = "DESC"
814
+ }
815
+ /** @enumType */
816
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
817
+ interface Paging {
818
+ /** Number of items to load. */
819
+ limit?: number | null;
820
+ /** Number of items to skip in the current sort order. */
821
+ offset?: number | null;
822
+ }
823
+ interface CursorPaging {
824
+ /**
825
+ * Number of items to load.
826
+ * @max 100
827
+ */
828
+ limit?: number | null;
829
+ /**
830
+ * Pointer to the next or previous page in the list of results.
831
+ *
832
+ * You can get the relevant cursor token
833
+ * from the `pagingMetadata` object in the previous call's response.
834
+ * Not relevant for the first request.
835
+ * @maxLength 16000
836
+ */
837
+ cursor?: string | null;
838
+ }
839
+ interface QueryGoogleSubscriptionsResponse {
840
+ /** Retrieved Google subscriptions. */
841
+ googleSubscriptions?: GoogleSubscription[];
842
+ /** Paging metadata. */
843
+ pagingMetadata?: CursorPagingMetadata;
844
+ }
845
+ interface CursorPagingMetadata {
846
+ /** Number of items returned in the response. */
847
+ count?: number | null;
848
+ /** Offset that was requested. */
849
+ cursors?: Cursors;
850
+ /**
851
+ * Indicates if there are more results after the current page.
852
+ * If `true`, another page of results can be retrieved.
853
+ * If `false`, this is the last page.
854
+ */
855
+ hasNext?: boolean | null;
856
+ }
857
+ interface Cursors {
858
+ /**
859
+ * Cursor pointing to next page in the list of results.
860
+ * @maxLength 16000
861
+ */
862
+ next?: string | null;
863
+ /**
864
+ * Cursor pointing to previous page in the list of results.
865
+ * @maxLength 16000
866
+ */
867
+ prev?: string | null;
868
+ }
869
+ interface UpdateExtendedFieldsRequest {
870
+ /** ID of the entity to update. */
871
+ id?: string;
872
+ /** Identifier for the app whose extended fields are being updated. */
873
+ namespace?: string;
874
+ /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
875
+ namespaceData?: Record<string, any> | null;
876
+ }
877
+ interface UpdateExtendedFieldsResponse {
878
+ /** Updated Google subscription. */
879
+ googleSubscription?: GoogleSubscription;
880
+ }
881
+ interface RetrieveUsersByDomainRequest {
882
+ /**
883
+ * Domain whose Google Workspace users to retrieve. Must be a domain the caller's account owns.
884
+ * @format HOSTNAME
885
+ */
886
+ domainName: string;
887
+ }
888
+ interface RetrieveUsersByDomainResponse {
889
+ /**
890
+ * Retrieved users.
891
+ *
892
+ * Limited to 300 users.
893
+ */
894
+ users?: User[];
895
+ }
896
+ /**
897
+ * A Google user is a user account in a Google Workspace, such as a Business Email mailbox.
898
+ * It holds the user's primary email address, name, administrator role, and recovery details.
899
+ */
900
+ interface User {
901
+ /**
902
+ * Google user ID.
903
+ * @minLength 1
904
+ * @maxLength 36
905
+ */
906
+ id?: string;
907
+ /**
908
+ * User's primary email address. For example, `jane@my-domain.com`.
909
+ * @format EMAIL
910
+ */
911
+ primaryEmail?: string;
912
+ /** User's name. */
913
+ name?: UserName;
914
+ /** Whether the user is a super administrator of the Google Workspace. */
915
+ admin?: boolean;
916
+ /** Whether the user is a delegated administrator of the Google Workspace, with a subset of administrator privileges. */
917
+ delegatedAdmin?: boolean;
918
+ /**
919
+ * Google customer ID of the Google Workspace the user belongs to.
920
+ * @minLength 1
921
+ * @maxLength 36
922
+ */
923
+ customerId?: string;
924
+ /**
925
+ * User's Google Voice phone number.
926
+ *
927
+ * Returned only when the user has a Google Voice number.
928
+ * @maxLength 20
929
+ */
930
+ googleVoiceNumber?: string | null;
931
+ /**
932
+ * Product type IDs of the products licensed to the user, such as Business Email or the Google Voice add-on.
933
+ *
934
+ * Not returned by [Retrieve Users by Domain](https://dev.wix.com/docs/api-reference/account-level/premium/business-email/google-subscription-v1/retrieve-users-by-domain).
935
+ * @format GUID
936
+ * @maxSize 20
937
+ */
938
+ licensedProductTypeIds?: string[];
939
+ /**
940
+ * Recovery email address Google uses to verify the user when they can't sign in.
941
+ * @maxLength 255
942
+ */
943
+ recoveryEmail?: string | null;
944
+ /**
945
+ * Recovery phone number Google uses to verify the user when they can't sign in, in [E.164](https://en.wikipedia.org/wiki/E.164) format. For example, `+12025550123`.
946
+ * @maxLength 20
947
+ */
948
+ recoveryPhone?: string | null;
949
+ }
950
+ interface UserName {
951
+ /**
952
+ * User's given name (first name).
953
+ * @maxLength 60
954
+ */
955
+ givenName?: string | null;
956
+ /**
957
+ * User's family name (last name).
958
+ * @maxLength 60
959
+ */
960
+ familyName?: string | null;
961
+ /**
962
+ * User's full name. Calculated from `givenName` and `familyName`.
963
+ * @maxLength 120
964
+ * @readonly
965
+ */
966
+ fullName?: string | null;
967
+ }
968
+ interface GetStorageUsageRequest {
969
+ /**
970
+ * Premium subscription ID of the Google Workspace whose storage usage to retrieve.
971
+ * @format GUID
972
+ */
973
+ googleWorkspacePremiumId: string;
974
+ }
975
+ interface GetStorageUsageResponse {
976
+ /**
977
+ * Day of the usage report the numbers describe, in `YYYY-MM-DD` format. Google publishes storage usage once a day, using the UTC-8 time zone, so the numbers trail live usage.
978
+ *
979
+ * Returned only when usage data is available.
980
+ * @maxLength 10
981
+ */
982
+ asOfDate?: string | null;
983
+ /** Storage used across the whole Google Workspace, in MB. Includes all mailboxes, Google Drive, and Google Photos. */
984
+ usedMb?: string | null;
985
+ /** Pooled storage quota, in MB, shared by all users. Equals the edition's storage allowance per seat multiplied by the number of licensed seats. */
986
+ quotaMb?: string | null;
987
+ }
988
+ interface AssignLicenseRequest {
989
+ /**
990
+ * Premium subscription ID of the Google subscription.
991
+ * @format GUID
992
+ */
993
+ premiumId?: string;
994
+ /**
995
+ * Primary email address of the user to assign the license to.
996
+ * @format EMAIL
997
+ */
998
+ userEmail?: string;
999
+ }
1000
+ interface AssignLicenseResponse {
1001
+ }
1002
+ interface RevokeLicenseRequest {
1003
+ /**
1004
+ * Premium subscription ID of the Google subscription.
1005
+ * @format GUID
1006
+ */
1007
+ premiumId?: string;
1008
+ /**
1009
+ * Primary email address of the user whose license to revoke.
1010
+ * @format EMAIL
1011
+ */
1012
+ userEmail?: string;
1013
+ }
1014
+ interface RevokeLicenseResponse {
1015
+ }
1016
+ /** @docsIgnore */
1017
+ type GetStorageUsageApplicationErrors = {
1018
+ code?: 'NOT_FOUND_GWS_FOR_STORAGE_USAGE';
1019
+ description?: string;
1020
+ data?: Record<string, any>;
1021
+ } | {
1022
+ code?: 'PERMISSION_DENIED_FOR_STORAGE_USAGE';
1023
+ description?: string;
1024
+ data?: Record<string, any>;
1025
+ };
1026
+
1027
+ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
1028
+ getUrl: (context: any) => string;
1029
+ httpMethod: K;
1030
+ path: string;
1031
+ pathParams: M;
1032
+ __requestType: T;
1033
+ __originalRequestType: S;
1034
+ __responseType: Q;
1035
+ __originalResponseType: R;
1036
+ };
1037
+ declare function isEligible(): __PublicMethodMetaInfo<'GET', {}, IsEligibleRequest$1, IsEligibleRequest, IsEligibleResponse$1, IsEligibleResponse>;
1038
+ declare function observeEmailActions(): __PublicMethodMetaInfo<'POST', {}, ObserveEmailActionsRequest$1, ObserveEmailActionsRequest, ObserveEmailActionsResponse$1, ObserveEmailActionsResponse>;
1039
+ declare function receiveCloudChannelPush(): __PublicMethodMetaInfo<'POST', {}, RawHttpRequest$1, RawHttpRequest, RawHttpResponse$1, RawHttpResponse>;
1040
+ declare function queryGoogleSubscriptions(): __PublicMethodMetaInfo<'POST', {}, QueryGoogleSubscriptionsRequest$1, QueryGoogleSubscriptionsRequest, QueryGoogleSubscriptionsResponse$1, QueryGoogleSubscriptionsResponse>;
1041
+ declare function retrieveUsersByDomain(): __PublicMethodMetaInfo<'GET', {
1042
+ domainName: string;
1043
+ }, RetrieveUsersByDomainRequest$1, RetrieveUsersByDomainRequest, RetrieveUsersByDomainResponse$1, RetrieveUsersByDomainResponse>;
1044
+ declare function getStorageUsage(): __PublicMethodMetaInfo<'GET', {
1045
+ googleWorkspacePremiumId: string;
1046
+ }, GetStorageUsageRequest$1, GetStorageUsageRequest, GetStorageUsageResponse$1, GetStorageUsageResponse>;
1047
+ declare function assignLicense(): __PublicMethodMetaInfo<'POST', {}, AssignLicenseRequest$1, AssignLicenseRequest, AssignLicenseResponse$1, AssignLicenseResponse>;
1048
+ declare function revokeLicense(): __PublicMethodMetaInfo<'POST', {}, RevokeLicenseRequest$1, RevokeLicenseRequest, RevokeLicenseResponse$1, RevokeLicenseResponse>;
1049
+
1050
+ export { type AcceptTosRequired as AcceptTosRequiredOriginal, type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddonAlreadyExists as AddonAlreadyExistsOriginal, type AssignLicenseRequest as AssignLicenseRequestOriginal, type AssignLicenseResponse as AssignLicenseResponseOriginal, type CreateGoogleSubscriptionRequest as CreateGoogleSubscriptionRequestOriginal, type CreateGoogleSubscriptionResponse as CreateGoogleSubscriptionResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DeleteGoogleSubscriptionRequest as DeleteGoogleSubscriptionRequestOriginal, type DeleteGoogleSubscriptionResponse as DeleteGoogleSubscriptionResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DomainNotFound as DomainNotFoundOriginal, type DomainNotOwnedByUser as DomainNotOwnedByUserOriginal, type EligibilityResult as EligibilityResultOriginal, type EligibilityResultResultOneOf as EligibilityResultResultOneOfOriginal, type Eligible as EligibleOriginal, type EmailPackageAlreadyExists as EmailPackageAlreadyExistsOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type GetGoogleSubscriptionRequest as GetGoogleSubscriptionRequestOriginal, type GetGoogleSubscriptionResponse as GetGoogleSubscriptionResponseOriginal, type GetStorageUsageApplicationErrors as GetStorageUsageApplicationErrorsOriginal, type GetStorageUsageRequest as GetStorageUsageRequestOriginal, type GetStorageUsageResponse as GetStorageUsageResponseOriginal, type GoogleCustomerAlreadyTakenOnGoogle as GoogleCustomerAlreadyTakenOnGoogleOriginal, type GoogleData as GoogleDataOriginal, type GoogleSubscription as GoogleSubscriptionOriginal, type GoogleWorkspaceValidationFailure as GoogleWorkspaceValidationFailureOriginal, type HeadersEntry as HeadersEntryOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type IncompatibleGWSSeats as IncompatibleGWSSeatsOriginal, type IncompatibleWithCurrentGWSProduct as IncompatibleWithCurrentGWSProductOriginal, type InvalidDomainName as InvalidDomainNameOriginal, type InvalidRequestedSeats as InvalidRequestedSeatsOriginal, type IsEligibleRequest as IsEligibleRequestOriginal, type IsEligibleResponse as IsEligibleResponseOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type NoGWSFound as NoGWSFoundOriginal, type NoPurchasableSkus as NoPurchasableSkusOriginal, type NotEligibleCloudIdentityType as NotEligibleCloudIdentityTypeOriginal, type NotEligibleCountry as NotEligibleCountryOriginal, type NotEligible as NotEligibleOriginal, type NotEligibleReason as NotEligibleReasonOriginal, type NotEligibleReasonReasonOneOf as NotEligibleReasonReasonOneOfOriginal, type ObserveEmailActionsRequest as ObserveEmailActionsRequestOriginal, type ObserveEmailActionsResponse as ObserveEmailActionsResponseOriginal, type Paging as PagingOriginal, type PathParametersEntry as PathParametersEntryOriginal, type PostEligibilityActions as PostEligibilityActionsOriginal, type QueryGoogleSubscriptionsRequest as QueryGoogleSubscriptionsRequestOriginal, type QueryGoogleSubscriptionsResponse as QueryGoogleSubscriptionsResponseOriginal, type QueryParametersEntry as QueryParametersEntryOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, type RawHttpRequest as RawHttpRequestOriginal, type RawHttpResponse as RawHttpResponseOriginal, RecoveryAction as RecoveryActionOriginal, type RecoveryActionWithLiterals as RecoveryActionWithLiteralsOriginal, RecoveryReason as RecoveryReasonOriginal, type RecoveryReasonWithLiterals as RecoveryReasonWithLiteralsOriginal, RenewalType as RenewalTypeOriginal, type RenewalTypeWithLiterals as RenewalTypeWithLiteralsOriginal, type ResolveEmailActionRequest as ResolveEmailActionRequestOriginal, type ResolveEmailActionResponse as ResolveEmailActionResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RestrictedDomainName as RestrictedDomainNameOriginal, RestrictedDomainReason as RestrictedDomainReasonOriginal, type RestrictedDomainReasonWithLiterals as RestrictedDomainReasonWithLiteralsOriginal, type RetrieveUsersByDomainRequest as RetrieveUsersByDomainRequestOriginal, type RetrieveUsersByDomainResponse as RetrieveUsersByDomainResponseOriginal, type RevokeLicenseRequest as RevokeLicenseRequestOriginal, type RevokeLicenseResponse as RevokeLicenseResponseOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal, type UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal, type UpdateGoogleSubscriptionRequest as UpdateGoogleSubscriptionRequestOriginal, type UpdateGoogleSubscriptionResponse as UpdateGoogleSubscriptionResponseOriginal, type UserName as UserNameOriginal, type User as UserOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WorkspaceSubscriptionAlreadyExists as WorkspaceSubscriptionAlreadyExistsOriginal, type __PublicMethodMetaInfo, assignLicense, getStorageUsage, isEligible, observeEmailActions, queryGoogleSubscriptions, receiveCloudChannelPush, retrieveUsersByDomain, revokeLicense };