Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@proca/api

Package Overview
Dependencies
Maintainers
3
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@proca/api - npm Package Compare versions

Comparing version 3.0.0-alpha.14 to 3.0.0

78

dist/apiTypes.d.ts

@@ -45,2 +45,4 @@ export declare type Maybe<T> = T | null;

contact: Contact;
customFields: Scalars['Json'];
/** Deprecated, use customFields */
fields: Array<CustomField>;

@@ -57,2 +59,3 @@ tracking: Maybe<Tracking>;

insertedAt: Scalars['NaiveDateTime'];
customFields: Scalars['Json'];
fields: Array<CustomField>;

@@ -64,3 +67,5 @@ };

actionType: Scalars['String'];
/** Other fields that accompany the signature */
/** Custom fields added to action */
customFields?: Maybe<Scalars['Json']>;
/** Deprecated format: Other fields added to action */
fields?: Maybe<Array<CustomFieldInput>>;

@@ -289,2 +294,3 @@ /** Donation payload */

value: Scalars['String'];
/** Unused. To mark action_type/key as transient, use campaign.transient_actions list */
transient?: Maybe<Scalars['Boolean']>;

@@ -415,2 +421,4 @@ };

emailOptInTemplate: Maybe<Scalars['String']>;
/** High data security enabled */
highSecurity: Scalars['Boolean'];
};

@@ -485,2 +493,3 @@ export declare type PrivateActionPage = ActionPage & {

users: Array<Maybe<OrgUser>>;
processing: Processing;
/** List campaigns this org is leader or partner of */

@@ -515,4 +524,12 @@ campaigns: Array<Campaign>;

export declare type PrivateOrgCampaignArgs = {
id?: Maybe<Scalars['Int']>;
id: Scalars['Int'];
};
export declare type Processing = {
emailFrom: Maybe<Scalars['String']>;
emailBackend: Maybe<ServiceName>;
customSupporterConfirm: Scalars['Boolean'];
customActionConfirm: Scalars['Boolean'];
customActionDeliver: Scalars['Boolean'];
sqsDeliver: Scalars['Boolean'];
};
export declare type PublicActionPage = ActionPage & {

@@ -603,3 +620,6 @@ id: Scalars['Int'];

linkActions: ContactReference;
/** Add user to org by email */
addOrgUser: ChangeUserStatus;
/** Invite an user to org by email (can be not yet user!) */
inviteOrgUser: Confirm;
updateOrgUser: ChangeUserStatus;

@@ -609,3 +629,5 @@ deleteOrgUser: Maybe<DeleteUserResult>;

deleteOrg: Scalars['Boolean'];
updateOrg: Org;
updateOrg: PrivateOrg;
/** Update org processing settings */
updateOrgProcessing: PrivateOrg;
joinOrg: JoinOrgResult;

@@ -616,2 +638,3 @@ generateKey: KeyWithPrivate;

activateKey: ActivateKeyResult;
upsertService: Service;
addStripePaymentIntent: Scalars['Json'];

@@ -629,2 +652,4 @@ addStripeSubscription: Scalars['Json'];

rejectOrgConfirm: ConfirmResult;
acceptUserConfirm: ConfirmResult;
rejectUserConfirm: ConfirmResult;
};

@@ -682,2 +707,7 @@ export declare type RootMutationTypeUpsertCampaignArgs = {

};
export declare type RootMutationTypeInviteOrgUserArgs = {
orgName: Scalars['String'];
input: UserInput;
message?: Maybe<Scalars['String']>;
};
export declare type RootMutationTypeUpdateOrgUserArgs = {

@@ -701,2 +731,11 @@ orgName: Scalars['String'];

};
export declare type RootMutationTypeUpdateOrgProcessingArgs = {
name: Scalars['String'];
emailBackend?: Maybe<ServiceName>;
emailFrom?: Maybe<Scalars['String']>;
customSupporterConfirm?: Maybe<Scalars['Boolean']>;
customActionConfirm?: Maybe<Scalars['Boolean']>;
customActionDeliver?: Maybe<Scalars['Boolean']>;
sqsDeliver?: Maybe<Scalars['Boolean']>;
};
export declare type RootMutationTypeJoinOrgArgs = {

@@ -717,2 +756,7 @@ name: Scalars['String'];

};
export declare type RootMutationTypeUpsertServiceArgs = {
orgName: Scalars['String'];
id?: Maybe<Scalars['Int']>;
input: ServiceInput;
};
export declare type RootMutationTypeAddStripePaymentIntentArgs = {

@@ -743,2 +787,8 @@ actionPageId: Scalars['Int'];

};
export declare type RootMutationTypeAcceptUserConfirmArgs = {
confirm: ConfirmInput;
};
export declare type RootMutationTypeRejectUserConfirmArgs = {
confirm: ConfirmInput;
};
export declare type RootQueryType = {

@@ -751,2 +801,3 @@ /** Get a list of campains */

currentUser: User;
users: Array<User>;
/** Organization api (authenticated) */

@@ -773,2 +824,5 @@ org: PrivateOrg;

};
export declare type RootQueryTypeUsersArgs = {
select?: Maybe<SelectUser>;
};
export declare type RootQueryTypeOrgArgs = {

@@ -797,2 +851,10 @@ name: Scalars['String'];

};
/** Criteria to filter users */
export declare type SelectUser = {
id?: Maybe<Scalars['Int']>;
/** Use % as wildcard */
email?: Maybe<Scalars['String']>;
/** Exact org name */
orgName?: Maybe<Scalars['String']>;
};
export declare type Service = {

@@ -805,2 +867,9 @@ id: Scalars['Int'];

};
export declare type ServiceInput = {
name: ServiceName;
host?: Maybe<Scalars['String']>;
user?: Maybe<Scalars['String']>;
password?: Maybe<Scalars['String']>;
path?: Maybe<Scalars['String']>;
};
export declare enum ServiceName {

@@ -844,2 +913,4 @@ Ses = "SES",

content?: Maybe<Scalars['String']>;
/** Action page location. Url from which action is added. Must contain schema, domain, (port), pathname */
location?: Maybe<Scalars['String']>;
};

@@ -849,2 +920,3 @@ export declare type User = {

email: Scalars['String'];
isAdmin: Scalars['Boolean'];
roles: Array<UserRole>;

@@ -851,0 +923,0 @@ };

10

package.json
{
"name": "@proca/api",
"version": "3.0.0-alpha.14",
"version": "3.0.0",
"description": "Client library for Proca API",

@@ -18,9 +18,9 @@ "main": "dist/index.js",

"type": "git",
"url": "git+https://github.com/fixthestatusquo/proca-api.git"
"url": "git+https://github.com/fixthestatusquo/proca-server.git"
},
"author": "Marcin Koziej <code@fixthestatusquo.org>",
"bugs": {
"url": "https://github.com/fixthestatusquo/proca-api/issues"
"url": "https://github.com/fixthestatusquo/proca-server/issues"
},
"homepage": "https://github.com/fixthestatusquo/proca-api#readme",
"homepage": "https://github.com/fixthestatusquo/proca-server/sdk/api#readme",
"files": [

@@ -55,3 +55,3 @@ "README.MD",

},
"gitHead": "e9a765d279348b50009e41e7b21d5c1b407e7d86"
"gitHead": "d65862cb08b84fc23a44accb46fb726cf2008f5d"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc