Skip to content

Commit 02f4325

Browse files
authored
Merge pull request #32 from lukas-reineke/T-209-update-sdks-with-result-changes
T-209 cinnamon update
2 parents b7f223e + 25e5cc3 commit 02f4325

File tree

5 files changed

+102
-2
lines changed

5 files changed

+102
-2
lines changed

graphql.schema.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5248,6 +5248,26 @@
52485248
"isDeprecated": false,
52495249
"deprecationReason": null
52505250
},
5251+
{
5252+
"name": "resultsSource",
5253+
"description": "The source of the analytics used to derive results data",
5254+
"args": [],
5255+
"type": {
5256+
"kind": "NON_NULL",
5257+
"name": null,
5258+
"ofType": {
5259+
"kind": "LIST",
5260+
"name": null,
5261+
"ofType": {
5262+
"kind": "SCALAR",
5263+
"name": "NonEmptyString",
5264+
"ofType": null
5265+
}
5266+
}
5267+
},
5268+
"isDeprecated": false,
5269+
"deprecationReason": null
5270+
},
52515271
{
52525272
"name": "systemStatus",
52535273
"description": "System status of the marketing campaign",
@@ -6042,6 +6062,26 @@
60426062
"isDeprecated": false,
60436063
"deprecationReason": null
60446064
},
6065+
{
6066+
"name": "resultsSource",
6067+
"description": "The source of the analytics used to derive results data",
6068+
"args": [],
6069+
"type": {
6070+
"kind": "NON_NULL",
6071+
"name": null,
6072+
"ofType": {
6073+
"kind": "LIST",
6074+
"name": null,
6075+
"ofType": {
6076+
"kind": "SCALAR",
6077+
"name": "NonEmptyString",
6078+
"ofType": null
6079+
}
6080+
}
6081+
},
6082+
"isDeprecated": false,
6083+
"deprecationReason": null
6084+
},
60456085
{
60466086
"name": "results",
60476087
"description": "Results related to the marketing ad",
@@ -6432,6 +6472,30 @@
64326472
},
64336473
"isDeprecated": false,
64346474
"deprecationReason": null
6475+
},
6476+
{
6477+
"name": "purchases",
6478+
"description": "Number of purchases",
6479+
"args": [],
6480+
"type": {
6481+
"kind": "SCALAR",
6482+
"name": "Int",
6483+
"ofType": null
6484+
},
6485+
"isDeprecated": false,
6486+
"deprecationReason": null
6487+
},
6488+
{
6489+
"name": "purchasesValue",
6490+
"description": "Amount of purchases value",
6491+
"args": [],
6492+
"type": {
6493+
"kind": "SCALAR",
6494+
"name": "Float",
6495+
"ofType": null
6496+
},
6497+
"isDeprecated": false,
6498+
"deprecationReason": null
64356499
}
64366500
],
64376501
"inputFields": null,

index.node.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.web.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/generated/graphql.d.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,8 @@ export declare type MarketingAd = ResultResource & {
465465
remoteId: Scalars['String'];
466466
/** Preview data of the marketing ad */
467467
preview: Scalars['String'];
468+
/** The source of the analytics used to derive results data */
469+
resultsSource: Array<Maybe<Scalars['NonEmptyString']>>;
468470
/** Results related to the marketing ad */
469471
results?: Maybe<ResultConnection>;
470472
/** Marketing campaigns related to the marketing ad */
@@ -533,6 +535,8 @@ export declare type MarketingCampaign = ResultResource & {
533535
creativeSpec: Scalars['JSONObject'];
534536
/** Marketing campaign scheduling data */
535537
runTimeSpec: Scalars['JSONObject'];
538+
/** The source of the analytics used to derive results data */
539+
resultsSource: Array<Maybe<Scalars['NonEmptyString']>>;
536540
/** System status of the marketing campaign */
537541
systemStatus: SystemStatus;
538542
/** Validation errors of the marketing campaign */
@@ -1405,6 +1409,10 @@ export declare type ResultAnalytics = {
14051409
clicks?: Maybe<Scalars['Int']>;
14061410
/** Amount spent */
14071411
spend?: Maybe<Scalars['Float']>;
1412+
/** Number of purchases */
1413+
purchases?: Maybe<Scalars['Int']>;
1414+
/** Amount of purchases value */
1415+
purchasesValue?: Maybe<Scalars['Float']>;
14081416
};
14091417
/** Results collection */
14101418
export declare type ResultConnection = {
@@ -1995,6 +2003,7 @@ export declare type MarketingAdResolvers<ContextType = any, ParentType extends R
19952003
lastChangeDate?: Resolver<ResolversTypes['DateISO'], ParentType, ContextType>;
19962004
remoteId?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
19972005
preview?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
2006+
resultsSource?: Resolver<Array<Maybe<ResolversTypes['NonEmptyString']>>, ParentType, ContextType>;
19982007
results?: Resolver<Maybe<ResolversTypes['ResultConnection']>, ParentType, ContextType, MarketingAdResultsArgs>;
19992008
marketingCampaign?: Resolver<ResolversTypes['MarketingCampaign'], ParentType, ContextType>;
20002009
vendor?: Resolver<ResolversTypes['Vendor'], ParentType, ContextType>;
@@ -2022,6 +2031,7 @@ export declare type MarketingCampaignResolvers<ContextType = any, ParentType ext
20222031
results?: Resolver<Maybe<ResolversTypes['ResultConnection']>, ParentType, ContextType, MarketingCampaignResultsArgs>;
20232032
creativeSpec?: Resolver<ResolversTypes['JSONObject'], ParentType, ContextType>;
20242033
runTimeSpec?: Resolver<ResolversTypes['JSONObject'], ParentType, ContextType>;
2034+
resultsSource?: Resolver<Array<Maybe<ResolversTypes['NonEmptyString']>>, ParentType, ContextType>;
20252035
systemStatus?: Resolver<ResolversTypes['SystemStatus'], ParentType, ContextType>;
20262036
errors?: Resolver<Maybe<Array<ResolversTypes['JSONObject']>>, ParentType, ContextType>;
20272037
};
@@ -2215,6 +2225,8 @@ export declare type ResultAnalyticsResolvers<ContextType = any, ParentType exten
22152225
impressions?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
22162226
clicks?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
22172227
spend?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
2228+
purchases?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
2229+
purchasesValue?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
22182230
};
22192231
export declare type ResultConnectionResolvers<ContextType = any, ParentType extends ResolversParentTypes['ResultConnection'] = ResolversParentTypes['ResultConnection']> = {
22202232
edges?: Resolver<Maybe<Array<Maybe<ResolversTypes['ResultEdge']>>>, ParentType, ContextType>;

src/generated/graphql.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,8 @@ export type MarketingAd = ResultResource & {
521521
remoteId: Scalars['String'];
522522
/** Preview data of the marketing ad */
523523
preview: Scalars['String'];
524+
/** The source of the analytics used to derive results data */
525+
resultsSource: Array<Maybe<Scalars['NonEmptyString']>>;
524526
/** Results related to the marketing ad */
525527
results?: Maybe<ResultConnection>;
526528
/** Marketing campaigns related to the marketing ad */
@@ -593,6 +595,8 @@ export type MarketingCampaign = ResultResource & {
593595
creativeSpec: Scalars['JSONObject'];
594596
/** Marketing campaign scheduling data */
595597
runTimeSpec: Scalars['JSONObject'];
598+
/** The source of the analytics used to derive results data */
599+
resultsSource: Array<Maybe<Scalars['NonEmptyString']>>;
596600
/** System status of the marketing campaign */
597601
systemStatus: SystemStatus;
598602
/** Validation errors of the marketing campaign */
@@ -1567,6 +1571,10 @@ export type ResultAnalytics = {
15671571
clicks?: Maybe<Scalars['Int']>;
15681572
/** Amount spent */
15691573
spend?: Maybe<Scalars['Float']>;
1574+
/** Number of purchases */
1575+
purchases?: Maybe<Scalars['Int']>;
1576+
/** Amount of purchases value */
1577+
purchasesValue?: Maybe<Scalars['Float']>;
15701578
};
15711579

15721580
/** Results collection */
@@ -2435,6 +2443,11 @@ export type MarketingAdResolvers<
24352443
>;
24362444
remoteId?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
24372445
preview?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
2446+
resultsSource?: Resolver<
2447+
Array<Maybe<ResolversTypes['NonEmptyString']>>,
2448+
ParentType,
2449+
ContextType
2450+
>;
24382451
results?: Resolver<
24392452
Maybe<ResolversTypes['ResultConnection']>,
24402453
ParentType,
@@ -2530,6 +2543,11 @@ export type MarketingCampaignResolvers<
25302543
ParentType,
25312544
ContextType
25322545
>;
2546+
resultsSource?: Resolver<
2547+
Array<Maybe<ResolversTypes['NonEmptyString']>>,
2548+
ParentType,
2549+
ContextType
2550+
>;
25332551
systemStatus?: Resolver<
25342552
ResolversTypes['SystemStatus'],
25352553
ParentType,
@@ -3298,6 +3316,12 @@ export type ResultAnalyticsResolvers<
32983316
>;
32993317
clicks?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
33003318
spend?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
3319+
purchases?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
3320+
purchasesValue?: Resolver<
3321+
Maybe<ResolversTypes['Float']>,
3322+
ParentType,
3323+
ContextType
3324+
>;
33013325
};
33023326

33033327
export type ResultConnectionResolvers<

0 commit comments

Comments
 (0)