@forgecart/sdk 1.202607101537.0 → 1.202607110322.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.
@@ -2147,7 +2147,7 @@ export type MutationcancelOrderArgs = {
2147
2147
  input: CancelOrderInput;
2148
2148
  };
2149
2149
  export type MutationcancelPaymentSessionArgs = {
2150
- sessionId: Scalars['ID']['input'];
2150
+ paymentId: Scalars['ID']['input'];
2151
2151
  };
2152
2152
  export type MutationcancelSubscriptionArgs = {
2153
2153
  input: CancelSubscriptionInput;
@@ -8974,7 +8974,7 @@ export type SetDefaultTokenMutation = {
8974
8974
  setDefaultToken: Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>;
8975
8975
  };
8976
8976
  export type CancelSessionMutationVariables = Exact<{
8977
- sessionId: Scalars['ID']['input'];
8977
+ paymentId: Scalars['ID']['input'];
8978
8978
  }>;
8979
8979
  export type CancelSessionMutation = {
8980
8980
  cancelPaymentSession: Pick<PaymentGatewaySession, 'id' | 'extId' | 'clientSecret' | 'redirectUrl' | 'nonce' | 'status' | 'amount' | 'providerCode' | 'orderId' | 'createdAt' | 'updatedAt'>;
@@ -251,7 +251,7 @@ export declare const adminConfirmSessionDocument = "mutation ConfirmSession($ses
251
251
  export declare const adminSaveTokenDocument = "mutation SaveToken($input: SaveTokenForCustomerInput!) {\n saveToken(input: $input) {\n ...PaymentTokenField\n }\n}\n\nfragment PaymentTokenField on PaymentGatewayToken {\n id\n displayName\n type\n isDefault\n providerCode\n createdAt\n updatedAt\n}";
252
252
  export declare const adminDeleteTokenDocument = "mutation DeleteToken($tokenId: ID!) {\n deleteToken(tokenId: $tokenId)\n}";
253
253
  export declare const adminSetDefaultTokenDocument = "mutation SetDefaultToken($tokenId: ID!) {\n setDefaultToken(tokenId: $tokenId) {\n ...PaymentTokenField\n }\n}\n\nfragment PaymentTokenField on PaymentGatewayToken {\n id\n displayName\n type\n isDefault\n providerCode\n createdAt\n updatedAt\n}";
254
- export declare const adminCancelSessionDocument = "mutation CancelSession($sessionId: ID!) {\n cancelPaymentSession(sessionId: $sessionId) {\n ...PaymentSessionField\n }\n}\n\nfragment PaymentSessionField on PaymentGatewaySession {\n id\n extId\n clientSecret\n redirectUrl\n nonce\n status\n amount\n providerCode\n orderId\n createdAt\n updatedAt\n}";
254
+ export declare const adminCancelSessionDocument = "mutation CancelSession($paymentId: ID!) {\n cancelPaymentSession(paymentId: $paymentId) {\n ...PaymentSessionField\n }\n}\n\nfragment PaymentSessionField on PaymentGatewaySession {\n id\n extId\n clientSecret\n redirectUrl\n nonce\n status\n amount\n providerCode\n orderId\n createdAt\n updatedAt\n}";
255
255
  export declare const adminGetTokenTemplateDocument = "query GetTokenTemplate($providerCode: String!) {\n getTokenTemplate(providerCode: $providerCode) {\n providerCode\n html\n scriptUrl\n config\n }\n}";
256
256
  export declare const adminGetSessionTemplateDocument = "query GetSessionTemplate($orderId: ID!, $providerCode: String!) {\n getSessionTemplate(orderId: $orderId, providerCode: $providerCode) {\n providerCode\n html\n scriptUrl\n config\n }\n}";
257
257
  export declare const adminGetSessionVariablesDocument = "query GetSessionVariables($orderId: ID!, $providerCode: String!) {\n getSessionVariables(orderId: $orderId, providerCode: $providerCode) {\n providerCode\n publishableKey\n scriptUrl\n amount\n currency\n config\n }\n}";
@@ -13833,8 +13833,8 @@ fragment PaymentTokenField on PaymentGatewayToken {
13833
13833
  createdAt
13834
13834
  updatedAt
13835
13835
  }`;
13836
- exports.adminCancelSessionDocument = `mutation CancelSession($sessionId: ID!) {
13837
- cancelPaymentSession(sessionId: $sessionId) {
13836
+ exports.adminCancelSessionDocument = `mutation CancelSession($paymentId: ID!) {
13837
+ cancelPaymentSession(paymentId: $paymentId) {
13838
13838
  ...PaymentSessionField
13839
13839
  }
13840
13840
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forgecart/sdk",
3
- "version": "1.202607101537.0",
3
+ "version": "1.202607110322.0",
4
4
  "description": "ForgeCart Client SDK",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -2520,7 +2520,7 @@ export type MutationcancelOrderArgs = {
2520
2520
 
2521
2521
 
2522
2522
  export type MutationcancelPaymentSessionArgs = {
2523
- sessionId: Scalars['ID']['input'];
2523
+ paymentId: Scalars['ID']['input'];
2524
2524
  };
2525
2525
 
2526
2526
 
@@ -23669,7 +23669,7 @@ export type SetDefaultTokenMutation = { setDefaultToken: Pick<
23669
23669
  > };
23670
23670
 
23671
23671
  export type CancelSessionMutationVariables = Exact<{
23672
- sessionId: Scalars['ID']['input'];
23672
+ paymentId: Scalars['ID']['input'];
23673
23673
  }>;
23674
23674
 
23675
23675
 
@@ -14068,8 +14068,8 @@ fragment PaymentTokenField on PaymentGatewayToken {
14068
14068
  updatedAt
14069
14069
  }`;
14070
14070
 
14071
- export const adminCancelSessionDocument = `mutation CancelSession($sessionId: ID!) {
14072
- cancelPaymentSession(sessionId: $sessionId) {
14071
+ export const adminCancelSessionDocument = `mutation CancelSession($paymentId: ID!) {
14072
+ cancelPaymentSession(paymentId: $paymentId) {
14073
14073
  ...PaymentSessionField
14074
14074
  }
14075
14075
  }