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 0.2.0-beta.7 to 0.2.0-beta.8

158

dist/queries/admin.d.ts

@@ -20,17 +20,15 @@ import * as Types from '../types';

}>;
export declare type ListCampaigns = ({
__typename?: 'RootQueryType';
} & {
org?: Types.Maybe<({
export declare type ListCampaigns = {
org: Types.Maybe<({
__typename?: 'Org';
} & {
campaigns?: Types.Maybe<Array<Types.Maybe<({
campaigns: Array<({
__typename?: 'Campaign';
} & Pick<Types.Campaign, 'id' | 'externalId' | 'name' | 'title'> & {
org?: Types.Maybe<({
org: Types.Maybe<({
__typename?: 'PublicOrg';
} & Pick<Types.PublicOrg, 'name' | 'title'>)>;
})>>>;
})>;
})>;
});
};
export declare type GetCampaignVariables = Types.Exact<{

@@ -40,15 +38,13 @@ org: Types.Scalars['String'];

}>;
export declare type GetCampaign = ({
__typename?: 'RootQueryType';
} & {
org?: Types.Maybe<({
export declare type GetCampaign = {
org: Types.Maybe<({
__typename?: 'Org';
} & {
campaign?: Types.Maybe<({
campaign: Types.Maybe<({
__typename?: 'Campaign';
} & Pick<Types.Campaign, 'id' | 'externalId' | 'name' | 'title'> & {
stats?: Types.Maybe<({
stats: Types.Maybe<({
__typename?: 'CampaignStats';
} & Pick<Types.CampaignStats, 'supporterCount'> & {
actionCount?: Types.Maybe<Array<({
actionCount: Types.Maybe<Array<({
__typename?: 'ActionTypeCount';

@@ -59,3 +55,3 @@ } & Pick<Types.ActionTypeCount, 'actionType' | 'count'>)>>;

})>;
});
};
export declare type GetActionPageVariables = Types.Exact<{

@@ -66,35 +62,31 @@ org: Types.Scalars['String'];

}>;
export declare type GetActionPage = ({
__typename?: 'RootQueryType';
} & {
org?: Types.Maybe<({
export declare type GetActionPage = {
org: Types.Maybe<({
__typename?: 'Org';
} & Pick<Types.Org, 'name' | 'title'> & {
actionPage?: Types.Maybe<({
actionPage: ({
__typename?: 'ActionPage';
} & Pick<Types.ActionPage, 'id' | 'name' | 'locale' | 'extraSupporters' | 'thankYouTemplateRef' | 'journey' | 'config'> & {
campaign?: Types.Maybe<({
campaign: Types.Maybe<({
__typename?: 'Campaign';
} & Pick<Types.Campaign, 'id' | 'name' | 'title' | 'externalId'>)>;
})>;
});
})>;
});
};
export declare type ListActionPagesVariables = Types.Exact<{
org: Types.Scalars['String'];
}>;
export declare type ListActionPages = ({
__typename?: 'RootQueryType';
} & {
org?: Types.Maybe<({
export declare type ListActionPages = {
org: Types.Maybe<({
__typename?: 'Org';
} & Pick<Types.Org, 'name' | 'title'> & {
actionPages?: Types.Maybe<Array<Types.Maybe<({
actionPages: Array<({
__typename?: 'ActionPage';
} & Pick<Types.ActionPage, 'id' | 'name' | 'locale' | 'extraSupporters'> & {
campaign?: Types.Maybe<({
campaign: Types.Maybe<({
__typename?: 'Campaign';
} & Pick<Types.Campaign, 'name' | 'id' | 'externalId'>)>;
})>>>;
})>;
})>;
});
};
export declare type ExportCampaignActionsVariables = Types.Exact<{

@@ -109,6 +101,4 @@ org: Types.Scalars['String'];

}>;
export declare type ExportCampaignActions = ({
__typename?: 'RootQueryType';
} & {
exportActions?: Types.Maybe<Array<Types.Maybe<({
export declare type ExportCampaignActions = {
exportActions: Types.Maybe<Array<Types.Maybe<({
__typename?: 'Action';

@@ -119,6 +109,6 @@ } & Pick<Types.Action, 'actionId' | 'actionType' | 'createdAt'> & {

} & Pick<Types.Contact, 'contactRef' | 'payload' | 'nonce'> & {
publicKey?: Types.Maybe<({
publicKey: Types.Maybe<({
__typename?: 'Key';
} & Pick<Types.Key, 'id' | 'public'>)>;
signKey?: Types.Maybe<({
signKey: Types.Maybe<({
__typename?: 'Key';

@@ -130,3 +120,3 @@ } & Pick<Types.Key, 'id' | 'public'>)>;

} & Pick<Types.CustomField, 'key' | 'value'>)>;
tracking?: Types.Maybe<({
tracking: Types.Maybe<({
__typename?: 'Tracking';

@@ -141,3 +131,3 @@ } & Pick<Types.Tracking, 'source' | 'medium' | 'campaign' | 'content'>)>;

})>>>;
});
};
export declare type ExportOrgActionsVariables = Types.Exact<{

@@ -150,6 +140,4 @@ org: Types.Scalars['String'];

}>;
export declare type ExportOrgActions = ({
__typename?: 'RootQueryType';
} & {
exportActions?: Types.Maybe<Array<Types.Maybe<({
export declare type ExportOrgActions = {
exportActions: Types.Maybe<Array<Types.Maybe<({
__typename?: 'Action';

@@ -160,6 +148,6 @@ } & Pick<Types.Action, 'actionId' | 'actionType' | 'createdAt'> & {

} & Pick<Types.Contact, 'contactRef' | 'payload' | 'nonce'> & {
publicKey?: Types.Maybe<({
publicKey: Types.Maybe<({
__typename?: 'Key';
} & Pick<Types.Key, 'id' | 'public'>)>;
signKey?: Types.Maybe<({
signKey: Types.Maybe<({
__typename?: 'Key';

@@ -171,3 +159,3 @@ } & Pick<Types.Key, 'id' | 'public'>)>;

} & Pick<Types.CustomField, 'key' | 'value'>)>;
tracking?: Types.Maybe<({
tracking: Types.Maybe<({
__typename?: 'Tracking';

@@ -185,3 +173,3 @@ } & Pick<Types.Tracking, 'source' | 'medium' | 'campaign' | 'content'>)>;

})>>>;
});
};
export declare type UpdateActionPageVariables = Types.Exact<{

@@ -191,9 +179,7 @@ id: Types.Scalars['Int'];

}>;
export declare type UpdateActionPage = ({
__typename?: 'RootMutationType';
} & {
updateActionPage?: Types.Maybe<({
export declare type UpdateActionPage = {
updateActionPage: Types.Maybe<({
__typename?: 'ActionPage';
} & Pick<Types.ActionPage, 'id'>)>;
});
};
export declare type UpsertCampaignVariables = Types.Exact<{

@@ -203,16 +189,12 @@ org: Types.Scalars['String'];

}>;
export declare type UpsertCampaign = ({
__typename?: 'RootMutationType';
} & {
upsertCampaign?: Types.Maybe<({
export declare type UpsertCampaign = {
upsertCampaign: Types.Maybe<({
__typename?: 'Campaign';
} & Pick<Types.Campaign, 'id'>)>;
});
};
export declare type ListKeysVariables = Types.Exact<{
org: Types.Scalars['String'];
}>;
export declare type ListKeys = ({
__typename?: 'RootQueryType';
} & {
org?: Types.Maybe<({
export declare type ListKeys = {
org: Types.Maybe<({
__typename?: 'Org';

@@ -224,3 +206,3 @@ } & {

})>;
});
};
export declare type GenerateKeyVariables = Types.Exact<{

@@ -230,9 +212,7 @@ org: Types.Scalars['String'];

}>;
export declare type GenerateKey = ({
__typename?: 'RootMutationType';
} & {
generateKey?: Types.Maybe<({
export declare type GenerateKey = {
generateKey: Types.Maybe<({
__typename?: 'KeyWithPrivate';
} & Pick<Types.KeyWithPrivate, 'id' | 'name' | 'public' | 'private' | 'active' | 'expired' | 'expiredAt'>)>;
});
};
export declare type ActivateKeyVariables = Types.Exact<{

@@ -242,46 +222,38 @@ org: Types.Scalars['String'];

}>;
export declare type ActivateKey = ({
__typename?: 'RootMutationType';
} & {
activateKey?: Types.Maybe<({
export declare type ActivateKey = {
activateKey: Types.Maybe<({
__typename?: 'ActivateKeyResult';
} & Pick<Types.ActivateKeyResult, 'status'>)>;
});
};
export declare type AddOrgVariables = Types.Exact<{
org: Types.OrgInput;
}>;
export declare type AddOrg = ({
__typename?: 'RootMutationType';
} & {
addOrg?: Types.Maybe<({
export declare type AddOrg = {
addOrg: Types.Maybe<({
__typename?: 'Org';
} & Pick<Types.Org, 'id' | 'name'>)>;
});
};
export declare type ActionPageUpsertedVariables = Types.Exact<{
org?: Types.Maybe<Types.Scalars['String']>;
}>;
export declare type ActionPageUpserted = ({
__typename?: 'RootSubscriptionType';
} & {
actionPageUpserted?: Types.Maybe<({
export declare type ActionPageUpserted = {
actionPageUpserted: Types.Maybe<({
__typename?: 'PublicActionPage';
} & Pick<Types.PublicActionPage, 'id' | 'name' | 'locale' | 'journey' | 'config'> & {
campaign?: Types.Maybe<({
campaign: Types.Maybe<({
__typename?: 'Campaign';
} & Pick<Types.Campaign, 'id' | 'name' | 'title' | 'externalId'>)>;
org?: Types.Maybe<({
org: Types.Maybe<({
__typename?: 'PublicOrg';
} & Pick<Types.PublicOrg, 'title'>)>;
})>;
});
};
export declare type CurrentUserOrgsVariables = Types.Exact<{
[key: string]: never;
}>;
export declare type CurrentUserOrgs = ({
__typename?: 'RootQueryType';
} & {
currentUser?: Types.Maybe<({
export declare type CurrentUserOrgs = {
currentUser: Types.Maybe<({
__typename?: 'User';
} & Pick<Types.User, 'id' | 'email'> & {
roles?: Types.Maybe<Array<({
roles: Array<({
__typename?: 'UserRole';

@@ -291,5 +263,5 @@ } & Pick<Types.UserRole, 'role'> & {

__typename?: 'Org';
} & Pick<Types.Org, 'id' | 'name'>);
})>>;
} & Pick<Types.Org, 'id' | 'name' | 'title'>);
})>;
})>;
});
};

@@ -17,3 +17,3 @@ "use strict";

exports.ActionPageUpsertedDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "subscription", "name": { "kind": "Name", "value": "ActionPageUpserted" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "org" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "actionPageUpserted" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "org" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "locale" } }, { "kind": "Field", "name": { "kind": "Name", "value": "journey" } }, { "kind": "Field", "name": { "kind": "Name", "value": "config" } }, { "kind": "Field", "name": { "kind": "Name", "value": "campaign" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalId" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "org" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "title" } }] } }] } }] } }] };
exports.CurrentUserOrgsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "CurrentUserOrgs" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "currentUser" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }, { "kind": "Field", "name": { "kind": "Name", "value": "roles" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "org" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }] } }] } }] } }] } }] };
exports.CurrentUserOrgsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "CurrentUserOrgs" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "currentUser" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }, { "kind": "Field", "name": { "kind": "Name", "value": "roles" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "org" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }] } }] } }] } }] } }] };
//# sourceMappingURL=admin.js.map

@@ -12,22 +12,20 @@ import * as Types from '../types';

}>;
export declare type GetActionPage = ({
__typename?: 'RootQueryType';
} & {
actionPage?: Types.Maybe<({
export declare type GetActionPage = {
actionPage: Types.Maybe<({
__typename?: 'PublicActionPage';
} & Pick<Types.PublicActionPage, 'id' | 'config' | 'locale' | 'journey' | 'name'> & {
org?: Types.Maybe<({
org: Types.Maybe<({
__typename?: 'PublicOrg';
} & Pick<Types.PublicOrg, 'name' | 'title'>)>;
campaign?: Types.Maybe<({
campaign: Types.Maybe<({
__typename?: 'Campaign';
} & Pick<Types.Campaign, 'id' | 'title' | 'name' | 'externalId'> & {
stats?: Types.Maybe<({
stats: Types.Maybe<({
__typename?: 'CampaignStats';
} & Pick<Types.CampaignStats, 'supporterCount'> & {
actionCount?: Types.Maybe<Array<({
actionCount: Types.Maybe<Array<({
__typename?: 'ActionTypeCount';
} & Pick<Types.ActionTypeCount, 'actionType' | 'count'>)>>;
})>;
org?: Types.Maybe<({
org: Types.Maybe<({
__typename?: 'PublicOrg';

@@ -37,3 +35,3 @@ } & Pick<Types.PublicOrg, 'name' | 'title'>)>;

})>;
});
};
export declare type GetStatsVariables = Types.Exact<{

@@ -43,15 +41,13 @@ name?: Types.Maybe<Types.Scalars['String']>;

}>;
export declare type GetStats = ({
__typename?: 'RootQueryType';
} & {
actionPage?: Types.Maybe<({
export declare type GetStats = {
actionPage: Types.Maybe<({
__typename?: 'PublicActionPage';
} & {
campaign?: Types.Maybe<({
campaign: Types.Maybe<({
__typename?: 'Campaign';
} & {
stats?: Types.Maybe<({
stats: Types.Maybe<({
__typename?: 'CampaignStats';
} & Pick<Types.CampaignStats, 'supporterCount'> & {
actionCount?: Types.Maybe<Array<({
actionCount: Types.Maybe<Array<({
__typename?: 'ActionTypeCount';

@@ -62,3 +58,3 @@ } & Pick<Types.ActionTypeCount, 'actionType' | 'count'>)>>;

})>;
});
};
export declare type GetPublicResultVariables = Types.Exact<{

@@ -70,25 +66,23 @@ name?: Types.Maybe<Types.Scalars['String']>;

}>;
export declare type GetPublicResult = ({
__typename?: 'RootQueryType';
} & {
actionPage?: Types.Maybe<({
export declare type GetPublicResult = {
actionPage: Types.Maybe<({
__typename?: 'PublicActionPage';
} & Pick<Types.PublicActionPage, 'config' | 'locale' | 'journey' | 'name'> & {
campaign?: Types.Maybe<({
campaign: Types.Maybe<({
__typename?: 'Campaign';
} & Pick<Types.Campaign, 'title' | 'name' | 'externalId'> & {
stats?: Types.Maybe<({
stats: Types.Maybe<({
__typename?: 'CampaignStats';
} & Pick<Types.CampaignStats, 'supporterCount'> & {
actionCount?: Types.Maybe<Array<({
actionCount: Types.Maybe<Array<({
__typename?: 'ActionTypeCount';
} & Pick<Types.ActionTypeCount, 'actionType' | 'count'>)>>;
})>;
actions?: Types.Maybe<({
actions: Types.Maybe<({
__typename?: 'PublicActionsResult';
} & Pick<Types.PublicActionsResult, 'fieldKeys'> & {
list?: Types.Maybe<Array<Types.Maybe<({
list: Types.Maybe<Array<Types.Maybe<({
__typename?: 'ActionCustomFields';
} & Pick<Types.ActionCustomFields, 'actionType' | 'insertedAt'> & {
fields?: Types.Maybe<Array<({
fields: Types.Maybe<Array<({
__typename?: 'CustomField';

@@ -98,3 +92,3 @@ } & Pick<Types.CustomField, 'key' | 'value'>)>>;

})>;
org?: Types.Maybe<({
org: Types.Maybe<({
__typename?: 'PublicOrg';

@@ -104,3 +98,3 @@ } & Pick<Types.PublicOrg, 'title'>)>;

})>;
});
};
export declare type AddActionContactVariables = Types.Exact<{

@@ -115,9 +109,7 @@ id: Types.Scalars['Int'];

}>;
export declare type AddActionContact = ({
__typename?: 'RootMutationType';
} & {
addActionContact?: Types.Maybe<({
export declare type AddActionContact = {
addActionContact: Types.Maybe<({
__typename?: 'ContactReference';
} & Pick<Types.ContactReference, 'contactRef' | 'firstName'>)>;
});
};
export declare type AddActionVariables = Types.Exact<{

@@ -130,8 +122,6 @@ id: Types.Scalars['Int'];

}>;
export declare type AddAction = ({
__typename?: 'RootMutationType';
} & {
addAction?: Types.Maybe<({
export declare type AddAction = {
addAction: Types.Maybe<({
__typename?: 'ContactReference';
} & Pick<Types.ContactReference, 'contactRef' | 'firstName'>)>;
});
};

@@ -35,3 +35,3 @@ export declare type Maybe<T> = T | null;

org: Org;
role?: Maybe<Scalars['String']>;
role: Maybe<Scalars['String']>;
};

@@ -46,6 +46,6 @@ export declare type SelectActionPage = {

private: Scalars['String'];
name?: Maybe<Scalars['String']>;
active?: Maybe<Scalars['Boolean']>;
expired?: Maybe<Scalars['Boolean']>;
expiredAt?: Maybe<Scalars['DateTime']>;
name: Maybe<Scalars['String']>;
active: Maybe<Scalars['Boolean']>;
expired: Maybe<Scalars['Boolean']>;
expiredAt: Maybe<Scalars['DateTime']>;
};

@@ -100,3 +100,3 @@ export declare type SimpleActionPage = {

__typename?: 'RootSubscriptionType';
actionPageUpserted?: Maybe<PublicActionPage>;
actionPageUpserted: Maybe<PublicActionPage>;
};

@@ -109,3 +109,3 @@ export declare type RootSubscriptionTypeActionPageUpsertedArgs = {

name: Scalars['String'];
externalId?: Maybe<Scalars['Int']>;
externalId: Maybe<Scalars['Int']>;
};

@@ -144,8 +144,8 @@ /** ActionPage declaration (using the legacy url attribute) */

__typename?: 'PublicActionsResult';
fieldKeys?: Maybe<Array<Scalars['String']>>;
list?: Maybe<Array<Maybe<ActionCustomFields>>>;
fieldKeys: Maybe<Array<Scalars['String']>>;
list: Maybe<Array<Maybe<ActionCustomFields>>>;
};
export declare type ActivateKeyResult = {
__typename?: 'ActivateKeyResult';
status?: Maybe<Status>;
status: Maybe<Status>;
};

@@ -156,5 +156,5 @@ /** Campaign statistics */

/** Signature count (naive at the moment) */
supporterCount?: Maybe<Scalars['Int']>;
supporterCount: Maybe<Scalars['Int']>;
/** Action counts for selected action types */
actionCount?: Maybe<Array<ActionTypeCount>>;
actionCount: Maybe<Array<ActionTypeCount>>;
};

@@ -166,3 +166,3 @@ export declare type ActionCustomFields = {

insertedAt: Scalars['DateTime'];
fields?: Maybe<Array<CustomField>>;
fields: Maybe<Array<CustomField>>;
};

@@ -176,3 +176,3 @@ export declare type Action = {

fields: Array<CustomField>;
tracking?: Maybe<Tracking>;
tracking: Maybe<Tracking>;
campaign: ActionCampaign;

@@ -192,7 +192,7 @@ actionPage: SimpleActionPage;

*/
upsertCampaign?: Maybe<Campaign>;
upsertCampaign: Maybe<Campaign>;
/** Deprecated, use upsert_campaign. */
declareCampaign?: Maybe<Campaign>;
declareCampaign: Maybe<Campaign>;
/** Update an Action Page */
updateActionPage?: Maybe<ActionPage>;
updateActionPage: Maybe<ActionPage>;
/**

@@ -202,20 +202,20 @@ * Adds a new Action Page based on another Action Page. Intended to be used to

*/
copyActionPage?: Maybe<ActionPage>;
copyActionPage: Maybe<ActionPage>;
/** Adds an action referencing contact data via contactRef */
addAction?: Maybe<ContactReference>;
addAction: Maybe<ContactReference>;
/** Adds an action with contact data */
addActionContact?: Maybe<ContactReference>;
addActionContact: Maybe<ContactReference>;
/** Link actions with refs to contact with contact reference */
linkActions?: Maybe<ContactReference>;
addOrgUser?: Maybe<User>;
deleteOrgUser?: Maybe<DeleteUserResult>;
updateOrgUser?: Maybe<User>;
addOrg?: Maybe<Org>;
deleteOrg?: Maybe<Scalars['Boolean']>;
updateOrg?: Maybe<Org>;
joinOrg?: Maybe<JoinOrgResult>;
generateKey?: Maybe<KeyWithPrivate>;
addKey?: Maybe<Key>;
linkActions: Maybe<ContactReference>;
addOrgUser: Maybe<User>;
deleteOrgUser: Maybe<DeleteUserResult>;
updateOrgUser: Maybe<User>;
addOrg: Maybe<Org>;
deleteOrg: Maybe<Scalars['Boolean']>;
updateOrg: Maybe<Org>;
joinOrg: Maybe<JoinOrgResult>;
generateKey: Maybe<KeyWithPrivate>;
addKey: Maybe<Key>;
/** A separate key activate operation, because you also need to add the key to receiving system before it is used */
activateKey?: Maybe<ActivateKeyResult>;
activateKey: Maybe<ActivateKeyResult>;
};

@@ -301,9 +301,9 @@ export declare type RootMutationTypeUpsertCampaignArgs = {

/** Get a list of campains */
campaigns?: Maybe<Array<Maybe<Campaign>>>;
campaigns: Maybe<Array<Maybe<Campaign>>>;
/** Get action page */
actionPage?: Maybe<PublicActionPage>;
exportActions?: Maybe<Array<Maybe<Action>>>;
currentUser?: Maybe<User>;
actionPage: Maybe<PublicActionPage>;
exportActions: Maybe<Array<Maybe<Action>>>;
currentUser: Maybe<User>;
/** Organization api (authenticated) */
org?: Maybe<Org>;
org: Maybe<Org>;
};

@@ -334,45 +334,45 @@ export declare type RootQueryTypeCampaignsArgs = {

/** Organisation short name */
name?: Maybe<Scalars['String']>;
name: Maybe<Scalars['String']>;
/** Organisation title (human readable name) */
title?: Maybe<Scalars['String']>;
title: Maybe<Scalars['String']>;
};
export declare type ActionPage = {
__typename?: 'ActionPage';
id?: Maybe<Scalars['Int']>;
id: Maybe<Scalars['Int']>;
/** Locale for the widget, in i18n format */
locale?: Maybe<Scalars['String']>;
locale: Maybe<Scalars['String']>;
/** Name where the widget is hosted */
name?: Maybe<Scalars['String']>;
name: Maybe<Scalars['String']>;
/** Reference to thank you email templated of this Action Page */
thankYouTemplateRef?: Maybe<Scalars['String']>;
thankYouTemplateRef: Maybe<Scalars['String']>;
/** List of steps in journey */
journey?: Maybe<Array<Scalars['String']>>;
journey: Maybe<Array<Scalars['String']>>;
/** Config JSON of this action page */
config?: Maybe<Scalars['Json']>;
config: Maybe<Scalars['Json']>;
/** Extra supporters (added to supporters count) */
extraSupporters?: Maybe<Scalars['Int']>;
extraSupporters: Maybe<Scalars['Int']>;
/** Campaign this widget belongs to */
campaign?: Maybe<Campaign>;
org?: Maybe<PublicOrg>;
campaign: Maybe<Campaign>;
org: Maybe<PublicOrg>;
};
export declare type PublicActionPage = {
__typename?: 'PublicActionPage';
id?: Maybe<Scalars['Int']>;
id: Maybe<Scalars['Int']>;
/** Locale for the widget, in i18n format */
locale?: Maybe<Scalars['String']>;
locale: Maybe<Scalars['String']>;
/** Name where the widget is hosted */
name?: Maybe<Scalars['String']>;
name: Maybe<Scalars['String']>;
/** Reference to thank you email templated of this Action Page */
thankYouTemplateRef?: Maybe<Scalars['String']>;
thankYouTemplateRef: Maybe<Scalars['String']>;
/** List of steps in journey */
journey?: Maybe<Array<Scalars['String']>>;
journey: Maybe<Array<Scalars['String']>>;
/** Config JSON of this action page */
config?: Maybe<Scalars['Json']>;
config: Maybe<Scalars['Json']>;
/** Campaign this widget belongs to */
campaign?: Maybe<Campaign>;
org?: Maybe<PublicOrg>;
campaign: Maybe<Campaign>;
org: Maybe<PublicOrg>;
};
export declare type DeleteUserResult = {
__typename?: 'DeleteUserResult';
status?: Maybe<Status>;
status: Maybe<Status>;
};

@@ -437,3 +437,3 @@ /** Campaign input */

/** Email opt in template name */
emailOptInTemplate?: Maybe<Scalars['String']>;
emailOptInTemplate: Maybe<Scalars['String']>;
};

@@ -445,16 +445,16 @@ export declare type SelectCampaign = {

__typename?: 'Campaign';
id?: Maybe<Scalars['Int']>;
id: Maybe<Scalars['Int']>;
/** Internal name of the campaign */
name?: Maybe<Scalars['String']>;
name: Maybe<Scalars['String']>;
/** External ID (if set) */
externalId?: Maybe<Scalars['Int']>;
externalId: Maybe<Scalars['Int']>;
/** Full, official name of the campaign */
title?: Maybe<Scalars['String']>;
title: Maybe<Scalars['String']>;
/** Custom config map */
config?: Maybe<Scalars['Json']>;
config: Maybe<Scalars['Json']>;
/** Campaign statistics */
stats?: Maybe<CampaignStats>;
stats: Maybe<CampaignStats>;
/** Fetch public actions */
actions?: Maybe<PublicActionsResult>;
org?: Maybe<PublicOrg>;
actions: Maybe<PublicActionsResult>;
org: Maybe<PublicOrg>;
};

@@ -470,6 +470,6 @@ export declare type CampaignActionsArgs = {

public: Scalars['String'];
name?: Maybe<Scalars['String']>;
active?: Maybe<Scalars['Boolean']>;
expired?: Maybe<Scalars['Boolean']>;
expiredAt?: Maybe<Scalars['DateTime']>;
name: Maybe<Scalars['String']>;
active: Maybe<Scalars['Boolean']>;
expired: Maybe<Scalars['Boolean']>;
expiredAt: Maybe<Scalars['DateTime']>;
};

@@ -479,18 +479,18 @@ export declare type Org = {

/** Organization id */
id?: Maybe<Scalars['Int']>;
id: Scalars['Int'];
/** Organisation short name */
name?: Maybe<Scalars['String']>;
name: Scalars['String'];
/** Organisation title (human readable name) */
title?: Maybe<Scalars['String']>;
title: Scalars['String'];
personalData: PersonalData;
keys: Array<Key>;
key?: Maybe<Key>;
key: Maybe<Key>;
/** List campaigns this org is leader or partner of */
campaigns?: Maybe<Array<Maybe<Campaign>>>;
campaigns: Array<Campaign>;
/** List action pages this org has */
actionPages?: Maybe<Array<Maybe<ActionPage>>>;
actionPages: Array<ActionPage>;
/** Action Page */
actionPage?: Maybe<ActionPage>;
actionPage: ActionPage;
/** Get campaign this org is leader or partner of by id */
campaign?: Maybe<Campaign>;
campaign: Maybe<Campaign>;
};

@@ -519,5 +519,5 @@ export declare type OrgKeysArgs = {

/** Contact's reference */
contactRef?: Maybe<Scalars['String']>;
contactRef: Maybe<Scalars['String']>;
/** Contacts first name */
firstName?: Maybe<Scalars['String']>;
firstName: Maybe<Scalars['String']>;
};

@@ -527,10 +527,10 @@ export declare type Contact = {

contactRef: Scalars['String'];
payload?: Maybe<Scalars['String']>;
nonce?: Maybe<Scalars['String']>;
publicKey?: Maybe<Key>;
signKey?: Maybe<Key>;
payload: Maybe<Scalars['String']>;
nonce: Maybe<Scalars['String']>;
publicKey: Maybe<Key>;
signKey: Maybe<Key>;
};
export declare type JoinOrgResult = {
__typename?: 'JoinOrgResult';
status?: Maybe<Status>;
status: Maybe<Status>;
};

@@ -594,3 +594,3 @@ /** Custom field with a key and value. Both are strings. */

email: Scalars['String'];
roles?: Maybe<Array<UserRole>>;
roles: Array<UserRole>;
};
{
"name": "@proca/api",
"version": "0.2.0-beta.7",
"version": "0.2.0-beta.8",
"description": "Client library for Proca API",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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