@wix/auto_sdk_multilingual_translation-credits 1.0.10 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/build/index.d.mts +28 -0
  2. package/build/index.d.ts +28 -0
  3. package/build/index.js +263 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +233 -0
  6. package/build/index.mjs.map +1 -0
  7. package/build/internal/index.d.mts +28 -0
  8. package/build/internal/index.d.ts +28 -0
  9. package/build/internal/index.js +263 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +233 -0
  12. package/build/internal/index.mjs.map +1 -0
  13. package/build/internal/meta.d.mts +59 -0
  14. package/build/internal/meta.d.ts +59 -0
  15. package/build/internal/meta.js +154 -0
  16. package/build/internal/meta.js.map +1 -0
  17. package/build/internal/meta.mjs +126 -0
  18. package/build/internal/meta.mjs.map +1 -0
  19. package/build/{cjs/src/multilingual-machine-v1-credit-data-translation-credits.types.d.ts → internal/multilingual-machine-v1-credit-data-translation-credits.universal-CqGOUZyb.d.mts} +43 -49
  20. package/build/internal/{cjs/src/multilingual-machine-v1-credit-data-translation-credits.types.d.ts → multilingual-machine-v1-credit-data-translation-credits.universal-CqGOUZyb.d.ts} +43 -49
  21. package/build/meta.d.mts +59 -0
  22. package/build/meta.d.ts +59 -0
  23. package/build/meta.js +154 -0
  24. package/build/meta.js.map +1 -0
  25. package/build/meta.mjs +126 -0
  26. package/build/meta.mjs.map +1 -0
  27. package/build/{internal/es/src/multilingual-machine-v1-credit-data-translation-credits.types.d.ts → multilingual-machine-v1-credit-data-translation-credits.universal-CqGOUZyb.d.mts} +43 -49
  28. package/build/{es/src/multilingual-machine-v1-credit-data-translation-credits.types.d.ts → multilingual-machine-v1-credit-data-translation-credits.universal-CqGOUZyb.d.ts} +43 -49
  29. package/package.json +13 -12
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.context.d.ts +0 -6
  40. package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.context.js +0 -14
  41. package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.context.js.map +0 -1
  42. package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.http.d.ts +0 -11
  43. package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.http.js +0 -94
  44. package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.http.js.map +0 -1
  45. package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.meta.d.ts +0 -14
  46. package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.meta.js +0 -66
  47. package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.meta.js.map +0 -1
  48. package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.public.d.ts +0 -25
  49. package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.public.js +0 -24
  50. package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.public.js.map +0 -1
  51. package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.types.js +0 -122
  52. package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.types.js.map +0 -1
  53. package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.universal.d.ts +0 -517
  54. package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.universal.js +0 -220
  55. package/build/cjs/src/multilingual-machine-v1-credit-data-translation-credits.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/package.json +0 -3
  66. package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.context.d.ts +0 -6
  67. package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.context.js +0 -6
  68. package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.context.js.map +0 -1
  69. package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.http.d.ts +0 -11
  70. package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.http.js +0 -89
  71. package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.http.js.map +0 -1
  72. package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.meta.d.ts +0 -14
  73. package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.meta.js +0 -38
  74. package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.meta.js.map +0 -1
  75. package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.public.d.ts +0 -25
  76. package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.public.js +0 -14
  77. package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.public.js.map +0 -1
  78. package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.types.js +0 -119
  79. package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.types.js.map +0 -1
  80. package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.universal.d.ts +0 -517
  81. package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.universal.js +0 -192
  82. package/build/es/src/multilingual-machine-v1-credit-data-translation-credits.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -1
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.context.d.ts +0 -6
  93. package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.context.js +0 -14
  94. package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.context.js.map +0 -1
  95. package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.http.d.ts +0 -11
  96. package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.http.js +0 -94
  97. package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.http.js.map +0 -1
  98. package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.meta.d.ts +0 -14
  99. package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.meta.js +0 -66
  100. package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.meta.js.map +0 -1
  101. package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.public.d.ts +0 -25
  102. package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.public.js +0 -24
  103. package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.public.js.map +0 -1
  104. package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.types.js +0 -122
  105. package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.types.js.map +0 -1
  106. package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.universal.d.ts +0 -517
  107. package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.universal.js +0 -220
  108. package/build/internal/cjs/src/multilingual-machine-v1-credit-data-translation-credits.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -1
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.context.d.ts +0 -6
  119. package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.context.js +0 -6
  120. package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.context.js.map +0 -1
  121. package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.http.d.ts +0 -11
  122. package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.http.js +0 -89
  123. package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.http.js.map +0 -1
  124. package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.meta.d.ts +0 -14
  125. package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.meta.js +0 -38
  126. package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.meta.js.map +0 -1
  127. package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.public.d.ts +0 -25
  128. package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.public.js +0 -14
  129. package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.public.js.map +0 -1
  130. package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.types.js +0 -119
  131. package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.types.js.map +0 -1
  132. package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.universal.d.ts +0 -517
  133. package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.universal.js +0 -192
  134. package/build/internal/es/src/multilingual-machine-v1-credit-data-translation-credits.universal.js.map +0 -1
@@ -1,122 +0,0 @@
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
- })(Namespace || (exports.Namespace = Namespace = {}));
114
- var DeleteStatus;
115
- (function (DeleteStatus) {
116
- DeleteStatus["UNKNOWN"] = "UNKNOWN";
117
- DeleteStatus["TRASH"] = "TRASH";
118
- DeleteStatus["DELETED"] = "DELETED";
119
- DeleteStatus["PENDING_PURGE"] = "PENDING_PURGE";
120
- DeleteStatus["PURGED_EXTERNALLY"] = "PURGED_EXTERNALLY";
121
- })(DeleteStatus || (exports.DeleteStatus = DeleteStatus = {}));
122
- //# sourceMappingURL=multilingual-machine-v1-credit-data-translation-credits.types.js.map
@@ -1 +0,0 @@
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,SA+EX;AA/ED,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;AACzC,CAAC,EA/EW,SAAS,yBAAT,SAAS,QA+EpB;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"}
@@ -1,517 +0,0 @@
1
- export interface CreditData extends CreditDataTypeOneOf {
2
- /**
3
- * Limited word credit quota.
4
- * @readonly
5
- */
6
- limitedQuota?: LimitedQuota;
7
- /** Total number of word credits consumed by a site. For sites with an unlimited word credit quota, this property still reflects the number of credits used, even though no usage limit applies. */
8
- creditsUsed?: number | null;
9
- /** Quota type. */
10
- quotaType?: Quota;
11
- }
12
- /** @oneof */
13
- export interface CreditDataTypeOneOf {
14
- /**
15
- * Limited word credit quota.
16
- * @readonly
17
- */
18
- limitedQuota?: LimitedQuota;
19
- }
20
- export declare enum Quota {
21
- UNKNOWN = "UNKNOWN",
22
- /** Limited word credit quota. */
23
- LIMITED = "LIMITED"
24
- }
25
- export interface LimitedQuota {
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
- quota?: number | null;
28
- }
29
- export interface GetCreditDataRequest {
30
- }
31
- export interface GetCreditDataResponse {
32
- /** Credit data. */
33
- creditData?: CreditData;
34
- }
35
- export interface CheckSufficientCreditsRequest {
36
- /** Number of words to translate. */
37
- wordCount: number;
38
- }
39
- export interface CheckSufficientCreditsResponse {
40
- /** Whether the site has enough credits to translate the specified number of words. */
41
- sufficientCredits?: boolean;
42
- }
43
- export interface ReportCreditUsageRequest {
44
- /** Number of credits used in the translation operation */
45
- used?: number;
46
- }
47
- export interface ReportCreditUsageResponse {
48
- /** Updated credit status after reporting usage */
49
- creditData?: CreditData;
50
- }
51
- export interface UpdateCreditRequest {
52
- /** New credit status to be set for the site */
53
- creditData?: CreditData;
54
- }
55
- export interface UpdateCreditResponse {
56
- /** Updated credit status after the change */
57
- creditData?: CreditData;
58
- }
59
- export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
60
- /** Emitted on a meta site creation. */
61
- siteCreated?: SiteCreated;
62
- /** Emitted on a meta site transfer completion. */
63
- siteTransferred?: SiteTransferred;
64
- /** Emitted on a meta site deletion. */
65
- siteDeleted?: SiteDeleted;
66
- /** Emitted on a meta site restoration. */
67
- siteUndeleted?: SiteUndeleted;
68
- /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
69
- sitePublished?: SitePublished;
70
- /** Emitted on a meta site unpublish. */
71
- siteUnpublished?: SiteUnpublished;
72
- /** Emitted when meta site is marked as template. */
73
- siteMarkedAsTemplate?: SiteMarkedAsTemplate;
74
- /** Emitted when meta site is marked as a WixSite. */
75
- siteMarkedAsWixSite?: SiteMarkedAsWixSite;
76
- /** Emitted when an application is provisioned (installed). */
77
- serviceProvisioned?: ServiceProvisioned;
78
- /** Emitted when an application is removed (uninstalled). */
79
- serviceRemoved?: ServiceRemoved;
80
- /** Emitted when meta site name (URL slug) is changed. */
81
- siteRenamedPayload?: SiteRenamed;
82
- /** Emitted when meta site was permanently deleted. */
83
- hardDeleted?: SiteHardDeleted;
84
- /** Emitted on a namespace change. */
85
- namespaceChanged?: NamespaceChanged;
86
- /** Emitted when Studio is attached. */
87
- studioAssigned?: StudioAssigned;
88
- /** Emitted when Studio is detached. */
89
- studioUnassigned?: StudioUnassigned;
90
- /**
91
- * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
92
- * the actual URL.
93
- *
94
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
95
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
96
- */
97
- urlChanged?: SiteUrlChanged;
98
- /** Site is marked as PurgedExternally */
99
- sitePurgedExternally?: SitePurgedExternally;
100
- /**
101
- * A meta site id.
102
- * @format GUID
103
- */
104
- metaSiteId?: string;
105
- /** A meta site version. Monotonically increasing. */
106
- version?: string;
107
- /** A timestamp of the event. */
108
- timestamp?: string;
109
- /**
110
- * TODO(meta-site): Change validation once validations are disabled for consumers
111
- * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659
112
- * @maxSize 4000
113
- */
114
- assets?: Asset[];
115
- }
116
- /** @oneof */
117
- export interface MetaSiteSpecialEventPayloadOneOf {
118
- /** Emitted on a meta site creation. */
119
- siteCreated?: SiteCreated;
120
- /** Emitted on a meta site transfer completion. */
121
- siteTransferred?: SiteTransferred;
122
- /** Emitted on a meta site deletion. */
123
- siteDeleted?: SiteDeleted;
124
- /** Emitted on a meta site restoration. */
125
- siteUndeleted?: SiteUndeleted;
126
- /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
127
- sitePublished?: SitePublished;
128
- /** Emitted on a meta site unpublish. */
129
- siteUnpublished?: SiteUnpublished;
130
- /** Emitted when meta site is marked as template. */
131
- siteMarkedAsTemplate?: SiteMarkedAsTemplate;
132
- /** Emitted when meta site is marked as a WixSite. */
133
- siteMarkedAsWixSite?: SiteMarkedAsWixSite;
134
- /** Emitted when an application is provisioned (installed). */
135
- serviceProvisioned?: ServiceProvisioned;
136
- /** Emitted when an application is removed (uninstalled). */
137
- serviceRemoved?: ServiceRemoved;
138
- /** Emitted when meta site name (URL slug) is changed. */
139
- siteRenamedPayload?: SiteRenamed;
140
- /** Emitted when meta site was permanently deleted. */
141
- hardDeleted?: SiteHardDeleted;
142
- /** Emitted on a namespace change. */
143
- namespaceChanged?: NamespaceChanged;
144
- /** Emitted when Studio is attached. */
145
- studioAssigned?: StudioAssigned;
146
- /** Emitted when Studio is detached. */
147
- studioUnassigned?: StudioUnassigned;
148
- /**
149
- * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
150
- * the actual URL.
151
- *
152
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
153
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
154
- */
155
- urlChanged?: SiteUrlChanged;
156
- /** Site is marked as PurgedExternally */
157
- sitePurgedExternally?: SitePurgedExternally;
158
- }
159
- export interface Asset {
160
- /**
161
- * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).
162
- * @maxLength 36
163
- */
164
- appDefId?: string;
165
- /**
166
- * An instance id. For legacy reasons may be UUID or a string.
167
- * @maxLength 200
168
- */
169
- instanceId?: string;
170
- /** An application state. */
171
- state?: State;
172
- }
173
- export declare enum State {
174
- UNKNOWN = "UNKNOWN",
175
- ENABLED = "ENABLED",
176
- DISABLED = "DISABLED",
177
- PENDING = "PENDING",
178
- DEMO = "DEMO"
179
- }
180
- export interface SiteCreated {
181
- /**
182
- * A template identifier (empty if not created from a template).
183
- * @maxLength 36
184
- */
185
- originTemplateId?: string;
186
- /**
187
- * An account id of the owner.
188
- * @format GUID
189
- */
190
- ownerId?: string;
191
- /** A context in which meta site was created. */
192
- context?: SiteCreatedContext;
193
- /**
194
- * A meta site id from which this site was created.
195
- *
196
- * In case of a creation from a template it's a template id.
197
- * In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
198
- * @format GUID
199
- */
200
- originMetaSiteId?: string | null;
201
- /**
202
- * A meta site name (URL slug).
203
- * @maxLength 20
204
- */
205
- siteName?: string;
206
- /** A namespace. */
207
- namespace?: Namespace;
208
- }
209
- export declare enum SiteCreatedContext {
210
- /** A valid option, we don't expose all reasons why site might be created. */
211
- OTHER = "OTHER",
212
- /** A meta site was created from template. */
213
- FROM_TEMPLATE = "FROM_TEMPLATE",
214
- /** A meta site was created by copying of the transfferred meta site. */
215
- DUPLICATE_BY_SITE_TRANSFER = "DUPLICATE_BY_SITE_TRANSFER",
216
- /** A copy of existing meta site. */
217
- DUPLICATE = "DUPLICATE",
218
- /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
219
- OLD_SITE_TRANSFER = "OLD_SITE_TRANSFER",
220
- /** deprecated A meta site was created for Flash editor. */
221
- FLASH = "FLASH"
222
- }
223
- export declare enum Namespace {
224
- UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
225
- /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
226
- WIX = "WIX",
227
- /** 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. */
228
- SHOUT_OUT = "SHOUT_OUT",
229
- /** 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. */
230
- ALBUMS = "ALBUMS",
231
- /** 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. */
232
- WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
233
- /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
234
- HOTELS = "HOTELS",
235
- /** 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. */
236
- CLUBS = "CLUBS",
237
- /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
238
- ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
239
- /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
240
- DEV_SITE = "DEV_SITE",
241
- /** 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. */
242
- LOGOS = "LOGOS",
243
- /** 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. */
244
- VIDEO_MAKER = "VIDEO_MAKER",
245
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
246
- PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
247
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
248
- DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
249
- /**
250
- * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
251
- *
252
- * Meta site with this namespace will *not* be shown in a user's site list by default.
253
- */
254
- HTML_DRAFT = "HTML_DRAFT",
255
- /**
256
- * the user-journey for Fitness users who want to start from managing their business instead of designing their website.
257
- * Will be accessible from Site List and will not have a website app.
258
- * Once the user attaches a site, the site will become a regular wixsite.
259
- */
260
- SITELESS_BUSINESS = "SITELESS_BUSINESS",
261
- /** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
262
- CREATOR_ECONOMY = "CREATOR_ECONOMY",
263
- /** It is to be used in the Business First efforts. */
264
- DASHBOARD_FIRST = "DASHBOARD_FIRST",
265
- /** Bookings business flow with no site. */
266
- ANYWHERE = "ANYWHERE",
267
- /** Namespace for Headless Backoffice with no editor */
268
- HEADLESS = "HEADLESS",
269
- /**
270
- * Namespace for master site that will exist in parent account that will be referenced by subaccounts
271
- * The site will be used for account level CSM feature for enterprise
272
- */
273
- ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS",
274
- /** Rise.ai Siteless account management for Gift Cards and Store Credit. */
275
- RISE = "RISE",
276
- /**
277
- * As part of the branded app new funnel, users now can create a meta site that will be branded app first.
278
- * There's a blank site behind the scene but it's blank).
279
- * The Mobile company will be the owner of this namespace.
280
- */
281
- BRANDED_FIRST = "BRANDED_FIRST",
282
- /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
283
- NOWNIA = "NOWNIA",
284
- /**
285
- * UGC Templates are templates that are created by users for personal use and to sale to other users.
286
- * The Partners company owns this namespace.
287
- */
288
- UGC_TEMPLATE = "UGC_TEMPLATE",
289
- /** Codux Headless Sites */
290
- CODUX = "CODUX",
291
- /** Bobb - AI Design Creator. */
292
- MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR",
293
- /**
294
- * Shared Blog Site is a unique single site across Enterprise account,
295
- * This site will hold all Blog posts related to the Marketing product.
296
- */
297
- SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
298
- /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
299
- STANDALONE_FORMS = "STANDALONE_FORMS",
300
- /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
301
- STANDALONE_EVENTS = "STANDALONE_EVENTS"
302
- }
303
- /** Site transferred to another user. */
304
- export interface SiteTransferred {
305
- /**
306
- * A previous owner id (user that transfers meta site).
307
- * @format GUID
308
- */
309
- oldOwnerId?: string;
310
- /**
311
- * A new owner id (user that accepts meta site).
312
- * @format GUID
313
- */
314
- newOwnerId?: string;
315
- }
316
- /** Soft deletion of the meta site. Could be restored. */
317
- export interface SiteDeleted {
318
- /** A deletion context. */
319
- deleteContext?: DeleteContext;
320
- }
321
- export interface DeleteContext {
322
- /** When the meta site was deleted. */
323
- dateDeleted?: Date | null;
324
- /** A status. */
325
- deleteStatus?: DeleteStatus;
326
- /**
327
- * A reason (flow).
328
- * @maxLength 255
329
- */
330
- deleteOrigin?: string;
331
- /**
332
- * A service that deleted it.
333
- * @maxLength 255
334
- */
335
- initiatorId?: string | null;
336
- }
337
- export declare enum DeleteStatus {
338
- UNKNOWN = "UNKNOWN",
339
- TRASH = "TRASH",
340
- DELETED = "DELETED",
341
- PENDING_PURGE = "PENDING_PURGE",
342
- PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
343
- }
344
- /** Restoration of the meta site. */
345
- export interface SiteUndeleted {
346
- }
347
- /** First publish of a meta site. Or subsequent publish after unpublish. */
348
- export interface SitePublished {
349
- }
350
- export interface SiteUnpublished {
351
- /**
352
- * A list of URLs previously associated with the meta site.
353
- * @maxLength 4000
354
- * @maxSize 10000
355
- */
356
- urls?: string[];
357
- }
358
- export interface SiteMarkedAsTemplate {
359
- }
360
- export interface SiteMarkedAsWixSite {
361
- }
362
- /**
363
- * Represents a service provisioned a site.
364
- *
365
- * Note on `origin_instance_id`:
366
- * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.
367
- * This is because of the following scenario:
368
- *
369
- * Imagine you have a template where a third-party application (TPA) includes some stub data,
370
- * such as a product catalog. When you create a site from this template, you inherit this
371
- * default product catalog. However, if the template's product catalog is modified,
372
- * your site will retain the catalog as it was at the time of site creation. This ensures that
373
- * your site remains consistent with what you initially received and does not include any
374
- * changes made to the original template afterward.
375
- * To ensure this, the TPA on the template gets a new instance_id.
376
- */
377
- export interface ServiceProvisioned {
378
- /**
379
- * Either UUID or EmbeddedServiceType.
380
- * @maxLength 36
381
- */
382
- appDefId?: string;
383
- /**
384
- * Not only UUID. Something here could be something weird.
385
- * @maxLength 36
386
- */
387
- instanceId?: string;
388
- /**
389
- * An instance id from which this instance is originated.
390
- * @maxLength 36
391
- */
392
- originInstanceId?: string;
393
- /**
394
- * A version.
395
- * @maxLength 500
396
- */
397
- version?: string | null;
398
- /**
399
- * The origin meta site id
400
- * @format GUID
401
- */
402
- originMetaSiteId?: string | null;
403
- }
404
- export interface ServiceRemoved {
405
- /**
406
- * Either UUID or EmbeddedServiceType.
407
- * @maxLength 36
408
- */
409
- appDefId?: string;
410
- /**
411
- * Not only UUID. Something here could be something weird.
412
- * @maxLength 36
413
- */
414
- instanceId?: string;
415
- /**
416
- * A version.
417
- * @maxLength 500
418
- */
419
- version?: string | null;
420
- }
421
- /** Rename of the site. Meaning, free public url has been changed as well. */
422
- export interface SiteRenamed {
423
- /**
424
- * A new meta site name (URL slug).
425
- * @maxLength 20
426
- */
427
- newSiteName?: string;
428
- /**
429
- * A previous meta site name (URL slug).
430
- * @maxLength 255
431
- */
432
- oldSiteName?: string;
433
- }
434
- /**
435
- * Hard deletion of the meta site.
436
- *
437
- * Could not be restored. Therefore it's desirable to cleanup data.
438
- */
439
- export interface SiteHardDeleted {
440
- /** A deletion context. */
441
- deleteContext?: DeleteContext;
442
- }
443
- export interface NamespaceChanged {
444
- /** A previous namespace. */
445
- oldNamespace?: Namespace;
446
- /** A new namespace. */
447
- newNamespace?: Namespace;
448
- }
449
- /** Assigned Studio editor */
450
- export interface StudioAssigned {
451
- }
452
- /** Unassigned Studio editor */
453
- export interface StudioUnassigned {
454
- }
455
- /**
456
- * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.
457
- *
458
- * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up
459
- * with sites and its urls, you need to listen to another topic/event. Read about it:
460
- *
461
- * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service
462
- */
463
- export interface SiteUrlChanged {
464
- }
465
- /**
466
- * Used at the end of the deletion flow for both draft sites and when a user deletes a site.
467
- * Consumed by other teams to remove relevant data.
468
- */
469
- export interface SitePurgedExternally {
470
- /**
471
- * @maxLength 2048
472
- * @maxSize 100
473
- * @deprecated
474
- * @targetRemovalDate 2025-04-15
475
- */
476
- appDefId?: string[];
477
- }
478
- export interface Empty {
479
- }
480
- interface CreditDataNonNullableFields {
481
- quotaType: Quota;
482
- }
483
- export interface GetCreditDataResponseNonNullableFields {
484
- creditData?: CreditDataNonNullableFields;
485
- }
486
- export interface CheckSufficientCreditsResponseNonNullableFields {
487
- sufficientCredits: boolean;
488
- }
489
- /**
490
- * Retrieves a site's word credit data.
491
- *
492
- * For sites with a limited quota, you can calculate the available word credits by subtracting the credits used from the quota.
493
- * For example, if a site has a quota of 100 credits and all credits have been used (`"creditsUsed": 100`), the available word credits will be 0.
494
- * If a Wix user purchases an additional 50 credits, the `quota` will increase to `150`, and the site will have 50 available word credits.
495
- * @public
496
- * @documentationMaturity preview
497
- * @permissionId WIX_MULTILINGUAL.GET_CREDITS
498
- * @permissionScope Wix Multilingual - Translation API
499
- * @permissionScopeId SCOPE.MULTILINGUAL.MANAGE_TRANSLATIONS
500
- * @applicableIdentity APP
501
- * @fqn wix.multilingual.machine.v1.TranslationCredits.GetCreditData
502
- */
503
- export declare function getCreditData(): Promise<GetCreditDataResponse & GetCreditDataResponseNonNullableFields>;
504
- /**
505
- * Checks whether a site has enough credits to translate the specified number of words.
506
- * @param wordCount - Number of words to translate.
507
- * @public
508
- * @documentationMaturity preview
509
- * @requiredField wordCount
510
- * @permissionId WIX_MULTILINGUAL.GET_IS_ELIGIBLE
511
- * @permissionScope Wix Multilingual - Translation API
512
- * @permissionScopeId SCOPE.MULTILINGUAL.MANAGE_TRANSLATIONS
513
- * @applicableIdentity APP
514
- * @fqn wix.multilingual.machine.v1.TranslationCredits.CheckSufficientCredits
515
- */
516
- export declare function checkSufficientCredits(wordCount: number): Promise<CheckSufficientCreditsResponse & CheckSufficientCreditsResponseNonNullableFields>;
517
- export {};