@gojinko/cli 2.13.0 → 2.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/README.md CHANGED
@@ -69,7 +69,9 @@ Prod and sandbox keys are stored separately in `~/.jinko/config.yaml`. Resolutio
69
69
 
70
70
  | Command | Description |
71
71
  |---|---|
72
- | `book` | Schedule checkout, returns `checkout_url` + items + ancillaries + total |
72
+ | `checkout` | Finalize a trip → returns `checkout_url` (human pays in a browser) + `agent_spt_params` (agent pays programmatically) + items + total. (`book` is a deprecated alias.) |
73
+ | `agent-pay submit` | Pay programmatically with a Shared Payment Token: present `--trip-id` + `--token`; the BFF schedules the agent fulfillment and redeems the SPT. Falls back to `checkout_url` on a 3DS step-up. |
74
+ | `get-ancillaries` | List a trip's purchasable ancillaries (bags / seats / meals) without generating a checkout URL |
73
75
  | `select-ancillaries` | Optional: preselect bags / seats / meals before handoff |
74
76
  | `trip-status` | Full lifecycle state: cart, quote, fulfillment, bookings |
75
77
 
@@ -97,10 +99,11 @@ Prod and sandbox keys are stored separately in `~/.jinko/config.yaml`. Resolutio
97
99
  ## Canonical Flow
98
100
 
99
101
  ```
100
- flight-search → trip → book → user pays on checkout_url → trip-status
102
+ flight-search → trip → checkout → user pays on checkout_url → trip-status
103
+ ↘ agent-pay submit (programmatic, Shared Payment Token) → trip-status
101
104
  ```
102
105
 
103
- Quote is automatic — `book` handles it internally. Payment happens on the Jinko web page, not in the CLI.
106
+ Quote is automatic — `checkout` handles it internally. A human pays on the returned `checkout_url` (the Jinko web page, not in the CLI); an agent can instead mint a Shared Payment Token from `agent_spt_params` and call `agent-pay submit` to pay programmatically.
104
107
 
105
108
  ## Examples
106
109
 
@@ -124,8 +127,8 @@ jinko trip \
124
127
  --travelers '[{"first_name":"Jane","last_name":"Doe","date_of_birth":"1990-01-15","gender":"FEMALE","passenger_type":"ADULT"}]' \
125
128
  --contact '{"email":"jane@example.com","phone":"+33612345678"}'
126
129
 
127
- # Schedule checkout → returns checkout_url
128
- jinko book --trip-id <trip_id>
130
+ # Finalize → returns checkout_url (human) + agent_spt_params (agent)
131
+ jinko checkout --trip-id <trip_id>
129
132
 
130
133
  # Optional: add baggage/seats/meals before handoff
131
134
  jinko select-ancillaries \
package/SKILL.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Jinko CLI — Agent Skill Guide
2
2
 
3
- You are using `jinko`, a CLI for the Jinko developer platform. Every trip ends at a Jinko-hosted web checkout page where the user pays — the CLI itself never collects payment.
3
+ You are using `jinko`, a CLI for the Jinko developer platform. A trip can be paid two ways: a human opens the Jinko-hosted `checkout_url` in a browser, OR an agent pays programmatically with a Shared Payment Token via `agent-pay submit` (no browser, no checkout page).
4
4
 
5
5
  ## Authentication
6
6
 
@@ -33,8 +33,9 @@ Opens a browser for WorkOS device flow login. Token is stored in `~/.jinko/confi
33
33
  - `trip` — create/update a trip (add items, set travelers + contact). Returns `trip_id`.
34
34
 
35
35
  ### Checkout
36
- - `checkout` — schedule checkout for a trip; returns `checkout_url` + items + available ancillaries + total.
37
- - `select-ancillaries` — (optional) preselect bags/seats/meals before sending the user to `checkout_url`.
36
+ - `checkout` — finalize a trip; returns BOTH `checkout_url` (a human opens it to pay) AND `agent_spt_params` (an agent uses them to pay programmatically), plus items + ancillaries + total. (`book` is a deprecated alias.)
37
+ - `agent-pay submit --trip-id <id> --token <spt>` — pay programmatically: mint a Shared Payment Token scoped to `checkout`'s `agent_spt_params`, then submit it; the BFF schedules the agent fulfillment and redeems the token. A 3DS step-up / decline falls back to a `checkout_url`.
38
+ - `select-ancillaries` — (optional) preselect bags/seats/meals before checkout.
38
39
 
39
40
  ### Status
40
41
  - `trip-status` — full lifecycle state: cart, quote, fulfillment, bookings (PNRs).
@@ -58,12 +59,15 @@ Opens a browser for WorkOS device flow login. Token is stored in `~/.jinko/confi
58
59
  → returns trip_id
59
60
 
60
61
  3. jinko checkout --trip-id <trip_id>
61
- → returns { checkout_url, items, available_ancillaries, total_amount }
62
+ → returns { checkout_url, agent_spt_params, items, available_ancillaries, total_amount }
62
63
 
63
64
  4. (optional) jinko select-ancillaries --trip-id <id> --item-id <id> --select <offer_ids>
64
65
  → apply bag/seat selections
65
66
 
66
- 5. Send the user to checkout_url — they complete payment on the Jinko web page.
67
+ 5a. Human path: send the user to checkout_url — they complete payment on the Jinko web page.
68
+ 5b. Agent path: mint a Shared Payment Token scoped to agent_spt_params, then
69
+ jinko agent-pay submit --trip-id <trip_id> --token <spt>
70
+ → { status: "processing", payment_verified: true } (or a checkout_url fallback on 3DS)
67
71
 
68
72
  6. jinko trip-status --trip-id <trip_id>
69
73
  → poll until status = "fulfilled" (or "partially_fulfilled") to get PNRs.
@@ -72,7 +76,7 @@ Opens a browser for WorkOS device flow login. Token is stored in `~/.jinko/confi
72
76
  ## Important Notes
73
77
 
74
78
  - Quote is automatic — you never call it explicitly. `checkout` handles it internally.
75
- - Payment happens on the Jinko web page, not via the CLI.
79
+ - Payment happens either on the Jinko web page (`checkout_url`) or programmatically via `agent-pay submit` (Shared Payment Token).
76
80
  - Ancillary selection CAN happen via the CLI before handoff, or on the web page.
77
81
  - Airport codes: IATA (PAR, NYC, JFK).
78
82
  - Dates: YYYY-MM-DD.
@@ -0,0 +1,3 @@
1
+ import { Command } from 'commander';
2
+ export declare function registerAgentPaymentCommands(program: Command): void;
3
+ //# sourceMappingURL=agent-pay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-pay.d.ts","sourceRoot":"","sources":["../../src/commands/agent-pay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,wBAAgB,4BAA4B,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAsBnE"}
@@ -0,0 +1,18 @@
1
+ import { withClient, output } from './shared.js';
2
+ export function registerAgentPaymentCommands(program) {
3
+ const agent = program
4
+ .command('agent-pay')
5
+ .summary('Pay for a trip programmatically with a Shared Payment Token (no checkout page)')
6
+ .description('Programmatic agent payment (JIN-1109). First call `checkout` to get the trip\'s `agent_spt_params`, mint a Shared Payment Token scoped to them, then `submit` it here. In one call the BFF schedules the agent fulfillment and redeems the token to authorize the booking server-side — no browser, no hosted checkout page. On a 3DS step-up or decline, `submit` returns a checkout_url the user can complete instead.');
7
+ agent
8
+ .command('submit')
9
+ .summary('Submit a Shared Payment Token to schedule + authorize the booking')
10
+ .description('Present a trip ID and a Shared Payment Token: the BFF schedules the agent fulfillment and redeems the token to authorize the booking server-side, advancing it to fulfillment. If the issuer requires customer action (3DS) the response carries a checkout_url fallback instead of confirming.')
11
+ .requiredOption('--trip-id <id>', 'trip ID (from the trip command) [required]')
12
+ .requiredOption('--token <spt>', 'Shared Payment Token (spt_...) [required]')
13
+ .action(withClient(async (client, globals, opts) => {
14
+ const response = await client.submitAgentPayment(opts.tripId, opts.token);
15
+ output(response, { format: globals.format });
16
+ }));
17
+ }
18
+ //# sourceMappingURL=agent-pay.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-pay.js","sourceRoot":"","sources":["../../src/commands/agent-pay.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAEjD,MAAM,UAAU,4BAA4B,CAAC,OAAgB;IAC3D,MAAM,KAAK,GAAG,OAAO;SAClB,OAAO,CAAC,WAAW,CAAC;SACpB,OAAO,CAAC,gFAAgF,CAAC;SACzF,WAAW,CACV,0ZAA0Z,CAC3Z,CAAC;IAEJ,KAAK;SACF,OAAO,CAAC,QAAQ,CAAC;SACjB,OAAO,CAAC,mEAAmE,CAAC;SAC5E,WAAW,CACV,iSAAiS,CAClS;SACA,cAAc,CAAC,gBAAgB,EAAE,4CAA4C,CAAC;SAC9E,cAAc,CAAC,eAAe,EAAE,2CAA2C,CAAC;SAC5E,MAAM,CACL,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;QACzC,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;QAC1E,MAAM,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAC/C,CAAC,CAAC,CACH,CAAC;AACN,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import { Command } from 'commander';
2
- export declare function registerBookCommand(program: Command): void;
2
+ export declare function registerCheckoutCommand(program: Command): void;
3
3
  //# sourceMappingURL=checkout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../src/commands/checkout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAY1D"}
1
+ {"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../src/commands/checkout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAuB9D"}
@@ -1,9 +1,19 @@
1
1
  import { withClient, output } from './shared.js';
2
- export function registerBookCommand(program) {
2
+ export function registerCheckoutCommand(program) {
3
3
  program
4
- .command('book')
5
- .summary('Schedule checkout for a trip — returns a checkout URL the user opens to complete payment')
6
- .description('Turn a finalized trip into a checkout link the user can pay through. Use it once the trip is set and traveler details are filled in, for example after the user picks a Paris to Tokyo round trip and adds a hotel for the stay. The returned URL is what the user opens in a browser to complete payment.')
4
+ .command('checkout')
5
+ .summary('Checkout a trip — returns a checkout URL the user opens to pay, plus agent payment params')
6
+ .description('Finalize a finalized trip. Use it once the trip is set and traveler details are filled in, for example after the user picks a Paris to Tokyo round trip and adds a hotel for the stay. The response carries two payment paths: `checkout_url` is what a human opens in a browser to pay, and `agent_spt_params` (max amount, currency, profile) is what an agent uses to mint a Shared Payment Token and pay programmatically via `agent-pay submit`.')
7
+ .requiredOption('--trip-id <id>', 'trip ID (from trip command) [required]')
8
+ .action(withClient(async (client, globals, opts) => {
9
+ const response = await client.checkout(opts.tripId);
10
+ output(response, { format: globals.format });
11
+ }));
12
+ // DEPRECATED alias — `book` was renamed to `checkout` (JIN-1131). Kept so
13
+ // existing scripts keep working; mcp-apps still exposes `book`.
14
+ program
15
+ .command('book', { hidden: true })
16
+ .summary('DEPRECATED — use `checkout`. Alias retained for backward compatibility.')
7
17
  .requiredOption('--trip-id <id>', 'trip ID (from trip command) [required]')
8
18
  .action(withClient(async (client, globals, opts) => {
9
19
  const response = await client.book(opts.tripId);
@@ -1 +1 @@
1
- {"version":3,"file":"checkout.js","sourceRoot":"","sources":["../../src/commands/checkout.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAEjD,MAAM,UAAU,mBAAmB,CAAC,OAAgB;IAClD,OAAO;SACJ,OAAO,CAAC,MAAM,CAAC;SACf,OAAO,CAAC,0FAA0F,CAAC;SACnG,WAAW,CACV,4SAA4S,CAC7S;SACA,cAAc,CAAC,gBAAgB,EAAE,wCAAwC,CAAC;SAC1E,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;QACjD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAChD,MAAM,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAC/C,CAAC,CAAC,CAAC,CAAC;AACR,CAAC"}
1
+ {"version":3,"file":"checkout.js","sourceRoot":"","sources":["../../src/commands/checkout.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAEjD,MAAM,UAAU,uBAAuB,CAAC,OAAgB;IACtD,OAAO;SACJ,OAAO,CAAC,UAAU,CAAC;SACnB,OAAO,CAAC,2FAA2F,CAAC;SACpG,WAAW,CACV,ubAAub,CACxb;SACA,cAAc,CAAC,gBAAgB,EAAE,wCAAwC,CAAC;SAC1E,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;QACjD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACpD,MAAM,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAC/C,CAAC,CAAC,CAAC,CAAC;IAEN,0EAA0E;IAC1E,gEAAgE;IAChE,OAAO;SACJ,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;SACjC,OAAO,CAAC,yEAAyE,CAAC;SAClF,cAAc,CAAC,gBAAgB,EAAE,wCAAwC,CAAC;SAC1E,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;QACjD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAChD,MAAM,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAC/C,CAAC,CAAC,CAAC,CAAC;AACR,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/commands/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAyKpC,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAmC5D"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/commands/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgMpC,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAmC5D"}
@@ -80,17 +80,18 @@ const SCHEMAS = {
80
80
  actions_performed: "string[]",
81
81
  },
82
82
  },
83
- book: {
84
- description: "Book a trip — schedules checkout and returns a Stripe payment URL, plus cart items and available ancillaries (POST /shop/sync/checkout).",
83
+ checkout: {
84
+ description: "Checkout a trip — returns the web checkout_url a human opens to pay, the agent_spt_params an agent uses to pay programmatically, plus cart items and ancillaries (POST /shop/sync/checkout). `book` is a deprecated alias.",
85
85
  request: {
86
86
  trip_id: "string (from trip command)",
87
87
  },
88
88
  response: {
89
89
  session_id: "string",
90
- checkout_url: "string",
90
+ checkout_url: "string (human payment URL)",
91
91
  expires_at: "string? (ISO datetime)",
92
92
  status: "ready | pending | failed",
93
93
  total_amount: "{ amount: number, currency: string }?",
94
+ agent_spt_params: "{ max_amount: number, currency: string, stripe_profile?: string, expires_at?: string }? (mint an SPT scoped to these, then call agent-pay submit)",
94
95
  items: "[{ item_id, kind, price, pax_count, available_ancillaries: [...], selected_ancillaries: [...] }]",
95
96
  },
96
97
  },
@@ -124,7 +125,7 @@ const SCHEMAS = {
124
125
  quoted_cart_id: "number?",
125
126
  expires_at: "string (ISO)?",
126
127
  retry_after_seconds: "number? (present when status=pricing)",
127
- items: "[{ item_id, kind, price, pax_count, available_ancillaries: [{ offer_id, type, label, price_per_unit, per_pax, max_quantity }], selected_ancillaries }]",
128
+ items: "[{ item_id, kind, price, pax_count, available_ancillaries: [{ offer_id, type, label, display_label, price_per_unit, per_pax, max_quantity }], selected_ancillaries }]",
128
129
  },
129
130
  },
130
131
  "select-ancillaries": {
@@ -139,6 +140,25 @@ const SCHEMAS = {
139
140
  items: "[...]",
140
141
  },
141
142
  },
143
+ "agent-pay": {
144
+ description: "One-call programmatic payment with a Shared Payment Token — the alternative to opening `checkout`'s checkout URL. Get `agent_spt_params` from `checkout`, mint an SPT scoped to them, then `agent-pay submit` presents trip_id + the SPT: the BFF schedules the agent fulfillment and redeems the token (POST /v1/agent_payment/submit).",
145
+ request: {
146
+ submit: {
147
+ trip_id: "string (from trip command)",
148
+ shared_payment_token: "string (SPT minted for the checkout agent_spt_params)",
149
+ },
150
+ },
151
+ response: {
152
+ submit: {
153
+ fulfillment_cart_id: "number",
154
+ status: "string",
155
+ payment_verified: "boolean",
156
+ message: "string?",
157
+ checkout_url: "string? (hosted-checkout fallback, present only on a 3DS step-up / decline)",
158
+ recap_token: "string?",
159
+ },
160
+ },
161
+ },
142
162
  };
143
163
  export function registerSchemaCommand(program) {
144
164
  program
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/commands/schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;GAEG;AACH,MAAM,OAAO,GAOT;IACF,kBAAkB,EAAE;QAClB,WAAW,EACT,gFAAgF;QAClF,OAAO,EAAE;YACP,UAAU,EAAE,iBAAiB;YAC7B,OAAO,EAAE;gBACP,SAAS,EAAE,uBAAuB;gBAClC,KAAK,EAAE,0DAA0D;gBACjE,SAAS,EAAE,oBAAoB;aAChC;YACD,uBAAuB,EAAE,qBAAqB;YAC9C,KAAK,EAAE,sBAAsB;YAC7B,iBAAiB,EAAE,yBAAyB;SAC7C;QACD,QAAQ,EAAE;YACR,MAAM,EAAE,wCAAwC;YAChD,YAAY,EAAE,yDAAyD;YACvE,UAAU,EAAE,qBAAqB;YACjC,KAAK,EAAE,QAAQ;SAChB;KACF;IACD,eAAe,EAAE;QACf,WAAW,EACT,0EAA0E;QAC5E,OAAO,EAAE;YACP,aAAa,EAAE;gBACb,MAAM,EAAE,oBAAoB;gBAC5B,WAAW,EAAE,oBAAoB;gBACjC,cAAc,EAAE,qBAAqB;gBACrC,WAAW,EAAE,sBAAsB;gB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CAAC,IAAI,CAAC,CAAC;YAClD,OAAO,CAAC,KAAK,CACX,oBAAoB,WAAW,gBAAgB,SAAS,EAAE,CAC3D,CAAC;YACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAClB,CAAC;QAED,MAAM,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAC1E,CAAC,CACF,CAAC;AACN,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA+BpC,wBAAgB,aAAa,IAAI,OAAO,CAiDvC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgCpC,wBAAgB,aAAa,IAAI,OAAO,CAkDvC"}
package/dist/index.js CHANGED
@@ -11,7 +11,8 @@ import { registerPriceMonitoringCommand } from "./commands/price-monitoring.js";
11
11
  import { registerHotelSearchCommand } from "./commands/hotel-search.js";
12
12
  import { registerHotelDetailsCommand } from "./commands/hotel-details.js";
13
13
  import { registerTripCommand } from "./commands/trip.js";
14
- import { registerBookCommand } from "./commands/checkout.js";
14
+ import { registerCheckoutCommand } from "./commands/checkout.js";
15
+ import { registerAgentPaymentCommands } from "./commands/agent-pay.js";
15
16
  import { registerTripStatusCommand } from "./commands/trip-status.js";
16
17
  import { registerGetAncillariesCommand } from "./commands/get-ancillaries.js";
17
18
  import { registerSelectAncillariesCommand } from "./commands/select-ancillaries.js";
@@ -45,7 +46,8 @@ export function createProgram() {
45
46
  registerHotelDetailsCommand(program);
46
47
  // Trip building + checkout
47
48
  registerTripCommand(program);
48
- registerBookCommand(program);
49
+ registerCheckoutCommand(program);
50
+ registerAgentPaymentCommands(program);
49
51
  registerGetAncillariesCommand(program);
50
52
  registerSelectAncillariesCommand(program);
51
53
  registerTripStatusCommand(program);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,gCAAgC,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;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C,CAAC;IACrC,6BAA6B,CAAC,OAAO,CAAC,CAAC;IACvC,wBAAwB,CAAC,OAAO,CAAC,CAAC;IAClC,yBAAyB,CAAC,OAAO,CAAC,CAAC;IACnC,8BAA8B,CAAC,OAAO,CAAC,CAAC;IACxC,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACpC,2BAA2B,CAAC,OAAO,CAAC,CAAC;IAErC,2BAA2B;IAC3B,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAC7B,uBAAuB,CAAC,OAAO,CAAC,CAAC;IACjC,4BAA4B,CAAC,OAAO,CAAC,CAAC;IACtC,6BAA6B,CAAC,OAAO,CAAC,CAAC;IACvC,gCAAgC,CAAC,OAAO,CAAC,CAAC;IAC1C,yBAAyB,CAAC,OAAO,CAAC,CAAC;IAEnC,eAAe;IACf,yBAAyB,CAAC,OAAO,CAAC,CAAC;IACnC,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACpC,qBAAqB,CAAC,OAAO,CAAC,CAAC;IAC/B,uBAAuB,CAAC,OAAO,CAAC,CAAC;IAEjC,mBAAmB;IACnB,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAC9B,sBAAsB,CAAC,OAAO,CAAC,CAAC;IAChC,qBAAqB,CAAC,OAAO,CAAC,CAAC;IAE/B,OAAO,OAAO,CAAC;AACjB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gojinko/cli",
3
- "version": "2.13.0",
3
+ "version": "2.15.0",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "jinko": "./dist/bin/jinko.js"
@@ -17,7 +17,7 @@
17
17
  "docs:gen": "tsx scripts/gen-cli-docs.ts"
18
18
  },
19
19
  "dependencies": {
20
- "@gojinko/api-client": "2.13.0",
20
+ "@gojinko/api-client": "2.15.0",
21
21
  "commander": "^12.1.0",
22
22
  "chalk": "^5.4.1",
23
23
  "open": "^10.0.0"