cf-service-sdk 0.0.75 → 0.0.76
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 +15 -4
- package/dist/generated/graphql.js +4 -2
- package/dist/queries.js +2 -2
- package/dist/sdk.d.ts +1 -1
- package/dist/sdk.js +3 -2
- package/package.json +1 -1
|
@@ -3078,6 +3078,11 @@ export type QueryEmailTemplatesArgs = {
|
|
|
3078
3078
|
campaignTypes?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
3079
3079
|
};
|
|
3080
3080
|
/** Query */
|
|
3081
|
+
export type QueryIndustryTypesArgs = {
|
|
3082
|
+
ids?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
3083
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
3084
|
+
};
|
|
3085
|
+
/** Query */
|
|
3081
3086
|
export type QueryMetalGradesArgs = {
|
|
3082
3087
|
ids?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
3083
3088
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -33544,7 +33549,8 @@ export type IndustrySectorsQuery = {
|
|
|
33544
33549
|
} | null> | null;
|
|
33545
33550
|
};
|
|
33546
33551
|
export type IndustryTypesQueryVariables = Exact<{
|
|
33547
|
-
[
|
|
33552
|
+
ids?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>> | InputMaybe<Scalars['ID']['input']>>;
|
|
33553
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
33548
33554
|
}>;
|
|
33549
33555
|
export type IndustryTypesQuery = {
|
|
33550
33556
|
__typename?: 'Query';
|
|
@@ -40017,17 +40023,22 @@ export declare const IndustryTypesDocument: Apollo.DocumentNode;
|
|
|
40017
40023
|
* @example
|
|
40018
40024
|
* const { data, loading, error } = useIndustryTypesQuery({
|
|
40019
40025
|
* variables: {
|
|
40026
|
+
* ids: // value for 'ids'
|
|
40027
|
+
* name: // value for 'name'
|
|
40020
40028
|
* },
|
|
40021
40029
|
* });
|
|
40022
40030
|
*/
|
|
40023
40031
|
export declare function useIndustryTypesQuery(baseOptions?: Apollo.QueryHookOptions<IndustryTypesQuery, IndustryTypesQueryVariables>): Apollo.QueryResult<IndustryTypesQuery, Exact<{
|
|
40024
|
-
[
|
|
40032
|
+
ids?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
|
|
40033
|
+
name?: InputMaybe<Scalars["String"]["input"]>;
|
|
40025
40034
|
}>>;
|
|
40026
40035
|
export declare function useIndustryTypesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IndustryTypesQuery, IndustryTypesQueryVariables>): Apollo.LazyQueryResultTuple<IndustryTypesQuery, Exact<{
|
|
40027
|
-
[
|
|
40036
|
+
ids?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
|
|
40037
|
+
name?: InputMaybe<Scalars["String"]["input"]>;
|
|
40028
40038
|
}>>;
|
|
40029
40039
|
export declare function useIndustryTypesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<IndustryTypesQuery, IndustryTypesQueryVariables>): Apollo.UseSuspenseQueryResult<IndustryTypesQuery | undefined, Exact<{
|
|
40030
|
-
[
|
|
40040
|
+
ids?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
|
|
40041
|
+
name?: InputMaybe<Scalars["String"]["input"]>;
|
|
40031
40042
|
}>>;
|
|
40032
40043
|
export type IndustryTypesQueryHookResult = ReturnType<typeof useIndustryTypesQuery>;
|
|
40033
40044
|
export type IndustryTypesLazyQueryHookResult = ReturnType<typeof useIndustryTypesLazyQuery>;
|
|
@@ -30597,8 +30597,8 @@ function useIndustrySectorsSuspenseQuery(baseOptions) {
|
|
|
30597
30597
|
return Apollo.useSuspenseQuery(exports.IndustrySectorsDocument, options);
|
|
30598
30598
|
}
|
|
30599
30599
|
exports.IndustryTypesDocument = (0, client_1.gql) `
|
|
30600
|
-
query IndustryTypes {
|
|
30601
|
-
industryTypes {
|
|
30600
|
+
query IndustryTypes($ids: [ID], $name: String) {
|
|
30601
|
+
industryTypes(ids: $ids, name: $name) {
|
|
30602
30602
|
industrySector {
|
|
30603
30603
|
id
|
|
30604
30604
|
name
|
|
@@ -30624,6 +30624,8 @@ exports.IndustryTypesDocument = (0, client_1.gql) `
|
|
|
30624
30624
|
* @example
|
|
30625
30625
|
* const { data, loading, error } = useIndustryTypesQuery({
|
|
30626
30626
|
* variables: {
|
|
30627
|
+
* ids: // value for 'ids'
|
|
30628
|
+
* name: // value for 'name'
|
|
30627
30629
|
* },
|
|
30628
30630
|
* });
|
|
30629
30631
|
*/
|
package/dist/queries.js
CHANGED
|
@@ -15504,8 +15504,8 @@ query Contact($id: String) {
|
|
|
15504
15504
|
}
|
|
15505
15505
|
}`;
|
|
15506
15506
|
exports.INDUSTRY_TYPES = (0, client_1.gql) `
|
|
15507
|
-
query IndustryTypes {
|
|
15508
|
-
industryTypes {
|
|
15507
|
+
query IndustryTypes($ids: [ID], $name: String) {
|
|
15508
|
+
industryTypes(ids: $ids, name: $name) {
|
|
15509
15509
|
industrySector {
|
|
15510
15510
|
id
|
|
15511
15511
|
name
|
package/dist/sdk.d.ts
CHANGED
|
@@ -132,7 +132,7 @@ export declare class CloudForgeSDK {
|
|
|
132
132
|
emailTemplates(campaignType?: string, campaignTypes?: string[]): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
133
133
|
employeeSizes(): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
134
134
|
industrySectors(): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
135
|
-
industryTypes(): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
135
|
+
industryTypes(ids?: string[], name?: string): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
136
136
|
metalGrades(ids?: string[], name?: string): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
137
137
|
metalTypes(ids?: string[], name?: string): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
138
138
|
myInvitations(): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
package/dist/sdk.js
CHANGED
|
@@ -770,9 +770,10 @@ class CloudForgeSDK {
|
|
|
770
770
|
query: queries_1.INDUSTRY_SECTORS
|
|
771
771
|
});
|
|
772
772
|
}
|
|
773
|
-
async industryTypes() {
|
|
773
|
+
async industryTypes(ids, name) {
|
|
774
774
|
return this.apolloClient.query({
|
|
775
|
-
query: queries_1.INDUSTRY_TYPES
|
|
775
|
+
query: queries_1.INDUSTRY_TYPES,
|
|
776
|
+
variables: { ids, name }
|
|
776
777
|
});
|
|
777
778
|
}
|
|
778
779
|
async metalGrades(ids, name) {
|