@promoboxx/graphql-gateway-types 1.13.0 → 1.15.0
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/graphql.schema.json +67 -6
- package/index.d.ts +15 -2
- package/package.json +1 -1
- package/schema.graphql +9 -5
package/graphql.schema.json
CHANGED
|
@@ -15760,6 +15760,30 @@
|
|
|
15760
15760
|
"isDeprecated": false,
|
|
15761
15761
|
"deprecationReason": null
|
|
15762
15762
|
},
|
|
15763
|
+
{
|
|
15764
|
+
"name": "message_body",
|
|
15765
|
+
"description": null,
|
|
15766
|
+
"type": {
|
|
15767
|
+
"kind": "SCALAR",
|
|
15768
|
+
"name": "String",
|
|
15769
|
+
"ofType": null
|
|
15770
|
+
},
|
|
15771
|
+
"defaultValue": null,
|
|
15772
|
+
"isDeprecated": true,
|
|
15773
|
+
"deprecationReason": "No longer supported"
|
|
15774
|
+
},
|
|
15775
|
+
{
|
|
15776
|
+
"name": "message_subject",
|
|
15777
|
+
"description": null,
|
|
15778
|
+
"type": {
|
|
15779
|
+
"kind": "SCALAR",
|
|
15780
|
+
"name": "String",
|
|
15781
|
+
"ofType": null
|
|
15782
|
+
},
|
|
15783
|
+
"defaultValue": null,
|
|
15784
|
+
"isDeprecated": true,
|
|
15785
|
+
"deprecationReason": "No longer supported"
|
|
15786
|
+
},
|
|
15763
15787
|
{
|
|
15764
15788
|
"name": "retailer_account_id",
|
|
15765
15789
|
"description": null,
|
|
@@ -30151,8 +30175,8 @@
|
|
|
30151
30175
|
"kind": "NON_NULL",
|
|
30152
30176
|
"name": null,
|
|
30153
30177
|
"ofType": {
|
|
30154
|
-
"kind": "
|
|
30155
|
-
"name": "
|
|
30178
|
+
"kind": "SCALAR",
|
|
30179
|
+
"name": "String",
|
|
30156
30180
|
"ofType": null
|
|
30157
30181
|
}
|
|
30158
30182
|
},
|
|
@@ -30226,8 +30250,8 @@
|
|
|
30226
30250
|
"kind": "NON_NULL",
|
|
30227
30251
|
"name": null,
|
|
30228
30252
|
"ofType": {
|
|
30229
|
-
"kind": "
|
|
30230
|
-
"name": "
|
|
30253
|
+
"kind": "SCALAR",
|
|
30254
|
+
"name": "String",
|
|
30231
30255
|
"ofType": null
|
|
30232
30256
|
}
|
|
30233
30257
|
},
|
|
@@ -30319,7 +30343,7 @@
|
|
|
30319
30343
|
},
|
|
30320
30344
|
{
|
|
30321
30345
|
"name": "target_month",
|
|
30322
|
-
"description": "timestamp for the month that this goalset contains metrics for, in the format YYYY-MM-DD (currently, day will always be 1)
|
|
30346
|
+
"description": "timestamp for the month that this goalset contains metrics for, in the format YYYY-MM-DD (currently, day will always be 1).\nThis will correspond to the createdAt if this goal set was user-created.\nIf this goalset was copied from a previous month, it's targetMonth will match the month that it is actually targeting\nafter the createdAt. Basically, this is the month covered by this goalset, and createdAt can be used for metadata",
|
|
30323
30347
|
"args": [],
|
|
30324
30348
|
"type": {
|
|
30325
30349
|
"kind": "NON_NULL",
|
|
@@ -47832,7 +47856,20 @@
|
|
|
47832
47856
|
{
|
|
47833
47857
|
"name": "getGoalTypes",
|
|
47834
47858
|
"description": "getGoalTypes will return all possible goal types currently supported",
|
|
47835
|
-
"args": [
|
|
47859
|
+
"args": [
|
|
47860
|
+
{
|
|
47861
|
+
"name": "brand_id",
|
|
47862
|
+
"description": null,
|
|
47863
|
+
"type": {
|
|
47864
|
+
"kind": "SCALAR",
|
|
47865
|
+
"name": "ID",
|
|
47866
|
+
"ofType": null
|
|
47867
|
+
},
|
|
47868
|
+
"defaultValue": null,
|
|
47869
|
+
"isDeprecated": true,
|
|
47870
|
+
"deprecationReason": "graphql-server defined this argument for no good reason"
|
|
47871
|
+
}
|
|
47872
|
+
],
|
|
47836
47873
|
"type": {
|
|
47837
47874
|
"kind": "NON_NULL",
|
|
47838
47875
|
"name": null,
|
|
@@ -59530,6 +59567,30 @@
|
|
|
59530
59567
|
"isDeprecated": false,
|
|
59531
59568
|
"deprecationReason": null
|
|
59532
59569
|
},
|
|
59570
|
+
{
|
|
59571
|
+
"name": "message_body",
|
|
59572
|
+
"description": null,
|
|
59573
|
+
"type": {
|
|
59574
|
+
"kind": "SCALAR",
|
|
59575
|
+
"name": "String",
|
|
59576
|
+
"ofType": null
|
|
59577
|
+
},
|
|
59578
|
+
"defaultValue": null,
|
|
59579
|
+
"isDeprecated": true,
|
|
59580
|
+
"deprecationReason": "No longer supported"
|
|
59581
|
+
},
|
|
59582
|
+
{
|
|
59583
|
+
"name": "message_subject",
|
|
59584
|
+
"description": null,
|
|
59585
|
+
"type": {
|
|
59586
|
+
"kind": "SCALAR",
|
|
59587
|
+
"name": "String",
|
|
59588
|
+
"ofType": null
|
|
59589
|
+
},
|
|
59590
|
+
"defaultValue": null,
|
|
59591
|
+
"isDeprecated": true,
|
|
59592
|
+
"deprecationReason": "No longer supported"
|
|
59593
|
+
},
|
|
59533
59594
|
{
|
|
59534
59595
|
"name": "retailer_account_id",
|
|
59535
59596
|
"description": null,
|
package/index.d.ts
CHANGED
|
@@ -1725,6 +1725,10 @@ export type CreateBrandRequestBrandRequest = {
|
|
|
1725
1725
|
brand_message?: InputMaybe<Scalars['String']['input']>;
|
|
1726
1726
|
brand_name?: InputMaybe<Scalars['String']['input']>;
|
|
1727
1727
|
follow_up?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1728
|
+
/** @deprecated No longer supported */
|
|
1729
|
+
message_body?: InputMaybe<Scalars['String']['input']>;
|
|
1730
|
+
/** @deprecated No longer supported */
|
|
1731
|
+
message_subject?: InputMaybe<Scalars['String']['input']>;
|
|
1728
1732
|
retailer_account_id: Scalars['ID']['input'];
|
|
1729
1733
|
retailer_account_message?: InputMaybe<Scalars['String']['input']>;
|
|
1730
1734
|
source?: InputMaybe<BrandRequestSource>;
|
|
@@ -3308,14 +3312,14 @@ export type GoalMetric = {
|
|
|
3308
3312
|
show_in_dashboard: Scalars['Boolean']['output'];
|
|
3309
3313
|
target: Scalars['Int']['output'];
|
|
3310
3314
|
total: Scalars['Int']['output'];
|
|
3311
|
-
type:
|
|
3315
|
+
type: Scalars['String']['output'];
|
|
3312
3316
|
};
|
|
3313
3317
|
|
|
3314
3318
|
export type GoalMetricData = {
|
|
3315
3319
|
priority: Scalars['Int']['input'];
|
|
3316
3320
|
show_in_dashboard: Scalars['Boolean']['input'];
|
|
3317
3321
|
target: Scalars['Int']['input'];
|
|
3318
|
-
type:
|
|
3322
|
+
type: Scalars['String']['input'];
|
|
3319
3323
|
};
|
|
3320
3324
|
|
|
3321
3325
|
/**
|
|
@@ -5833,6 +5837,11 @@ export type QueryGetGoalSetsArgs = {
|
|
|
5833
5837
|
};
|
|
5834
5838
|
|
|
5835
5839
|
|
|
5840
|
+
export type QueryGetGoalTypesArgs = {
|
|
5841
|
+
brand_id?: InputMaybe<Scalars['ID']['input']>;
|
|
5842
|
+
};
|
|
5843
|
+
|
|
5844
|
+
|
|
5836
5845
|
export type QueryGetGraphMeArgs = {
|
|
5837
5846
|
accessToken: Scalars['String']['input'];
|
|
5838
5847
|
fields?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -7130,6 +7139,10 @@ export type UpdateBrandRequestBrandRequest = {
|
|
|
7130
7139
|
brand_message?: InputMaybe<Scalars['String']['input']>;
|
|
7131
7140
|
brand_name?: InputMaybe<Scalars['String']['input']>;
|
|
7132
7141
|
follow_up?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7142
|
+
/** @deprecated No longer supported */
|
|
7143
|
+
message_body?: InputMaybe<Scalars['String']['input']>;
|
|
7144
|
+
/** @deprecated No longer supported */
|
|
7145
|
+
message_subject?: InputMaybe<Scalars['String']['input']>;
|
|
7133
7146
|
retailer_account_id?: InputMaybe<Scalars['ID']['input']>;
|
|
7134
7147
|
retailer_account_message?: InputMaybe<Scalars['String']['input']>;
|
|
7135
7148
|
submitted?: InputMaybe<Scalars['Boolean']['input']>;
|
package/package.json
CHANGED
package/schema.graphql
CHANGED
|
@@ -1649,6 +1649,8 @@ input CreateBrandRequestBrandRequest {
|
|
|
1649
1649
|
brand_message: String
|
|
1650
1650
|
brand_name: String
|
|
1651
1651
|
follow_up: Boolean
|
|
1652
|
+
message_body: String @deprecated
|
|
1653
|
+
message_subject: String @deprecated
|
|
1652
1654
|
retailer_account_id: ID!
|
|
1653
1655
|
retailer_account_message: String
|
|
1654
1656
|
source: BrandRequestSource
|
|
@@ -3187,14 +3189,14 @@ type GoalMetric {
|
|
|
3187
3189
|
show_in_dashboard: Boolean!
|
|
3188
3190
|
target: Int!
|
|
3189
3191
|
total: Int!
|
|
3190
|
-
type:
|
|
3192
|
+
type: String!
|
|
3191
3193
|
}
|
|
3192
3194
|
|
|
3193
3195
|
input GoalMetricData {
|
|
3194
3196
|
priority: Int!
|
|
3195
3197
|
show_in_dashboard: Boolean!
|
|
3196
3198
|
target: Int!
|
|
3197
|
-
type:
|
|
3199
|
+
type: String!
|
|
3198
3200
|
}
|
|
3199
3201
|
|
|
3200
3202
|
"""
|
|
@@ -3215,8 +3217,8 @@ type GoalSet {
|
|
|
3215
3217
|
id: ID!
|
|
3216
3218
|
|
|
3217
3219
|
"""
|
|
3218
|
-
timestamp for the month that this goalset contains metrics for, in the format YYYY-MM-DD (currently, day will always be 1).
|
|
3219
|
-
This will correspond to the createdAt if this goal set was user-created.
|
|
3220
|
+
timestamp for the month that this goalset contains metrics for, in the format YYYY-MM-DD (currently, day will always be 1).
|
|
3221
|
+
This will correspond to the createdAt if this goal set was user-created.
|
|
3220
3222
|
If this goalset was copied from a previous month, it's targetMonth will match the month that it is actually targeting
|
|
3221
3223
|
after the createdAt. Basically, this is the month covered by this goalset, and createdAt can be used for metadata
|
|
3222
3224
|
"""
|
|
@@ -4489,7 +4491,7 @@ type Query {
|
|
|
4489
4491
|
getGoalSets(brand_id: ID!, end_date: String!, start_date: String!): GetGoalSetsResponse!
|
|
4490
4492
|
|
|
4491
4493
|
"""getGoalTypes will return all possible goal types currently supported"""
|
|
4492
|
-
getGoalTypes: AvailableGoalTypes!
|
|
4494
|
+
getGoalTypes(brand_id: ID @deprecated(reason: "graphql-server defined this argument for no good reason")): AvailableGoalTypes!
|
|
4493
4495
|
getGraphMe(accessToken: String!, fields: [String!]): FacebookGraphMe
|
|
4494
4496
|
getGraphPermissions(accessToken: String!, fields: [FacebookGraphField!]): [FacebookGraphPermission!]
|
|
4495
4497
|
getGraphTokenStatus(accessToken: String!, fields: [FacebookGraphField!]): FacebookGraphTokenStatus
|
|
@@ -5568,6 +5570,8 @@ input UpdateBrandRequestBrandRequest {
|
|
|
5568
5570
|
brand_message: String
|
|
5569
5571
|
brand_name: String
|
|
5570
5572
|
follow_up: Boolean
|
|
5573
|
+
message_body: String @deprecated
|
|
5574
|
+
message_subject: String @deprecated
|
|
5571
5575
|
retailer_account_id: ID
|
|
5572
5576
|
retailer_account_message: String
|
|
5573
5577
|
submitted: Boolean
|