cf-service-sdk 0.1.0 → 0.1.2
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/generated/graphql.d.ts +835 -25
- package/dist/generated/graphql.js +516 -15
- package/dist/mutations.d.ts +6 -0
- package/dist/mutations.js +102 -7
- package/dist/queries.d.ts +4 -0
- package/dist/queries.js +128 -6
- package/dist/sdk.d.ts +211 -202
- package/dist/sdk.js +58 -0
- package/package.json +2 -2
|
@@ -42,26 +42,52 @@ export type Scalars = {
|
|
|
42
42
|
input: number;
|
|
43
43
|
output: number;
|
|
44
44
|
};
|
|
45
|
+
/**
|
|
46
|
+
* The `Date` scalar type represents a Date
|
|
47
|
+
* value as specified by
|
|
48
|
+
* [iso8601](https://en.wikipedia.org/wiki/ISO_8601).
|
|
49
|
+
*/
|
|
45
50
|
Date: {
|
|
46
51
|
input: any;
|
|
47
52
|
output: any;
|
|
48
53
|
};
|
|
54
|
+
/**
|
|
55
|
+
* The `DateTime` scalar type represents a DateTime
|
|
56
|
+
* value as specified by
|
|
57
|
+
* [iso8601](https://en.wikipedia.org/wiki/ISO_8601).
|
|
58
|
+
*/
|
|
49
59
|
DateTime: {
|
|
50
60
|
input: any;
|
|
51
61
|
output: any;
|
|
52
62
|
};
|
|
63
|
+
/** The `Decimal` scalar type represents a python Decimal. */
|
|
53
64
|
Decimal: {
|
|
54
65
|
input: any;
|
|
55
66
|
output: any;
|
|
56
67
|
};
|
|
68
|
+
/**
|
|
69
|
+
* The `GenericScalar` scalar type represents a generic
|
|
70
|
+
* GraphQL scalar value that could be:
|
|
71
|
+
* String, Boolean, Int, Float, List or Object.
|
|
72
|
+
*/
|
|
57
73
|
GenericScalar: {
|
|
58
74
|
input: any;
|
|
59
75
|
output: any;
|
|
60
76
|
};
|
|
77
|
+
/**
|
|
78
|
+
* Allows use of a JSON String for input / output from the GraphQL schema.
|
|
79
|
+
*
|
|
80
|
+
* Use of this type is *not recommended* as you lose the benefits of having a defined, static
|
|
81
|
+
* schema (one of the key benefits of GraphQL).
|
|
82
|
+
*/
|
|
61
83
|
JSONString: {
|
|
62
84
|
input: any;
|
|
63
85
|
output: any;
|
|
64
86
|
};
|
|
87
|
+
/**
|
|
88
|
+
* Leverages the internal Python implementation of UUID (uuid.UUID) to provide native UUID objects
|
|
89
|
+
* in fields, resolvers and input.
|
|
90
|
+
*/
|
|
65
91
|
UUID: {
|
|
66
92
|
input: any;
|
|
67
93
|
output: any;
|
|
@@ -74,6 +100,16 @@ export type AcceptInvitation = {
|
|
|
74
100
|
message?: Maybe<Scalars['String']['output']>;
|
|
75
101
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
76
102
|
};
|
|
103
|
+
export type AccountDjangoType = {
|
|
104
|
+
__typename?: 'AccountDjangoType';
|
|
105
|
+
createdAt: Scalars['DateTime']['output'];
|
|
106
|
+
id: Scalars['ID']['output'];
|
|
107
|
+
/** Whether this account is active */
|
|
108
|
+
isActive: Scalars['Boolean']['output'];
|
|
109
|
+
/** Name of the account */
|
|
110
|
+
name: Scalars['String']['output'];
|
|
111
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
112
|
+
};
|
|
77
113
|
/** GraphQL type for AccountInvitation model */
|
|
78
114
|
export type AccountInvitationType = {
|
|
79
115
|
__typename?: 'AccountInvitationType';
|
|
@@ -179,6 +215,17 @@ export type AddSupplierToSupplierListInput = {
|
|
|
179
215
|
companyId: Scalars['ID']['input'];
|
|
180
216
|
supplierListId: Scalars['ID']['input'];
|
|
181
217
|
};
|
|
218
|
+
/** An enumeration. */
|
|
219
|
+
export declare enum AppSalesGoalTypeChoices {
|
|
220
|
+
/** Custom */
|
|
221
|
+
Custom = "CUSTOM",
|
|
222
|
+
/** Month */
|
|
223
|
+
Month = "MONTH",
|
|
224
|
+
/** Quarter */
|
|
225
|
+
Quarter = "QUARTER",
|
|
226
|
+
/** Year */
|
|
227
|
+
Year = "YEAR"
|
|
228
|
+
}
|
|
182
229
|
export type AuditLogItemType = {
|
|
183
230
|
__typename?: 'AuditLogItemType';
|
|
184
231
|
description?: Maybe<Scalars['String']['output']>;
|
|
@@ -532,6 +579,8 @@ export type CampaignContactItemType = {
|
|
|
532
579
|
logs?: Maybe<Array<Maybe<CombinedCampaignLogObject>>>;
|
|
533
580
|
/** Phone of the contact */
|
|
534
581
|
phone?: Maybe<Scalars['String']['output']>;
|
|
582
|
+
populatedBody?: Maybe<Scalars['String']['output']>;
|
|
583
|
+
populatedSubject?: Maybe<Scalars['String']['output']>;
|
|
535
584
|
/** Step ID for combined campaign contacts */
|
|
536
585
|
stepId?: Maybe<Scalars['ID']['output']>;
|
|
537
586
|
/** Step order for combined campaign contacts */
|
|
@@ -793,6 +842,13 @@ export type ClearAllNotifications = {
|
|
|
793
842
|
message?: Maybe<Scalars['String']['output']>;
|
|
794
843
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
795
844
|
};
|
|
845
|
+
/** Bulk-delete all saved spots for the requesting user. Used by the "Clear All" button in the popover. */
|
|
846
|
+
export type ClearAllSavedSearchSpots = {
|
|
847
|
+
__typename?: 'ClearAllSavedSearchSpots';
|
|
848
|
+
count?: Maybe<Scalars['Int']['output']>;
|
|
849
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
850
|
+
success?: Maybe<Scalars['Boolean']['output']>;
|
|
851
|
+
};
|
|
796
852
|
/** Filter input for campaign logs */
|
|
797
853
|
export type CombinedCampaignFilterInput = {
|
|
798
854
|
dateFrom?: InputMaybe<Scalars['DateTime']['input']>;
|
|
@@ -839,6 +895,8 @@ export type CombinedCampaignLogObject = {
|
|
|
839
895
|
outcome?: Maybe<Scalars['String']['output']>;
|
|
840
896
|
productsOfInterest?: Maybe<Scalars['GenericScalar']['output']>;
|
|
841
897
|
scheduledFor?: Maybe<Scalars['DateTime']['output']>;
|
|
898
|
+
/** Actual subject from sent email (populated from ContactLog) */
|
|
899
|
+
sentSubject?: Maybe<Scalars['String']['output']>;
|
|
842
900
|
startedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
843
901
|
status?: Maybe<Scalars['String']['output']>;
|
|
844
902
|
step?: Maybe<CombinedCampaignStepObject>;
|
|
@@ -1655,6 +1713,42 @@ export type CreateNotificationInput = {
|
|
|
1655
1713
|
title: Scalars['String']['input'];
|
|
1656
1714
|
userId: Scalars['ID']['input'];
|
|
1657
1715
|
};
|
|
1716
|
+
/** Mutation to create a new sales goal */
|
|
1717
|
+
export type CreateSalesGoal = {
|
|
1718
|
+
__typename?: 'CreateSalesGoal';
|
|
1719
|
+
errors?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
1720
|
+
salesGoal?: Maybe<SalesGoalObject>;
|
|
1721
|
+
success?: Maybe<Scalars['Boolean']['output']>;
|
|
1722
|
+
};
|
|
1723
|
+
/** Input type for creating a sales goal */
|
|
1724
|
+
export type CreateSalesGoalInput = {
|
|
1725
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
1726
|
+
/** Custom end date (for CUSTOM type) */
|
|
1727
|
+
endDate?: InputMaybe<Scalars['Date']['input']>;
|
|
1728
|
+
/** Goals JSON: {user_id: {metric: value}} */
|
|
1729
|
+
goals: Scalars['JSONString']['input'];
|
|
1730
|
+
/** Month (1-12) for MONTH type goals */
|
|
1731
|
+
month?: InputMaybe<Scalars['Int']['input']>;
|
|
1732
|
+
name: Scalars['String']['input'];
|
|
1733
|
+
/** Quarter (1-4) for QUARTER type goals */
|
|
1734
|
+
quarter?: InputMaybe<Scalars['Int']['input']>;
|
|
1735
|
+
/** Custom start date (for CUSTOM type) */
|
|
1736
|
+
startDate?: InputMaybe<Scalars['Date']['input']>;
|
|
1737
|
+
/** Type of sales goal: CUSTOM, MONTH, QUARTER, YEAR */
|
|
1738
|
+
type: Scalars['String']['input'];
|
|
1739
|
+
/** Year for MONTH, QUARTER, or YEAR type goals */
|
|
1740
|
+
year?: InputMaybe<Scalars['Int']['input']>;
|
|
1741
|
+
};
|
|
1742
|
+
/**
|
|
1743
|
+
* Save the current prospecting engine state (filters + page + scroll position) as a named bookmark.
|
|
1744
|
+
* Enforces a per-user limit (MAX_SPOTS_PER_USER) to prevent unbounded storage.
|
|
1745
|
+
*/
|
|
1746
|
+
export type CreateSavedSearchSpot = {
|
|
1747
|
+
__typename?: 'CreateSavedSearchSpot';
|
|
1748
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
1749
|
+
spot?: Maybe<SavedSearchSpotType>;
|
|
1750
|
+
success?: Maybe<Scalars['Boolean']['output']>;
|
|
1751
|
+
};
|
|
1658
1752
|
export type CreateSegment = {
|
|
1659
1753
|
__typename?: 'CreateSegment';
|
|
1660
1754
|
message?: Maybe<Scalars['String']['output']>;
|
|
@@ -1821,6 +1915,18 @@ export type DeleteNotification = {
|
|
|
1821
1915
|
message?: Maybe<Scalars['String']['output']>;
|
|
1822
1916
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
1823
1917
|
};
|
|
1918
|
+
/** Mutation to delete a sales goal */
|
|
1919
|
+
export type DeleteSalesGoal = {
|
|
1920
|
+
__typename?: 'DeleteSalesGoal';
|
|
1921
|
+
errors?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
1922
|
+
success?: Maybe<Scalars['Boolean']['output']>;
|
|
1923
|
+
};
|
|
1924
|
+
/** Delete a single saved spot. Scoped to the requesting user for safety. */
|
|
1925
|
+
export type DeleteSavedSearchSpot = {
|
|
1926
|
+
__typename?: 'DeleteSavedSearchSpot';
|
|
1927
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
1928
|
+
success?: Maybe<Scalars['Boolean']['output']>;
|
|
1929
|
+
};
|
|
1824
1930
|
export type DeleteSegment = {
|
|
1825
1931
|
__typename?: 'DeleteSegment';
|
|
1826
1932
|
message?: Maybe<Scalars['String']['output']>;
|
|
@@ -2318,6 +2424,8 @@ export type Mutation = {
|
|
|
2318
2424
|
changePassword?: Maybe<ChangePassword>;
|
|
2319
2425
|
/** Clear (delete) all notifications for the current user */
|
|
2320
2426
|
clearAllNotifications?: Maybe<ClearAllNotifications>;
|
|
2427
|
+
/** Bulk-delete all saved spots for the requesting user. Used by the "Clear All" button in the popover. */
|
|
2428
|
+
clearAllSavedSearchSpots?: Maybe<ClearAllSavedSearchSpots>;
|
|
2321
2429
|
completeCampaign?: Maybe<CompleteCampaign>;
|
|
2322
2430
|
/**
|
|
2323
2431
|
* Complete an RFQ by marking it as completed.
|
|
@@ -2342,6 +2450,13 @@ export type Mutation = {
|
|
|
2342
2450
|
createNotification?: Maybe<CreateNotification>;
|
|
2343
2451
|
createRfq?: Maybe<Procurement_RfqType>;
|
|
2344
2452
|
createRfqlineitem?: Maybe<Procurement_RfqLineItemType>;
|
|
2453
|
+
/** Mutation to create a new sales goal */
|
|
2454
|
+
createSalesGoal?: Maybe<CreateSalesGoal>;
|
|
2455
|
+
/**
|
|
2456
|
+
* Save the current prospecting engine state (filters + page + scroll position) as a named bookmark.
|
|
2457
|
+
* Enforces a per-user limit (MAX_SPOTS_PER_USER) to prevent unbounded storage.
|
|
2458
|
+
*/
|
|
2459
|
+
createSavedSearchSpot?: Maybe<CreateSavedSearchSpot>;
|
|
2345
2460
|
createSegment?: Maybe<CreateSegment>;
|
|
2346
2461
|
createSupplierlist?: Maybe<Procurement_SupplierListType>;
|
|
2347
2462
|
/** Mutation to create a new task */
|
|
@@ -2362,6 +2477,10 @@ export type Mutation = {
|
|
|
2362
2477
|
deleteNotification?: Maybe<DeleteNotification>;
|
|
2363
2478
|
deleteRfq?: Maybe<DeleteMutation>;
|
|
2364
2479
|
deleteRfqlineitem?: Maybe<DeleteMutation>;
|
|
2480
|
+
/** Mutation to delete a sales goal */
|
|
2481
|
+
deleteSalesGoal?: Maybe<DeleteSalesGoal>;
|
|
2482
|
+
/** Delete a single saved spot. Scoped to the requesting user for safety. */
|
|
2483
|
+
deleteSavedSearchSpot?: Maybe<DeleteSavedSearchSpot>;
|
|
2365
2484
|
deleteSegment?: Maybe<DeleteSegment>;
|
|
2366
2485
|
deleteSupplierlist?: Maybe<DeleteMutation>;
|
|
2367
2486
|
/** Mutation to delete a task */
|
|
@@ -2470,6 +2589,8 @@ export type Mutation = {
|
|
|
2470
2589
|
updateMysupplier?: Maybe<Procurement_MySupplierType>;
|
|
2471
2590
|
updateRfq?: Maybe<Procurement_RfqType>;
|
|
2472
2591
|
updateRfqlineitem?: Maybe<Procurement_RfqLineItemType>;
|
|
2592
|
+
/** Mutation to update an existing sales goal */
|
|
2593
|
+
updateSalesGoal?: Maybe<UpdateSalesGoal>;
|
|
2473
2594
|
updateSegment?: Maybe<UpdateSegment>;
|
|
2474
2595
|
updateSupplierlist?: Maybe<Procurement_SupplierListType>;
|
|
2475
2596
|
/** Mutation to update an existing task */
|
|
@@ -2609,6 +2730,16 @@ export type MutationCreateRfqlineitemArgs = {
|
|
|
2609
2730
|
input: RfqLineItemInput;
|
|
2610
2731
|
};
|
|
2611
2732
|
/** Mutations */
|
|
2733
|
+
export type MutationCreateSalesGoalArgs = {
|
|
2734
|
+
input: CreateSalesGoalInput;
|
|
2735
|
+
};
|
|
2736
|
+
/** Mutations */
|
|
2737
|
+
export type MutationCreateSavedSearchSpotArgs = {
|
|
2738
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
2739
|
+
name: Scalars['String']['input'];
|
|
2740
|
+
urlParams: Scalars['String']['input'];
|
|
2741
|
+
};
|
|
2742
|
+
/** Mutations */
|
|
2612
2743
|
export type MutationCreateSegmentArgs = {
|
|
2613
2744
|
input: SegmentInput;
|
|
2614
2745
|
};
|
|
@@ -2669,6 +2800,14 @@ export type MutationDeleteRfqlineitemArgs = {
|
|
|
2669
2800
|
id: Scalars['ID']['input'];
|
|
2670
2801
|
};
|
|
2671
2802
|
/** Mutations */
|
|
2803
|
+
export type MutationDeleteSalesGoalArgs = {
|
|
2804
|
+
id: Scalars['Int']['input'];
|
|
2805
|
+
};
|
|
2806
|
+
/** Mutations */
|
|
2807
|
+
export type MutationDeleteSavedSearchSpotArgs = {
|
|
2808
|
+
id: Scalars['ID']['input'];
|
|
2809
|
+
};
|
|
2810
|
+
/** Mutations */
|
|
2672
2811
|
export type MutationDeleteSegmentArgs = {
|
|
2673
2812
|
id: Scalars['ID']['input'];
|
|
2674
2813
|
};
|
|
@@ -2968,6 +3107,11 @@ export type MutationUpdateRfqlineitemArgs = {
|
|
|
2968
3107
|
input: RfqLineItemInput;
|
|
2969
3108
|
};
|
|
2970
3109
|
/** Mutations */
|
|
3110
|
+
export type MutationUpdateSalesGoalArgs = {
|
|
3111
|
+
id: Scalars['Int']['input'];
|
|
3112
|
+
input: UpdateSalesGoalInput;
|
|
3113
|
+
};
|
|
3114
|
+
/** Mutations */
|
|
2971
3115
|
export type MutationUpdateSegmentArgs = {
|
|
2972
3116
|
input: SegmentInput;
|
|
2973
3117
|
};
|
|
@@ -3310,10 +3454,10 @@ export type Procurement_RfqFilterInput = {
|
|
|
3310
3454
|
deliveryLocation?: InputMaybe<Scalars['String']['input']>;
|
|
3311
3455
|
emailBody?: InputMaybe<Scalars['String']['input']>;
|
|
3312
3456
|
emailSubject?: InputMaybe<Scalars['String']['input']>;
|
|
3457
|
+
fob?: InputMaybe<Scalars['String']['input']>;
|
|
3313
3458
|
freeFormItems?: InputMaybe<Scalars['String']['input']>;
|
|
3314
3459
|
includeItemsTable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3315
3460
|
includeTerms?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3316
|
-
incoterm?: InputMaybe<Scalars['String']['input']>;
|
|
3317
3461
|
internalReferenceNumber?: InputMaybe<Scalars['String']['input']>;
|
|
3318
3462
|
partialShipmentsAllowed?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3319
3463
|
paymentTerms?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3415,15 +3559,15 @@ export type Procurement_RfqType = {
|
|
|
3415
3559
|
deliveryLocation?: Maybe<Scalars['String']['output']>;
|
|
3416
3560
|
emailBody?: Maybe<Scalars['String']['output']>;
|
|
3417
3561
|
emailSubject?: Maybe<Scalars['String']['output']>;
|
|
3562
|
+
fob?: Maybe<Scalars['String']['output']>;
|
|
3418
3563
|
freeFormItems?: Maybe<Scalars['String']['output']>;
|
|
3419
3564
|
id: Scalars['ID']['output'];
|
|
3420
3565
|
includeItemsTable: Scalars['Boolean']['output'];
|
|
3421
3566
|
includeTerms: Scalars['Boolean']['output'];
|
|
3422
|
-
incoterm: Scalars['String']['output'];
|
|
3423
3567
|
internalReferenceNumber?: Maybe<Scalars['String']['output']>;
|
|
3424
3568
|
packagingRequirements: Scalars['JSONString']['output'];
|
|
3425
3569
|
partialShipmentsAllowed: Scalars['Boolean']['output'];
|
|
3426
|
-
paymentTerms
|
|
3570
|
+
paymentTerms?: Maybe<Scalars['String']['output']>;
|
|
3427
3571
|
priority: Scalars['String']['output'];
|
|
3428
3572
|
products: Scalars['JSONString']['output'];
|
|
3429
3573
|
qualityRequirements: Scalars['JSONString']['output'];
|
|
@@ -3614,6 +3758,14 @@ export type Query = {
|
|
|
3614
3758
|
rfqSuppliers?: Maybe<Array<RfqSupplierObject>>;
|
|
3615
3759
|
rfqlineitem?: Maybe<Procurement_RfqLineItemType>;
|
|
3616
3760
|
rfqlineitemList?: Maybe<PaginatedProcurement_RfqLineItemResponse>;
|
|
3761
|
+
/** Get a specific sales goal by ID */
|
|
3762
|
+
salesGoal?: Maybe<SalesGoalObject>;
|
|
3763
|
+
/** Get sales goal performance report with actuals vs goals for a given sales goal and optional user */
|
|
3764
|
+
salesGoalReport?: Maybe<SalesGoalReportType>;
|
|
3765
|
+
/** List all sales goals with optional year filter */
|
|
3766
|
+
salesGoals?: Maybe<Array<Maybe<SalesGoalObject>>>;
|
|
3767
|
+
/** Get all saved search spots for the current user */
|
|
3768
|
+
savedSearchSpots?: Maybe<Array<Maybe<SavedSearchSpotType>>>;
|
|
3617
3769
|
searchContacts?: Maybe<PaginatedContactList>;
|
|
3618
3770
|
/** Get a specific segment by ID */
|
|
3619
3771
|
segment?: Maybe<SegmentObject>;
|
|
@@ -3907,6 +4059,19 @@ export type QueryRfqlineitemListArgs = {
|
|
|
3907
4059
|
pagination?: InputMaybe<PaginationInput>;
|
|
3908
4060
|
};
|
|
3909
4061
|
/** Query */
|
|
4062
|
+
export type QuerySalesGoalArgs = {
|
|
4063
|
+
id: Scalars['Int']['input'];
|
|
4064
|
+
};
|
|
4065
|
+
/** Query */
|
|
4066
|
+
export type QuerySalesGoalReportArgs = {
|
|
4067
|
+
forUser?: InputMaybe<Scalars['Int']['input']>;
|
|
4068
|
+
salesGoalId: Scalars['Int']['input'];
|
|
4069
|
+
};
|
|
4070
|
+
/** Query */
|
|
4071
|
+
export type QuerySalesGoalsArgs = {
|
|
4072
|
+
filters?: InputMaybe<SalesGoalFilterInput>;
|
|
4073
|
+
};
|
|
4074
|
+
/** Query */
|
|
3910
4075
|
export type QuerySearchContactsArgs = {
|
|
3911
4076
|
filters?: InputMaybe<ContactFilterInput>;
|
|
3912
4077
|
pagination?: InputMaybe<PaginationInput>;
|
|
@@ -4172,14 +4337,14 @@ export type RfqInput = {
|
|
|
4172
4337
|
deliveryLocation?: InputMaybe<Scalars['String']['input']>;
|
|
4173
4338
|
emailBody?: InputMaybe<Scalars['String']['input']>;
|
|
4174
4339
|
emailSubject?: InputMaybe<Scalars['String']['input']>;
|
|
4340
|
+
fob?: InputMaybe<Scalars['String']['input']>;
|
|
4175
4341
|
freeFormItems?: InputMaybe<Scalars['String']['input']>;
|
|
4176
4342
|
includeItemsTable: Scalars['Boolean']['input'];
|
|
4177
4343
|
includeTerms: Scalars['Boolean']['input'];
|
|
4178
|
-
incoterm: Scalars['String']['input'];
|
|
4179
4344
|
internalReferenceNumber?: InputMaybe<Scalars['String']['input']>;
|
|
4180
4345
|
packagingRequirements?: InputMaybe<Scalars['String']['input']>;
|
|
4181
4346
|
partialShipmentsAllowed: Scalars['Boolean']['input'];
|
|
4182
|
-
paymentTerms
|
|
4347
|
+
paymentTerms?: InputMaybe<Scalars['String']['input']>;
|
|
4183
4348
|
priority: Scalars['String']['input'];
|
|
4184
4349
|
products?: InputMaybe<Scalars['String']['input']>;
|
|
4185
4350
|
qualityRequirements?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -4219,6 +4384,65 @@ export declare enum SaasSubscriptionStatusChoices {
|
|
|
4219
4384
|
/** Cancelled */
|
|
4220
4385
|
Cancelled = "CANCELLED"
|
|
4221
4386
|
}
|
|
4387
|
+
/** Input type for filtering sales goals */
|
|
4388
|
+
export type SalesGoalFilterInput = {
|
|
4389
|
+
/** Filter by year */
|
|
4390
|
+
year?: InputMaybe<Scalars['Int']['input']>;
|
|
4391
|
+
};
|
|
4392
|
+
/** Represents a single metric with actual and goal values. */
|
|
4393
|
+
export type SalesGoalMetricType = {
|
|
4394
|
+
__typename?: 'SalesGoalMetricType';
|
|
4395
|
+
/** Indicates whether the metric goal was met or exceeded */
|
|
4396
|
+
achieved?: Maybe<Scalars['Boolean']['output']>;
|
|
4397
|
+
/** Actual value achieved for the metric */
|
|
4398
|
+
actual?: Maybe<Scalars['Int']['output']>;
|
|
4399
|
+
/** Completion percentage for this metric (actual / goal * 100) */
|
|
4400
|
+
completedPercentage?: Maybe<Scalars['Float']['output']>;
|
|
4401
|
+
/** Goal value set for the metric */
|
|
4402
|
+
goal?: Maybe<Scalars['Int']['output']>;
|
|
4403
|
+
};
|
|
4404
|
+
/** GraphQL type for SalesGoal model */
|
|
4405
|
+
export type SalesGoalObject = {
|
|
4406
|
+
__typename?: 'SalesGoalObject';
|
|
4407
|
+
account: AccountDjangoType;
|
|
4408
|
+
createdAt: Scalars['DateTime']['output'];
|
|
4409
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
4410
|
+
endDate: Scalars['Date']['output'];
|
|
4411
|
+
goals: Scalars['JSONString']['output'];
|
|
4412
|
+
id: Scalars['ID']['output'];
|
|
4413
|
+
/** Month (1-12) for MONTH type goals */
|
|
4414
|
+
month?: Maybe<Scalars['Int']['output']>;
|
|
4415
|
+
name: Scalars['String']['output'];
|
|
4416
|
+
/** Quarter (1-4) for QUARTER type goals */
|
|
4417
|
+
quarter?: Maybe<Scalars['Int']['output']>;
|
|
4418
|
+
startDate: Scalars['Date']['output'];
|
|
4419
|
+
type: AppSalesGoalTypeChoices;
|
|
4420
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
4421
|
+
/** Year for MONTH, QUARTER, or YEAR type goals */
|
|
4422
|
+
year?: Maybe<Scalars['Int']['output']>;
|
|
4423
|
+
};
|
|
4424
|
+
/** Sales goal performance report with actuals vs goals for each metric. */
|
|
4425
|
+
export type SalesGoalReportType = {
|
|
4426
|
+
__typename?: 'SalesGoalReportType';
|
|
4427
|
+
/** Leads moved to Outreach during the goal period */
|
|
4428
|
+
addedToOutreach?: Maybe<SalesGoalMetricType>;
|
|
4429
|
+
/** Calls made during the goal period */
|
|
4430
|
+
calls?: Maybe<SalesGoalMetricType>;
|
|
4431
|
+
/** Customers won during the goal period */
|
|
4432
|
+
customersWon?: Maybe<SalesGoalMetricType>;
|
|
4433
|
+
/** Emails sent during the goal period */
|
|
4434
|
+
emailsSent?: Maybe<SalesGoalMetricType>;
|
|
4435
|
+
/** Leads saved during the goal period */
|
|
4436
|
+
leadsSaved?: Maybe<SalesGoalMetricType>;
|
|
4437
|
+
/** Meeting connections during the goal period */
|
|
4438
|
+
meetingConnections?: Maybe<SalesGoalMetricType>;
|
|
4439
|
+
/** Leads moved to Conversation during the goal period */
|
|
4440
|
+
movedToConversation?: Maybe<SalesGoalMetricType>;
|
|
4441
|
+
/** Weighted overall completion percentage across all sales goal metrics */
|
|
4442
|
+
overallCompletedPercentage?: Maybe<Scalars['Float']['output']>;
|
|
4443
|
+
/** RFQs created during the goal period */
|
|
4444
|
+
rfqs?: Maybe<SalesGoalMetricType>;
|
|
4445
|
+
};
|
|
4222
4446
|
/** Per-salesperson statistics */
|
|
4223
4447
|
export type SalespersonStatsObject = {
|
|
4224
4448
|
__typename?: 'SalespersonStatsObject';
|
|
@@ -4250,6 +4474,15 @@ export type SaveNylasConnectionInput = {
|
|
|
4250
4474
|
/** Email provider (e.g., gmail, outlook) */
|
|
4251
4475
|
provider: Scalars['String']['input'];
|
|
4252
4476
|
};
|
|
4477
|
+
export type SavedSearchSpotType = {
|
|
4478
|
+
__typename?: 'SavedSearchSpotType';
|
|
4479
|
+
createdAt: Scalars['DateTime']['output'];
|
|
4480
|
+
description: Scalars['String']['output'];
|
|
4481
|
+
id: Scalars['ID']['output'];
|
|
4482
|
+
name: Scalars['String']['output'];
|
|
4483
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
4484
|
+
urlParams: Scalars['String']['output'];
|
|
4485
|
+
};
|
|
4253
4486
|
export type ScheduleCampaign = {
|
|
4254
4487
|
__typename?: 'ScheduleCampaign';
|
|
4255
4488
|
campaign?: Maybe<CampaignObject>;
|
|
@@ -4476,6 +4709,7 @@ export type SupplierObject = {
|
|
|
4476
4709
|
employeeSize?: Maybe<Scalars['String']['output']>;
|
|
4477
4710
|
id: Scalars['ID']['output'];
|
|
4478
4711
|
location?: Maybe<Scalars['String']['output']>;
|
|
4712
|
+
logoUrl?: Maybe<Scalars['String']['output']>;
|
|
4479
4713
|
mySupplierId?: Maybe<Scalars['ID']['output']>;
|
|
4480
4714
|
name: Scalars['String']['output'];
|
|
4481
4715
|
productsSold?: Maybe<Array<Maybe<SupplierProductObject>>>;
|
|
@@ -4732,6 +4966,18 @@ export type UpdateEmailTemplate = {
|
|
|
4732
4966
|
message?: Maybe<Scalars['String']['output']>;
|
|
4733
4967
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
4734
4968
|
};
|
|
4969
|
+
/** Mutation to update an existing sales goal */
|
|
4970
|
+
export type UpdateSalesGoal = {
|
|
4971
|
+
__typename?: 'UpdateSalesGoal';
|
|
4972
|
+
errors?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
4973
|
+
salesGoal?: Maybe<SalesGoalObject>;
|
|
4974
|
+
success?: Maybe<Scalars['Boolean']['output']>;
|
|
4975
|
+
};
|
|
4976
|
+
/** Input type for updating a sales goal */
|
|
4977
|
+
export type UpdateSalesGoalInput = {
|
|
4978
|
+
/** Goals JSON: {user_id: {metric: value}} */
|
|
4979
|
+
goals: Scalars['JSONString']['input'];
|
|
4980
|
+
};
|
|
4735
4981
|
export type UpdateSegment = {
|
|
4736
4982
|
__typename?: 'UpdateSegment';
|
|
4737
4983
|
message?: Maybe<Scalars['String']['output']>;
|
|
@@ -5591,6 +5837,18 @@ export type ClearAllNotificationsMutation = {
|
|
|
5591
5837
|
message?: string | null;
|
|
5592
5838
|
} | null;
|
|
5593
5839
|
};
|
|
5840
|
+
export type ClearAllSavedSearchSpotsMutationVariables = Exact<{
|
|
5841
|
+
[key: string]: never;
|
|
5842
|
+
}>;
|
|
5843
|
+
export type ClearAllSavedSearchSpotsMutation = {
|
|
5844
|
+
__typename?: 'Mutation';
|
|
5845
|
+
clearAllSavedSearchSpots?: {
|
|
5846
|
+
__typename?: 'ClearAllSavedSearchSpots';
|
|
5847
|
+
count?: number | null;
|
|
5848
|
+
success?: boolean | null;
|
|
5849
|
+
message?: string | null;
|
|
5850
|
+
} | null;
|
|
5851
|
+
};
|
|
5594
5852
|
export type CompleteCampaignMutationVariables = Exact<{
|
|
5595
5853
|
id: Scalars['ID']['input'];
|
|
5596
5854
|
}>;
|
|
@@ -5694,8 +5952,8 @@ export type CompleteRfqMutation = {
|
|
|
5694
5952
|
quoteDeadline?: any | null;
|
|
5695
5953
|
deliveryDeadline?: any | null;
|
|
5696
5954
|
products: any;
|
|
5697
|
-
|
|
5698
|
-
paymentTerms
|
|
5955
|
+
fob?: string | null;
|
|
5956
|
+
paymentTerms?: string | null;
|
|
5699
5957
|
partialShipmentsAllowed: boolean;
|
|
5700
5958
|
deliveryLocation?: string | null;
|
|
5701
5959
|
packagingRequirements: any;
|
|
@@ -7934,8 +8192,8 @@ export type CreateRfqMutation = {
|
|
|
7934
8192
|
quoteDeadline?: any | null;
|
|
7935
8193
|
deliveryDeadline?: any | null;
|
|
7936
8194
|
products: any;
|
|
7937
|
-
|
|
7938
|
-
paymentTerms
|
|
8195
|
+
fob?: string | null;
|
|
8196
|
+
paymentTerms?: string | null;
|
|
7939
8197
|
partialShipmentsAllowed: boolean;
|
|
7940
8198
|
deliveryLocation?: string | null;
|
|
7941
8199
|
packagingRequirements: any;
|
|
@@ -8113,8 +8371,8 @@ export type CreateRfqlineitemMutation = {
|
|
|
8113
8371
|
quoteDeadline?: any | null;
|
|
8114
8372
|
deliveryDeadline?: any | null;
|
|
8115
8373
|
products: any;
|
|
8116
|
-
|
|
8117
|
-
paymentTerms
|
|
8374
|
+
fob?: string | null;
|
|
8375
|
+
paymentTerms?: string | null;
|
|
8118
8376
|
partialShipmentsAllowed: boolean;
|
|
8119
8377
|
deliveryLocation?: string | null;
|
|
8120
8378
|
packagingRequirements: any;
|
|
@@ -8238,6 +8496,62 @@ export type CreateRfqlineitemMutation = {
|
|
|
8238
8496
|
};
|
|
8239
8497
|
} | null;
|
|
8240
8498
|
};
|
|
8499
|
+
export type CreateSalesGoalMutationVariables = Exact<{
|
|
8500
|
+
input: CreateSalesGoalInput;
|
|
8501
|
+
}>;
|
|
8502
|
+
export type CreateSalesGoalMutation = {
|
|
8503
|
+
__typename?: 'Mutation';
|
|
8504
|
+
createSalesGoal?: {
|
|
8505
|
+
__typename?: 'CreateSalesGoal';
|
|
8506
|
+
success?: boolean | null;
|
|
8507
|
+
errors?: Array<string | null> | null;
|
|
8508
|
+
salesGoal?: {
|
|
8509
|
+
__typename?: 'SalesGoalObject';
|
|
8510
|
+
id: string;
|
|
8511
|
+
createdAt: any;
|
|
8512
|
+
updatedAt: any;
|
|
8513
|
+
name: string;
|
|
8514
|
+
description?: string | null;
|
|
8515
|
+
startDate: any;
|
|
8516
|
+
endDate: any;
|
|
8517
|
+
type: AppSalesGoalTypeChoices;
|
|
8518
|
+
goals: any;
|
|
8519
|
+
month?: number | null;
|
|
8520
|
+
quarter?: number | null;
|
|
8521
|
+
year?: number | null;
|
|
8522
|
+
account: {
|
|
8523
|
+
__typename?: 'AccountDjangoType';
|
|
8524
|
+
id: string;
|
|
8525
|
+
createdAt: any;
|
|
8526
|
+
updatedAt: any;
|
|
8527
|
+
name: string;
|
|
8528
|
+
isActive: boolean;
|
|
8529
|
+
};
|
|
8530
|
+
} | null;
|
|
8531
|
+
} | null;
|
|
8532
|
+
};
|
|
8533
|
+
export type CreateSavedSearchSpotMutationVariables = Exact<{
|
|
8534
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
8535
|
+
name: Scalars['String']['input'];
|
|
8536
|
+
urlParams: Scalars['String']['input'];
|
|
8537
|
+
}>;
|
|
8538
|
+
export type CreateSavedSearchSpotMutation = {
|
|
8539
|
+
__typename?: 'Mutation';
|
|
8540
|
+
createSavedSearchSpot?: {
|
|
8541
|
+
__typename?: 'CreateSavedSearchSpot';
|
|
8542
|
+
success?: boolean | null;
|
|
8543
|
+
message?: string | null;
|
|
8544
|
+
spot?: {
|
|
8545
|
+
__typename?: 'SavedSearchSpotType';
|
|
8546
|
+
id: string;
|
|
8547
|
+
createdAt: any;
|
|
8548
|
+
updatedAt: any;
|
|
8549
|
+
name: string;
|
|
8550
|
+
urlParams: string;
|
|
8551
|
+
description: string;
|
|
8552
|
+
} | null;
|
|
8553
|
+
} | null;
|
|
8554
|
+
};
|
|
8241
8555
|
export type CreateSegmentMutationVariables = Exact<{
|
|
8242
8556
|
input: SegmentInput;
|
|
8243
8557
|
}>;
|
|
@@ -9230,6 +9544,28 @@ export type DeleteRfqlineitemMutation = {
|
|
|
9230
9544
|
message?: string | null;
|
|
9231
9545
|
} | null;
|
|
9232
9546
|
};
|
|
9547
|
+
export type DeleteSalesGoalMutationVariables = Exact<{
|
|
9548
|
+
id: Scalars['Int']['input'];
|
|
9549
|
+
}>;
|
|
9550
|
+
export type DeleteSalesGoalMutation = {
|
|
9551
|
+
__typename?: 'Mutation';
|
|
9552
|
+
deleteSalesGoal?: {
|
|
9553
|
+
__typename?: 'DeleteSalesGoal';
|
|
9554
|
+
success?: boolean | null;
|
|
9555
|
+
errors?: Array<string | null> | null;
|
|
9556
|
+
} | null;
|
|
9557
|
+
};
|
|
9558
|
+
export type DeleteSavedSearchSpotMutationVariables = Exact<{
|
|
9559
|
+
id: Scalars['ID']['input'];
|
|
9560
|
+
}>;
|
|
9561
|
+
export type DeleteSavedSearchSpotMutation = {
|
|
9562
|
+
__typename?: 'Mutation';
|
|
9563
|
+
deleteSavedSearchSpot?: {
|
|
9564
|
+
__typename?: 'DeleteSavedSearchSpot';
|
|
9565
|
+
success?: boolean | null;
|
|
9566
|
+
message?: string | null;
|
|
9567
|
+
} | null;
|
|
9568
|
+
};
|
|
9233
9569
|
export type DeleteSegmentMutationVariables = Exact<{
|
|
9234
9570
|
id: Scalars['ID']['input'];
|
|
9235
9571
|
}>;
|
|
@@ -10400,8 +10736,8 @@ export type ScheduleRfqMutation = {
|
|
|
10400
10736
|
quoteDeadline?: any | null;
|
|
10401
10737
|
deliveryDeadline?: any | null;
|
|
10402
10738
|
products: any;
|
|
10403
|
-
|
|
10404
|
-
paymentTerms
|
|
10739
|
+
fob?: string | null;
|
|
10740
|
+
paymentTerms?: string | null;
|
|
10405
10741
|
partialShipmentsAllowed: boolean;
|
|
10406
10742
|
deliveryLocation?: string | null;
|
|
10407
10743
|
packagingRequirements: any;
|
|
@@ -10833,6 +11169,7 @@ export type SendManualEmailMutation = {
|
|
|
10833
11169
|
taskId?: string | null;
|
|
10834
11170
|
draftSubject?: string | null;
|
|
10835
11171
|
draftBody?: string | null;
|
|
11172
|
+
sentSubject?: string | null;
|
|
10836
11173
|
createdAt?: any | null;
|
|
10837
11174
|
updatedAt?: any | null;
|
|
10838
11175
|
contactName?: string | null;
|
|
@@ -11998,6 +12335,7 @@ export type UpdateCombinedCampaignLogMutation = {
|
|
|
11998
12335
|
taskId?: string | null;
|
|
11999
12336
|
draftSubject?: string | null;
|
|
12000
12337
|
draftBody?: string | null;
|
|
12338
|
+
sentSubject?: string | null;
|
|
12001
12339
|
createdAt?: any | null;
|
|
12002
12340
|
updatedAt?: any | null;
|
|
12003
12341
|
contactName?: string | null;
|
|
@@ -13970,8 +14308,8 @@ export type UpdateRfqMutation = {
|
|
|
13970
14308
|
quoteDeadline?: any | null;
|
|
13971
14309
|
deliveryDeadline?: any | null;
|
|
13972
14310
|
products: any;
|
|
13973
|
-
|
|
13974
|
-
paymentTerms
|
|
14311
|
+
fob?: string | null;
|
|
14312
|
+
paymentTerms?: string | null;
|
|
13975
14313
|
partialShipmentsAllowed: boolean;
|
|
13976
14314
|
deliveryLocation?: string | null;
|
|
13977
14315
|
packagingRequirements: any;
|
|
@@ -14150,8 +14488,8 @@ export type UpdateRfqlineitemMutation = {
|
|
|
14150
14488
|
quoteDeadline?: any | null;
|
|
14151
14489
|
deliveryDeadline?: any | null;
|
|
14152
14490
|
products: any;
|
|
14153
|
-
|
|
14154
|
-
paymentTerms
|
|
14491
|
+
fob?: string | null;
|
|
14492
|
+
paymentTerms?: string | null;
|
|
14155
14493
|
partialShipmentsAllowed: boolean;
|
|
14156
14494
|
deliveryLocation?: string | null;
|
|
14157
14495
|
packagingRequirements: any;
|
|
@@ -14275,6 +14613,41 @@ export type UpdateRfqlineitemMutation = {
|
|
|
14275
14613
|
};
|
|
14276
14614
|
} | null;
|
|
14277
14615
|
};
|
|
14616
|
+
export type UpdateSalesGoalMutationVariables = Exact<{
|
|
14617
|
+
id: Scalars['Int']['input'];
|
|
14618
|
+
input: UpdateSalesGoalInput;
|
|
14619
|
+
}>;
|
|
14620
|
+
export type UpdateSalesGoalMutation = {
|
|
14621
|
+
__typename?: 'Mutation';
|
|
14622
|
+
updateSalesGoal?: {
|
|
14623
|
+
__typename?: 'UpdateSalesGoal';
|
|
14624
|
+
success?: boolean | null;
|
|
14625
|
+
errors?: Array<string | null> | null;
|
|
14626
|
+
salesGoal?: {
|
|
14627
|
+
__typename?: 'SalesGoalObject';
|
|
14628
|
+
id: string;
|
|
14629
|
+
createdAt: any;
|
|
14630
|
+
updatedAt: any;
|
|
14631
|
+
name: string;
|
|
14632
|
+
description?: string | null;
|
|
14633
|
+
startDate: any;
|
|
14634
|
+
endDate: any;
|
|
14635
|
+
type: AppSalesGoalTypeChoices;
|
|
14636
|
+
goals: any;
|
|
14637
|
+
month?: number | null;
|
|
14638
|
+
quarter?: number | null;
|
|
14639
|
+
year?: number | null;
|
|
14640
|
+
account: {
|
|
14641
|
+
__typename?: 'AccountDjangoType';
|
|
14642
|
+
id: string;
|
|
14643
|
+
createdAt: any;
|
|
14644
|
+
updatedAt: any;
|
|
14645
|
+
name: string;
|
|
14646
|
+
isActive: boolean;
|
|
14647
|
+
};
|
|
14648
|
+
} | null;
|
|
14649
|
+
} | null;
|
|
14650
|
+
};
|
|
14278
14651
|
export type UpdateSegmentMutationVariables = Exact<{
|
|
14279
14652
|
input: SegmentInput;
|
|
14280
14653
|
}>;
|
|
@@ -16174,6 +16547,8 @@ export type CampaignContactsQuery = {
|
|
|
16174
16547
|
lastContactedAt?: any | null;
|
|
16175
16548
|
stepId?: string | null;
|
|
16176
16549
|
stepOrder?: number | null;
|
|
16550
|
+
populatedSubject?: string | null;
|
|
16551
|
+
populatedBody?: string | null;
|
|
16177
16552
|
lastContactedBy?: {
|
|
16178
16553
|
__typename?: 'UserType';
|
|
16179
16554
|
id?: string | null;
|
|
@@ -16234,6 +16609,7 @@ export type CampaignContactsQuery = {
|
|
|
16234
16609
|
taskId?: string | null;
|
|
16235
16610
|
draftSubject?: string | null;
|
|
16236
16611
|
draftBody?: string | null;
|
|
16612
|
+
sentSubject?: string | null;
|
|
16237
16613
|
createdAt?: any | null;
|
|
16238
16614
|
updatedAt?: any | null;
|
|
16239
16615
|
contactName?: string | null;
|
|
@@ -17050,6 +17426,8 @@ export type CombinedCampaignContactsQuery = {
|
|
|
17050
17426
|
lastContactedAt?: any | null;
|
|
17051
17427
|
stepId?: string | null;
|
|
17052
17428
|
stepOrder?: number | null;
|
|
17429
|
+
populatedSubject?: string | null;
|
|
17430
|
+
populatedBody?: string | null;
|
|
17053
17431
|
lastContactedBy?: {
|
|
17054
17432
|
__typename?: 'UserType';
|
|
17055
17433
|
id?: string | null;
|
|
@@ -17110,6 +17488,7 @@ export type CombinedCampaignContactsQuery = {
|
|
|
17110
17488
|
taskId?: string | null;
|
|
17111
17489
|
draftSubject?: string | null;
|
|
17112
17490
|
draftBody?: string | null;
|
|
17491
|
+
sentSubject?: string | null;
|
|
17113
17492
|
createdAt?: any | null;
|
|
17114
17493
|
updatedAt?: any | null;
|
|
17115
17494
|
contactName?: string | null;
|
|
@@ -17416,6 +17795,7 @@ export type CombinedCampaignLogsQuery = {
|
|
|
17416
17795
|
taskId?: string | null;
|
|
17417
17796
|
draftSubject?: string | null;
|
|
17418
17797
|
draftBody?: string | null;
|
|
17798
|
+
sentSubject?: string | null;
|
|
17419
17799
|
createdAt?: any | null;
|
|
17420
17800
|
updatedAt?: any | null;
|
|
17421
17801
|
contactName?: string | null;
|
|
@@ -23340,8 +23720,8 @@ export type RfqQuery = {
|
|
|
23340
23720
|
quoteDeadline?: any | null;
|
|
23341
23721
|
deliveryDeadline?: any | null;
|
|
23342
23722
|
products: any;
|
|
23343
|
-
|
|
23344
|
-
paymentTerms
|
|
23723
|
+
fob?: string | null;
|
|
23724
|
+
paymentTerms?: string | null;
|
|
23345
23725
|
partialShipmentsAllowed: boolean;
|
|
23346
23726
|
deliveryLocation?: string | null;
|
|
23347
23727
|
packagingRequirements: any;
|
|
@@ -23504,8 +23884,8 @@ export type RfqListQuery = {
|
|
|
23504
23884
|
quoteDeadline?: any | null;
|
|
23505
23885
|
deliveryDeadline?: any | null;
|
|
23506
23886
|
products: any;
|
|
23507
|
-
|
|
23508
|
-
paymentTerms
|
|
23887
|
+
fob?: string | null;
|
|
23888
|
+
paymentTerms?: string | null;
|
|
23509
23889
|
partialShipmentsAllowed: boolean;
|
|
23510
23890
|
deliveryLocation?: string | null;
|
|
23511
23891
|
packagingRequirements: any;
|
|
@@ -23704,8 +24084,8 @@ export type RfqlineitemQuery = {
|
|
|
23704
24084
|
quoteDeadline?: any | null;
|
|
23705
24085
|
deliveryDeadline?: any | null;
|
|
23706
24086
|
products: any;
|
|
23707
|
-
|
|
23708
|
-
paymentTerms
|
|
24087
|
+
fob?: string | null;
|
|
24088
|
+
paymentTerms?: string | null;
|
|
23709
24089
|
partialShipmentsAllowed: boolean;
|
|
23710
24090
|
deliveryLocation?: string | null;
|
|
23711
24091
|
packagingRequirements: any;
|
|
@@ -23868,8 +24248,8 @@ export type RfqlineitemListQuery = {
|
|
|
23868
24248
|
quoteDeadline?: any | null;
|
|
23869
24249
|
deliveryDeadline?: any | null;
|
|
23870
24250
|
products: any;
|
|
23871
|
-
|
|
23872
|
-
paymentTerms
|
|
24251
|
+
fob?: string | null;
|
|
24252
|
+
paymentTerms?: string | null;
|
|
23873
24253
|
partialShipmentsAllowed: boolean;
|
|
23874
24254
|
deliveryLocation?: string | null;
|
|
23875
24255
|
packagingRequirements: any;
|
|
@@ -24003,6 +24383,146 @@ export type RfqlineitemListQuery = {
|
|
|
24003
24383
|
};
|
|
24004
24384
|
} | null;
|
|
24005
24385
|
};
|
|
24386
|
+
export type SalesGoalQueryVariables = Exact<{
|
|
24387
|
+
id: Scalars['Int']['input'];
|
|
24388
|
+
}>;
|
|
24389
|
+
export type SalesGoalQuery = {
|
|
24390
|
+
__typename?: 'Query';
|
|
24391
|
+
salesGoal?: {
|
|
24392
|
+
__typename?: 'SalesGoalObject';
|
|
24393
|
+
id: string;
|
|
24394
|
+
createdAt: any;
|
|
24395
|
+
updatedAt: any;
|
|
24396
|
+
name: string;
|
|
24397
|
+
description?: string | null;
|
|
24398
|
+
startDate: any;
|
|
24399
|
+
endDate: any;
|
|
24400
|
+
type: AppSalesGoalTypeChoices;
|
|
24401
|
+
goals: any;
|
|
24402
|
+
month?: number | null;
|
|
24403
|
+
quarter?: number | null;
|
|
24404
|
+
year?: number | null;
|
|
24405
|
+
account: {
|
|
24406
|
+
__typename?: 'AccountDjangoType';
|
|
24407
|
+
id: string;
|
|
24408
|
+
createdAt: any;
|
|
24409
|
+
updatedAt: any;
|
|
24410
|
+
name: string;
|
|
24411
|
+
isActive: boolean;
|
|
24412
|
+
};
|
|
24413
|
+
} | null;
|
|
24414
|
+
};
|
|
24415
|
+
export type SalesGoalReportQueryVariables = Exact<{
|
|
24416
|
+
salesGoalId: Scalars['Int']['input'];
|
|
24417
|
+
forUser?: InputMaybe<Scalars['Int']['input']>;
|
|
24418
|
+
}>;
|
|
24419
|
+
export type SalesGoalReportQuery = {
|
|
24420
|
+
__typename?: 'Query';
|
|
24421
|
+
salesGoalReport?: {
|
|
24422
|
+
__typename?: 'SalesGoalReportType';
|
|
24423
|
+
overallCompletedPercentage?: number | null;
|
|
24424
|
+
rfqs?: {
|
|
24425
|
+
__typename?: 'SalesGoalMetricType';
|
|
24426
|
+
actual?: number | null;
|
|
24427
|
+
goal?: number | null;
|
|
24428
|
+
completedPercentage?: number | null;
|
|
24429
|
+
achieved?: boolean | null;
|
|
24430
|
+
} | null;
|
|
24431
|
+
calls?: {
|
|
24432
|
+
__typename?: 'SalesGoalMetricType';
|
|
24433
|
+
actual?: number | null;
|
|
24434
|
+
goal?: number | null;
|
|
24435
|
+
completedPercentage?: number | null;
|
|
24436
|
+
achieved?: boolean | null;
|
|
24437
|
+
} | null;
|
|
24438
|
+
emailsSent?: {
|
|
24439
|
+
__typename?: 'SalesGoalMetricType';
|
|
24440
|
+
actual?: number | null;
|
|
24441
|
+
goal?: number | null;
|
|
24442
|
+
completedPercentage?: number | null;
|
|
24443
|
+
achieved?: boolean | null;
|
|
24444
|
+
} | null;
|
|
24445
|
+
leadsSaved?: {
|
|
24446
|
+
__typename?: 'SalesGoalMetricType';
|
|
24447
|
+
actual?: number | null;
|
|
24448
|
+
goal?: number | null;
|
|
24449
|
+
completedPercentage?: number | null;
|
|
24450
|
+
achieved?: boolean | null;
|
|
24451
|
+
} | null;
|
|
24452
|
+
customersWon?: {
|
|
24453
|
+
__typename?: 'SalesGoalMetricType';
|
|
24454
|
+
actual?: number | null;
|
|
24455
|
+
goal?: number | null;
|
|
24456
|
+
completedPercentage?: number | null;
|
|
24457
|
+
achieved?: boolean | null;
|
|
24458
|
+
} | null;
|
|
24459
|
+
addedToOutreach?: {
|
|
24460
|
+
__typename?: 'SalesGoalMetricType';
|
|
24461
|
+
actual?: number | null;
|
|
24462
|
+
goal?: number | null;
|
|
24463
|
+
completedPercentage?: number | null;
|
|
24464
|
+
achieved?: boolean | null;
|
|
24465
|
+
} | null;
|
|
24466
|
+
meetingConnections?: {
|
|
24467
|
+
__typename?: 'SalesGoalMetricType';
|
|
24468
|
+
actual?: number | null;
|
|
24469
|
+
goal?: number | null;
|
|
24470
|
+
completedPercentage?: number | null;
|
|
24471
|
+
achieved?: boolean | null;
|
|
24472
|
+
} | null;
|
|
24473
|
+
movedToConversation?: {
|
|
24474
|
+
__typename?: 'SalesGoalMetricType';
|
|
24475
|
+
actual?: number | null;
|
|
24476
|
+
goal?: number | null;
|
|
24477
|
+
completedPercentage?: number | null;
|
|
24478
|
+
achieved?: boolean | null;
|
|
24479
|
+
} | null;
|
|
24480
|
+
} | null;
|
|
24481
|
+
};
|
|
24482
|
+
export type SalesGoalsQueryVariables = Exact<{
|
|
24483
|
+
filters?: InputMaybe<SalesGoalFilterInput>;
|
|
24484
|
+
}>;
|
|
24485
|
+
export type SalesGoalsQuery = {
|
|
24486
|
+
__typename?: 'Query';
|
|
24487
|
+
salesGoals?: Array<{
|
|
24488
|
+
__typename?: 'SalesGoalObject';
|
|
24489
|
+
id: string;
|
|
24490
|
+
createdAt: any;
|
|
24491
|
+
updatedAt: any;
|
|
24492
|
+
name: string;
|
|
24493
|
+
description?: string | null;
|
|
24494
|
+
startDate: any;
|
|
24495
|
+
endDate: any;
|
|
24496
|
+
type: AppSalesGoalTypeChoices;
|
|
24497
|
+
goals: any;
|
|
24498
|
+
month?: number | null;
|
|
24499
|
+
quarter?: number | null;
|
|
24500
|
+
year?: number | null;
|
|
24501
|
+
account: {
|
|
24502
|
+
__typename?: 'AccountDjangoType';
|
|
24503
|
+
id: string;
|
|
24504
|
+
createdAt: any;
|
|
24505
|
+
updatedAt: any;
|
|
24506
|
+
name: string;
|
|
24507
|
+
isActive: boolean;
|
|
24508
|
+
};
|
|
24509
|
+
} | null> | null;
|
|
24510
|
+
};
|
|
24511
|
+
export type SavedSearchSpotsQueryVariables = Exact<{
|
|
24512
|
+
[key: string]: never;
|
|
24513
|
+
}>;
|
|
24514
|
+
export type SavedSearchSpotsQuery = {
|
|
24515
|
+
__typename?: 'Query';
|
|
24516
|
+
savedSearchSpots?: Array<{
|
|
24517
|
+
__typename?: 'SavedSearchSpotType';
|
|
24518
|
+
id: string;
|
|
24519
|
+
createdAt: any;
|
|
24520
|
+
updatedAt: any;
|
|
24521
|
+
name: string;
|
|
24522
|
+
urlParams: string;
|
|
24523
|
+
description: string;
|
|
24524
|
+
} | null> | null;
|
|
24525
|
+
};
|
|
24006
24526
|
export type SearchContactsQueryVariables = Exact<{
|
|
24007
24527
|
filters?: InputMaybe<ContactFilterInput>;
|
|
24008
24528
|
pagination?: InputMaybe<PaginationInput>;
|
|
@@ -24177,6 +24697,7 @@ export type SupplierQuery = {
|
|
|
24177
24697
|
website?: string | null;
|
|
24178
24698
|
description?: string | null;
|
|
24179
24699
|
mySupplierId?: string | null;
|
|
24700
|
+
logoUrl?: string | null;
|
|
24180
24701
|
contacts?: Array<{
|
|
24181
24702
|
__typename?: 'ContactObject';
|
|
24182
24703
|
id?: string | null;
|
|
@@ -26420,6 +26941,7 @@ export type SuppliersQuery = {
|
|
|
26420
26941
|
website?: string | null;
|
|
26421
26942
|
description?: string | null;
|
|
26422
26943
|
mySupplierId?: string | null;
|
|
26944
|
+
logoUrl?: string | null;
|
|
26423
26945
|
contacts?: Array<{
|
|
26424
26946
|
__typename?: 'ContactObject';
|
|
26425
26947
|
id?: string | null;
|
|
@@ -27990,6 +28512,30 @@ export declare function useClearAllNotificationsMutation(baseOptions?: Apollo.Mu
|
|
|
27990
28512
|
export type ClearAllNotificationsMutationHookResult = ReturnType<typeof useClearAllNotificationsMutation>;
|
|
27991
28513
|
export type ClearAllNotificationsMutationResult = Apollo.MutationResult<ClearAllNotificationsMutation>;
|
|
27992
28514
|
export type ClearAllNotificationsMutationOptions = Apollo.BaseMutationOptions<ClearAllNotificationsMutation, ClearAllNotificationsMutationVariables>;
|
|
28515
|
+
export declare const ClearAllSavedSearchSpotsDocument: Apollo.DocumentNode;
|
|
28516
|
+
export type ClearAllSavedSearchSpotsMutationFn = Apollo.MutationFunction<ClearAllSavedSearchSpotsMutation, ClearAllSavedSearchSpotsMutationVariables>;
|
|
28517
|
+
/**
|
|
28518
|
+
* __useClearAllSavedSearchSpotsMutation__
|
|
28519
|
+
*
|
|
28520
|
+
* To run a mutation, you first call `useClearAllSavedSearchSpotsMutation` within a React component and pass it any options that fit your needs.
|
|
28521
|
+
* When your component renders, `useClearAllSavedSearchSpotsMutation` returns a tuple that includes:
|
|
28522
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
28523
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
28524
|
+
*
|
|
28525
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
28526
|
+
*
|
|
28527
|
+
* @example
|
|
28528
|
+
* const [clearAllSavedSearchSpotsMutation, { data, loading, error }] = useClearAllSavedSearchSpotsMutation({
|
|
28529
|
+
* variables: {
|
|
28530
|
+
* },
|
|
28531
|
+
* });
|
|
28532
|
+
*/
|
|
28533
|
+
export declare function useClearAllSavedSearchSpotsMutation(baseOptions?: Apollo.MutationHookOptions<ClearAllSavedSearchSpotsMutation, ClearAllSavedSearchSpotsMutationVariables>): Apollo.MutationTuple<ClearAllSavedSearchSpotsMutation, Exact<{
|
|
28534
|
+
[key: string]: never;
|
|
28535
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
28536
|
+
export type ClearAllSavedSearchSpotsMutationHookResult = ReturnType<typeof useClearAllSavedSearchSpotsMutation>;
|
|
28537
|
+
export type ClearAllSavedSearchSpotsMutationResult = Apollo.MutationResult<ClearAllSavedSearchSpotsMutation>;
|
|
28538
|
+
export type ClearAllSavedSearchSpotsMutationOptions = Apollo.BaseMutationOptions<ClearAllSavedSearchSpotsMutation, ClearAllSavedSearchSpotsMutationVariables>;
|
|
27993
28539
|
export declare const CompleteCampaignDocument: Apollo.DocumentNode;
|
|
27994
28540
|
export type CompleteCampaignMutationFn = Apollo.MutationFunction<CompleteCampaignMutation, CompleteCampaignMutationVariables>;
|
|
27995
28541
|
/**
|
|
@@ -28367,6 +28913,60 @@ export declare function useCreateRfqlineitemMutation(baseOptions?: Apollo.Mutati
|
|
|
28367
28913
|
export type CreateRfqlineitemMutationHookResult = ReturnType<typeof useCreateRfqlineitemMutation>;
|
|
28368
28914
|
export type CreateRfqlineitemMutationResult = Apollo.MutationResult<CreateRfqlineitemMutation>;
|
|
28369
28915
|
export type CreateRfqlineitemMutationOptions = Apollo.BaseMutationOptions<CreateRfqlineitemMutation, CreateRfqlineitemMutationVariables>;
|
|
28916
|
+
export declare const CreateSalesGoalDocument: Apollo.DocumentNode;
|
|
28917
|
+
export type CreateSalesGoalMutationFn = Apollo.MutationFunction<CreateSalesGoalMutation, CreateSalesGoalMutationVariables>;
|
|
28918
|
+
/**
|
|
28919
|
+
* __useCreateSalesGoalMutation__
|
|
28920
|
+
*
|
|
28921
|
+
* To run a mutation, you first call `useCreateSalesGoalMutation` within a React component and pass it any options that fit your needs.
|
|
28922
|
+
* When your component renders, `useCreateSalesGoalMutation` returns a tuple that includes:
|
|
28923
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
28924
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
28925
|
+
*
|
|
28926
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
28927
|
+
*
|
|
28928
|
+
* @example
|
|
28929
|
+
* const [createSalesGoalMutation, { data, loading, error }] = useCreateSalesGoalMutation({
|
|
28930
|
+
* variables: {
|
|
28931
|
+
* input: // value for 'input'
|
|
28932
|
+
* },
|
|
28933
|
+
* });
|
|
28934
|
+
*/
|
|
28935
|
+
export declare function useCreateSalesGoalMutation(baseOptions?: Apollo.MutationHookOptions<CreateSalesGoalMutation, CreateSalesGoalMutationVariables>): Apollo.MutationTuple<CreateSalesGoalMutation, Exact<{
|
|
28936
|
+
input: CreateSalesGoalInput;
|
|
28937
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
28938
|
+
export type CreateSalesGoalMutationHookResult = ReturnType<typeof useCreateSalesGoalMutation>;
|
|
28939
|
+
export type CreateSalesGoalMutationResult = Apollo.MutationResult<CreateSalesGoalMutation>;
|
|
28940
|
+
export type CreateSalesGoalMutationOptions = Apollo.BaseMutationOptions<CreateSalesGoalMutation, CreateSalesGoalMutationVariables>;
|
|
28941
|
+
export declare const CreateSavedSearchSpotDocument: Apollo.DocumentNode;
|
|
28942
|
+
export type CreateSavedSearchSpotMutationFn = Apollo.MutationFunction<CreateSavedSearchSpotMutation, CreateSavedSearchSpotMutationVariables>;
|
|
28943
|
+
/**
|
|
28944
|
+
* __useCreateSavedSearchSpotMutation__
|
|
28945
|
+
*
|
|
28946
|
+
* To run a mutation, you first call `useCreateSavedSearchSpotMutation` within a React component and pass it any options that fit your needs.
|
|
28947
|
+
* When your component renders, `useCreateSavedSearchSpotMutation` returns a tuple that includes:
|
|
28948
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
28949
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
28950
|
+
*
|
|
28951
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
28952
|
+
*
|
|
28953
|
+
* @example
|
|
28954
|
+
* const [createSavedSearchSpotMutation, { data, loading, error }] = useCreateSavedSearchSpotMutation({
|
|
28955
|
+
* variables: {
|
|
28956
|
+
* description: // value for 'description'
|
|
28957
|
+
* name: // value for 'name'
|
|
28958
|
+
* urlParams: // value for 'urlParams'
|
|
28959
|
+
* },
|
|
28960
|
+
* });
|
|
28961
|
+
*/
|
|
28962
|
+
export declare function useCreateSavedSearchSpotMutation(baseOptions?: Apollo.MutationHookOptions<CreateSavedSearchSpotMutation, CreateSavedSearchSpotMutationVariables>): Apollo.MutationTuple<CreateSavedSearchSpotMutation, Exact<{
|
|
28963
|
+
description?: InputMaybe<Scalars["String"]["input"]>;
|
|
28964
|
+
name: Scalars["String"]["input"];
|
|
28965
|
+
urlParams: Scalars["String"]["input"];
|
|
28966
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
28967
|
+
export type CreateSavedSearchSpotMutationHookResult = ReturnType<typeof useCreateSavedSearchSpotMutation>;
|
|
28968
|
+
export type CreateSavedSearchSpotMutationResult = Apollo.MutationResult<CreateSavedSearchSpotMutation>;
|
|
28969
|
+
export type CreateSavedSearchSpotMutationOptions = Apollo.BaseMutationOptions<CreateSavedSearchSpotMutation, CreateSavedSearchSpotMutationVariables>;
|
|
28370
28970
|
export declare const CreateSegmentDocument: Apollo.DocumentNode;
|
|
28371
28971
|
export type CreateSegmentMutationFn = Apollo.MutationFunction<CreateSegmentMutation, CreateSegmentMutationVariables>;
|
|
28372
28972
|
/**
|
|
@@ -28742,6 +29342,56 @@ export declare function useDeleteRfqlineitemMutation(baseOptions?: Apollo.Mutati
|
|
|
28742
29342
|
export type DeleteRfqlineitemMutationHookResult = ReturnType<typeof useDeleteRfqlineitemMutation>;
|
|
28743
29343
|
export type DeleteRfqlineitemMutationResult = Apollo.MutationResult<DeleteRfqlineitemMutation>;
|
|
28744
29344
|
export type DeleteRfqlineitemMutationOptions = Apollo.BaseMutationOptions<DeleteRfqlineitemMutation, DeleteRfqlineitemMutationVariables>;
|
|
29345
|
+
export declare const DeleteSalesGoalDocument: Apollo.DocumentNode;
|
|
29346
|
+
export type DeleteSalesGoalMutationFn = Apollo.MutationFunction<DeleteSalesGoalMutation, DeleteSalesGoalMutationVariables>;
|
|
29347
|
+
/**
|
|
29348
|
+
* __useDeleteSalesGoalMutation__
|
|
29349
|
+
*
|
|
29350
|
+
* To run a mutation, you first call `useDeleteSalesGoalMutation` within a React component and pass it any options that fit your needs.
|
|
29351
|
+
* When your component renders, `useDeleteSalesGoalMutation` returns a tuple that includes:
|
|
29352
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
29353
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
29354
|
+
*
|
|
29355
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
29356
|
+
*
|
|
29357
|
+
* @example
|
|
29358
|
+
* const [deleteSalesGoalMutation, { data, loading, error }] = useDeleteSalesGoalMutation({
|
|
29359
|
+
* variables: {
|
|
29360
|
+
* id: // value for 'id'
|
|
29361
|
+
* },
|
|
29362
|
+
* });
|
|
29363
|
+
*/
|
|
29364
|
+
export declare function useDeleteSalesGoalMutation(baseOptions?: Apollo.MutationHookOptions<DeleteSalesGoalMutation, DeleteSalesGoalMutationVariables>): Apollo.MutationTuple<DeleteSalesGoalMutation, Exact<{
|
|
29365
|
+
id: Scalars["Int"]["input"];
|
|
29366
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
29367
|
+
export type DeleteSalesGoalMutationHookResult = ReturnType<typeof useDeleteSalesGoalMutation>;
|
|
29368
|
+
export type DeleteSalesGoalMutationResult = Apollo.MutationResult<DeleteSalesGoalMutation>;
|
|
29369
|
+
export type DeleteSalesGoalMutationOptions = Apollo.BaseMutationOptions<DeleteSalesGoalMutation, DeleteSalesGoalMutationVariables>;
|
|
29370
|
+
export declare const DeleteSavedSearchSpotDocument: Apollo.DocumentNode;
|
|
29371
|
+
export type DeleteSavedSearchSpotMutationFn = Apollo.MutationFunction<DeleteSavedSearchSpotMutation, DeleteSavedSearchSpotMutationVariables>;
|
|
29372
|
+
/**
|
|
29373
|
+
* __useDeleteSavedSearchSpotMutation__
|
|
29374
|
+
*
|
|
29375
|
+
* To run a mutation, you first call `useDeleteSavedSearchSpotMutation` within a React component and pass it any options that fit your needs.
|
|
29376
|
+
* When your component renders, `useDeleteSavedSearchSpotMutation` returns a tuple that includes:
|
|
29377
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
29378
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
29379
|
+
*
|
|
29380
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
29381
|
+
*
|
|
29382
|
+
* @example
|
|
29383
|
+
* const [deleteSavedSearchSpotMutation, { data, loading, error }] = useDeleteSavedSearchSpotMutation({
|
|
29384
|
+
* variables: {
|
|
29385
|
+
* id: // value for 'id'
|
|
29386
|
+
* },
|
|
29387
|
+
* });
|
|
29388
|
+
*/
|
|
29389
|
+
export declare function useDeleteSavedSearchSpotMutation(baseOptions?: Apollo.MutationHookOptions<DeleteSavedSearchSpotMutation, DeleteSavedSearchSpotMutationVariables>): Apollo.MutationTuple<DeleteSavedSearchSpotMutation, Exact<{
|
|
29390
|
+
id: Scalars["ID"]["input"];
|
|
29391
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
29392
|
+
export type DeleteSavedSearchSpotMutationHookResult = ReturnType<typeof useDeleteSavedSearchSpotMutation>;
|
|
29393
|
+
export type DeleteSavedSearchSpotMutationResult = Apollo.MutationResult<DeleteSavedSearchSpotMutation>;
|
|
29394
|
+
export type DeleteSavedSearchSpotMutationOptions = Apollo.BaseMutationOptions<DeleteSavedSearchSpotMutation, DeleteSavedSearchSpotMutationVariables>;
|
|
28745
29395
|
export declare const DeleteSegmentDocument: Apollo.DocumentNode;
|
|
28746
29396
|
export type DeleteSegmentMutationFn = Apollo.MutationFunction<DeleteSegmentMutation, DeleteSegmentMutationVariables>;
|
|
28747
29397
|
/**
|
|
@@ -30442,6 +31092,33 @@ export declare function useUpdateRfqlineitemMutation(baseOptions?: Apollo.Mutati
|
|
|
30442
31092
|
export type UpdateRfqlineitemMutationHookResult = ReturnType<typeof useUpdateRfqlineitemMutation>;
|
|
30443
31093
|
export type UpdateRfqlineitemMutationResult = Apollo.MutationResult<UpdateRfqlineitemMutation>;
|
|
30444
31094
|
export type UpdateRfqlineitemMutationOptions = Apollo.BaseMutationOptions<UpdateRfqlineitemMutation, UpdateRfqlineitemMutationVariables>;
|
|
31095
|
+
export declare const UpdateSalesGoalDocument: Apollo.DocumentNode;
|
|
31096
|
+
export type UpdateSalesGoalMutationFn = Apollo.MutationFunction<UpdateSalesGoalMutation, UpdateSalesGoalMutationVariables>;
|
|
31097
|
+
/**
|
|
31098
|
+
* __useUpdateSalesGoalMutation__
|
|
31099
|
+
*
|
|
31100
|
+
* To run a mutation, you first call `useUpdateSalesGoalMutation` within a React component and pass it any options that fit your needs.
|
|
31101
|
+
* When your component renders, `useUpdateSalesGoalMutation` returns a tuple that includes:
|
|
31102
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
31103
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
31104
|
+
*
|
|
31105
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
31106
|
+
*
|
|
31107
|
+
* @example
|
|
31108
|
+
* const [updateSalesGoalMutation, { data, loading, error }] = useUpdateSalesGoalMutation({
|
|
31109
|
+
* variables: {
|
|
31110
|
+
* id: // value for 'id'
|
|
31111
|
+
* input: // value for 'input'
|
|
31112
|
+
* },
|
|
31113
|
+
* });
|
|
31114
|
+
*/
|
|
31115
|
+
export declare function useUpdateSalesGoalMutation(baseOptions?: Apollo.MutationHookOptions<UpdateSalesGoalMutation, UpdateSalesGoalMutationVariables>): Apollo.MutationTuple<UpdateSalesGoalMutation, Exact<{
|
|
31116
|
+
id: Scalars["Int"]["input"];
|
|
31117
|
+
input: UpdateSalesGoalInput;
|
|
31118
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
31119
|
+
export type UpdateSalesGoalMutationHookResult = ReturnType<typeof useUpdateSalesGoalMutation>;
|
|
31120
|
+
export type UpdateSalesGoalMutationResult = Apollo.MutationResult<UpdateSalesGoalMutation>;
|
|
31121
|
+
export type UpdateSalesGoalMutationOptions = Apollo.BaseMutationOptions<UpdateSalesGoalMutation, UpdateSalesGoalMutationVariables>;
|
|
30445
31122
|
export declare const UpdateSegmentDocument: Apollo.DocumentNode;
|
|
30446
31123
|
export type UpdateSegmentMutationFn = Apollo.MutationFunction<UpdateSegmentMutation, UpdateSegmentMutationVariables>;
|
|
30447
31124
|
/**
|
|
@@ -32995,6 +33672,139 @@ export type RfqlineitemListQueryHookResult = ReturnType<typeof useRfqlineitemLis
|
|
|
32995
33672
|
export type RfqlineitemListLazyQueryHookResult = ReturnType<typeof useRfqlineitemListLazyQuery>;
|
|
32996
33673
|
export type RfqlineitemListSuspenseQueryHookResult = ReturnType<typeof useRfqlineitemListSuspenseQuery>;
|
|
32997
33674
|
export type RfqlineitemListQueryResult = Apollo.QueryResult<RfqlineitemListQuery, RfqlineitemListQueryVariables>;
|
|
33675
|
+
export declare const SalesGoalDocument: Apollo.DocumentNode;
|
|
33676
|
+
/**
|
|
33677
|
+
* __useSalesGoalQuery__
|
|
33678
|
+
*
|
|
33679
|
+
* To run a query within a React component, call `useSalesGoalQuery` and pass it any options that fit your needs.
|
|
33680
|
+
* When your component renders, `useSalesGoalQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
33681
|
+
* you can use to render your UI.
|
|
33682
|
+
*
|
|
33683
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
33684
|
+
*
|
|
33685
|
+
* @example
|
|
33686
|
+
* const { data, loading, error } = useSalesGoalQuery({
|
|
33687
|
+
* variables: {
|
|
33688
|
+
* id: // value for 'id'
|
|
33689
|
+
* },
|
|
33690
|
+
* });
|
|
33691
|
+
*/
|
|
33692
|
+
export declare function useSalesGoalQuery(baseOptions: Apollo.QueryHookOptions<SalesGoalQuery, SalesGoalQueryVariables> & ({
|
|
33693
|
+
variables: SalesGoalQueryVariables;
|
|
33694
|
+
skip?: boolean;
|
|
33695
|
+
} | {
|
|
33696
|
+
skip: boolean;
|
|
33697
|
+
})): Apollo.QueryResult<SalesGoalQuery, Exact<{
|
|
33698
|
+
id: Scalars["Int"]["input"];
|
|
33699
|
+
}>>;
|
|
33700
|
+
export declare function useSalesGoalLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SalesGoalQuery, SalesGoalQueryVariables>): Apollo.LazyQueryResultTuple<SalesGoalQuery, Exact<{
|
|
33701
|
+
id: Scalars["Int"]["input"];
|
|
33702
|
+
}>>;
|
|
33703
|
+
export declare function useSalesGoalSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<SalesGoalQuery, SalesGoalQueryVariables>): Apollo.UseSuspenseQueryResult<SalesGoalQuery | undefined, Exact<{
|
|
33704
|
+
id: Scalars["Int"]["input"];
|
|
33705
|
+
}>>;
|
|
33706
|
+
export type SalesGoalQueryHookResult = ReturnType<typeof useSalesGoalQuery>;
|
|
33707
|
+
export type SalesGoalLazyQueryHookResult = ReturnType<typeof useSalesGoalLazyQuery>;
|
|
33708
|
+
export type SalesGoalSuspenseQueryHookResult = ReturnType<typeof useSalesGoalSuspenseQuery>;
|
|
33709
|
+
export type SalesGoalQueryResult = Apollo.QueryResult<SalesGoalQuery, SalesGoalQueryVariables>;
|
|
33710
|
+
export declare const SalesGoalReportDocument: Apollo.DocumentNode;
|
|
33711
|
+
/**
|
|
33712
|
+
* __useSalesGoalReportQuery__
|
|
33713
|
+
*
|
|
33714
|
+
* To run a query within a React component, call `useSalesGoalReportQuery` and pass it any options that fit your needs.
|
|
33715
|
+
* When your component renders, `useSalesGoalReportQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
33716
|
+
* you can use to render your UI.
|
|
33717
|
+
*
|
|
33718
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
33719
|
+
*
|
|
33720
|
+
* @example
|
|
33721
|
+
* const { data, loading, error } = useSalesGoalReportQuery({
|
|
33722
|
+
* variables: {
|
|
33723
|
+
* salesGoalId: // value for 'salesGoalId'
|
|
33724
|
+
* forUser: // value for 'forUser'
|
|
33725
|
+
* },
|
|
33726
|
+
* });
|
|
33727
|
+
*/
|
|
33728
|
+
export declare function useSalesGoalReportQuery(baseOptions: Apollo.QueryHookOptions<SalesGoalReportQuery, SalesGoalReportQueryVariables> & ({
|
|
33729
|
+
variables: SalesGoalReportQueryVariables;
|
|
33730
|
+
skip?: boolean;
|
|
33731
|
+
} | {
|
|
33732
|
+
skip: boolean;
|
|
33733
|
+
})): Apollo.QueryResult<SalesGoalReportQuery, Exact<{
|
|
33734
|
+
salesGoalId: Scalars["Int"]["input"];
|
|
33735
|
+
forUser?: InputMaybe<Scalars["Int"]["input"]>;
|
|
33736
|
+
}>>;
|
|
33737
|
+
export declare function useSalesGoalReportLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SalesGoalReportQuery, SalesGoalReportQueryVariables>): Apollo.LazyQueryResultTuple<SalesGoalReportQuery, Exact<{
|
|
33738
|
+
salesGoalId: Scalars["Int"]["input"];
|
|
33739
|
+
forUser?: InputMaybe<Scalars["Int"]["input"]>;
|
|
33740
|
+
}>>;
|
|
33741
|
+
export declare function useSalesGoalReportSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<SalesGoalReportQuery, SalesGoalReportQueryVariables>): Apollo.UseSuspenseQueryResult<SalesGoalReportQuery | undefined, Exact<{
|
|
33742
|
+
salesGoalId: Scalars["Int"]["input"];
|
|
33743
|
+
forUser?: InputMaybe<Scalars["Int"]["input"]>;
|
|
33744
|
+
}>>;
|
|
33745
|
+
export type SalesGoalReportQueryHookResult = ReturnType<typeof useSalesGoalReportQuery>;
|
|
33746
|
+
export type SalesGoalReportLazyQueryHookResult = ReturnType<typeof useSalesGoalReportLazyQuery>;
|
|
33747
|
+
export type SalesGoalReportSuspenseQueryHookResult = ReturnType<typeof useSalesGoalReportSuspenseQuery>;
|
|
33748
|
+
export type SalesGoalReportQueryResult = Apollo.QueryResult<SalesGoalReportQuery, SalesGoalReportQueryVariables>;
|
|
33749
|
+
export declare const SalesGoalsDocument: Apollo.DocumentNode;
|
|
33750
|
+
/**
|
|
33751
|
+
* __useSalesGoalsQuery__
|
|
33752
|
+
*
|
|
33753
|
+
* To run a query within a React component, call `useSalesGoalsQuery` and pass it any options that fit your needs.
|
|
33754
|
+
* When your component renders, `useSalesGoalsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
33755
|
+
* you can use to render your UI.
|
|
33756
|
+
*
|
|
33757
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
33758
|
+
*
|
|
33759
|
+
* @example
|
|
33760
|
+
* const { data, loading, error } = useSalesGoalsQuery({
|
|
33761
|
+
* variables: {
|
|
33762
|
+
* filters: // value for 'filters'
|
|
33763
|
+
* },
|
|
33764
|
+
* });
|
|
33765
|
+
*/
|
|
33766
|
+
export declare function useSalesGoalsQuery(baseOptions?: Apollo.QueryHookOptions<SalesGoalsQuery, SalesGoalsQueryVariables>): Apollo.QueryResult<SalesGoalsQuery, Exact<{
|
|
33767
|
+
filters?: InputMaybe<SalesGoalFilterInput>;
|
|
33768
|
+
}>>;
|
|
33769
|
+
export declare function useSalesGoalsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SalesGoalsQuery, SalesGoalsQueryVariables>): Apollo.LazyQueryResultTuple<SalesGoalsQuery, Exact<{
|
|
33770
|
+
filters?: InputMaybe<SalesGoalFilterInput>;
|
|
33771
|
+
}>>;
|
|
33772
|
+
export declare function useSalesGoalsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<SalesGoalsQuery, SalesGoalsQueryVariables>): Apollo.UseSuspenseQueryResult<SalesGoalsQuery | undefined, Exact<{
|
|
33773
|
+
filters?: InputMaybe<SalesGoalFilterInput>;
|
|
33774
|
+
}>>;
|
|
33775
|
+
export type SalesGoalsQueryHookResult = ReturnType<typeof useSalesGoalsQuery>;
|
|
33776
|
+
export type SalesGoalsLazyQueryHookResult = ReturnType<typeof useSalesGoalsLazyQuery>;
|
|
33777
|
+
export type SalesGoalsSuspenseQueryHookResult = ReturnType<typeof useSalesGoalsSuspenseQuery>;
|
|
33778
|
+
export type SalesGoalsQueryResult = Apollo.QueryResult<SalesGoalsQuery, SalesGoalsQueryVariables>;
|
|
33779
|
+
export declare const SavedSearchSpotsDocument: Apollo.DocumentNode;
|
|
33780
|
+
/**
|
|
33781
|
+
* __useSavedSearchSpotsQuery__
|
|
33782
|
+
*
|
|
33783
|
+
* To run a query within a React component, call `useSavedSearchSpotsQuery` and pass it any options that fit your needs.
|
|
33784
|
+
* When your component renders, `useSavedSearchSpotsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
33785
|
+
* you can use to render your UI.
|
|
33786
|
+
*
|
|
33787
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
33788
|
+
*
|
|
33789
|
+
* @example
|
|
33790
|
+
* const { data, loading, error } = useSavedSearchSpotsQuery({
|
|
33791
|
+
* variables: {
|
|
33792
|
+
* },
|
|
33793
|
+
* });
|
|
33794
|
+
*/
|
|
33795
|
+
export declare function useSavedSearchSpotsQuery(baseOptions?: Apollo.QueryHookOptions<SavedSearchSpotsQuery, SavedSearchSpotsQueryVariables>): Apollo.QueryResult<SavedSearchSpotsQuery, Exact<{
|
|
33796
|
+
[key: string]: never;
|
|
33797
|
+
}>>;
|
|
33798
|
+
export declare function useSavedSearchSpotsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SavedSearchSpotsQuery, SavedSearchSpotsQueryVariables>): Apollo.LazyQueryResultTuple<SavedSearchSpotsQuery, Exact<{
|
|
33799
|
+
[key: string]: never;
|
|
33800
|
+
}>>;
|
|
33801
|
+
export declare function useSavedSearchSpotsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<SavedSearchSpotsQuery, SavedSearchSpotsQueryVariables>): Apollo.UseSuspenseQueryResult<SavedSearchSpotsQuery | undefined, Exact<{
|
|
33802
|
+
[key: string]: never;
|
|
33803
|
+
}>>;
|
|
33804
|
+
export type SavedSearchSpotsQueryHookResult = ReturnType<typeof useSavedSearchSpotsQuery>;
|
|
33805
|
+
export type SavedSearchSpotsLazyQueryHookResult = ReturnType<typeof useSavedSearchSpotsLazyQuery>;
|
|
33806
|
+
export type SavedSearchSpotsSuspenseQueryHookResult = ReturnType<typeof useSavedSearchSpotsSuspenseQuery>;
|
|
33807
|
+
export type SavedSearchSpotsQueryResult = Apollo.QueryResult<SavedSearchSpotsQuery, SavedSearchSpotsQueryVariables>;
|
|
32998
33808
|
export declare const SearchContactsDocument: Apollo.DocumentNode;
|
|
32999
33809
|
/**
|
|
33000
33810
|
* __useSearchContactsQuery__
|