@wix/auto_sdk_app-management_app-instances 1.0.19 → 1.0.21

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 (121) hide show
  1. package/build/cjs/{src/devcenter-app-instance-v1-app-instance-app-instances.types.d.ts → devcenter-app-instance-v1-app-instance-app-instances.universal-Bfi1qsvM.d.ts} +83 -35
  2. package/build/cjs/index.d.ts +65 -1
  3. package/build/cjs/index.js +343 -15
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/meta.d.ts +243 -1
  6. package/build/cjs/meta.js +145 -15
  7. package/build/cjs/meta.js.map +1 -1
  8. package/build/{internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.d.ts → es/devcenter-app-instance-v1-app-instance-app-instances.universal-Bfi1qsvM.d.mts} +83 -35
  9. package/build/es/index.d.mts +65 -0
  10. package/build/es/index.mjs +308 -0
  11. package/build/es/index.mjs.map +1 -0
  12. package/build/es/meta.d.mts +243 -0
  13. package/build/es/meta.mjs +121 -0
  14. package/build/es/meta.mjs.map +1 -0
  15. package/build/{es/src/devcenter-app-instance-v1-app-instance-app-instances.types.d.ts → internal/cjs/devcenter-app-instance-v1-app-instance-app-instances.universal-Bfi1qsvM.d.ts} +83 -35
  16. package/build/internal/cjs/index.d.ts +65 -1
  17. package/build/internal/cjs/index.js +343 -15
  18. package/build/internal/cjs/index.js.map +1 -1
  19. package/build/internal/cjs/meta.d.ts +243 -1
  20. package/build/internal/cjs/meta.js +145 -15
  21. package/build/internal/cjs/meta.js.map +1 -1
  22. package/build/internal/es/{src/devcenter-app-instance-v1-app-instance-app-instances.types.d.ts → devcenter-app-instance-v1-app-instance-app-instances.universal-Bfi1qsvM.d.mts} +83 -35
  23. package/build/internal/es/index.d.mts +65 -0
  24. package/build/internal/es/index.mjs +308 -0
  25. package/build/internal/es/index.mjs.map +1 -0
  26. package/build/internal/es/meta.d.mts +243 -0
  27. package/build/internal/es/meta.mjs +121 -0
  28. package/build/internal/es/meta.mjs.map +1 -0
  29. package/package.json +9 -8
  30. package/build/cjs/index.typings.d.ts +0 -1
  31. package/build/cjs/index.typings.js +0 -18
  32. package/build/cjs/index.typings.js.map +0 -1
  33. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.context.d.ts +0 -48
  34. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.context.js +0 -57
  35. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.context.js.map +0 -1
  36. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.http.d.ts +0 -13
  37. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.http.js +0 -112
  38. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.http.js.map +0 -1
  39. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.meta.d.ts +0 -13
  40. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.meta.js +0 -47
  41. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.meta.js.map +0 -1
  42. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.public.d.ts +0 -29
  43. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.public.js +0 -70
  44. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.public.js.map +0 -1
  45. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.js +0 -56
  46. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.js.map +0 -1
  47. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.d.ts +0 -651
  48. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js +0 -123
  49. package/build/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js.map +0 -1
  50. package/build/es/index.d.ts +0 -1
  51. package/build/es/index.js +0 -2
  52. package/build/es/index.js.map +0 -1
  53. package/build/es/index.typings.d.ts +0 -1
  54. package/build/es/index.typings.js +0 -2
  55. package/build/es/index.typings.js.map +0 -1
  56. package/build/es/meta.d.ts +0 -1
  57. package/build/es/meta.js +0 -2
  58. package/build/es/meta.js.map +0 -1
  59. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.context.d.ts +0 -48
  60. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.context.js +0 -48
  61. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.context.js.map +0 -1
  62. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.http.d.ts +0 -13
  63. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.http.js +0 -108
  64. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.http.js.map +0 -1
  65. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.meta.d.ts +0 -13
  66. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.meta.js +0 -20
  67. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.meta.js.map +0 -1
  68. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.public.d.ts +0 -29
  69. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.public.js +0 -60
  70. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.public.js.map +0 -1
  71. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.types.js +0 -53
  72. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.types.js.map +0 -1
  73. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.d.ts +0 -651
  74. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js +0 -96
  75. package/build/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js.map +0 -1
  76. package/build/internal/cjs/index.typings.d.ts +0 -1
  77. package/build/internal/cjs/index.typings.js +0 -18
  78. package/build/internal/cjs/index.typings.js.map +0 -1
  79. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.context.d.ts +0 -48
  80. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.context.js +0 -57
  81. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.context.js.map +0 -1
  82. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.http.d.ts +0 -13
  83. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.http.js +0 -112
  84. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.http.js.map +0 -1
  85. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.meta.d.ts +0 -13
  86. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.meta.js +0 -47
  87. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.meta.js.map +0 -1
  88. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.public.d.ts +0 -29
  89. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.public.js +0 -70
  90. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.public.js.map +0 -1
  91. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.js +0 -56
  92. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.types.js.map +0 -1
  93. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.d.ts +0 -651
  94. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js +0 -123
  95. package/build/internal/cjs/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js.map +0 -1
  96. package/build/internal/es/index.d.ts +0 -1
  97. package/build/internal/es/index.js +0 -2
  98. package/build/internal/es/index.js.map +0 -1
  99. package/build/internal/es/index.typings.d.ts +0 -1
  100. package/build/internal/es/index.typings.js +0 -2
  101. package/build/internal/es/index.typings.js.map +0 -1
  102. package/build/internal/es/meta.d.ts +0 -1
  103. package/build/internal/es/meta.js +0 -2
  104. package/build/internal/es/meta.js.map +0 -1
  105. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.context.d.ts +0 -48
  106. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.context.js +0 -48
  107. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.context.js.map +0 -1
  108. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.http.d.ts +0 -13
  109. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.http.js +0 -108
  110. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.http.js.map +0 -1
  111. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.meta.d.ts +0 -13
  112. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.meta.js +0 -20
  113. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.meta.js.map +0 -1
  114. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.public.d.ts +0 -29
  115. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.public.js +0 -60
  116. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.public.js.map +0 -1
  117. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.types.js +0 -53
  118. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.types.js.map +0 -1
  119. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.d.ts +0 -651
  120. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js +0 -96
  121. package/build/internal/es/src/devcenter-app-instance-v1-app-instance-app-instances.universal.js.map +0 -1
@@ -1,96 +0,0 @@
1
- import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';
2
- import { renameKeysFromSDKRequestToRESTRequest, renameKeysFromRESTResponseToSDKResponse, } from '@wix/sdk-runtime/rename-all-nested-keys';
3
- import * as ambassadorWixDevcenterAppInstanceV1AppInstance from './devcenter-app-instance-v1-app-instance-app-instances.http.js';
4
- export var PaymentCycle;
5
- (function (PaymentCycle) {
6
- PaymentCycle["NO_CYCLE"] = "NO_CYCLE";
7
- PaymentCycle["MONTHLY"] = "MONTHLY";
8
- PaymentCycle["YEARLY"] = "YEARLY";
9
- PaymentCycle["ONE_TIME"] = "ONE_TIME";
10
- PaymentCycle["TWO_YEARS"] = "TWO_YEARS";
11
- PaymentCycle["THREE_YEARS"] = "THREE_YEARS";
12
- PaymentCycle["FOUR_YEARS"] = "FOUR_YEARS";
13
- PaymentCycle["FIVE_YEARS"] = "FIVE_YEARS";
14
- })(PaymentCycle || (PaymentCycle = {}));
15
- export var FreeTrialStatus;
16
- (function (FreeTrialStatus) {
17
- /** Unknown trial status. */
18
- FreeTrialStatus["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
19
- /** The free trial is currently in progress. */
20
- FreeTrialStatus["IN_PROGRESS"] = "IN_PROGRESS";
21
- /** The free trial has ended. */
22
- FreeTrialStatus["ENDED"] = "ENDED";
23
- /** No free trial was applied, as none was available. */
24
- FreeTrialStatus["NOT_AVAILABLE"] = "NOT_AVAILABLE";
25
- })(FreeTrialStatus || (FreeTrialStatus = {}));
26
- export var FreeTrialPeriod;
27
- (function (FreeTrialPeriod) {
28
- /** Free trial status unknown. */
29
- FreeTrialPeriod["FREE_TRIAL_PERIOD_UNKNOWN"] = "FREE_TRIAL_PERIOD_UNKNOWN";
30
- /** During a free trial period. */
31
- FreeTrialPeriod["DURING_FREE_TRIAL"] = "DURING_FREE_TRIAL";
32
- /** Not during a free trial period. */
33
- FreeTrialPeriod["NOT_DURING_FREE_TRIAL"] = "NOT_DURING_FREE_TRIAL";
34
- })(FreeTrialPeriod || (FreeTrialPeriod = {}));
35
- export var ReactivationReason;
36
- (function (ReactivationReason) {
37
- /** Reactivation reason unknown. */
38
- ReactivationReason["REACTIVATION_REASON_UNKNOWN"] = "REACTIVATION_REASON_UNKNOWN";
39
- /** The subscription's auto-renewal is turned on. */
40
- ReactivationReason["AUTO_RENEW_TURNED_ON"] = "AUTO_RENEW_TURNED_ON";
41
- })(ReactivationReason || (ReactivationReason = {}));
42
- export var ResolutionMethod;
43
- (function (ResolutionMethod) {
44
- ResolutionMethod["QUERY_PARAM"] = "QUERY_PARAM";
45
- ResolutionMethod["SUBDOMAIN"] = "SUBDOMAIN";
46
- ResolutionMethod["SUBDIRECTORY"] = "SUBDIRECTORY";
47
- })(ResolutionMethod || (ResolutionMethod = {}));
48
- export var WebhookIdentityType;
49
- (function (WebhookIdentityType) {
50
- WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
51
- WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
52
- WebhookIdentityType["MEMBER"] = "MEMBER";
53
- WebhookIdentityType["WIX_USER"] = "WIX_USER";
54
- WebhookIdentityType["APP"] = "APP";
55
- })(WebhookIdentityType || (WebhookIdentityType = {}));
56
- /**
57
- * Retrieves data about the instance of your app that's installed on a Wix
58
- * site and data about the site itself. For example, to check whether the Wix user has installed a free or paid version of your app,
59
- * or to check which apps made by Wix are installed on the site.
60
- *
61
- * You must authenticate this method [as a Wix app](https://dev.wix.com/docs/build-apps/develop-your-app/access/authentication/authenticate-using-oauth#step-2--make-an-authenticated-api-request).
62
- *
63
- * To retrieve `site.ownerInfo` in the response, you must
64
- * have the __READ SITE OWNER EMAIL__ permission scope in addition to
65
- * __MANAGE YOUR APP__.
66
- * @public
67
- * @permissionId WIX_DEVELOPERS.MANAGE_APP_INSTANCE
68
- * @permissionScope Manage Your App
69
- * @permissionScopeId SCOPE.DC.MANAGE-YOUR-APP
70
- * @permissionScope Read site, business, and email details
71
- * @permissionScopeId SCOPE.DEV_CENTER.APP-INSTANCE-READ-BASIC-INFO
72
- * @applicableIdentity APP
73
- * @fqn com.wixpress.market.aim.api.AppInstanceService.GetAppInstance
74
- */
75
- export async function getAppInstance() {
76
- // @ts-ignore
77
- const { httpClient, sideEffects } = arguments[0];
78
- const payload = renameKeysFromSDKRequestToRESTRequest({});
79
- const reqOpts = ambassadorWixDevcenterAppInstanceV1AppInstance.getAppInstance(payload);
80
- sideEffects?.onSiteCall?.();
81
- try {
82
- const result = await httpClient.request(reqOpts);
83
- sideEffects?.onSuccess?.(result);
84
- return renameKeysFromRESTResponseToSDKResponse(result.data);
85
- }
86
- catch (err) {
87
- const transformedError = sdkTransformError(err, {
88
- spreadPathsToArguments: {},
89
- explicitPathsToArguments: {},
90
- singleArgumentUnchanged: false,
91
- }, []);
92
- sideEffects?.onError?.(err);
93
- throw transformedError;
94
- }
95
- }
96
- //# sourceMappingURL=devcenter-app-instance-v1-app-instance-app-instances.universal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"devcenter-app-instance-v1-app-instance-app-instances.universal.js","sourceRoot":"","sources":["../../../src/devcenter-app-instance-v1-app-instance-app-instances.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,8CAA8C,MAAM,gEAAgE,CAAC;AAkGjI,MAAM,CAAN,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,KAAZ,YAAY,QASvB;AA2BD,MAAM,CAAN,IAAY,eASX;AATD,WAAY,eAAe;IACzB,4BAA4B;IAC5B,oDAAiC,CAAA;IACjC,+CAA+C;IAC/C,8CAA2B,CAAA;IAC3B,gCAAgC;IAChC,kCAAe,CAAA;IACf,wDAAwD;IACxD,kDAA+B,CAAA;AACjC,CAAC,EATW,eAAe,KAAf,eAAe,QAS1B;AAwHD,MAAM,CAAN,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,iCAAiC;IACjC,0EAAuD,CAAA;IACvD,kCAAkC;IAClC,0DAAuC,CAAA;IACvC,sCAAsC;IACtC,kEAA+C,CAAA;AACjD,CAAC,EAPW,eAAe,KAAf,eAAe,QAO1B;AA+CD,MAAM,CAAN,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,mCAAmC;IACnC,iFAA2D,CAAA;IAC3D,oDAAoD;IACpD,mEAA6C,CAAA;AAC/C,CAAC,EALW,kBAAkB,KAAlB,kBAAkB,QAK7B;AAgGD,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B;AAmGD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B;AA2ND;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc;IAsBlC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC,EAAE,CAAC,CAAC;IAE1D,MAAM,OAAO,GACX,8CAA8C,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAEzE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE;YAC5B,uBAAuB,EAAE,KAAK;SAC/B,EACD,EAAE,CACH,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
@@ -1 +0,0 @@
1
- export * from './src/devcenter-app-instance-v1-app-instance-app-instances.universal.js';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./src/devcenter-app-instance-v1-app-instance-app-instances.universal.js"), exports);
18
- //# sourceMappingURL=index.typings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0GAAwF"}
@@ -1,48 +0,0 @@
1
- import { getAppInstance as publicGetAppInstance } from './devcenter-app-instance-v1-app-instance-app-instances.public.js';
2
- import { createEventModule } from '@wix/sdk-runtime/event-definition-modules';
3
- import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
4
- import { onAppInstanceInstalled as publicOnAppInstanceInstalled } from './devcenter-app-instance-v1-app-instance-app-instances.public.js';
5
- import { onAppInstanceRemoved as publicOnAppInstanceRemoved } from './devcenter-app-instance-v1-app-instance-app-instances.public.js';
6
- import { onAppInstancePaidPlanAutoRenewalCancelled as publicOnAppInstancePaidPlanAutoRenewalCancelled } from './devcenter-app-instance-v1-app-instance-app-instances.public.js';
7
- import { onAppInstancePaidPlanChanged as publicOnAppInstancePaidPlanChanged } from './devcenter-app-instance-v1-app-instance-app-instances.public.js';
8
- import { onAppInstancePaidPlanPurchased as publicOnAppInstancePaidPlanPurchased } from './devcenter-app-instance-v1-app-instance-app-instances.public.js';
9
- import { onAppInstancePlanConvertedToPaid as publicOnAppInstancePlanConvertedToPaid } from './devcenter-app-instance-v1-app-instance-app-instances.public.js';
10
- import { onAppInstancePlanReactivated as publicOnAppInstancePlanReactivated } from './devcenter-app-instance-v1-app-instance-app-instances.public.js';
11
- import { onAppInstancePlanTransferred as publicOnAppInstancePlanTransferred } from './devcenter-app-instance-v1-app-instance-app-instances.public.js';
12
- export declare const getAppInstance: MaybeContext<BuildRESTFunction<typeof publicGetAppInstance> & typeof publicGetAppInstance>;
13
- /**
14
- * Triggered when an instance of your app is installed on a Wix site.
15
- */
16
- export declare const onAppInstanceInstalled: ReturnType<typeof createEventModule<typeof publicOnAppInstanceInstalled>>;
17
- /**
18
- * Triggered when an instance of your app is uninstalled from a Wix site.
19
- */
20
- export declare const onAppInstanceRemoved: ReturnType<typeof createEventModule<typeof publicOnAppInstanceRemoved>>;
21
- /**
22
- * Triggered when a Wix user either cancels a paid plan for your app, or cancels the plan's auto-renewal. The
23
- * Wix user can continue to use your app until the end of the current billing
24
- * cycle.
25
- */
26
- export declare const onAppInstancePaidPlanAutoRenewalCancelled: ReturnType<typeof createEventModule<typeof publicOnAppInstancePaidPlanAutoRenewalCancelled>>;
27
- /**
28
- * Triggered when a Wix user upgrades or downgrades their plan for your app.
29
- */
30
- export declare const onAppInstancePaidPlanChanged: ReturnType<typeof createEventModule<typeof publicOnAppInstancePaidPlanChanged>>;
31
- /**
32
- * Triggered when a Wix user purchases a paid plan for your app.
33
- */
34
- export declare const onAppInstancePaidPlanPurchased: ReturnType<typeof createEventModule<typeof publicOnAppInstancePaidPlanPurchased>>;
35
- /**
36
- * Triggered when a Wix user reaches the end of a free-trial period and is charged successfully.
37
- */
38
- export declare const onAppInstancePlanConvertedToPaid: ReturnType<typeof createEventModule<typeof publicOnAppInstancePlanConvertedToPaid>>;
39
- /**
40
- * Triggered when auto-renewal is turned on for a paid plan.
41
- */
42
- export declare const onAppInstancePlanReactivated: ReturnType<typeof createEventModule<typeof publicOnAppInstancePlanReactivated>>;
43
- /**
44
- * Triggered when a paid plan for your app is transferred to a different Wix account.
45
- */
46
- export declare const onAppInstancePlanTransferred: ReturnType<typeof createEventModule<typeof publicOnAppInstancePlanTransferred>>;
47
- export { PaymentCycle, FreeTrialStatus, FreeTrialPeriod, ReactivationReason, ResolutionMethod, WebhookIdentityType, } from './devcenter-app-instance-v1-app-instance-app-instances.universal.js';
48
- export { AppInstance, BillingInfo, FreeTrialInfo, AvailablePlan, AppInstalled, AppRemoved, PaidPlanPurchased, PaidPlanChanged, PaidPlanAutoRenewalCancelled, PlanTransferred, PlanReactivated, PlanConvertedToPaid, GetAppInstanceRequest, GetAppInstanceResponse, SiteInfo, Multilingual, SupportedLanguage, Locale, OwnerInfo, GetAppInstanceByInstanceIdRequest, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, BaseEventMetadata, AppInstanceInstalledEnvelope, AppInstanceRemovedEnvelope, AppInstancePaidPlanAutoRenewalCancelledEnvelope, AppInstancePaidPlanChangedEnvelope, AppInstancePaidPlanPurchasedEnvelope, AppInstancePlanConvertedToPaidEnvelope, AppInstancePlanReactivatedEnvelope, AppInstancePlanTransferredEnvelope, } from './devcenter-app-instance-v1-app-instance-app-instances.universal.js';
@@ -1,57 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WebhookIdentityType = exports.ResolutionMethod = exports.ReactivationReason = exports.FreeTrialPeriod = exports.FreeTrialStatus = exports.PaymentCycle = exports.onAppInstancePlanTransferred = exports.onAppInstancePlanReactivated = exports.onAppInstancePlanConvertedToPaid = exports.onAppInstancePaidPlanPurchased = exports.onAppInstancePaidPlanChanged = exports.onAppInstancePaidPlanAutoRenewalCancelled = exports.onAppInstanceRemoved = exports.onAppInstanceInstalled = exports.getAppInstance = void 0;
4
- const devcenter_app_instance_v1_app_instance_app_instances_public_js_1 = require("./devcenter-app-instance-v1-app-instance-app-instances.public.js");
5
- const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
6
- const event_definition_modules_1 = require("@wix/sdk-runtime/event-definition-modules");
7
- const devcenter_app_instance_v1_app_instance_app_instances_public_js_2 = require("./devcenter-app-instance-v1-app-instance-app-instances.public.js");
8
- const devcenter_app_instance_v1_app_instance_app_instances_public_js_3 = require("./devcenter-app-instance-v1-app-instance-app-instances.public.js");
9
- const devcenter_app_instance_v1_app_instance_app_instances_public_js_4 = require("./devcenter-app-instance-v1-app-instance-app-instances.public.js");
10
- const devcenter_app_instance_v1_app_instance_app_instances_public_js_5 = require("./devcenter-app-instance-v1-app-instance-app-instances.public.js");
11
- const devcenter_app_instance_v1_app_instance_app_instances_public_js_6 = require("./devcenter-app-instance-v1-app-instance-app-instances.public.js");
12
- const devcenter_app_instance_v1_app_instance_app_instances_public_js_7 = require("./devcenter-app-instance-v1-app-instance-app-instances.public.js");
13
- const devcenter_app_instance_v1_app_instance_app_instances_public_js_8 = require("./devcenter-app-instance-v1-app-instance-app-instances.public.js");
14
- const devcenter_app_instance_v1_app_instance_app_instances_public_js_9 = require("./devcenter-app-instance-v1-app-instance-app-instances.public.js");
15
- exports.getAppInstance = (0, rest_modules_1.createRESTModule)(devcenter_app_instance_v1_app_instance_app_instances_public_js_1.getAppInstance);
16
- /**
17
- * Triggered when an instance of your app is installed on a Wix site.
18
- */
19
- exports.onAppInstanceInstalled = (0, event_definition_modules_1.createEventModule)(devcenter_app_instance_v1_app_instance_app_instances_public_js_2.onAppInstanceInstalled);
20
- /**
21
- * Triggered when an instance of your app is uninstalled from a Wix site.
22
- */
23
- exports.onAppInstanceRemoved = (0, event_definition_modules_1.createEventModule)(devcenter_app_instance_v1_app_instance_app_instances_public_js_3.onAppInstanceRemoved);
24
- /**
25
- * Triggered when a Wix user either cancels a paid plan for your app, or cancels the plan's auto-renewal. The
26
- * Wix user can continue to use your app until the end of the current billing
27
- * cycle.
28
- */
29
- exports.onAppInstancePaidPlanAutoRenewalCancelled = (0, event_definition_modules_1.createEventModule)(devcenter_app_instance_v1_app_instance_app_instances_public_js_4.onAppInstancePaidPlanAutoRenewalCancelled);
30
- /**
31
- * Triggered when a Wix user upgrades or downgrades their plan for your app.
32
- */
33
- exports.onAppInstancePaidPlanChanged = (0, event_definition_modules_1.createEventModule)(devcenter_app_instance_v1_app_instance_app_instances_public_js_5.onAppInstancePaidPlanChanged);
34
- /**
35
- * Triggered when a Wix user purchases a paid plan for your app.
36
- */
37
- exports.onAppInstancePaidPlanPurchased = (0, event_definition_modules_1.createEventModule)(devcenter_app_instance_v1_app_instance_app_instances_public_js_6.onAppInstancePaidPlanPurchased);
38
- /**
39
- * Triggered when a Wix user reaches the end of a free-trial period and is charged successfully.
40
- */
41
- exports.onAppInstancePlanConvertedToPaid = (0, event_definition_modules_1.createEventModule)(devcenter_app_instance_v1_app_instance_app_instances_public_js_7.onAppInstancePlanConvertedToPaid);
42
- /**
43
- * Triggered when auto-renewal is turned on for a paid plan.
44
- */
45
- exports.onAppInstancePlanReactivated = (0, event_definition_modules_1.createEventModule)(devcenter_app_instance_v1_app_instance_app_instances_public_js_8.onAppInstancePlanReactivated);
46
- /**
47
- * Triggered when a paid plan for your app is transferred to a different Wix account.
48
- */
49
- exports.onAppInstancePlanTransferred = (0, event_definition_modules_1.createEventModule)(devcenter_app_instance_v1_app_instance_app_instances_public_js_9.onAppInstancePlanTransferred);
50
- var devcenter_app_instance_v1_app_instance_app_instances_universal_js_1 = require("./devcenter-app-instance-v1-app-instance-app-instances.universal.js");
51
- Object.defineProperty(exports, "PaymentCycle", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_1.PaymentCycle; } });
52
- Object.defineProperty(exports, "FreeTrialStatus", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_1.FreeTrialStatus; } });
53
- Object.defineProperty(exports, "FreeTrialPeriod", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_1.FreeTrialPeriod; } });
54
- Object.defineProperty(exports, "ReactivationReason", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_1.ReactivationReason; } });
55
- Object.defineProperty(exports, "ResolutionMethod", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_1.ResolutionMethod; } });
56
- Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_1.WebhookIdentityType; } });
57
- //# sourceMappingURL=devcenter-app-instance-v1-app-instance-app-instances.context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"devcenter-app-instance-v1-app-instance-app-instances.context.js","sourceRoot":"","sources":["../../../../src/devcenter-app-instance-v1-app-instance-app-instances.context.ts"],"names":[],"mappings":";;;AAAA,qJAA0H;AAC1H,gEAAiE;AACjE,wFAA8E;AAE9E,qJAA0I;AAC1I,qJAAsI;AACtI,qJAAgL;AAChL,qJAAsJ;AACtJ,qJAA0J;AAC1J,qJAA8J;AAC9J,qJAAsJ;AACtJ,qJAAsJ;AAEzI,QAAA,cAAc,GAET,IAAA,+BAAgB,EAAC,+EAAoB,CAAC,CAAC;AACzD;;GAEG;AACU,QAAA,sBAAsB,GAE/B,IAAA,4CAAiB,EAAC,uFAA4B,CAAC,CAAC;AACpD;;GAEG;AACU,QAAA,oBAAoB,GAE7B,IAAA,4CAAiB,EAAC,qFAA0B,CAAC,CAAC;AAClD;;;;GAIG;AACU,QAAA,yCAAyC,GAIlD,IAAA,4CAAiB,EAAC,0GAA+C,CAAC,CAAC;AACvE;;GAEG;AACU,QAAA,4BAA4B,GAErC,IAAA,4CAAiB,EAAC,6FAAkC,CAAC,CAAC;AAC1D;;GAEG;AACU,QAAA,8BAA8B,GAEvC,IAAA,4CAAiB,EAAC,+FAAoC,CAAC,CAAC;AAC5D;;GAEG;AACU,QAAA,gCAAgC,GAEzC,IAAA,4CAAiB,EAAC,iGAAsC,CAAC,CAAC;AAC9D;;GAEG;AACU,QAAA,4BAA4B,GAErC,IAAA,4CAAiB,EAAC,6FAAkC,CAAC,CAAC;AAC1D;;GAEG;AACU,QAAA,4BAA4B,GAErC,IAAA,4CAAiB,EAAC,6FAAkC,CAAC,CAAC;AAE1D,yJAO6E;AAN3E,iKAAA,YAAY,OAAA;AACZ,oKAAA,eAAe,OAAA;AACf,oKAAA,eAAe,OAAA;AACf,uKAAA,kBAAkB,OAAA;AAClB,qKAAA,gBAAgB,OAAA;AAChB,wKAAA,mBAAmB,OAAA"}
@@ -1,13 +0,0 @@
1
- import { RequestOptionsFactory } from '@wix/sdk-types';
2
- /**
3
- * Retrieves data about the instance of your app that's installed on a Wix
4
- * site and data about the site itself. For example, to check whether the Wix user has installed a free or paid version of your app,
5
- * or to check which apps made by Wix are installed on the site.
6
- *
7
- * You must authenticate this method [as a Wix app](https://dev.wix.com/docs/build-apps/develop-your-app/access/authentication/authenticate-using-oauth#step-2--make-an-authenticated-api-request).
8
- *
9
- * To retrieve `site.ownerInfo` in the response, you must
10
- * have the __READ SITE OWNER EMAIL__ permission scope in addition to
11
- * __MANAGE YOUR APP__.
12
- */
13
- export declare function getAppInstance(payload: object): RequestOptionsFactory<any>;
@@ -1,112 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getAppInstance = void 0;
4
- const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
5
- const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp");
6
- const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
7
- const rest_modules_2 = require("@wix/sdk-runtime/rest-modules");
8
- function resolveComWixpressMarketAimApiAppInstanceServiceUrl(opts) {
9
- const domainToMappings = {
10
- 'api._api_base_domain_': [
11
- {
12
- srcPath: '/app-instance-manager-webapp',
13
- destPath: '',
14
- },
15
- ],
16
- 'www.wixapis.com': [
17
- {
18
- srcPath: '/apps',
19
- destPath: '',
20
- },
21
- ],
22
- 'wixapis.com': [
23
- {
24
- srcPath: '/apps',
25
- destPath: '',
26
- },
27
- ],
28
- 'dev._base_domain_': [
29
- {
30
- srcPath: '/_api/app-instance-manager',
31
- destPath: '',
32
- },
33
- {
34
- srcPath: '/api/v1/instance',
35
- destPath: '/v1/instance',
36
- },
37
- {
38
- srcPath: '/api/v1/scripts',
39
- destPath: '/v1/scripts',
40
- },
41
- ],
42
- 'manage._base_domain_': [
43
- {
44
- srcPath: '/_api/app-instance-manager',
45
- destPath: '',
46
- },
47
- ],
48
- 'www._base_domain_': [
49
- {
50
- srcPath: '/_api/app-instance-manager',
51
- destPath: '',
52
- },
53
- ],
54
- 'editor._base_domain_': [
55
- {
56
- srcPath: '/_api/app-instance-manager',
57
- destPath: '',
58
- },
59
- ],
60
- 'blocks._base_domain_': [
61
- {
62
- srcPath: '/_api/app-instance-manager',
63
- destPath: '',
64
- },
65
- ],
66
- 'create.editorx': [
67
- {
68
- srcPath: '/_api/app-instance-manager',
69
- destPath: '',
70
- },
71
- ],
72
- };
73
- return (0, rest_modules_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
74
- }
75
- const PACKAGE_NAME = '@wix/auto_sdk_app-management_app-instances';
76
- /**
77
- * Retrieves data about the instance of your app that's installed on a Wix
78
- * site and data about the site itself. For example, to check whether the Wix user has installed a free or paid version of your app,
79
- * or to check which apps made by Wix are installed on the site.
80
- *
81
- * You must authenticate this method [as a Wix app](https://dev.wix.com/docs/build-apps/develop-your-app/access/authentication/authenticate-using-oauth#step-2--make-an-authenticated-api-request).
82
- *
83
- * To retrieve `site.ownerInfo` in the response, you must
84
- * have the __READ SITE OWNER EMAIL__ permission scope in addition to
85
- * __MANAGE YOUR APP__.
86
- */
87
- function getAppInstance(payload) {
88
- function __getAppInstance({ host }) {
89
- const metadata = {
90
- entityFqdn: 'wix.devcenter.app_instance.v1.app_instance',
91
- method: 'GET',
92
- methodFqn: 'com.wixpress.market.aim.api.AppInstanceService.GetAppInstance',
93
- packageName: PACKAGE_NAME,
94
- url: resolveComWixpressMarketAimApiAppInstanceServiceUrl({
95
- protoPath: '/v1/instance',
96
- data: payload,
97
- host,
98
- }),
99
- params: (0, rest_modules_1.toURLSearchParams)(payload),
100
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
101
- {
102
- transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
103
- paths: [{ path: 'instance.billing.freeTrialInfo.endDate' }],
104
- },
105
- ]),
106
- };
107
- return metadata;
108
- }
109
- return __getAppInstance;
110
- }
111
- exports.getAppInstance = getAppInstance;
112
- //# sourceMappingURL=devcenter-app-instance-v1-app-instance-app-instances.http.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"devcenter-app-instance-v1-app-instance-app-instances.http.js","sourceRoot":"","sources":["../../../../src/devcenter-app-instance-v1-app-instance-app-instances.http.ts"],"names":[],"mappings":";;;AAAA,gEAAkE;AAClE,0EAAkG;AAClG,sFAAkF;AAClF,gEAA2D;AAI3D,SAAS,mDAAmD,CAC1D,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,uBAAuB,EAAE;YACvB;gBACE,OAAO,EAAE,8BAA8B;gBACvC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,OAAO;gBAChB,QAAQ,EAAE,EAAE;aACb;SACF;QACD,aAAa,EAAE;YACb;gBACE,OAAO,EAAE,OAAO;gBAChB,QAAQ,EAAE,EAAE;aACb;SACF;QACD,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,EAAE;aACb;YACD;gBACE,OAAO,EAAE,kBAAkB;gBAC3B,QAAQ,EAAE,cAAc;aACzB;YACD;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,QAAQ,EAAE,aAAa;aACxB;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,gBAAgB,EAAE;YAChB;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,EAAE;aACb;SACF;KACF,CAAC;IAEF,OAAO,IAAA,yBAAU,EAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED,MAAM,YAAY,GAAG,4CAA4C,CAAC;AAElE;;;;;;;;;;GAUG;AACH,SAAgB,cAAc,CAAC,OAAe;IAC5C,SAAS,gBAAgB,CAAC,EAAE,IAAI,EAAO;QACrC,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,4CAA4C;YACxD,MAAM,EAAE,KAAY;YACpB,SAAS,EACP,+DAA+D;YACjE,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,mDAAmD,CAAC;gBACvD,SAAS,EAAE,cAAc;gBACzB,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CAAC;YACF,MAAM,EAAE,IAAA,gCAAiB,EAAC,OAAO,CAAC;YAClC,iBAAiB,EAAE,CAAC,OAAY,EAAE,EAAE,CAClC,IAAA,gCAAc,EAAC,OAAO,EAAE;gBACtB;oBACE,WAAW,EAAE,gDAAoC;oBACjD,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,wCAAwC,EAAE,CAAC;iBAC5D;aACF,CAAC;SACL,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AA3BD,wCA2BC"}
@@ -1,13 +0,0 @@
1
- import * as ambassadorWixDevcenterAppInstanceV1AppInstanceTypes from './devcenter-app-instance-v1-app-instance-app-instances.types.js';
2
- import * as ambassadorWixDevcenterAppInstanceV1AppInstanceUniversalTypes from './devcenter-app-instance-v1-app-instance-app-instances.universal.js';
3
- export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
4
- getUrl: (context: any) => string;
5
- httpMethod: K;
6
- path: string;
7
- pathParams: M;
8
- __requestType: T;
9
- __originalRequestType: S;
10
- __responseType: Q;
11
- __originalResponseType: R;
12
- };
13
- export declare function getAppInstance(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterAppInstanceV1AppInstanceUniversalTypes.GetAppInstanceRequest, ambassadorWixDevcenterAppInstanceV1AppInstanceTypes.GetAppInstanceRequest, ambassadorWixDevcenterAppInstanceV1AppInstanceUniversalTypes.GetAppInstanceResponse, ambassadorWixDevcenterAppInstanceV1AppInstanceTypes.GetAppInstanceResponse>;
@@ -1,47 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.getAppInstance = void 0;
27
- const ambassadorWixDevcenterAppInstanceV1AppInstance = __importStar(require("./devcenter-app-instance-v1-app-instance-app-instances.http.js"));
28
- function getAppInstance() {
29
- const payload = {};
30
- const getRequestOptions = ambassadorWixDevcenterAppInstanceV1AppInstance.getAppInstance(payload);
31
- const getUrl = (context) => {
32
- const { url } = getRequestOptions(context);
33
- return url;
34
- };
35
- return {
36
- getUrl,
37
- httpMethod: 'GET',
38
- path: '/v1/instance',
39
- pathParams: {},
40
- __requestType: null,
41
- __originalRequestType: null,
42
- __responseType: null,
43
- __originalResponseType: null,
44
- };
45
- }
46
- exports.getAppInstance = getAppInstance;
47
- //# sourceMappingURL=devcenter-app-instance-v1-app-instance-app-instances.meta.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"devcenter-app-instance-v1-app-instance-app-instances.meta.js","sourceRoot":"","sources":["../../../../src/devcenter-app-instance-v1-app-instance-app-instances.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+IAAiI;AAsBjI,SAAgB,cAAc;IAQ5B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,8CAA8C,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAEzE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,cAAc;QACpB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA5BD,wCA4BC"}
@@ -1,29 +0,0 @@
1
- import { EventDefinition, HttpClient } from '@wix/sdk-types';
2
- import { AppInstanceInstalledEnvelope, AppInstancePaidPlanAutoRenewalCancelledEnvelope, AppInstancePaidPlanChangedEnvelope, AppInstancePaidPlanPurchasedEnvelope, AppInstancePlanConvertedToPaidEnvelope, AppInstancePlanReactivatedEnvelope, AppInstancePlanTransferredEnvelope, AppInstanceRemovedEnvelope, GetAppInstanceResponse } from './devcenter-app-instance-v1-app-instance-app-instances.universal.js';
3
- export declare const __metadata: {
4
- PACKAGE_NAME: string;
5
- };
6
- export declare function getAppInstance(httpClient: HttpClient): GetAppInstanceSignature;
7
- interface GetAppInstanceSignature {
8
- /**
9
- * Retrieves data about the instance of your app that's installed on a Wix
10
- * site and data about the site itself. For example, to check whether the Wix user has installed a free or paid version of your app,
11
- * or to check which apps made by Wix are installed on the site.
12
- *
13
- * You must authenticate this method [as a Wix app](https://dev.wix.com/docs/build-apps/develop-your-app/access/authentication/authenticate-using-oauth#step-2--make-an-authenticated-api-request).
14
- *
15
- * To retrieve `site.ownerInfo` in the response, you must
16
- * have the __READ SITE OWNER EMAIL__ permission scope in addition to
17
- * __MANAGE YOUR APP__.
18
- */
19
- (): Promise<GetAppInstanceResponse>;
20
- }
21
- export declare const onAppInstanceInstalled: EventDefinition<AppInstanceInstalledEnvelope, "AppInstalled">;
22
- export declare const onAppInstanceRemoved: EventDefinition<AppInstanceRemovedEnvelope, "AppRemoved">;
23
- export declare const onAppInstancePaidPlanAutoRenewalCancelled: EventDefinition<AppInstancePaidPlanAutoRenewalCancelledEnvelope, "PaidPlanAutoRenewalCancelled">;
24
- export declare const onAppInstancePaidPlanChanged: EventDefinition<AppInstancePaidPlanChangedEnvelope, "PaidPlanChanged">;
25
- export declare const onAppInstancePaidPlanPurchased: EventDefinition<AppInstancePaidPlanPurchasedEnvelope, "PaidPlanPurchased">;
26
- export declare const onAppInstancePlanConvertedToPaid: EventDefinition<AppInstancePlanConvertedToPaidEnvelope, "PlanConvertedToPaid">;
27
- export declare const onAppInstancePlanReactivated: EventDefinition<AppInstancePlanReactivatedEnvelope, "PlanReactivated">;
28
- export declare const onAppInstancePlanTransferred: EventDefinition<AppInstancePlanTransferredEnvelope, "PlanTransferred">;
29
- export { AppInstalled, AppInstance, AppInstanceInstalledEnvelope, AppInstancePaidPlanAutoRenewalCancelledEnvelope, AppInstancePaidPlanChangedEnvelope, AppInstancePaidPlanPurchasedEnvelope, AppInstancePlanConvertedToPaidEnvelope, AppInstancePlanReactivatedEnvelope, AppInstancePlanTransferredEnvelope, AppInstanceRemovedEnvelope, AppRemoved, AvailablePlan, BaseEventMetadata, BillingInfo, FreeTrialInfo, FreeTrialPeriod, FreeTrialStatus, GetAppInstanceByInstanceIdRequest, GetAppInstanceRequest, GetAppInstanceResponse, IdentificationData, IdentificationDataIdOneOf, Locale, MessageEnvelope, Multilingual, OwnerInfo, PaidPlanAutoRenewalCancelled, PaidPlanChanged, PaidPlanPurchased, PaymentCycle, PlanConvertedToPaid, PlanReactivated, PlanTransferred, ReactivationReason, ResolutionMethod, SiteInfo, SupportedLanguage, WebhookIdentityType, } from './devcenter-app-instance-v1-app-instance-app-instances.universal.js';
@@ -1,70 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WebhookIdentityType = exports.ResolutionMethod = exports.ReactivationReason = exports.PaymentCycle = exports.FreeTrialStatus = exports.FreeTrialPeriod = exports.onAppInstancePlanTransferred = exports.onAppInstancePlanReactivated = exports.onAppInstancePlanConvertedToPaid = exports.onAppInstancePaidPlanPurchased = exports.onAppInstancePaidPlanChanged = exports.onAppInstancePaidPlanAutoRenewalCancelled = exports.onAppInstanceRemoved = exports.onAppInstanceInstalled = exports.getAppInstance = exports.__metadata = void 0;
4
- const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
5
- const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp");
6
- const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
7
- const sdk_types_1 = require("@wix/sdk-types");
8
- const devcenter_app_instance_v1_app_instance_app_instances_universal_js_1 = require("./devcenter-app-instance-v1-app-instance-app-instances.universal.js");
9
- exports.__metadata = { PACKAGE_NAME: '@wix/app-management' };
10
- function getAppInstance(httpClient) {
11
- return () => (0, devcenter_app_instance_v1_app_instance_app_instances_universal_js_1.getAppInstance)(
12
- // @ts-ignore
13
- { httpClient });
14
- }
15
- exports.getAppInstance = getAppInstance;
16
- exports.onAppInstanceInstalled = (0, sdk_types_1.EventDefinition)('AppInstalled', false, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(event))();
17
- exports.onAppInstanceRemoved = (0, sdk_types_1.EventDefinition)('AppRemoved', false, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(event))();
18
- exports.onAppInstancePaidPlanAutoRenewalCancelled = (0, sdk_types_1.EventDefinition)('PaidPlanAutoRenewalCancelled', false, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
19
- {
20
- transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
21
- paths: [{ path: 'data.operationTimeStamp' }],
22
- },
23
- ])))();
24
- exports.onAppInstancePaidPlanChanged = (0, sdk_types_1.EventDefinition)('PaidPlanChanged', false, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
25
- {
26
- transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
27
- paths: [{ path: 'data.operationTimeStamp' }],
28
- },
29
- ])))();
30
- exports.onAppInstancePaidPlanPurchased = (0, sdk_types_1.EventDefinition)('PaidPlanPurchased', false, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
31
- {
32
- transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
33
- paths: [
34
- { path: 'data.operationTimeStamp' },
35
- { path: 'data.expiresOn' },
36
- ],
37
- },
38
- ])))();
39
- exports.onAppInstancePlanConvertedToPaid = (0, sdk_types_1.EventDefinition)('PlanConvertedToPaid', false, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
40
- {
41
- transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
42
- paths: [
43
- { path: 'data.operationTimeStamp' },
44
- { path: 'data.expiresOn' },
45
- ],
46
- },
47
- ])))();
48
- exports.onAppInstancePlanReactivated = (0, sdk_types_1.EventDefinition)('PlanReactivated', false, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
49
- {
50
- transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
51
- paths: [
52
- { path: 'data.operationTimeStamp' },
53
- { path: 'data.expiresOn' },
54
- ],
55
- },
56
- ])))();
57
- exports.onAppInstancePlanTransferred = (0, sdk_types_1.EventDefinition)('PlanTransferred', false, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
58
- {
59
- transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
60
- paths: [{ path: 'data.operationTimeStamp' }],
61
- },
62
- ])))();
63
- var devcenter_app_instance_v1_app_instance_app_instances_universal_js_2 = require("./devcenter-app-instance-v1-app-instance-app-instances.universal.js");
64
- Object.defineProperty(exports, "FreeTrialPeriod", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_2.FreeTrialPeriod; } });
65
- Object.defineProperty(exports, "FreeTrialStatus", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_2.FreeTrialStatus; } });
66
- Object.defineProperty(exports, "PaymentCycle", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_2.PaymentCycle; } });
67
- Object.defineProperty(exports, "ReactivationReason", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_2.ReactivationReason; } });
68
- Object.defineProperty(exports, "ResolutionMethod", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_2.ResolutionMethod; } });
69
- Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return devcenter_app_instance_v1_app_instance_app_instances_universal_js_2.WebhookIdentityType; } });
70
- //# sourceMappingURL=devcenter-app-instance-v1-app-instance-app-instances.public.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"devcenter-app-instance-v1-app-instance-app-instances.public.js","sourceRoot":"","sources":["../../../../src/devcenter-app-instance-v1-app-instance-app-instances.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,8CAA6D;AAC7D,2JAW6E;AAEhE,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,qBAAqB,EAAE,CAAC;AAElE,SAAgB,cAAc,CAC5B,UAAsB;IAEtB,OAAO,GAAG,EAAE,CACV,IAAA,kFAAuB;IACrB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,wCAQC;AAiBY,QAAA,sBAAsB,GAAG,IAAA,2BAAe,EACnD,cAAc,EACd,KAAK,EACL,CAAC,KAAmC,EAAE,EAAE,CACtC,IAAA,gEAAuC,EAAC,KAAK,CAAC,CACjD,EAAgC,CAAC;AACrB,QAAA,oBAAoB,GAAG,IAAA,2BAAe,EACjD,YAAY,EACZ,KAAK,EACL,CAAC,KAAiC,EAAE,EAAE,CACpC,IAAA,gEAAuC,EAAC,KAAK,CAAC,CACjD,EAA8B,CAAC;AACnB,QAAA,yCAAyC,GAAG,IAAA,2BAAe,EACtE,8BAA8B,EAC9B,KAAK,EACL,CAAC,KAAsD,EAAE,EAAE,CACzD,IAAA,gEAAuC,EACrC,IAAA,gCAAc,EAAC,KAAK,EAAE;IACpB;QACE,WAAW,EAAE,gDAAoC;QACjD,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,yBAAyB,EAAE,CAAC;KAC7C;CACF,CAAC,CACH,CACJ,EAAmD,CAAC;AACxC,QAAA,4BAA4B,GAAG,IAAA,2BAAe,EACzD,iBAAiB,EACjB,KAAK,EACL,CAAC,KAAyC,EAAE,EAAE,CAC5C,IAAA,gEAAuC,EACrC,IAAA,gCAAc,EAAC,KAAK,EAAE;IACpB;QACE,WAAW,EAAE,gDAAoC;QACjD,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,yBAAyB,EAAE,CAAC;KAC7C;CACF,CAAC,CACH,CACJ,EAAsC,CAAC;AAC3B,QAAA,8BAA8B,GAAG,IAAA,2BAAe,EAC3D,mBAAmB,EACnB,KAAK,EACL,CAAC,KAA2C,EAAE,EAAE,CAC9C,IAAA,gEAAuC,EACrC,IAAA,gCAAc,EAAC,KAAK,EAAE;IACpB;QACE,WAAW,EAAE,gDAAoC;QACjD,KAAK,EAAE;YACL,EAAE,IAAI,EAAE,yBAAyB,EAAE;YACnC,EAAE,IAAI,EAAE,gBAAgB,EAAE;SAC3B;KACF;CACF,CAAC,CACH,CACJ,EAAwC,CAAC;AAC7B,QAAA,gCAAgC,GAAG,IAAA,2BAAe,EAC7D,qBAAqB,EACrB,KAAK,EACL,CAAC,KAA6C,EAAE,EAAE,CAChD,IAAA,gEAAuC,EACrC,IAAA,gCAAc,EAAC,KAAK,EAAE;IACpB;QACE,WAAW,EAAE,gDAAoC;QACjD,KAAK,EAAE;YACL,EAAE,IAAI,EAAE,yBAAyB,EAAE;YACnC,EAAE,IAAI,EAAE,gBAAgB,EAAE;SAC3B;KACF;CACF,CAAC,CACH,CACJ,EAA0C,CAAC;AAC/B,QAAA,4BAA4B,GAAG,IAAA,2BAAe,EACzD,iBAAiB,EACjB,KAAK,EACL,CAAC,KAAyC,EAAE,EAAE,CAC5C,IAAA,gEAAuC,EACrC,IAAA,gCAAc,EAAC,KAAK,EAAE;IACpB;QACE,WAAW,EAAE,gDAAoC;QACjD,KAAK,EAAE;YACL,EAAE,IAAI,EAAE,yBAAyB,EAAE;YACnC,EAAE,IAAI,EAAE,gBAAgB,EAAE;SAC3B;KACF;CACF,CAAC,CACH,CACJ,EAAsC,CAAC;AAC3B,QAAA,4BAA4B,GAAG,IAAA,2BAAe,EACzD,iBAAiB,EACjB,KAAK,EACL,CAAC,KAAyC,EAAE,EAAE,CAC5C,IAAA,gEAAuC,EACrC,IAAA,gCAAc,EAAC,KAAK,EAAE;IACpB;QACE,WAAW,EAAE,gDAAoC;QACjD,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,yBAAyB,EAAE,CAAC;KAC7C;CACF,CAAC,CACH,CACJ,EAAsC,CAAC;AAExC,yJAuC6E;AAvB3E,oKAAA,eAAe,OAAA;AACf,oKAAA,eAAe,OAAA;AAaf,iKAAA,YAAY,OAAA;AAIZ,uKAAA,kBAAkB,OAAA;AAClB,qKAAA,gBAAgB,OAAA;AAGhB,wKAAA,mBAAmB,OAAA"}
@@ -1,56 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WebhookIdentityType = exports.ResolutionMethod = exports.ReactivationReason = exports.FreeTrialPeriod = exports.FreeTrialStatus = exports.PaymentCycle = void 0;
4
- var PaymentCycle;
5
- (function (PaymentCycle) {
6
- PaymentCycle["NO_CYCLE"] = "NO_CYCLE";
7
- PaymentCycle["MONTHLY"] = "MONTHLY";
8
- PaymentCycle["YEARLY"] = "YEARLY";
9
- PaymentCycle["ONE_TIME"] = "ONE_TIME";
10
- PaymentCycle["TWO_YEARS"] = "TWO_YEARS";
11
- PaymentCycle["THREE_YEARS"] = "THREE_YEARS";
12
- PaymentCycle["FOUR_YEARS"] = "FOUR_YEARS";
13
- PaymentCycle["FIVE_YEARS"] = "FIVE_YEARS";
14
- })(PaymentCycle || (exports.PaymentCycle = PaymentCycle = {}));
15
- var FreeTrialStatus;
16
- (function (FreeTrialStatus) {
17
- /** Unknown trial status. */
18
- FreeTrialStatus["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
19
- /** The free trial is currently in progress. */
20
- FreeTrialStatus["IN_PROGRESS"] = "IN_PROGRESS";
21
- /** The free trial has ended. */
22
- FreeTrialStatus["ENDED"] = "ENDED";
23
- /** No free trial was applied, as none was available. */
24
- FreeTrialStatus["NOT_AVAILABLE"] = "NOT_AVAILABLE";
25
- })(FreeTrialStatus || (exports.FreeTrialStatus = FreeTrialStatus = {}));
26
- var FreeTrialPeriod;
27
- (function (FreeTrialPeriod) {
28
- /** Free trial status unknown. */
29
- FreeTrialPeriod["FREE_TRIAL_PERIOD_UNKNOWN"] = "FREE_TRIAL_PERIOD_UNKNOWN";
30
- /** During a free trial period. */
31
- FreeTrialPeriod["DURING_FREE_TRIAL"] = "DURING_FREE_TRIAL";
32
- /** Not during a free trial period. */
33
- FreeTrialPeriod["NOT_DURING_FREE_TRIAL"] = "NOT_DURING_FREE_TRIAL";
34
- })(FreeTrialPeriod || (exports.FreeTrialPeriod = FreeTrialPeriod = {}));
35
- var ReactivationReason;
36
- (function (ReactivationReason) {
37
- /** Reactivation reason unknown. */
38
- ReactivationReason["REACTIVATION_REASON_UNKNOWN"] = "REACTIVATION_REASON_UNKNOWN";
39
- /** The subscription's auto-renewal is turned on. */
40
- ReactivationReason["AUTO_RENEW_TURNED_ON"] = "AUTO_RENEW_TURNED_ON";
41
- })(ReactivationReason || (exports.ReactivationReason = ReactivationReason = {}));
42
- var ResolutionMethod;
43
- (function (ResolutionMethod) {
44
- ResolutionMethod["QUERY_PARAM"] = "QUERY_PARAM";
45
- ResolutionMethod["SUBDOMAIN"] = "SUBDOMAIN";
46
- ResolutionMethod["SUBDIRECTORY"] = "SUBDIRECTORY";
47
- })(ResolutionMethod || (exports.ResolutionMethod = ResolutionMethod = {}));
48
- var WebhookIdentityType;
49
- (function (WebhookIdentityType) {
50
- WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
51
- WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
52
- WebhookIdentityType["MEMBER"] = "MEMBER";
53
- WebhookIdentityType["WIX_USER"] = "WIX_USER";
54
- WebhookIdentityType["APP"] = "APP";
55
- })(WebhookIdentityType || (exports.WebhookIdentityType = WebhookIdentityType = {}));
56
- //# sourceMappingURL=devcenter-app-instance-v1-app-instance-app-instances.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"devcenter-app-instance-v1-app-instance-app-instances.types.js","sourceRoot":"","sources":["../../../../src/devcenter-app-instance-v1-app-instance-app-instances.types.ts"],"names":[],"mappings":";;;AAgGA,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;AA2BD,IAAY,eASX;AATD,WAAY,eAAe;IACzB,4BAA4B;IAC5B,oDAAiC,CAAA;IACjC,+CAA+C;IAC/C,8CAA2B,CAAA;IAC3B,gCAAgC;IAChC,kCAAe,CAAA;IACf,wDAAwD;IACxD,kDAA+B,CAAA;AACjC,CAAC,EATW,eAAe,+BAAf,eAAe,QAS1B;AAwHD,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,iCAAiC;IACjC,0EAAuD,CAAA;IACvD,kCAAkC;IAClC,0DAAuC,CAAA;IACvC,sCAAsC;IACtC,kEAA+C,CAAA;AACjD,CAAC,EAPW,eAAe,+BAAf,eAAe,QAO1B;AA+CD,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,mCAAmC;IACnC,iFAA2D,CAAA;IAC3D,oDAAoD;IACpD,mEAA6C,CAAA;AAC/C,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B;AAgGD,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAmGD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}