@wix/auto_sdk_multilingual_translation-credits 1.0.14 → 1.0.15
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 +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.context.d.ts +6 -0
- package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.context.js +14 -0
- package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.context.js.map +1 -0
- package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.http.d.ts +11 -0
- package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.http.js +94 -0
- package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.http.js.map +1 -0
- package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.meta.d.ts +14 -0
- package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.meta.js +66 -0
- package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.meta.js.map +1 -0
- package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.public.d.ts +25 -0
- package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.public.js +24 -0
- package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.public.js.map +1 -0
- package/build/{multilingual-machine-v1-credit-data-translation-credits.universal-CqGOUZyb.d.ts → cjs/src/multilingual-machine-v1-credit-data-translation-credits.types.d.ts} +38 -40
- package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.types.js +124 -0
- package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.types.js.map +1 -0
- package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.universal.d.ts +514 -0
- package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.universal.js +222 -0
- package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.context.d.ts +6 -0
- package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.context.js +6 -0
- package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.context.js.map +1 -0
- package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.http.d.ts +11 -0
- package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.http.js +89 -0
- package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.http.js.map +1 -0
- package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.meta.d.ts +14 -0
- package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.meta.js +38 -0
- package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.meta.js.map +1 -0
- package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.public.d.ts +25 -0
- package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.public.js +14 -0
- package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.public.js.map +1 -0
- package/build/{multilingual-machine-v1-credit-data-translation-credits.universal-CqGOUZyb.d.mts → es/src/multilingual-machine-v1-credit-data-translation-credits.types.d.ts} +38 -40
- package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.types.js +121 -0
- package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.types.js.map +1 -0
- package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.universal.d.ts +514 -0
- package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.universal.js +194 -0
- package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.context.d.ts +6 -0
- package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.context.js +14 -0
- package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.context.js.map +1 -0
- package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.http.d.ts +11 -0
- package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.http.js +94 -0
- package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.http.js.map +1 -0
- package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.meta.d.ts +14 -0
- package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.meta.js +66 -0
- package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.meta.js.map +1 -0
- package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.public.d.ts +25 -0
- package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.public.js +24 -0
- package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.public.js.map +1 -0
- package/build/internal/{multilingual-machine-v1-credit-data-translation-credits.universal-CqGOUZyb.d.ts → cjs/src/multilingual-machine-v1-credit-data-translation-credits.types.d.ts} +38 -40
- package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.types.js +124 -0
- package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.types.js.map +1 -0
- package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.universal.d.ts +514 -0
- package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.universal.js +222 -0
- package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.context.d.ts +6 -0
- package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.context.js +6 -0
- package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.context.js.map +1 -0
- package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.http.d.ts +11 -0
- package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.http.js +89 -0
- package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.http.js.map +1 -0
- package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.meta.d.ts +14 -0
- package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.meta.js +38 -0
- package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.meta.js.map +1 -0
- package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.public.d.ts +25 -0
- package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.public.js +14 -0
- package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.public.js.map +1 -0
- package/build/internal/{multilingual-machine-v1-credit-data-translation-credits.universal-CqGOUZyb.d.mts → es/src/multilingual-machine-v1-credit-data-translation-credits.types.d.ts} +38 -40
- package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.types.js +121 -0
- package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.types.js.map +1 -0
- package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.universal.d.ts +514 -0
- package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.universal.js +194 -0
- package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.universal.js.map +1 -0
- package/package.json +11 -12
- package/build/index.d.mts +0 -28
- package/build/index.d.ts +0 -28
- package/build/index.js +0 -263
- package/build/index.js.map +0 -1
- package/build/index.mjs +0 -233
- package/build/index.mjs.map +0 -1
- package/build/internal/index.d.mts +0 -28
- package/build/internal/index.d.ts +0 -28
- package/build/internal/index.js +0 -263
- package/build/internal/index.js.map +0 -1
- package/build/internal/index.mjs +0 -233
- package/build/internal/index.mjs.map +0 -1
- package/build/internal/meta.d.mts +0 -59
- package/build/internal/meta.d.ts +0 -59
- package/build/internal/meta.js +0 -154
- package/build/internal/meta.js.map +0 -1
- package/build/internal/meta.mjs +0 -126
- package/build/internal/meta.mjs.map +0 -1
- package/build/meta.d.mts +0 -59
- package/build/meta.d.ts +0 -59
- package/build/meta.js +0 -154
- package/build/meta.js.map +0 -1
- package/build/meta.mjs +0 -126
- package/build/meta.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface CreditData extends CreditDataTypeOneOf {
|
|
1
|
+
export interface CreditData extends CreditDataTypeOneOf {
|
|
2
2
|
/**
|
|
3
3
|
* Limited word credit quota.
|
|
4
4
|
* @readonly
|
|
@@ -10,53 +10,53 @@ interface CreditData extends CreditDataTypeOneOf {
|
|
|
10
10
|
quotaType?: Quota;
|
|
11
11
|
}
|
|
12
12
|
/** @oneof */
|
|
13
|
-
interface CreditDataTypeOneOf {
|
|
13
|
+
export interface CreditDataTypeOneOf {
|
|
14
14
|
/**
|
|
15
15
|
* Limited word credit quota.
|
|
16
16
|
* @readonly
|
|
17
17
|
*/
|
|
18
18
|
limitedQuota?: LimitedQuota;
|
|
19
19
|
}
|
|
20
|
-
declare enum Quota {
|
|
20
|
+
export declare enum Quota {
|
|
21
21
|
UNKNOWN = "UNKNOWN",
|
|
22
22
|
/** Limited word credit quota. */
|
|
23
23
|
LIMITED = "LIMITED"
|
|
24
24
|
}
|
|
25
|
-
interface LimitedQuota {
|
|
25
|
+
export interface LimitedQuota {
|
|
26
26
|
/** Total word credit allocation for the site, which includes the initial quota and any additional credits purchased through the [Translation Manager](https://support.wix.com/en/article/wix-multilingual-using-the-translation-manager), regardless of usage. */
|
|
27
27
|
quota?: number | null;
|
|
28
28
|
}
|
|
29
|
-
interface GetCreditDataRequest {
|
|
29
|
+
export interface GetCreditDataRequest {
|
|
30
30
|
}
|
|
31
|
-
interface GetCreditDataResponse {
|
|
31
|
+
export interface GetCreditDataResponse {
|
|
32
32
|
/** Credit data. */
|
|
33
33
|
creditData?: CreditData;
|
|
34
34
|
}
|
|
35
|
-
interface CheckSufficientCreditsRequest {
|
|
35
|
+
export interface CheckSufficientCreditsRequest {
|
|
36
36
|
/** Number of words to translate. */
|
|
37
37
|
wordCount: number;
|
|
38
38
|
}
|
|
39
|
-
interface CheckSufficientCreditsResponse {
|
|
39
|
+
export interface CheckSufficientCreditsResponse {
|
|
40
40
|
/** Whether the site has enough credits to translate the specified number of words. */
|
|
41
41
|
sufficientCredits?: boolean;
|
|
42
42
|
}
|
|
43
|
-
interface ReportCreditUsageRequest {
|
|
43
|
+
export interface ReportCreditUsageRequest {
|
|
44
44
|
/** Number of credits used in the translation operation */
|
|
45
45
|
used?: number;
|
|
46
46
|
}
|
|
47
|
-
interface ReportCreditUsageResponse {
|
|
47
|
+
export interface ReportCreditUsageResponse {
|
|
48
48
|
/** Updated credit status after reporting usage */
|
|
49
49
|
creditData?: CreditData;
|
|
50
50
|
}
|
|
51
|
-
interface UpdateCreditRequest {
|
|
51
|
+
export interface UpdateCreditRequest {
|
|
52
52
|
/** New credit status to be set for the site */
|
|
53
53
|
creditData?: CreditData;
|
|
54
54
|
}
|
|
55
|
-
interface UpdateCreditResponse {
|
|
55
|
+
export interface UpdateCreditResponse {
|
|
56
56
|
/** Updated credit status after the change */
|
|
57
57
|
creditData?: CreditData;
|
|
58
58
|
}
|
|
59
|
-
interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
59
|
+
export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
60
60
|
/** Emitted on a meta site creation. */
|
|
61
61
|
siteCreated?: SiteCreated;
|
|
62
62
|
/** Emitted on a meta site transfer completion. */
|
|
@@ -114,7 +114,7 @@ interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
|
114
114
|
assets?: Asset[];
|
|
115
115
|
}
|
|
116
116
|
/** @oneof */
|
|
117
|
-
interface MetaSiteSpecialEventPayloadOneOf {
|
|
117
|
+
export interface MetaSiteSpecialEventPayloadOneOf {
|
|
118
118
|
/** Emitted on a meta site creation. */
|
|
119
119
|
siteCreated?: SiteCreated;
|
|
120
120
|
/** Emitted on a meta site transfer completion. */
|
|
@@ -156,7 +156,7 @@ interface MetaSiteSpecialEventPayloadOneOf {
|
|
|
156
156
|
/** Site is marked as PurgedExternally */
|
|
157
157
|
sitePurgedExternally?: SitePurgedExternally;
|
|
158
158
|
}
|
|
159
|
-
interface Asset {
|
|
159
|
+
export interface Asset {
|
|
160
160
|
/**
|
|
161
161
|
* An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).
|
|
162
162
|
* @maxLength 36
|
|
@@ -170,14 +170,14 @@ interface Asset {
|
|
|
170
170
|
/** An application state. */
|
|
171
171
|
state?: State;
|
|
172
172
|
}
|
|
173
|
-
declare enum State {
|
|
173
|
+
export declare enum State {
|
|
174
174
|
UNKNOWN = "UNKNOWN",
|
|
175
175
|
ENABLED = "ENABLED",
|
|
176
176
|
DISABLED = "DISABLED",
|
|
177
177
|
PENDING = "PENDING",
|
|
178
178
|
DEMO = "DEMO"
|
|
179
179
|
}
|
|
180
|
-
interface SiteCreated {
|
|
180
|
+
export interface SiteCreated {
|
|
181
181
|
/**
|
|
182
182
|
* A template identifier (empty if not created from a template).
|
|
183
183
|
* @maxLength 36
|
|
@@ -206,7 +206,7 @@ interface SiteCreated {
|
|
|
206
206
|
/** A namespace. */
|
|
207
207
|
namespace?: Namespace;
|
|
208
208
|
}
|
|
209
|
-
declare enum SiteCreatedContext {
|
|
209
|
+
export declare enum SiteCreatedContext {
|
|
210
210
|
/** A valid option, we don't expose all reasons why site might be created. */
|
|
211
211
|
OTHER = "OTHER",
|
|
212
212
|
/** A meta site was created from template. */
|
|
@@ -220,7 +220,7 @@ declare enum SiteCreatedContext {
|
|
|
220
220
|
/** deprecated A meta site was created for Flash editor. */
|
|
221
221
|
FLASH = "FLASH"
|
|
222
222
|
}
|
|
223
|
-
declare enum Namespace {
|
|
223
|
+
export declare enum Namespace {
|
|
224
224
|
UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
|
|
225
225
|
/** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
|
|
226
226
|
WIX = "WIX",
|
|
@@ -303,7 +303,7 @@ declare enum Namespace {
|
|
|
303
303
|
MIMIR = "MIMIR"
|
|
304
304
|
}
|
|
305
305
|
/** Site transferred to another user. */
|
|
306
|
-
interface SiteTransferred {
|
|
306
|
+
export interface SiteTransferred {
|
|
307
307
|
/**
|
|
308
308
|
* A previous owner id (user that transfers meta site).
|
|
309
309
|
* @format GUID
|
|
@@ -316,11 +316,11 @@ interface SiteTransferred {
|
|
|
316
316
|
newOwnerId?: string;
|
|
317
317
|
}
|
|
318
318
|
/** Soft deletion of the meta site. Could be restored. */
|
|
319
|
-
interface SiteDeleted {
|
|
319
|
+
export interface SiteDeleted {
|
|
320
320
|
/** A deletion context. */
|
|
321
321
|
deleteContext?: DeleteContext;
|
|
322
322
|
}
|
|
323
|
-
interface DeleteContext {
|
|
323
|
+
export interface DeleteContext {
|
|
324
324
|
/** When the meta site was deleted. */
|
|
325
325
|
dateDeleted?: Date | null;
|
|
326
326
|
/** A status. */
|
|
@@ -336,7 +336,7 @@ interface DeleteContext {
|
|
|
336
336
|
*/
|
|
337
337
|
initiatorId?: string | null;
|
|
338
338
|
}
|
|
339
|
-
declare enum DeleteStatus {
|
|
339
|
+
export declare enum DeleteStatus {
|
|
340
340
|
UNKNOWN = "UNKNOWN",
|
|
341
341
|
TRASH = "TRASH",
|
|
342
342
|
DELETED = "DELETED",
|
|
@@ -344,12 +344,12 @@ declare enum DeleteStatus {
|
|
|
344
344
|
PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
|
|
345
345
|
}
|
|
346
346
|
/** Restoration of the meta site. */
|
|
347
|
-
interface SiteUndeleted {
|
|
347
|
+
export interface SiteUndeleted {
|
|
348
348
|
}
|
|
349
349
|
/** First publish of a meta site. Or subsequent publish after unpublish. */
|
|
350
|
-
interface SitePublished {
|
|
350
|
+
export interface SitePublished {
|
|
351
351
|
}
|
|
352
|
-
interface SiteUnpublished {
|
|
352
|
+
export interface SiteUnpublished {
|
|
353
353
|
/**
|
|
354
354
|
* A list of URLs previously associated with the meta site.
|
|
355
355
|
* @maxLength 4000
|
|
@@ -357,9 +357,9 @@ interface SiteUnpublished {
|
|
|
357
357
|
*/
|
|
358
358
|
urls?: string[];
|
|
359
359
|
}
|
|
360
|
-
interface SiteMarkedAsTemplate {
|
|
360
|
+
export interface SiteMarkedAsTemplate {
|
|
361
361
|
}
|
|
362
|
-
interface SiteMarkedAsWixSite {
|
|
362
|
+
export interface SiteMarkedAsWixSite {
|
|
363
363
|
}
|
|
364
364
|
/**
|
|
365
365
|
* Represents a service provisioned a site.
|
|
@@ -376,7 +376,7 @@ interface SiteMarkedAsWixSite {
|
|
|
376
376
|
* changes made to the original template afterward.
|
|
377
377
|
* To ensure this, the TPA on the template gets a new instance_id.
|
|
378
378
|
*/
|
|
379
|
-
interface ServiceProvisioned {
|
|
379
|
+
export interface ServiceProvisioned {
|
|
380
380
|
/**
|
|
381
381
|
* Either UUID or EmbeddedServiceType.
|
|
382
382
|
* @maxLength 36
|
|
@@ -403,7 +403,7 @@ interface ServiceProvisioned {
|
|
|
403
403
|
*/
|
|
404
404
|
originMetaSiteId?: string | null;
|
|
405
405
|
}
|
|
406
|
-
interface ServiceRemoved {
|
|
406
|
+
export interface ServiceRemoved {
|
|
407
407
|
/**
|
|
408
408
|
* Either UUID or EmbeddedServiceType.
|
|
409
409
|
* @maxLength 36
|
|
@@ -421,7 +421,7 @@ interface ServiceRemoved {
|
|
|
421
421
|
version?: string | null;
|
|
422
422
|
}
|
|
423
423
|
/** Rename of the site. Meaning, free public url has been changed as well. */
|
|
424
|
-
interface SiteRenamed {
|
|
424
|
+
export interface SiteRenamed {
|
|
425
425
|
/**
|
|
426
426
|
* A new meta site name (URL slug).
|
|
427
427
|
* @maxLength 20
|
|
@@ -438,21 +438,21 @@ interface SiteRenamed {
|
|
|
438
438
|
*
|
|
439
439
|
* Could not be restored. Therefore it's desirable to cleanup data.
|
|
440
440
|
*/
|
|
441
|
-
interface SiteHardDeleted {
|
|
441
|
+
export interface SiteHardDeleted {
|
|
442
442
|
/** A deletion context. */
|
|
443
443
|
deleteContext?: DeleteContext;
|
|
444
444
|
}
|
|
445
|
-
interface NamespaceChanged {
|
|
445
|
+
export interface NamespaceChanged {
|
|
446
446
|
/** A previous namespace. */
|
|
447
447
|
oldNamespace?: Namespace;
|
|
448
448
|
/** A new namespace. */
|
|
449
449
|
newNamespace?: Namespace;
|
|
450
450
|
}
|
|
451
451
|
/** Assigned Studio editor */
|
|
452
|
-
interface StudioAssigned {
|
|
452
|
+
export interface StudioAssigned {
|
|
453
453
|
}
|
|
454
454
|
/** Unassigned Studio editor */
|
|
455
|
-
interface StudioUnassigned {
|
|
455
|
+
export interface StudioUnassigned {
|
|
456
456
|
}
|
|
457
457
|
/**
|
|
458
458
|
* Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.
|
|
@@ -462,13 +462,13 @@ interface StudioUnassigned {
|
|
|
462
462
|
*
|
|
463
463
|
* https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service
|
|
464
464
|
*/
|
|
465
|
-
interface SiteUrlChanged {
|
|
465
|
+
export interface SiteUrlChanged {
|
|
466
466
|
}
|
|
467
467
|
/**
|
|
468
468
|
* Used at the end of the deletion flow for both draft sites and when a user deletes a site.
|
|
469
469
|
* Consumed by other teams to remove relevant data.
|
|
470
470
|
*/
|
|
471
|
-
interface SitePurgedExternally {
|
|
471
|
+
export interface SitePurgedExternally {
|
|
472
472
|
/**
|
|
473
473
|
* @maxLength 2048
|
|
474
474
|
* @maxSize 100
|
|
@@ -477,7 +477,5 @@ interface SitePurgedExternally {
|
|
|
477
477
|
*/
|
|
478
478
|
appDefId?: string[];
|
|
479
479
|
}
|
|
480
|
-
interface Empty {
|
|
480
|
+
export interface Empty {
|
|
481
481
|
}
|
|
482
|
-
|
|
483
|
-
export { type Asset as A, type CheckSufficientCreditsResponse as C, DeleteStatus as D, type Empty as E, type GetCreditDataResponse as G, type LimitedQuota as L, type MetaSiteSpecialEvent as M, Namespace as N, Quota as Q, type ReportCreditUsageRequest as R, State as S, type UpdateCreditRequest as U, SiteCreatedContext as a, type CreditData as b, type CreditDataTypeOneOf as c, type GetCreditDataRequest as d, type CheckSufficientCreditsRequest as e, type ReportCreditUsageResponse as f, type UpdateCreditResponse as g, type MetaSiteSpecialEventPayloadOneOf as h, type SiteCreated as i, type SiteTransferred as j, type SiteDeleted as k, type DeleteContext as l, type SiteUndeleted as m, type SitePublished as n, type SiteUnpublished as o, type SiteMarkedAsTemplate as p, type SiteMarkedAsWixSite as q, type ServiceProvisioned as r, type ServiceRemoved as s, type SiteRenamed as t, type SiteHardDeleted as u, type NamespaceChanged as v, type StudioAssigned as w, type StudioUnassigned as x, type SiteUrlChanged as y, type SitePurgedExternally as z };
|
package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.types.js
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteStatus = exports.Namespace = exports.SiteCreatedContext = exports.State = exports.Quota = void 0;
|
|
4
|
+
var Quota;
|
|
5
|
+
(function (Quota) {
|
|
6
|
+
Quota["UNKNOWN"] = "UNKNOWN";
|
|
7
|
+
/** Limited word credit quota. */
|
|
8
|
+
Quota["LIMITED"] = "LIMITED";
|
|
9
|
+
})(Quota || (exports.Quota = Quota = {}));
|
|
10
|
+
var State;
|
|
11
|
+
(function (State) {
|
|
12
|
+
State["UNKNOWN"] = "UNKNOWN";
|
|
13
|
+
State["ENABLED"] = "ENABLED";
|
|
14
|
+
State["DISABLED"] = "DISABLED";
|
|
15
|
+
State["PENDING"] = "PENDING";
|
|
16
|
+
State["DEMO"] = "DEMO";
|
|
17
|
+
})(State || (exports.State = State = {}));
|
|
18
|
+
var SiteCreatedContext;
|
|
19
|
+
(function (SiteCreatedContext) {
|
|
20
|
+
/** A valid option, we don't expose all reasons why site might be created. */
|
|
21
|
+
SiteCreatedContext["OTHER"] = "OTHER";
|
|
22
|
+
/** A meta site was created from template. */
|
|
23
|
+
SiteCreatedContext["FROM_TEMPLATE"] = "FROM_TEMPLATE";
|
|
24
|
+
/** A meta site was created by copying of the transfferred meta site. */
|
|
25
|
+
SiteCreatedContext["DUPLICATE_BY_SITE_TRANSFER"] = "DUPLICATE_BY_SITE_TRANSFER";
|
|
26
|
+
/** A copy of existing meta site. */
|
|
27
|
+
SiteCreatedContext["DUPLICATE"] = "DUPLICATE";
|
|
28
|
+
/** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
|
|
29
|
+
SiteCreatedContext["OLD_SITE_TRANSFER"] = "OLD_SITE_TRANSFER";
|
|
30
|
+
/** deprecated A meta site was created for Flash editor. */
|
|
31
|
+
SiteCreatedContext["FLASH"] = "FLASH";
|
|
32
|
+
})(SiteCreatedContext || (exports.SiteCreatedContext = SiteCreatedContext = {}));
|
|
33
|
+
var Namespace;
|
|
34
|
+
(function (Namespace) {
|
|
35
|
+
Namespace["UNKNOWN_NAMESPACE"] = "UNKNOWN_NAMESPACE";
|
|
36
|
+
/** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
|
|
37
|
+
Namespace["WIX"] = "WIX";
|
|
38
|
+
/** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
39
|
+
Namespace["SHOUT_OUT"] = "SHOUT_OUT";
|
|
40
|
+
/** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
41
|
+
Namespace["ALBUMS"] = "ALBUMS";
|
|
42
|
+
/** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
43
|
+
Namespace["WIX_STORES_TEST_DRIVE"] = "WIX_STORES_TEST_DRIVE";
|
|
44
|
+
/** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
45
|
+
Namespace["HOTELS"] = "HOTELS";
|
|
46
|
+
/** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
47
|
+
Namespace["CLUBS"] = "CLUBS";
|
|
48
|
+
/** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
49
|
+
Namespace["ONBOARDING_DRAFT"] = "ONBOARDING_DRAFT";
|
|
50
|
+
/** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
51
|
+
Namespace["DEV_SITE"] = "DEV_SITE";
|
|
52
|
+
/** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
53
|
+
Namespace["LOGOS"] = "LOGOS";
|
|
54
|
+
/** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
55
|
+
Namespace["VIDEO_MAKER"] = "VIDEO_MAKER";
|
|
56
|
+
/** MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
57
|
+
Namespace["PARTNER_DASHBOARD"] = "PARTNER_DASHBOARD";
|
|
58
|
+
/** MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
59
|
+
Namespace["DEV_CENTER_COMPANY"] = "DEV_CENTER_COMPANY";
|
|
60
|
+
/**
|
|
61
|
+
* A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
|
|
62
|
+
*
|
|
63
|
+
* Meta site with this namespace will *not* be shown in a user's site list by default.
|
|
64
|
+
*/
|
|
65
|
+
Namespace["HTML_DRAFT"] = "HTML_DRAFT";
|
|
66
|
+
/**
|
|
67
|
+
* the user-journey for Fitness users who want to start from managing their business instead of designing their website.
|
|
68
|
+
* Will be accessible from Site List and will not have a website app.
|
|
69
|
+
* Once the user attaches a site, the site will become a regular wixsite.
|
|
70
|
+
*/
|
|
71
|
+
Namespace["SITELESS_BUSINESS"] = "SITELESS_BUSINESS";
|
|
72
|
+
/** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
|
|
73
|
+
Namespace["CREATOR_ECONOMY"] = "CREATOR_ECONOMY";
|
|
74
|
+
/** It is to be used in the Business First efforts. */
|
|
75
|
+
Namespace["DASHBOARD_FIRST"] = "DASHBOARD_FIRST";
|
|
76
|
+
/** Bookings business flow with no site. */
|
|
77
|
+
Namespace["ANYWHERE"] = "ANYWHERE";
|
|
78
|
+
/** Namespace for Headless Backoffice with no editor */
|
|
79
|
+
Namespace["HEADLESS"] = "HEADLESS";
|
|
80
|
+
/**
|
|
81
|
+
* Namespace for master site that will exist in parent account that will be referenced by subaccounts
|
|
82
|
+
* The site will be used for account level CSM feature for enterprise
|
|
83
|
+
*/
|
|
84
|
+
Namespace["ACCOUNT_MASTER_CMS"] = "ACCOUNT_MASTER_CMS";
|
|
85
|
+
/** Rise.ai Siteless account management for Gift Cards and Store Credit. */
|
|
86
|
+
Namespace["RISE"] = "RISE";
|
|
87
|
+
/**
|
|
88
|
+
* As part of the branded app new funnel, users now can create a meta site that will be branded app first.
|
|
89
|
+
* There's a blank site behind the scene but it's blank).
|
|
90
|
+
* The Mobile company will be the owner of this namespace.
|
|
91
|
+
*/
|
|
92
|
+
Namespace["BRANDED_FIRST"] = "BRANDED_FIRST";
|
|
93
|
+
/** Nownia.com Siteless account management for Ai Scheduling Assistant. */
|
|
94
|
+
Namespace["NOWNIA"] = "NOWNIA";
|
|
95
|
+
/**
|
|
96
|
+
* UGC Templates are templates that are created by users for personal use and to sale to other users.
|
|
97
|
+
* The Partners company owns this namespace.
|
|
98
|
+
*/
|
|
99
|
+
Namespace["UGC_TEMPLATE"] = "UGC_TEMPLATE";
|
|
100
|
+
/** Codux Headless Sites */
|
|
101
|
+
Namespace["CODUX"] = "CODUX";
|
|
102
|
+
/** Bobb - AI Design Creator. */
|
|
103
|
+
Namespace["MEDIA_DESIGN_CREATOR"] = "MEDIA_DESIGN_CREATOR";
|
|
104
|
+
/**
|
|
105
|
+
* Shared Blog Site is a unique single site across Enterprise account,
|
|
106
|
+
* This site will hold all Blog posts related to the Marketing product.
|
|
107
|
+
*/
|
|
108
|
+
Namespace["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
|
|
109
|
+
/** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
110
|
+
Namespace["STANDALONE_FORMS"] = "STANDALONE_FORMS";
|
|
111
|
+
/** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
112
|
+
Namespace["STANDALONE_EVENTS"] = "STANDALONE_EVENTS";
|
|
113
|
+
/** MIMIR - Siteless account for MIMIR Ai Job runner. */
|
|
114
|
+
Namespace["MIMIR"] = "MIMIR";
|
|
115
|
+
})(Namespace || (exports.Namespace = Namespace = {}));
|
|
116
|
+
var DeleteStatus;
|
|
117
|
+
(function (DeleteStatus) {
|
|
118
|
+
DeleteStatus["UNKNOWN"] = "UNKNOWN";
|
|
119
|
+
DeleteStatus["TRASH"] = "TRASH";
|
|
120
|
+
DeleteStatus["DELETED"] = "DELETED";
|
|
121
|
+
DeleteStatus["PENDING_PURGE"] = "PENDING_PURGE";
|
|
122
|
+
DeleteStatus["PURGED_EXTERNALLY"] = "PURGED_EXTERNALLY";
|
|
123
|
+
})(DeleteStatus || (exports.DeleteStatus = DeleteStatus = {}));
|
|
124
|
+
//# sourceMappingURL=multilingual-machine-v1-credit-data-translation-credits.types.js.map
|
package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.types.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"multilingual-machine-v1-credit-data-translation-credits.types.js","sourceRoot":"","sources":["../../../../src/multilingual-machine-v1-credit-data-translation-credits.types.ts"],"names":[],"mappings":";;;AAqBA,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,iCAAiC;IACjC,4BAAmB,CAAA;AACrB,CAAC,EAJW,KAAK,qBAAL,KAAK,QAIhB;AAiKD,IAAY,KAMX;AAND,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,8BAAqB,CAAA;IACrB,4BAAmB,CAAA;IACnB,sBAAa,CAAA;AACf,CAAC,EANW,KAAK,qBAAL,KAAK,QAMhB;AAgCD,IAAY,kBAaX;AAbD,WAAY,kBAAkB;IAC5B,6EAA6E;IAC7E,qCAAe,CAAA;IACf,6CAA6C;IAC7C,qDAA+B,CAAA;IAC/B,wEAAwE;IACxE,+EAAyD,CAAA;IACzD,oCAAoC;IACpC,6CAAuB,CAAA;IACvB,wGAAwG;IACxG,6DAAuC,CAAA;IACvC,2DAA2D;IAC3D,qCAAe,CAAA;AACjB,CAAC,EAbW,kBAAkB,kCAAlB,kBAAkB,QAa7B;AAED,IAAY,SAiFX;AAjFD,WAAY,SAAS;IACnB,oDAAuC,CAAA;IACvC,qHAAqH;IACrH,wBAAW,CAAA;IACX,6KAA6K;IAC7K,oCAAuB,CAAA;IACvB,0KAA0K;IAC1K,8BAAiB,CAAA;IACjB,6RAA6R;IAC7R,4DAA+C,CAAA;IAC/C,wHAAwH;IACxH,8BAAiB,CAAA;IACjB,kJAAkJ;IAClJ,4BAAe,CAAA;IACf,2HAA2H;IAC3H,kDAAqC,CAAA;IACrC,iIAAiI;IACjI,kCAAqB,CAAA;IACrB,sJAAsJ;IACtJ,4BAAe,CAAA;IACf,wJAAwJ;IACxJ,wCAA2B,CAAA;IAC3B,0FAA0F;IAC1F,oDAAuC,CAAA;IACvC,0FAA0F;IAC1F,sDAAyC,CAAA;IACzC;;;;OAIG;IACH,sCAAyB,CAAA;IACzB;;;;OAIG;IACH,oDAAuC,CAAA;IACvC,oGAAoG;IACpG,gDAAmC,CAAA;IACnC,sDAAsD;IACtD,gDAAmC,CAAA;IACnC,2CAA2C;IAC3C,kCAAqB,CAAA;IACrB,uDAAuD;IACvD,kCAAqB,CAAA;IACrB;;;OAGG;IACH,sDAAyC,CAAA;IACzC,2EAA2E;IAC3E,0BAAa,CAAA;IACb;;;;OAIG;IACH,4CAA+B,CAAA;IAC/B,0EAA0E;IAC1E,8BAAiB,CAAA;IACjB;;;OAGG;IACH,0CAA6B,CAAA;IAC7B,2BAA2B;IAC3B,4BAAe,CAAA;IACf,gCAAgC;IAChC,0DAA6C,CAAA;IAC7C;;;OAGG;IACH,8DAAiD,CAAA;IACjD,uHAAuH;IACvH,kDAAqC,CAAA;IACrC,wHAAwH;IACxH,oDAAuC,CAAA;IACvC,wDAAwD;IACxD,4BAAe,CAAA;AACjB,CAAC,EAjFW,SAAS,yBAAT,SAAS,QAiFpB;AAuCD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,+CAA+B,CAAA;IAC/B,uDAAuC,CAAA;AACzC,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB"}
|