@timardex/cluemart-shared 1.2.73 → 1.2.75

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/index.d.mts CHANGED
@@ -1209,32 +1209,16 @@ declare const useUpdateRelation: () => {
1209
1209
  error: _apollo_client.ApolloError | undefined;
1210
1210
  loading: boolean;
1211
1211
  updateRelation: (options?: _apollo_client.MutationFunctionOptions<{
1212
- updateRelation: {
1213
- eventId: string;
1214
- vendorId: string;
1215
- lastUpdateBy: EnumResourceType;
1216
- };
1212
+ updateRelation: RelationType;
1217
1213
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1218
- updateRelation: {
1219
- eventId: string;
1220
- vendorId: string;
1221
- lastUpdateBy: EnumResourceType;
1222
- };
1214
+ updateRelation: RelationType;
1223
1215
  }>>;
1224
1216
  };
1225
1217
  declare const useDeleteRelation: () => {
1226
1218
  deleteRelation: (options?: _apollo_client.MutationFunctionOptions<{
1227
- deleteRelation: {
1228
- eventId: string;
1229
- vendorId: string;
1230
- lastUpdateBy: EnumResourceType;
1231
- };
1219
+ deleteRelation: RelationType;
1232
1220
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1233
- deleteRelation: {
1234
- eventId: string;
1235
- vendorId: string;
1236
- lastUpdateBy: EnumResourceType;
1237
- };
1221
+ deleteRelation: RelationType;
1238
1222
  }>>;
1239
1223
  error: _apollo_client.ApolloError | undefined;
1240
1224
  loading: boolean;
@@ -1278,7 +1262,7 @@ declare const useGetResourceConnections: (resourceId: string, resourceType: Enum
1278
1262
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1279
1263
  resourceConnections: ResourceConnectionsType;
1280
1264
  }>>;
1281
- resourceConnections: ResourceConnectionsType | never[];
1265
+ resourceConnections: ResourceConnectionsType | undefined;
1282
1266
  };
1283
1267
 
1284
1268
  declare const useCreateVendor: () => {
@@ -1438,10 +1422,14 @@ declare const useSelectPackage: () => {
1438
1422
  selectPackage: (options?: _apollo_client.MutationFunctionOptions<{
1439
1423
  selectPackage: {
1440
1424
  userId: string;
1425
+ message: string;
1426
+ licences: UserLicenceType[];
1441
1427
  };
1442
1428
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1443
1429
  selectPackage: {
1444
1430
  userId: string;
1431
+ message: string;
1432
+ licences: UserLicenceType[];
1445
1433
  };
1446
1434
  }>>;
1447
1435
  };
package/dist/index.d.ts CHANGED
@@ -1209,32 +1209,16 @@ declare const useUpdateRelation: () => {
1209
1209
  error: _apollo_client.ApolloError | undefined;
1210
1210
  loading: boolean;
1211
1211
  updateRelation: (options?: _apollo_client.MutationFunctionOptions<{
1212
- updateRelation: {
1213
- eventId: string;
1214
- vendorId: string;
1215
- lastUpdateBy: EnumResourceType;
1216
- };
1212
+ updateRelation: RelationType;
1217
1213
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1218
- updateRelation: {
1219
- eventId: string;
1220
- vendorId: string;
1221
- lastUpdateBy: EnumResourceType;
1222
- };
1214
+ updateRelation: RelationType;
1223
1215
  }>>;
1224
1216
  };
1225
1217
  declare const useDeleteRelation: () => {
1226
1218
  deleteRelation: (options?: _apollo_client.MutationFunctionOptions<{
1227
- deleteRelation: {
1228
- eventId: string;
1229
- vendorId: string;
1230
- lastUpdateBy: EnumResourceType;
1231
- };
1219
+ deleteRelation: RelationType;
1232
1220
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1233
- deleteRelation: {
1234
- eventId: string;
1235
- vendorId: string;
1236
- lastUpdateBy: EnumResourceType;
1237
- };
1221
+ deleteRelation: RelationType;
1238
1222
  }>>;
1239
1223
  error: _apollo_client.ApolloError | undefined;
1240
1224
  loading: boolean;
@@ -1278,7 +1262,7 @@ declare const useGetResourceConnections: (resourceId: string, resourceType: Enum
1278
1262
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
1279
1263
  resourceConnections: ResourceConnectionsType;
1280
1264
  }>>;
1281
- resourceConnections: ResourceConnectionsType | never[];
1265
+ resourceConnections: ResourceConnectionsType | undefined;
1282
1266
  };
1283
1267
 
1284
1268
  declare const useCreateVendor: () => {
@@ -1438,10 +1422,14 @@ declare const useSelectPackage: () => {
1438
1422
  selectPackage: (options?: _apollo_client.MutationFunctionOptions<{
1439
1423
  selectPackage: {
1440
1424
  userId: string;
1425
+ message: string;
1426
+ licences: UserLicenceType[];
1441
1427
  };
1442
1428
  }, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
1443
1429
  selectPackage: {
1444
1430
  userId: string;
1431
+ message: string;
1432
+ licences: UserLicenceType[];
1445
1433
  };
1446
1434
  }>>;
1447
1435
  };
package/dist/index.mjs CHANGED
@@ -2211,7 +2211,7 @@ var TERMS_AGREEMENT_FIELDS_FRAGMENT = gql2`
2211
2211
  }
2212
2212
  `;
2213
2213
  var LICENCE_FIELDS_FRAGMENT = gql2`
2214
- fragment LicenceFields on LicenceType {
2214
+ fragment LicenceFields on UserLicenceType {
2215
2215
  expiryDate
2216
2216
  issuedDate
2217
2217
  licenceType
@@ -3928,7 +3928,7 @@ var useGetResourceConnections = (resourceId, resourceType) => {
3928
3928
  fetchPolicy: "network-only",
3929
3929
  variables: { resourceId, resourceType }
3930
3930
  });
3931
- const resourceConnections = data?.resourceConnections || [];
3931
+ const resourceConnections = data?.resourceConnections;
3932
3932
  return { error, loading, refetch, resourceConnections };
3933
3933
  };
3934
3934