@cloudcart/dev-mcp 0.2.14 → 0.2.15

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/data/admin.json CHANGED
@@ -7061,6 +7061,68 @@
7061
7061
  "isDeprecated": false,
7062
7062
  "deprecationReason": null
7063
7063
  },
7064
+ {
7065
+ "name": "paymentProviders",
7066
+ "description": "List the payment providers available to the current site, each with its\nreal activation state (PaymentProviderConfiguration.active).\n\nUse this — not applications(filter: { group: \"payment\" }) — to determine\nwhether a payment method is actually activated for checkout. The\nApplication.isActive flag reads a different store that is not kept in sync\nwith payment activation.",
7067
+ "args": [
7068
+ {
7069
+ "name": "filter",
7070
+ "description": "Filters for narrowing results.",
7071
+ "type": {
7072
+ "kind": "INPUT_OBJECT",
7073
+ "name": "PaymentProviderFilterInput",
7074
+ "ofType": null
7075
+ },
7076
+ "defaultValue": null
7077
+ }
7078
+ ],
7079
+ "type": {
7080
+ "kind": "NON_NULL",
7081
+ "name": null,
7082
+ "ofType": {
7083
+ "kind": "LIST",
7084
+ "name": null,
7085
+ "ofType": {
7086
+ "kind": "NON_NULL",
7087
+ "name": null,
7088
+ "ofType": {
7089
+ "kind": "OBJECT",
7090
+ "name": "PaymentProvider",
7091
+ "ofType": null
7092
+ }
7093
+ }
7094
+ }
7095
+ },
7096
+ "isDeprecated": false,
7097
+ "deprecationReason": null
7098
+ },
7099
+ {
7100
+ "name": "paymentProvider",
7101
+ "description": "Find a single payment provider by key (e.g. cod).",
7102
+ "args": [
7103
+ {
7104
+ "name": "key",
7105
+ "description": "The payment provider key.",
7106
+ "type": {
7107
+ "kind": "NON_NULL",
7108
+ "name": null,
7109
+ "ofType": {
7110
+ "kind": "SCALAR",
7111
+ "name": "String",
7112
+ "ofType": null
7113
+ }
7114
+ },
7115
+ "defaultValue": null
7116
+ }
7117
+ ],
7118
+ "type": {
7119
+ "kind": "OBJECT",
7120
+ "name": "PaymentProvider",
7121
+ "ofType": null
7122
+ },
7123
+ "isDeprecated": false,
7124
+ "deprecationReason": null
7125
+ },
7064
7126
  {
7065
7127
  "name": "productReviewSettings",
7066
7128
  "description": "Get Product Review app settings. Returns null if the app is not installed.",
@@ -97808,6 +97870,152 @@
97808
97870
  "enumValues": null,
97809
97871
  "possibleTypes": null
97810
97872
  },
97873
+ {
97874
+ "kind": "OBJECT",
97875
+ "name": "PaymentProvider",
97876
+ "description": "A payment provider (payment method) on the current site, with its real\nactivation state.\n\nUse this instead of `applications(filter: { group: \"payment\" })` to tell\nwhether a payment method is actually turned on for checkout. `Application.isActive`\nreads the generic app-install flag (the `apps` table), which is NOT kept in\nsync with the payment Activate/Deactivate toggle. `PaymentProvider.isActive`\nreads the authoritative `PaymentProviderConfiguration.active` value that the\nadmin payment page writes.",
97877
+ "fields": [
97878
+ {
97879
+ "name": "key",
97880
+ "description": "Payment provider key (e.g. cod, stripe, borica_way4).",
97881
+ "args": [],
97882
+ "type": {
97883
+ "kind": "NON_NULL",
97884
+ "name": null,
97885
+ "ofType": {
97886
+ "kind": "SCALAR",
97887
+ "name": "String",
97888
+ "ofType": null
97889
+ }
97890
+ },
97891
+ "isDeprecated": false,
97892
+ "deprecationReason": null
97893
+ },
97894
+ {
97895
+ "name": "name",
97896
+ "description": "Display name (the configuration title if set, otherwise the provider name).",
97897
+ "args": [],
97898
+ "type": {
97899
+ "kind": "NON_NULL",
97900
+ "name": null,
97901
+ "ofType": {
97902
+ "kind": "SCALAR",
97903
+ "name": "String",
97904
+ "ofType": null
97905
+ }
97906
+ },
97907
+ "isDeprecated": false,
97908
+ "deprecationReason": null
97909
+ },
97910
+ {
97911
+ "name": "group",
97912
+ "description": "Provider group (always payment).",
97913
+ "args": [],
97914
+ "type": {
97915
+ "kind": "SCALAR",
97916
+ "name": "String",
97917
+ "ofType": null
97918
+ },
97919
+ "isDeprecated": false,
97920
+ "deprecationReason": null
97921
+ },
97922
+ {
97923
+ "name": "isInstalled",
97924
+ "description": "Whether the payment method is installed on the current site (a configuration record exists).",
97925
+ "args": [],
97926
+ "type": {
97927
+ "kind": "NON_NULL",
97928
+ "name": null,
97929
+ "ofType": {
97930
+ "kind": "SCALAR",
97931
+ "name": "Boolean",
97932
+ "ofType": null
97933
+ }
97934
+ },
97935
+ "isDeprecated": false,
97936
+ "deprecationReason": null
97937
+ },
97938
+ {
97939
+ "name": "isActive",
97940
+ "description": "Whether the payment method is activated for checkout — the value of the\nActivate/Deactivate toggle on the admin payment page. Reads\nPaymentProviderConfiguration.active; this is the authoritative flag, NOT\nthe generic Application.isActive.",
97941
+ "args": [],
97942
+ "type": {
97943
+ "kind": "NON_NULL",
97944
+ "name": null,
97945
+ "ofType": {
97946
+ "kind": "SCALAR",
97947
+ "name": "Boolean",
97948
+ "ofType": null
97949
+ }
97950
+ },
97951
+ "isDeprecated": false,
97952
+ "deprecationReason": null
97953
+ },
97954
+ {
97955
+ "name": "isConfigured",
97956
+ "description": "Whether the provider is configured (a configuration record exists).",
97957
+ "args": [],
97958
+ "type": {
97959
+ "kind": "NON_NULL",
97960
+ "name": null,
97961
+ "ofType": {
97962
+ "kind": "SCALAR",
97963
+ "name": "Boolean",
97964
+ "ofType": null
97965
+ }
97966
+ },
97967
+ "isDeprecated": false,
97968
+ "deprecationReason": null
97969
+ },
97970
+ {
97971
+ "name": "image",
97972
+ "description": "Logo image URL (custom uploaded configuration image if present, otherwise the app icon).",
97973
+ "args": [],
97974
+ "type": {
97975
+ "kind": "SCALAR",
97976
+ "name": "String",
97977
+ "ofType": null
97978
+ },
97979
+ "isDeprecated": false,
97980
+ "deprecationReason": null
97981
+ }
97982
+ ],
97983
+ "inputFields": null,
97984
+ "interfaces": [],
97985
+ "enumValues": null,
97986
+ "possibleTypes": null
97987
+ },
97988
+ {
97989
+ "kind": "INPUT_OBJECT",
97990
+ "name": "PaymentProviderFilterInput",
97991
+ "description": "Filters for the paymentProviders query.",
97992
+ "fields": null,
97993
+ "inputFields": [
97994
+ {
97995
+ "name": "isInstalled",
97996
+ "description": "Keep only providers installed on the current site.",
97997
+ "type": {
97998
+ "kind": "SCALAR",
97999
+ "name": "Boolean",
98000
+ "ofType": null
98001
+ },
98002
+ "defaultValue": null
98003
+ },
98004
+ {
98005
+ "name": "isActive",
98006
+ "description": "Keep only providers activated for checkout (PaymentProviderConfiguration.active = yes).",
98007
+ "type": {
98008
+ "kind": "SCALAR",
98009
+ "name": "Boolean",
98010
+ "ofType": null
98011
+ },
98012
+ "defaultValue": null
98013
+ }
98014
+ ],
98015
+ "interfaces": null,
98016
+ "enumValues": null,
98017
+ "possibleTypes": null
98018
+ },
97811
98019
  {
97812
98020
  "kind": "OBJECT",
97813
98021
  "name": "ProductReviewSettings",
Binary file