@parra/parra-js-sdk 0.3.214 → 0.3.216
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/dist/ParraAPI.d.ts +5 -0
- package/dist/ParraAPI.js +6 -0
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -1979,6 +1979,10 @@ export interface UpdateApplicationRequestBody {
|
|
|
1979
1979
|
terms_of_service_policy_document_id?: string | null;
|
|
1980
1980
|
icon?: ImageAssetStub | null;
|
|
1981
1981
|
}
|
|
1982
|
+
export interface LinkAppStoreConnectAppRequestBody {
|
|
1983
|
+
app_store_connect_connection_id: string;
|
|
1984
|
+
app_id: string;
|
|
1985
|
+
}
|
|
1982
1986
|
export declare enum TenantOnboardingGoal {
|
|
1983
1987
|
newProject = "new_project",
|
|
1984
1988
|
existingProject = "existing_project"
|
|
@@ -2978,6 +2982,7 @@ declare class ParraAPI {
|
|
|
2978
2982
|
getApplicationByIdForTenantById: (tenant_id: string, application_id: string, options?: Options) => Promise<Application>;
|
|
2979
2983
|
updateApplicationByIdForTenantById: (tenant_id: string, application_id: string, body?: UpdateApplicationRequestBody, options?: Options) => Promise<Application>;
|
|
2980
2984
|
deleteApplicationByIdForTenantById: (tenant_id: string, application_id: string, options?: Options) => Promise<Response>;
|
|
2985
|
+
linkAppStoreConnectAppForApplication: (tenant_id: string, application_id: string, body: LinkAppStoreConnectAppRequestBody, options?: Options) => Promise<Application>;
|
|
2981
2986
|
getTenantForApiKeyById: (api_key_id: string, options?: Options) => Promise<Tenant>;
|
|
2982
2987
|
acceptInvitationByCode: (invitation_code: string, options?: Options) => Promise<TenantInvitation>;
|
|
2983
2988
|
deleteApiKeyForTenantById: (tenant_id: string, api_key_id: string, options?: Options) => Promise<Response>;
|
package/dist/ParraAPI.js
CHANGED
|
@@ -970,6 +970,12 @@ var ParraAPI = /** @class */ (function () {
|
|
|
970
970
|
if (options === void 0) { options = {}; }
|
|
971
971
|
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id), __assign({ method: "delete" }, options));
|
|
972
972
|
};
|
|
973
|
+
this.linkAppStoreConnectAppForApplication = function (tenant_id, application_id, body, options) {
|
|
974
|
+
if (options === void 0) { options = {}; }
|
|
975
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/app-store-connect/link"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
976
|
+
"content-type": "application/json",
|
|
977
|
+
} }, options));
|
|
978
|
+
};
|
|
973
979
|
this.getTenantForApiKeyById = function (api_key_id, options) {
|
|
974
980
|
if (options === void 0) { options = {}; }
|
|
975
981
|
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/api-keys/").concat(api_key_id, "/tenant"), __assign({ method: "get" }, options));
|