@wix/auto_sdk_containers_projects 1.0.22 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +17 -16
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +33 -24
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +11 -7
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +17 -16
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +33 -24
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +11 -7
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +17 -16
- package/build/internal/cjs/index.typings.d.ts +33 -24
- package/build/internal/cjs/meta.d.ts +11 -7
- package/build/internal/es/index.d.mts +17 -16
- package/build/internal/es/index.typings.d.mts +33 -24
- package/build/internal/es/meta.d.mts +11 -7
- package/package.json +2 -2
|
@@ -2358,7 +2358,9 @@ interface SaveProjectDesignRequest {
|
|
|
2358
2358
|
himalayaControlToken: string;
|
|
2359
2359
|
/**
|
|
2360
2360
|
* Canonical slug of the project's app, exactly as returned in `canonicalApp` by
|
|
2361
|
-
* [
|
|
2361
|
+
* [Claim Himalaya App](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/claim-himalaya-app)
|
|
2362
|
+
* for a new project or [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization)
|
|
2363
|
+
* for an already claimed project.
|
|
2362
2364
|
* This isn't the app's ID.
|
|
2363
2365
|
*
|
|
2364
2366
|
* Required when the project's `platform` is `HIMALAYA_MOBILE`. The value is verified on the server.
|
|
@@ -2553,7 +2555,9 @@ interface StartMobileBuildRequest {
|
|
|
2553
2555
|
himalayaControlToken: string;
|
|
2554
2556
|
/**
|
|
2555
2557
|
* Canonical slug of the project's app, exactly as returned in `canonicalApp` by
|
|
2556
|
-
* [
|
|
2558
|
+
* [Claim Himalaya App](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/claim-himalaya-app)
|
|
2559
|
+
* for a new project or [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization)
|
|
2560
|
+
* for an already claimed project.
|
|
2557
2561
|
*
|
|
2558
2562
|
* Required when the project's `platform` is `HIMALAYA_MOBILE`. The value is verified on the server.
|
|
2559
2563
|
* @maxLength 200
|
|
@@ -2766,26 +2770,26 @@ interface PlatformMobileBuilds {
|
|
|
2766
2770
|
}
|
|
2767
2771
|
interface ClaimHimalayaAppRequest {
|
|
2768
2772
|
/**
|
|
2769
|
-
*
|
|
2773
|
+
* ID of the site project whose app to claim or retrieve.
|
|
2770
2774
|
* @format GUID
|
|
2771
2775
|
*/
|
|
2772
2776
|
projectId: string;
|
|
2773
2777
|
}
|
|
2774
2778
|
interface ClaimHimalayaAppResponse {
|
|
2775
|
-
/** Version of the
|
|
2779
|
+
/** Version of the response format. Currently always `1`. */
|
|
2776
2780
|
authorizationVersion?: number;
|
|
2777
2781
|
/**
|
|
2778
|
-
*
|
|
2782
|
+
* ID of the Wix site that owns the project.
|
|
2779
2783
|
* @format GUID
|
|
2780
2784
|
*/
|
|
2781
2785
|
metaSiteId?: string;
|
|
2782
2786
|
/**
|
|
2783
|
-
*
|
|
2787
|
+
* ID of the project the app is associated with.
|
|
2784
2788
|
* @format GUID
|
|
2785
2789
|
*/
|
|
2786
2790
|
projectId?: string;
|
|
2787
2791
|
/**
|
|
2788
|
-
* Canonical
|
|
2792
|
+
* Canonical app slug, newly claimed or already associated with the project.
|
|
2789
2793
|
* @maxLength 200
|
|
2790
2794
|
*/
|
|
2791
2795
|
canonicalApp?: string;
|
|
@@ -2932,9 +2936,12 @@ declare function resumeProject(projectId: string): Promise<NonNullablePaths<Resu
|
|
|
2932
2936
|
* A `CHECKPOINT` message is then added to the conversation. If the checkpoint can't be added, the
|
|
2933
2937
|
* design is still saved.
|
|
2934
2938
|
*
|
|
2935
|
-
* For
|
|
2939
|
+
* For a new `HIMALAYA_MOBILE` project, call
|
|
2940
|
+
* [Claim Himalaya App](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/claim-himalaya-app)
|
|
2941
|
+
* and specify its returned `canonicalApp` when saving the design. For an already claimed project,
|
|
2942
|
+
* call
|
|
2936
2943
|
* [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization)
|
|
2937
|
-
*
|
|
2944
|
+
* and specify the returned `canonicalApp`.
|
|
2938
2945
|
* @param projectId - ID of the project whose design to save.
|
|
2939
2946
|
* @param baseReleaseId - ID of the release that the user is currently viewing.
|
|
2940
2947
|
*
|
|
@@ -2968,7 +2975,9 @@ interface SaveProjectDesignOptions {
|
|
|
2968
2975
|
himalayaControlToken: string;
|
|
2969
2976
|
/**
|
|
2970
2977
|
* Canonical slug of the project's app, exactly as returned in `canonicalApp` by
|
|
2971
|
-
* [
|
|
2978
|
+
* [Claim Himalaya App](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/claim-himalaya-app)
|
|
2979
|
+
* for a new project or [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization)
|
|
2980
|
+
* for an already claimed project.
|
|
2972
2981
|
* This isn't the app's ID.
|
|
2973
2982
|
*
|
|
2974
2983
|
* Required when the project's `platform` is `HIMALAYA_MOBILE`. The value is verified on the server.
|
|
@@ -3054,9 +3063,14 @@ declare function getHimalayaAuthorization(projectId: string): Promise<NonNullabl
|
|
|
3054
3063
|
* [Get Latest Mobile Builds](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-latest-mobile-builds)
|
|
3055
3064
|
* with `himalayaControlToken`.
|
|
3056
3065
|
*
|
|
3057
|
-
* For
|
|
3066
|
+
* For a new `HIMALAYA_MOBILE` project, call
|
|
3067
|
+
* [Claim Himalaya App](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/claim-himalaya-app)
|
|
3068
|
+
* before starting a build. For an existing project, call
|
|
3058
3069
|
* [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization)
|
|
3059
|
-
*
|
|
3070
|
+
* and specify the returned `canonicalApp`.
|
|
3071
|
+
*
|
|
3072
|
+
* If a build can't start for a platform, the response lists that platform in
|
|
3073
|
+
* `failedPlatforms` while returning any builds that did start in `builds`.
|
|
3060
3074
|
* @param projectId - ID of the project to build.
|
|
3061
3075
|
* @param platforms - Platforms to build. One build is started for each platform.
|
|
3062
3076
|
* @public
|
|
@@ -3092,7 +3106,9 @@ interface StartMobileBuildOptions {
|
|
|
3092
3106
|
himalayaControlToken: string;
|
|
3093
3107
|
/**
|
|
3094
3108
|
* Canonical slug of the project's app, exactly as returned in `canonicalApp` by
|
|
3095
|
-
* [
|
|
3109
|
+
* [Claim Himalaya App](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/claim-himalaya-app)
|
|
3110
|
+
* for a new project or [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization)
|
|
3111
|
+
* for an already claimed project.
|
|
3096
3112
|
*
|
|
3097
3113
|
* Required when the project's `platform` is `HIMALAYA_MOBILE`. The value is verified on the server.
|
|
3098
3114
|
* @maxLength 200
|
|
@@ -3149,18 +3165,11 @@ interface GetLatestMobileBuildsOptions {
|
|
|
3149
3165
|
himalayaControlToken?: string;
|
|
3150
3166
|
}
|
|
3151
3167
|
/**
|
|
3152
|
-
* Claims the
|
|
3153
|
-
* bound to it.
|
|
3154
|
-
*
|
|
3155
|
-
* This exists so the BROWSER never asserts the (MetaSite, project) pair to Himalaya. Containers
|
|
3156
|
-
* is the authority on project -> MetaSite: it reads the project from its own store with a
|
|
3157
|
-
* consistent read and takes the MetaSite from this call's identity context, then claims
|
|
3158
|
-
* server-to-server with a site USER token minted for the initiating collaborator. Himalaya
|
|
3159
|
-
* recognises that token as minted by THIS service and trusts the pair on that basis. A dashboard
|
|
3160
|
-
* calling Himalaya directly could name another site's project UUID and reserve its global slug.
|
|
3168
|
+
* Claims the app associated with a project, or retrieves its existing claim.
|
|
3161
3169
|
*
|
|
3162
|
-
*
|
|
3163
|
-
*
|
|
3170
|
+
* An authorized site collaborator can call this method for a new `HIMALAYA_MOBILE` project
|
|
3171
|
+
* before using its app. Repeating the call for the same project returns the same `canonicalApp`.
|
|
3172
|
+
* @param projectId - ID of the site project whose app to claim or retrieve.
|
|
3164
3173
|
* @public
|
|
3165
3174
|
* @documentationMaturity preview
|
|
3166
3175
|
* @requiredField projectId
|