cf-service-sdk-dharani 0.0.56 → 0.0.58
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 +69 -0
- package/dist/generated/graphql.js +50 -0
- package/dist/mutations.js +20 -0
- package/dist/queries.js +30 -0
- package/package.json +1 -1
|
@@ -860,6 +860,8 @@ export type CompanyInput = {
|
|
|
860
860
|
/** List of company locations to create/update */
|
|
861
861
|
locations?: InputMaybe<Array<InputMaybe<CompanyLocationInput>>>;
|
|
862
862
|
logoUrl?: InputMaybe<Scalars['String']['input']>;
|
|
863
|
+
/** List of user IDs to assign as owners of the company */
|
|
864
|
+
owners?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
863
865
|
phone?: InputMaybe<Scalars['String']['input']>;
|
|
864
866
|
productMetalScores?: InputMaybe<Array<InputMaybe<ProductMetalScoreInput>>>;
|
|
865
867
|
state?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1002,6 +1004,8 @@ export type CompanyObject = {
|
|
|
1002
1004
|
locations?: Maybe<Array<Maybe<CompanyLocationType>>>;
|
|
1003
1005
|
logoUrl?: Maybe<Scalars['String']['output']>;
|
|
1004
1006
|
ownedByUser?: Maybe<Scalars['Boolean']['output']>;
|
|
1007
|
+
/** List of company owners */
|
|
1008
|
+
owners?: Maybe<Array<Maybe<CompanyOwnersObject>>>;
|
|
1005
1009
|
phone?: Maybe<Scalars['String']['output']>;
|
|
1006
1010
|
pk?: Maybe<Scalars['ID']['output']>;
|
|
1007
1011
|
/** Primary company location */
|
|
@@ -1017,6 +1021,11 @@ export type CompanyObject = {
|
|
|
1017
1021
|
website?: Maybe<Scalars['String']['output']>;
|
|
1018
1022
|
zipCode?: Maybe<Scalars['String']['output']>;
|
|
1019
1023
|
};
|
|
1024
|
+
export type CompanyOwnersObject = {
|
|
1025
|
+
__typename?: 'CompanyOwnersObject';
|
|
1026
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
1027
|
+
user?: Maybe<UserType>;
|
|
1028
|
+
};
|
|
1020
1029
|
export type CompanyProductMetalScoreObject = {
|
|
1021
1030
|
__typename?: 'CompanyProductMetalScoreObject';
|
|
1022
1031
|
/** Account ID who assigned this product metal */
|
|
@@ -3635,6 +3644,18 @@ export type CreateCompanyMutation = {
|
|
|
3635
3644
|
name?: string | null;
|
|
3636
3645
|
description?: string | null;
|
|
3637
3646
|
} | null> | null;
|
|
3647
|
+
owners?: Array<{
|
|
3648
|
+
__typename?: 'CompanyOwnersObject';
|
|
3649
|
+
id?: string | null;
|
|
3650
|
+
user?: {
|
|
3651
|
+
__typename?: 'UserType';
|
|
3652
|
+
id?: string | null;
|
|
3653
|
+
email?: string | null;
|
|
3654
|
+
firstName?: string | null;
|
|
3655
|
+
lastName?: string | null;
|
|
3656
|
+
picture?: string | null;
|
|
3657
|
+
} | null;
|
|
3658
|
+
} | null> | null;
|
|
3638
3659
|
locations?: Array<{
|
|
3639
3660
|
__typename?: 'CompanyLocationType';
|
|
3640
3661
|
id?: string | null;
|
|
@@ -6269,6 +6290,18 @@ export type UpdateCompanyMutation = {
|
|
|
6269
6290
|
name?: string | null;
|
|
6270
6291
|
description?: string | null;
|
|
6271
6292
|
} | null> | null;
|
|
6293
|
+
owners?: Array<{
|
|
6294
|
+
__typename?: 'CompanyOwnersObject';
|
|
6295
|
+
id?: string | null;
|
|
6296
|
+
user?: {
|
|
6297
|
+
__typename?: 'UserType';
|
|
6298
|
+
id?: string | null;
|
|
6299
|
+
email?: string | null;
|
|
6300
|
+
firstName?: string | null;
|
|
6301
|
+
lastName?: string | null;
|
|
6302
|
+
picture?: string | null;
|
|
6303
|
+
} | null;
|
|
6304
|
+
} | null> | null;
|
|
6272
6305
|
locations?: Array<{
|
|
6273
6306
|
__typename?: 'CompanyLocationType';
|
|
6274
6307
|
id?: string | null;
|
|
@@ -8916,6 +8949,18 @@ export type CompaniesQuery = {
|
|
|
8916
8949
|
name?: string | null;
|
|
8917
8950
|
description?: string | null;
|
|
8918
8951
|
} | null> | null;
|
|
8952
|
+
owners?: Array<{
|
|
8953
|
+
__typename?: 'CompanyOwnersObject';
|
|
8954
|
+
id?: string | null;
|
|
8955
|
+
user?: {
|
|
8956
|
+
__typename?: 'UserType';
|
|
8957
|
+
id?: string | null;
|
|
8958
|
+
email?: string | null;
|
|
8959
|
+
firstName?: string | null;
|
|
8960
|
+
lastName?: string | null;
|
|
8961
|
+
picture?: string | null;
|
|
8962
|
+
} | null;
|
|
8963
|
+
} | null> | null;
|
|
8919
8964
|
locations?: Array<{
|
|
8920
8965
|
__typename?: 'CompanyLocationType';
|
|
8921
8966
|
id?: string | null;
|
|
@@ -9512,6 +9557,18 @@ export type CompanyQuery = {
|
|
|
9512
9557
|
name?: string | null;
|
|
9513
9558
|
description?: string | null;
|
|
9514
9559
|
} | null> | null;
|
|
9560
|
+
owners?: Array<{
|
|
9561
|
+
__typename?: 'CompanyOwnersObject';
|
|
9562
|
+
id?: string | null;
|
|
9563
|
+
user?: {
|
|
9564
|
+
__typename?: 'UserType';
|
|
9565
|
+
id?: string | null;
|
|
9566
|
+
email?: string | null;
|
|
9567
|
+
firstName?: string | null;
|
|
9568
|
+
lastName?: string | null;
|
|
9569
|
+
picture?: string | null;
|
|
9570
|
+
} | null;
|
|
9571
|
+
} | null> | null;
|
|
9515
9572
|
locations?: Array<{
|
|
9516
9573
|
__typename?: 'CompanyLocationType';
|
|
9517
9574
|
id?: string | null;
|
|
@@ -11454,6 +11511,18 @@ export type RecentHistoryQuery = {
|
|
|
11454
11511
|
name?: string | null;
|
|
11455
11512
|
description?: string | null;
|
|
11456
11513
|
} | null> | null;
|
|
11514
|
+
owners?: Array<{
|
|
11515
|
+
__typename?: 'CompanyOwnersObject';
|
|
11516
|
+
id?: string | null;
|
|
11517
|
+
user?: {
|
|
11518
|
+
__typename?: 'UserType';
|
|
11519
|
+
id?: string | null;
|
|
11520
|
+
email?: string | null;
|
|
11521
|
+
firstName?: string | null;
|
|
11522
|
+
lastName?: string | null;
|
|
11523
|
+
picture?: string | null;
|
|
11524
|
+
} | null;
|
|
11525
|
+
} | null> | null;
|
|
11457
11526
|
locations?: Array<{
|
|
11458
11527
|
__typename?: 'CompanyLocationType';
|
|
11459
11528
|
id?: string | null;
|
|
@@ -1420,6 +1420,16 @@ exports.CreateCompanyDocument = (0, client_1.gql) `
|
|
|
1420
1420
|
name
|
|
1421
1421
|
description
|
|
1422
1422
|
}
|
|
1423
|
+
owners {
|
|
1424
|
+
id
|
|
1425
|
+
user {
|
|
1426
|
+
id
|
|
1427
|
+
email
|
|
1428
|
+
firstName
|
|
1429
|
+
lastName
|
|
1430
|
+
picture
|
|
1431
|
+
}
|
|
1432
|
+
}
|
|
1423
1433
|
locations {
|
|
1424
1434
|
id
|
|
1425
1435
|
address1
|
|
@@ -4746,6 +4756,16 @@ exports.UpdateCompanyDocument = (0, client_1.gql) `
|
|
|
4746
4756
|
name
|
|
4747
4757
|
description
|
|
4748
4758
|
}
|
|
4759
|
+
owners {
|
|
4760
|
+
id
|
|
4761
|
+
user {
|
|
4762
|
+
id
|
|
4763
|
+
email
|
|
4764
|
+
firstName
|
|
4765
|
+
lastName
|
|
4766
|
+
picture
|
|
4767
|
+
}
|
|
4768
|
+
}
|
|
4749
4769
|
locations {
|
|
4750
4770
|
id
|
|
4751
4771
|
address1
|
|
@@ -7731,6 +7751,16 @@ exports.CompaniesDocument = (0, client_1.gql) `
|
|
|
7731
7751
|
name
|
|
7732
7752
|
description
|
|
7733
7753
|
}
|
|
7754
|
+
owners {
|
|
7755
|
+
id
|
|
7756
|
+
user {
|
|
7757
|
+
id
|
|
7758
|
+
email
|
|
7759
|
+
firstName
|
|
7760
|
+
lastName
|
|
7761
|
+
picture
|
|
7762
|
+
}
|
|
7763
|
+
}
|
|
7734
7764
|
locations {
|
|
7735
7765
|
id
|
|
7736
7766
|
address1
|
|
@@ -8307,6 +8337,16 @@ exports.CompanyDocument = (0, client_1.gql) `
|
|
|
8307
8337
|
name
|
|
8308
8338
|
description
|
|
8309
8339
|
}
|
|
8340
|
+
owners {
|
|
8341
|
+
id
|
|
8342
|
+
user {
|
|
8343
|
+
id
|
|
8344
|
+
email
|
|
8345
|
+
firstName
|
|
8346
|
+
lastName
|
|
8347
|
+
picture
|
|
8348
|
+
}
|
|
8349
|
+
}
|
|
8310
8350
|
locations {
|
|
8311
8351
|
id
|
|
8312
8352
|
address1
|
|
@@ -10642,6 +10682,16 @@ exports.RecentHistoryDocument = (0, client_1.gql) `
|
|
|
10642
10682
|
name
|
|
10643
10683
|
description
|
|
10644
10684
|
}
|
|
10685
|
+
owners {
|
|
10686
|
+
id
|
|
10687
|
+
user {
|
|
10688
|
+
id
|
|
10689
|
+
email
|
|
10690
|
+
firstName
|
|
10691
|
+
lastName
|
|
10692
|
+
picture
|
|
10693
|
+
}
|
|
10694
|
+
}
|
|
10645
10695
|
locations {
|
|
10646
10696
|
id
|
|
10647
10697
|
address1
|
package/dist/mutations.js
CHANGED
|
@@ -353,6 +353,16 @@ mutation CreateCompany($input: CompanyInput) {
|
|
|
353
353
|
name
|
|
354
354
|
description
|
|
355
355
|
}
|
|
356
|
+
owners {
|
|
357
|
+
id
|
|
358
|
+
user {
|
|
359
|
+
id
|
|
360
|
+
email
|
|
361
|
+
firstName
|
|
362
|
+
lastName
|
|
363
|
+
picture
|
|
364
|
+
}
|
|
365
|
+
}
|
|
356
366
|
locations {
|
|
357
367
|
id
|
|
358
368
|
address1
|
|
@@ -993,6 +1003,16 @@ mutation UpdateCompany($input: CompanyInput) {
|
|
|
993
1003
|
name
|
|
994
1004
|
description
|
|
995
1005
|
}
|
|
1006
|
+
owners {
|
|
1007
|
+
id
|
|
1008
|
+
user {
|
|
1009
|
+
id
|
|
1010
|
+
email
|
|
1011
|
+
firstName
|
|
1012
|
+
lastName
|
|
1013
|
+
picture
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
996
1016
|
locations {
|
|
997
1017
|
id
|
|
998
1018
|
address1
|
package/dist/queries.js
CHANGED
|
@@ -123,6 +123,16 @@ query RecentHistory($filter: RecentHistoryFilterInput, $sort: RecentHistorySortI
|
|
|
123
123
|
name
|
|
124
124
|
description
|
|
125
125
|
}
|
|
126
|
+
owners {
|
|
127
|
+
id
|
|
128
|
+
user {
|
|
129
|
+
id
|
|
130
|
+
email
|
|
131
|
+
firstName
|
|
132
|
+
lastName
|
|
133
|
+
picture
|
|
134
|
+
}
|
|
135
|
+
}
|
|
126
136
|
locations {
|
|
127
137
|
id
|
|
128
138
|
address1
|
|
@@ -2830,6 +2840,16 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
|
|
|
2830
2840
|
name
|
|
2831
2841
|
description
|
|
2832
2842
|
}
|
|
2843
|
+
owners {
|
|
2844
|
+
id
|
|
2845
|
+
user {
|
|
2846
|
+
id
|
|
2847
|
+
email
|
|
2848
|
+
firstName
|
|
2849
|
+
lastName
|
|
2850
|
+
picture
|
|
2851
|
+
}
|
|
2852
|
+
}
|
|
2833
2853
|
locations {
|
|
2834
2854
|
id
|
|
2835
2855
|
address1
|
|
@@ -3507,6 +3527,16 @@ query Company($id: String) {
|
|
|
3507
3527
|
name
|
|
3508
3528
|
description
|
|
3509
3529
|
}
|
|
3530
|
+
owners {
|
|
3531
|
+
id
|
|
3532
|
+
user {
|
|
3533
|
+
id
|
|
3534
|
+
email
|
|
3535
|
+
firstName
|
|
3536
|
+
lastName
|
|
3537
|
+
picture
|
|
3538
|
+
}
|
|
3539
|
+
}
|
|
3510
3540
|
locations {
|
|
3511
3541
|
id
|
|
3512
3542
|
address1
|