cf-service-sdk-dharani 0.0.56 → 0.0.57

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.
@@ -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 */
@@ -1433,8 +1442,6 @@ export type EmailToneInput = {
1433
1442
  emailContent: Scalars['String']['input'];
1434
1443
  /** Number of variations to generate (default: 3) */
1435
1444
  numVariations?: InputMaybe<Scalars['Int']['input']>;
1436
- /** List of previous variations to avoid repetition */
1437
- previousVariations?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1438
1445
  /** Original email subject (optional) */
1439
1446
  subject?: InputMaybe<Scalars['String']['input']>;
1440
1447
  /** Tone instruction (e.g., 'Persuasive', 'Technical', 'Friendly') */
@@ -3635,6 +3642,18 @@ export type CreateCompanyMutation = {
3635
3642
  name?: string | null;
3636
3643
  description?: string | null;
3637
3644
  } | null> | null;
3645
+ owners?: Array<{
3646
+ __typename?: 'CompanyOwnersObject';
3647
+ id?: string | null;
3648
+ user?: {
3649
+ __typename?: 'UserType';
3650
+ id?: string | null;
3651
+ email?: string | null;
3652
+ firstName?: string | null;
3653
+ lastName?: string | null;
3654
+ picture?: string | null;
3655
+ } | null;
3656
+ } | null> | null;
3638
3657
  locations?: Array<{
3639
3658
  __typename?: 'CompanyLocationType';
3640
3659
  id?: string | null;
@@ -6269,6 +6288,18 @@ export type UpdateCompanyMutation = {
6269
6288
  name?: string | null;
6270
6289
  description?: string | null;
6271
6290
  } | null> | null;
6291
+ owners?: Array<{
6292
+ __typename?: 'CompanyOwnersObject';
6293
+ id?: string | null;
6294
+ user?: {
6295
+ __typename?: 'UserType';
6296
+ id?: string | null;
6297
+ email?: string | null;
6298
+ firstName?: string | null;
6299
+ lastName?: string | null;
6300
+ picture?: string | null;
6301
+ } | null;
6302
+ } | null> | null;
6272
6303
  locations?: Array<{
6273
6304
  __typename?: 'CompanyLocationType';
6274
6305
  id?: string | null;
@@ -8916,6 +8947,18 @@ export type CompaniesQuery = {
8916
8947
  name?: string | null;
8917
8948
  description?: string | null;
8918
8949
  } | null> | null;
8950
+ owners?: Array<{
8951
+ __typename?: 'CompanyOwnersObject';
8952
+ id?: string | null;
8953
+ user?: {
8954
+ __typename?: 'UserType';
8955
+ id?: string | null;
8956
+ email?: string | null;
8957
+ firstName?: string | null;
8958
+ lastName?: string | null;
8959
+ picture?: string | null;
8960
+ } | null;
8961
+ } | null> | null;
8919
8962
  locations?: Array<{
8920
8963
  __typename?: 'CompanyLocationType';
8921
8964
  id?: string | null;
@@ -9512,6 +9555,18 @@ export type CompanyQuery = {
9512
9555
  name?: string | null;
9513
9556
  description?: string | null;
9514
9557
  } | null> | null;
9558
+ owners?: Array<{
9559
+ __typename?: 'CompanyOwnersObject';
9560
+ id?: string | null;
9561
+ user?: {
9562
+ __typename?: 'UserType';
9563
+ id?: string | null;
9564
+ email?: string | null;
9565
+ firstName?: string | null;
9566
+ lastName?: string | null;
9567
+ picture?: string | null;
9568
+ } | null;
9569
+ } | null> | null;
9515
9570
  locations?: Array<{
9516
9571
  __typename?: 'CompanyLocationType';
9517
9572
  id?: string | null;
@@ -11454,6 +11509,18 @@ export type RecentHistoryQuery = {
11454
11509
  name?: string | null;
11455
11510
  description?: string | null;
11456
11511
  } | null> | null;
11512
+ owners?: Array<{
11513
+ __typename?: 'CompanyOwnersObject';
11514
+ id?: string | null;
11515
+ user?: {
11516
+ __typename?: 'UserType';
11517
+ id?: string | null;
11518
+ email?: string | null;
11519
+ firstName?: string | null;
11520
+ lastName?: string | null;
11521
+ picture?: string | null;
11522
+ } | null;
11523
+ } | null> | null;
11457
11524
  locations?: Array<{
11458
11525
  __typename?: 'CompanyLocationType';
11459
11526
  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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cf-service-sdk-dharani",
3
- "version": "0.0.56",
3
+ "version": "0.0.57",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",