@parra/parra-js-sdk 0.3.215 → 0.3.217

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.
@@ -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"
@@ -1994,6 +1998,7 @@ export interface TenantOnboardingApplicationIntent {
1994
1998
  }
1995
1999
  export interface TenantOnboardingDomainIntent {
1996
2000
  skipped?: boolean | null;
2001
+ external_domain_id?: string | null;
1997
2002
  }
1998
2003
  export interface TenantOnboardingIntegrationIntent {
1999
2004
  complete?: boolean | null;
@@ -2978,6 +2983,7 @@ declare class ParraAPI {
2978
2983
  getApplicationByIdForTenantById: (tenant_id: string, application_id: string, options?: Options) => Promise<Application>;
2979
2984
  updateApplicationByIdForTenantById: (tenant_id: string, application_id: string, body?: UpdateApplicationRequestBody, options?: Options) => Promise<Application>;
2980
2985
  deleteApplicationByIdForTenantById: (tenant_id: string, application_id: string, options?: Options) => Promise<Response>;
2986
+ linkAppStoreConnectAppForApplication: (tenant_id: string, application_id: string, body: LinkAppStoreConnectAppRequestBody, options?: Options) => Promise<Application>;
2981
2987
  getTenantForApiKeyById: (api_key_id: string, options?: Options) => Promise<Tenant>;
2982
2988
  acceptInvitationByCode: (invitation_code: string, options?: Options) => Promise<TenantInvitation>;
2983
2989
  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));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.215",
3
+ "version": "0.3.217",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",