@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.
- package/build/cjs/index.d.ts +76 -0
- package/build/cjs/index.js +779 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1299 -0
- package/build/cjs/index.typings.js +694 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1050 -0
- package/build/cjs/meta.js +555 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/es/index.d.mts +76 -0
- package/build/es/index.mjs +740 -0
- package/build/es/index.mjs.map +1 -0
- package/build/es/index.typings.d.mts +1299 -0
- package/build/es/index.typings.mjs +654 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +1050 -0
- package/build/es/meta.mjs +514 -0
- package/build/es/meta.mjs.map +1 -0
- package/build/es/package.json +3 -0
- package/build/internal/cjs/index.d.ts +96 -0
- package/build/internal/cjs/index.typings.d.ts +1339 -0
- package/build/internal/cjs/meta.d.ts +1099 -0
- package/build/internal/es/index.d.mts +96 -0
- package/build/internal/es/index.typings.d.mts +1339 -0
- package/build/internal/es/meta.d.mts +1099 -0
- package/meta/package.json +3 -0
- package/package.json +54 -0
|
@@ -0,0 +1,514 @@
|
|
|
1
|
+
// src/premium-google-subscriptions-v1-google-subscription-google-subscriptions.http.ts
|
|
2
|
+
import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
|
|
3
|
+
import { transformSDKBytesToRESTBytes } from "@wix/sdk-runtime/transformations/bytes";
|
|
4
|
+
import { transformRESTBytesToSDKBytes } from "@wix/sdk-runtime/transformations/bytes";
|
|
5
|
+
import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
|
|
6
|
+
import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
7
|
+
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
8
|
+
var TRANSFORM_PATHS_0 = [{ path: "body" }];
|
|
9
|
+
var TRANSFORM_PATHS_1 = [
|
|
10
|
+
{ path: "googleSubscriptions.createdDate" },
|
|
11
|
+
{ path: "googleSubscriptions.updatedDate" }
|
|
12
|
+
];
|
|
13
|
+
function resolveWixPremiumGooglesubscriptionsV1GoogleSubscriptionsUrl(opts) {
|
|
14
|
+
const domainToMappings = {
|
|
15
|
+
"manage._base_domain_": [
|
|
16
|
+
{
|
|
17
|
+
srcPath: "/_api/google-subscriptions",
|
|
18
|
+
destPath: ""
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"api._api_base_domain_": [
|
|
22
|
+
{
|
|
23
|
+
srcPath: "/google-subscriptions",
|
|
24
|
+
destPath: ""
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"billing.base44.com": [
|
|
28
|
+
{
|
|
29
|
+
srcPath: "/_api/google-subscriptions",
|
|
30
|
+
destPath: ""
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"www.wixapis.com": [
|
|
34
|
+
{
|
|
35
|
+
srcPath: "/google-subscriptions",
|
|
36
|
+
destPath: ""
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
};
|
|
40
|
+
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
41
|
+
}
|
|
42
|
+
function resolveWixPremiumGooglesubscriptionsV1GoogleProductEligibilityUrl(opts) {
|
|
43
|
+
const domainToMappings = {
|
|
44
|
+
"manage._base_domain_": [
|
|
45
|
+
{
|
|
46
|
+
srcPath: "/_api/google-subscriptions",
|
|
47
|
+
destPath: ""
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"api._api_base_domain_": [
|
|
51
|
+
{
|
|
52
|
+
srcPath: "/google-subscriptions",
|
|
53
|
+
destPath: ""
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"billing.base44.com": [
|
|
57
|
+
{
|
|
58
|
+
srcPath: "/_api/google-subscriptions",
|
|
59
|
+
destPath: ""
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"www.wixapis.com": [
|
|
63
|
+
{
|
|
64
|
+
srcPath: "/google-subscriptions",
|
|
65
|
+
destPath: ""
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
};
|
|
69
|
+
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
70
|
+
}
|
|
71
|
+
var PACKAGE_NAME = "@wix/auto_sdk_premium_google-subscriptions";
|
|
72
|
+
function isEligible(payload) {
|
|
73
|
+
function __isEligible({ host }) {
|
|
74
|
+
const metadata = {
|
|
75
|
+
entityFqdn: "wix.premium.google_subscriptions.v1.google_subscription",
|
|
76
|
+
method: "GET",
|
|
77
|
+
methodFqn: "wix.premium.googlesubscriptions.v1.GoogleProductEligibility.IsEligible",
|
|
78
|
+
packageName: PACKAGE_NAME,
|
|
79
|
+
migrationOptions: {
|
|
80
|
+
optInTransformResponse: true
|
|
81
|
+
},
|
|
82
|
+
url: resolveWixPremiumGooglesubscriptionsV1GoogleProductEligibilityUrl({
|
|
83
|
+
protoPath: "/v1/google-subscriptions/is-eligible",
|
|
84
|
+
data: payload,
|
|
85
|
+
host
|
|
86
|
+
}),
|
|
87
|
+
params: toURLSearchParams(payload)
|
|
88
|
+
};
|
|
89
|
+
return metadata;
|
|
90
|
+
}
|
|
91
|
+
return __isEligible;
|
|
92
|
+
}
|
|
93
|
+
function observeEmailActions(payload) {
|
|
94
|
+
function __observeEmailActions({ host }) {
|
|
95
|
+
const metadata = {
|
|
96
|
+
entityFqdn: "wix.premium.google_subscriptions.v1.google_subscription",
|
|
97
|
+
method: "POST",
|
|
98
|
+
methodFqn: "wix.premium.googlesubscriptions.v1.GoogleProductEligibility.ObserveEmailActions",
|
|
99
|
+
packageName: PACKAGE_NAME,
|
|
100
|
+
migrationOptions: {
|
|
101
|
+
optInTransformResponse: true
|
|
102
|
+
},
|
|
103
|
+
url: resolveWixPremiumGooglesubscriptionsV1GoogleProductEligibilityUrl({
|
|
104
|
+
protoPath: "/v1/google-subscriptions/observe-email-actions",
|
|
105
|
+
data: payload,
|
|
106
|
+
host
|
|
107
|
+
}),
|
|
108
|
+
data: payload
|
|
109
|
+
};
|
|
110
|
+
return metadata;
|
|
111
|
+
}
|
|
112
|
+
return __observeEmailActions;
|
|
113
|
+
}
|
|
114
|
+
function receiveCloudChannelPush(payload) {
|
|
115
|
+
function __receiveCloudChannelPush({ host }) {
|
|
116
|
+
const serializedData = transformPaths(payload, [
|
|
117
|
+
{
|
|
118
|
+
transformFn: transformSDKBytesToRESTBytes,
|
|
119
|
+
paths: TRANSFORM_PATHS_0
|
|
120
|
+
}
|
|
121
|
+
]);
|
|
122
|
+
const metadata = {
|
|
123
|
+
entityFqdn: "wix.premium.google_subscriptions.v1.google_subscription",
|
|
124
|
+
method: "POST",
|
|
125
|
+
methodFqn: "wix.premium.googlesubscriptions.v1.GoogleSubscriptions.ReceiveCloudChannelPush",
|
|
126
|
+
packageName: PACKAGE_NAME,
|
|
127
|
+
migrationOptions: {
|
|
128
|
+
optInTransformResponse: true
|
|
129
|
+
},
|
|
130
|
+
url: resolveWixPremiumGooglesubscriptionsV1GoogleSubscriptionsUrl({
|
|
131
|
+
protoPath: "/v1/google/cloud-channel-webhook",
|
|
132
|
+
data: serializedData,
|
|
133
|
+
host
|
|
134
|
+
}),
|
|
135
|
+
data: serializedData,
|
|
136
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
137
|
+
{
|
|
138
|
+
transformFn: transformRESTBytesToSDKBytes,
|
|
139
|
+
paths: TRANSFORM_PATHS_0
|
|
140
|
+
}
|
|
141
|
+
])
|
|
142
|
+
};
|
|
143
|
+
return metadata;
|
|
144
|
+
}
|
|
145
|
+
return __receiveCloudChannelPush;
|
|
146
|
+
}
|
|
147
|
+
function queryGoogleSubscriptions(payload) {
|
|
148
|
+
function __queryGoogleSubscriptions({ host }) {
|
|
149
|
+
const metadata = {
|
|
150
|
+
entityFqdn: "wix.premium.google_subscriptions.v1.google_subscription",
|
|
151
|
+
method: "POST",
|
|
152
|
+
methodFqn: "wix.premium.googlesubscriptions.v1.GoogleSubscriptions.QueryGoogleSubscriptions",
|
|
153
|
+
packageName: PACKAGE_NAME,
|
|
154
|
+
migrationOptions: {
|
|
155
|
+
optInTransformResponse: true
|
|
156
|
+
},
|
|
157
|
+
url: resolveWixPremiumGooglesubscriptionsV1GoogleSubscriptionsUrl({
|
|
158
|
+
protoPath: "/v1/google-subscriptions/query",
|
|
159
|
+
data: payload,
|
|
160
|
+
host
|
|
161
|
+
}),
|
|
162
|
+
data: payload,
|
|
163
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
164
|
+
{
|
|
165
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
166
|
+
paths: TRANSFORM_PATHS_1
|
|
167
|
+
}
|
|
168
|
+
])
|
|
169
|
+
};
|
|
170
|
+
return metadata;
|
|
171
|
+
}
|
|
172
|
+
return __queryGoogleSubscriptions;
|
|
173
|
+
}
|
|
174
|
+
function retrieveUsersByDomain(payload) {
|
|
175
|
+
function __retrieveUsersByDomain({ host }) {
|
|
176
|
+
const metadata = {
|
|
177
|
+
entityFqdn: "wix.premium.google_subscriptions.v1.google_subscription",
|
|
178
|
+
method: "GET",
|
|
179
|
+
methodFqn: "wix.premium.googlesubscriptions.v1.GoogleSubscriptions.RetrieveUsersByDomain",
|
|
180
|
+
packageName: PACKAGE_NAME,
|
|
181
|
+
migrationOptions: {
|
|
182
|
+
optInTransformResponse: true
|
|
183
|
+
},
|
|
184
|
+
url: resolveWixPremiumGooglesubscriptionsV1GoogleSubscriptionsUrl({
|
|
185
|
+
protoPath: "/v1/google-subscriptions/retrieve-users/{domainName}",
|
|
186
|
+
data: payload,
|
|
187
|
+
host
|
|
188
|
+
}),
|
|
189
|
+
params: toURLSearchParams(payload)
|
|
190
|
+
};
|
|
191
|
+
return metadata;
|
|
192
|
+
}
|
|
193
|
+
return __retrieveUsersByDomain;
|
|
194
|
+
}
|
|
195
|
+
function getStorageUsage(payload) {
|
|
196
|
+
function __getStorageUsage({ host }) {
|
|
197
|
+
const metadata = {
|
|
198
|
+
entityFqdn: "wix.premium.google_subscriptions.v1.google_subscription",
|
|
199
|
+
method: "GET",
|
|
200
|
+
methodFqn: "wix.premium.googlesubscriptions.v1.GoogleSubscriptions.GetStorageUsage",
|
|
201
|
+
packageName: PACKAGE_NAME,
|
|
202
|
+
migrationOptions: {
|
|
203
|
+
optInTransformResponse: true
|
|
204
|
+
},
|
|
205
|
+
url: resolveWixPremiumGooglesubscriptionsV1GoogleSubscriptionsUrl({
|
|
206
|
+
protoPath: "/v1/google-subscriptions/storage-usage/{googleWorkspacePremiumId}",
|
|
207
|
+
data: payload,
|
|
208
|
+
host
|
|
209
|
+
}),
|
|
210
|
+
params: toURLSearchParams(payload)
|
|
211
|
+
};
|
|
212
|
+
return metadata;
|
|
213
|
+
}
|
|
214
|
+
return __getStorageUsage;
|
|
215
|
+
}
|
|
216
|
+
function assignLicense(payload) {
|
|
217
|
+
function __assignLicense({ host }) {
|
|
218
|
+
const metadata = {
|
|
219
|
+
entityFqdn: "wix.premium.google_subscriptions.v1.google_subscription",
|
|
220
|
+
method: "POST",
|
|
221
|
+
methodFqn: "wix.premium.googlesubscriptions.v1.GoogleSubscriptions.AssignLicense",
|
|
222
|
+
packageName: PACKAGE_NAME,
|
|
223
|
+
migrationOptions: {
|
|
224
|
+
optInTransformResponse: true
|
|
225
|
+
},
|
|
226
|
+
url: resolveWixPremiumGooglesubscriptionsV1GoogleSubscriptionsUrl({
|
|
227
|
+
protoPath: "/v1/google-subscriptions/license/assign",
|
|
228
|
+
data: payload,
|
|
229
|
+
host
|
|
230
|
+
}),
|
|
231
|
+
data: payload
|
|
232
|
+
};
|
|
233
|
+
return metadata;
|
|
234
|
+
}
|
|
235
|
+
return __assignLicense;
|
|
236
|
+
}
|
|
237
|
+
function revokeLicense(payload) {
|
|
238
|
+
function __revokeLicense({ host }) {
|
|
239
|
+
const metadata = {
|
|
240
|
+
entityFqdn: "wix.premium.google_subscriptions.v1.google_subscription",
|
|
241
|
+
method: "POST",
|
|
242
|
+
methodFqn: "wix.premium.googlesubscriptions.v1.GoogleSubscriptions.RevokeLicense",
|
|
243
|
+
packageName: PACKAGE_NAME,
|
|
244
|
+
migrationOptions: {
|
|
245
|
+
optInTransformResponse: true
|
|
246
|
+
},
|
|
247
|
+
url: resolveWixPremiumGooglesubscriptionsV1GoogleSubscriptionsUrl({
|
|
248
|
+
protoPath: "/v1/google-subscriptions/license/revoke",
|
|
249
|
+
data: payload,
|
|
250
|
+
host
|
|
251
|
+
}),
|
|
252
|
+
data: payload
|
|
253
|
+
};
|
|
254
|
+
return metadata;
|
|
255
|
+
}
|
|
256
|
+
return __revokeLicense;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
// src/premium-google-subscriptions-v1-google-subscription-google-subscriptions.types.ts
|
|
260
|
+
var Status = /* @__PURE__ */ ((Status2) => {
|
|
261
|
+
Status2["UNKNOWN"] = "UNKNOWN";
|
|
262
|
+
Status2["ACTIVE"] = "ACTIVE";
|
|
263
|
+
Status2["EXPIRED"] = "EXPIRED";
|
|
264
|
+
Status2["INCOMPLETE_SETUP"] = "INCOMPLETE_SETUP";
|
|
265
|
+
Status2["SUSPENDED_TOS"] = "SUSPENDED_TOS";
|
|
266
|
+
Status2["SUSPENDED_BY_WIX"] = "SUSPENDED_BY_WIX";
|
|
267
|
+
Status2["TRANSFERRED_OUT"] = "TRANSFERRED_OUT";
|
|
268
|
+
Status2["PENDING"] = "PENDING";
|
|
269
|
+
Status2["NOT_DELIVERED"] = "NOT_DELIVERED";
|
|
270
|
+
Status2["PENDING_GWS"] = "PENDING_GWS";
|
|
271
|
+
return Status2;
|
|
272
|
+
})(Status || {});
|
|
273
|
+
var RestrictedDomainReason = /* @__PURE__ */ ((RestrictedDomainReason2) => {
|
|
274
|
+
RestrictedDomainReason2["RESTRICTED_DOMAIN_REASON_UNSPECIFIED"] = "RESTRICTED_DOMAIN_REASON_UNSPECIFIED";
|
|
275
|
+
RestrictedDomainReason2["SUBDOMAIN"] = "SUBDOMAIN";
|
|
276
|
+
RestrictedDomainReason2["BRAND"] = "BRAND";
|
|
277
|
+
RestrictedDomainReason2["TLD"] = "TLD";
|
|
278
|
+
return RestrictedDomainReason2;
|
|
279
|
+
})(RestrictedDomainReason || {});
|
|
280
|
+
var RenewalType = /* @__PURE__ */ ((RenewalType2) => {
|
|
281
|
+
RenewalType2["RENEWAL_TYPE_UNSPECIFIED"] = "RENEWAL_TYPE_UNSPECIFIED";
|
|
282
|
+
RenewalType2["NEW_PURCHASE"] = "NEW_PURCHASE";
|
|
283
|
+
RenewalType2["REPURCHASE"] = "REPURCHASE";
|
|
284
|
+
RenewalType2["TRANSFER_IN"] = "TRANSFER_IN";
|
|
285
|
+
return RenewalType2;
|
|
286
|
+
})(RenewalType || {});
|
|
287
|
+
var RecoveryAction = /* @__PURE__ */ ((RecoveryAction2) => {
|
|
288
|
+
RecoveryAction2["RECOVERY_ACTION_UNSPECIFIED"] = "RECOVERY_ACTION_UNSPECIFIED";
|
|
289
|
+
RecoveryAction2["RECOVERY_ACTION_PROCESSING"] = "RECOVERY_ACTION_PROCESSING";
|
|
290
|
+
RecoveryAction2["RECOVERY_ACTION_RETRY"] = "RECOVERY_ACTION_RETRY";
|
|
291
|
+
RecoveryAction2["RECOVERY_ACTION_UNAVAILABLE"] = "RECOVERY_ACTION_UNAVAILABLE";
|
|
292
|
+
RecoveryAction2["RECOVERY_ACTION_ACCEPT_GOOGLE_TOS"] = "RECOVERY_ACTION_ACCEPT_GOOGLE_TOS";
|
|
293
|
+
RecoveryAction2["RECOVERY_ACTION_RENEW"] = "RECOVERY_ACTION_RENEW";
|
|
294
|
+
RecoveryAction2["RECOVERY_ACTION_AUTHORIZE_WIX"] = "RECOVERY_ACTION_AUTHORIZE_WIX";
|
|
295
|
+
RecoveryAction2["RECOVERY_ACTION_TRANSFER_IN"] = "RECOVERY_ACTION_TRANSFER_IN";
|
|
296
|
+
RecoveryAction2["RECOVERY_ACTION_MANAGE"] = "RECOVERY_ACTION_MANAGE";
|
|
297
|
+
RecoveryAction2["RECOVERY_ACTION_INITIAL_PURCHASE"] = "RECOVERY_ACTION_INITIAL_PURCHASE";
|
|
298
|
+
return RecoveryAction2;
|
|
299
|
+
})(RecoveryAction || {});
|
|
300
|
+
var RecoveryReason = /* @__PURE__ */ ((RecoveryReason2) => {
|
|
301
|
+
RecoveryReason2["RECOVERY_REASON_UNSPECIFIED"] = "RECOVERY_REASON_UNSPECIFIED";
|
|
302
|
+
RecoveryReason2["RECOVERY_REASON_RECOVERY_IN_PROGRESS"] = "RECOVERY_REASON_RECOVERY_IN_PROGRESS";
|
|
303
|
+
RecoveryReason2["RECOVERY_REASON_RECOVERY_NEEDS_ATTENTION"] = "RECOVERY_REASON_RECOVERY_NEEDS_ATTENTION";
|
|
304
|
+
RecoveryReason2["RECOVERY_REASON_RECOVERY_TOS_REQUIRED"] = "RECOVERY_REASON_RECOVERY_TOS_REQUIRED";
|
|
305
|
+
RecoveryReason2["RECOVERY_REASON_REQUIRED_EVIDENCE_UNAVAILABLE"] = "RECOVERY_REASON_REQUIRED_EVIDENCE_UNAVAILABLE";
|
|
306
|
+
RecoveryReason2["RECOVERY_REASON_IDENTITY_REQUIRES_REVIEW"] = "RECOVERY_REASON_IDENTITY_REQUIRES_REVIEW";
|
|
307
|
+
RecoveryReason2["RECOVERY_REASON_GOOGLE_TOS_REQUIRED"] = "RECOVERY_REASON_GOOGLE_TOS_REQUIRED";
|
|
308
|
+
RecoveryReason2["RECOVERY_REASON_RETAINED_SUBSCRIPTION_RENEWABLE"] = "RECOVERY_REASON_RETAINED_SUBSCRIPTION_RENEWABLE";
|
|
309
|
+
RecoveryReason2["RECOVERY_REASON_TRANSFER_AUTHORIZATION_REQUIRED"] = "RECOVERY_REASON_TRANSFER_AUTHORIZATION_REQUIRED";
|
|
310
|
+
RecoveryReason2["RECOVERY_REASON_SUPPORTED_TRANSFER_AVAILABLE"] = "RECOVERY_REASON_SUPPORTED_TRANSFER_AVAILABLE";
|
|
311
|
+
RecoveryReason2["RECOVERY_REASON_SUBSCRIPTION_HEALTHY"] = "RECOVERY_REASON_SUBSCRIPTION_HEALTHY";
|
|
312
|
+
RecoveryReason2["RECOVERY_REASON_GOOGLE_CUSTOMER_ABSENCE_CONFIRMED"] = "RECOVERY_REASON_GOOGLE_CUSTOMER_ABSENCE_CONFIRMED";
|
|
313
|
+
RecoveryReason2["RECOVERY_REASON_EXISTING_ORGANIZATION_WITHOUT_SUBSCRIPTION"] = "RECOVERY_REASON_EXISTING_ORGANIZATION_WITHOUT_SUBSCRIPTION";
|
|
314
|
+
RecoveryReason2["RECOVERY_REASON_UNSUPPORTED_RECOVERY"] = "RECOVERY_REASON_UNSUPPORTED_RECOVERY";
|
|
315
|
+
RecoveryReason2["RECOVERY_REASON_RELEASE_UNRESOLVED"] = "RECOVERY_REASON_RELEASE_UNRESOLVED";
|
|
316
|
+
RecoveryReason2["RECOVERY_REASON_INCONCLUSIVE"] = "RECOVERY_REASON_INCONCLUSIVE";
|
|
317
|
+
RecoveryReason2["RECOVERY_REASON_SETUP_INCOMPLETE"] = "RECOVERY_REASON_SETUP_INCOMPLETE";
|
|
318
|
+
return RecoveryReason2;
|
|
319
|
+
})(RecoveryReason || {});
|
|
320
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
321
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
322
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
323
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
324
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
325
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
326
|
+
return WebhookIdentityType2;
|
|
327
|
+
})(WebhookIdentityType || {});
|
|
328
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
329
|
+
SortOrder2["ASC"] = "ASC";
|
|
330
|
+
SortOrder2["DESC"] = "DESC";
|
|
331
|
+
return SortOrder2;
|
|
332
|
+
})(SortOrder || {});
|
|
333
|
+
|
|
334
|
+
// src/premium-google-subscriptions-v1-google-subscription-google-subscriptions.meta.ts
|
|
335
|
+
function isEligible2() {
|
|
336
|
+
const payload = {};
|
|
337
|
+
const getRequestOptions = isEligible(
|
|
338
|
+
payload
|
|
339
|
+
);
|
|
340
|
+
const getUrl = (context) => {
|
|
341
|
+
const { url } = getRequestOptions(context);
|
|
342
|
+
return url;
|
|
343
|
+
};
|
|
344
|
+
return {
|
|
345
|
+
getUrl,
|
|
346
|
+
httpMethod: "GET",
|
|
347
|
+
path: "/v1/google-subscriptions/is-eligible",
|
|
348
|
+
pathParams: {},
|
|
349
|
+
__requestType: null,
|
|
350
|
+
__originalRequestType: null,
|
|
351
|
+
__responseType: null,
|
|
352
|
+
__originalResponseType: null
|
|
353
|
+
};
|
|
354
|
+
}
|
|
355
|
+
function observeEmailActions2() {
|
|
356
|
+
const payload = {};
|
|
357
|
+
const getRequestOptions = observeEmailActions(
|
|
358
|
+
payload
|
|
359
|
+
);
|
|
360
|
+
const getUrl = (context) => {
|
|
361
|
+
const { url } = getRequestOptions(context);
|
|
362
|
+
return url;
|
|
363
|
+
};
|
|
364
|
+
return {
|
|
365
|
+
getUrl,
|
|
366
|
+
httpMethod: "POST",
|
|
367
|
+
path: "/v1/google-subscriptions/observe-email-actions",
|
|
368
|
+
pathParams: {},
|
|
369
|
+
__requestType: null,
|
|
370
|
+
__originalRequestType: null,
|
|
371
|
+
__responseType: null,
|
|
372
|
+
__originalResponseType: null
|
|
373
|
+
};
|
|
374
|
+
}
|
|
375
|
+
function receiveCloudChannelPush2() {
|
|
376
|
+
const payload = {};
|
|
377
|
+
const getRequestOptions = receiveCloudChannelPush(
|
|
378
|
+
payload
|
|
379
|
+
);
|
|
380
|
+
const getUrl = (context) => {
|
|
381
|
+
const { url } = getRequestOptions(context);
|
|
382
|
+
return url;
|
|
383
|
+
};
|
|
384
|
+
return {
|
|
385
|
+
getUrl,
|
|
386
|
+
httpMethod: "POST",
|
|
387
|
+
path: "/v1/google/cloud-channel-webhook",
|
|
388
|
+
pathParams: {},
|
|
389
|
+
__requestType: null,
|
|
390
|
+
__originalRequestType: null,
|
|
391
|
+
__responseType: null,
|
|
392
|
+
__originalResponseType: null
|
|
393
|
+
};
|
|
394
|
+
}
|
|
395
|
+
function queryGoogleSubscriptions2() {
|
|
396
|
+
const payload = {};
|
|
397
|
+
const getRequestOptions = queryGoogleSubscriptions(
|
|
398
|
+
payload
|
|
399
|
+
);
|
|
400
|
+
const getUrl = (context) => {
|
|
401
|
+
const { url } = getRequestOptions(context);
|
|
402
|
+
return url;
|
|
403
|
+
};
|
|
404
|
+
return {
|
|
405
|
+
getUrl,
|
|
406
|
+
httpMethod: "POST",
|
|
407
|
+
path: "/v1/google-subscriptions/query",
|
|
408
|
+
pathParams: {},
|
|
409
|
+
__requestType: null,
|
|
410
|
+
__originalRequestType: null,
|
|
411
|
+
__responseType: null,
|
|
412
|
+
__originalResponseType: null
|
|
413
|
+
};
|
|
414
|
+
}
|
|
415
|
+
function retrieveUsersByDomain2() {
|
|
416
|
+
const payload = { domainName: ":domainName" };
|
|
417
|
+
const getRequestOptions = retrieveUsersByDomain(
|
|
418
|
+
payload
|
|
419
|
+
);
|
|
420
|
+
const getUrl = (context) => {
|
|
421
|
+
const { url } = getRequestOptions(context);
|
|
422
|
+
return url;
|
|
423
|
+
};
|
|
424
|
+
return {
|
|
425
|
+
getUrl,
|
|
426
|
+
httpMethod: "GET",
|
|
427
|
+
path: "/v1/google-subscriptions/retrieve-users/{domainName}",
|
|
428
|
+
pathParams: { domainName: "domainName" },
|
|
429
|
+
__requestType: null,
|
|
430
|
+
__originalRequestType: null,
|
|
431
|
+
__responseType: null,
|
|
432
|
+
__originalResponseType: null
|
|
433
|
+
};
|
|
434
|
+
}
|
|
435
|
+
function getStorageUsage2() {
|
|
436
|
+
const payload = {
|
|
437
|
+
googleWorkspacePremiumId: ":googleWorkspacePremiumId"
|
|
438
|
+
};
|
|
439
|
+
const getRequestOptions = getStorageUsage(
|
|
440
|
+
payload
|
|
441
|
+
);
|
|
442
|
+
const getUrl = (context) => {
|
|
443
|
+
const { url } = getRequestOptions(context);
|
|
444
|
+
return url;
|
|
445
|
+
};
|
|
446
|
+
return {
|
|
447
|
+
getUrl,
|
|
448
|
+
httpMethod: "GET",
|
|
449
|
+
path: "/v1/google-subscriptions/storage-usage/{googleWorkspacePremiumId}",
|
|
450
|
+
pathParams: { googleWorkspacePremiumId: "googleWorkspacePremiumId" },
|
|
451
|
+
__requestType: null,
|
|
452
|
+
__originalRequestType: null,
|
|
453
|
+
__responseType: null,
|
|
454
|
+
__originalResponseType: null
|
|
455
|
+
};
|
|
456
|
+
}
|
|
457
|
+
function assignLicense2() {
|
|
458
|
+
const payload = {};
|
|
459
|
+
const getRequestOptions = assignLicense(
|
|
460
|
+
payload
|
|
461
|
+
);
|
|
462
|
+
const getUrl = (context) => {
|
|
463
|
+
const { url } = getRequestOptions(context);
|
|
464
|
+
return url;
|
|
465
|
+
};
|
|
466
|
+
return {
|
|
467
|
+
getUrl,
|
|
468
|
+
httpMethod: "POST",
|
|
469
|
+
path: "/v1/google-subscriptions/license/assign",
|
|
470
|
+
pathParams: {},
|
|
471
|
+
__requestType: null,
|
|
472
|
+
__originalRequestType: null,
|
|
473
|
+
__responseType: null,
|
|
474
|
+
__originalResponseType: null
|
|
475
|
+
};
|
|
476
|
+
}
|
|
477
|
+
function revokeLicense2() {
|
|
478
|
+
const payload = {};
|
|
479
|
+
const getRequestOptions = revokeLicense(
|
|
480
|
+
payload
|
|
481
|
+
);
|
|
482
|
+
const getUrl = (context) => {
|
|
483
|
+
const { url } = getRequestOptions(context);
|
|
484
|
+
return url;
|
|
485
|
+
};
|
|
486
|
+
return {
|
|
487
|
+
getUrl,
|
|
488
|
+
httpMethod: "POST",
|
|
489
|
+
path: "/v1/google-subscriptions/license/revoke",
|
|
490
|
+
pathParams: {},
|
|
491
|
+
__requestType: null,
|
|
492
|
+
__originalRequestType: null,
|
|
493
|
+
__responseType: null,
|
|
494
|
+
__originalResponseType: null
|
|
495
|
+
};
|
|
496
|
+
}
|
|
497
|
+
export {
|
|
498
|
+
RecoveryAction as RecoveryActionOriginal,
|
|
499
|
+
RecoveryReason as RecoveryReasonOriginal,
|
|
500
|
+
RenewalType as RenewalTypeOriginal,
|
|
501
|
+
RestrictedDomainReason as RestrictedDomainReasonOriginal,
|
|
502
|
+
SortOrder as SortOrderOriginal,
|
|
503
|
+
Status as StatusOriginal,
|
|
504
|
+
WebhookIdentityType as WebhookIdentityTypeOriginal,
|
|
505
|
+
assignLicense2 as assignLicense,
|
|
506
|
+
getStorageUsage2 as getStorageUsage,
|
|
507
|
+
isEligible2 as isEligible,
|
|
508
|
+
observeEmailActions2 as observeEmailActions,
|
|
509
|
+
queryGoogleSubscriptions2 as queryGoogleSubscriptions,
|
|
510
|
+
receiveCloudChannelPush2 as receiveCloudChannelPush,
|
|
511
|
+
retrieveUsersByDomain2 as retrieveUsersByDomain,
|
|
512
|
+
revokeLicense2 as revokeLicense
|
|
513
|
+
};
|
|
514
|
+
//# sourceMappingURL=meta.mjs.map
|