@arbol-ai/cli 3.75.0 → 3.76.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.
Files changed (2) hide show
  1. package/dist/index.js +535 -5
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -17116,6 +17116,95 @@ var commands = {
17116
17116
  confirmation: null,
17117
17117
  hidden: false
17118
17118
  },
17119
+ "oficlinic consent-forms list": {
17120
+ operation: "oficlinic.consentForms.list",
17121
+ sdkPath: [
17122
+ "oficlinic",
17123
+ "consentForms",
17124
+ "list"
17125
+ ],
17126
+ pathField: null,
17127
+ fields: [
17128
+ {
17129
+ name: "connectionId",
17130
+ flag: "connection-id",
17131
+ kind: "string",
17132
+ required: false,
17133
+ description: "An Account connection id of the caller's organization."
17134
+ },
17135
+ {
17136
+ name: "cursor",
17137
+ flag: "cursor",
17138
+ kind: "string",
17139
+ required: false,
17140
+ description: "An opaque cursor from a previous page's pageInfo.nextCursor or pageInfo.previousCursor."
17141
+ },
17142
+ {
17143
+ name: "direction",
17144
+ flag: "direction",
17145
+ kind: "string",
17146
+ required: false,
17147
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
17148
+ choices: [
17149
+ "forward",
17150
+ "backward"
17151
+ ],
17152
+ default: "forward"
17153
+ },
17154
+ {
17155
+ name: "limit",
17156
+ flag: "limit",
17157
+ kind: "integer",
17158
+ required: false,
17159
+ description: "Maximum items returned in one page. Defaults to 50; larger reads require another cursor.",
17160
+ default: 50
17161
+ }
17162
+ ],
17163
+ inputSchema: {
17164
+ type: "object",
17165
+ properties: {
17166
+ connectionId: {
17167
+ type: "string",
17168
+ pattern: "^con_[0-9A-Za-z]{26}$",
17169
+ description: "An Account connection id of the caller's organization."
17170
+ },
17171
+ cursor: {
17172
+ type: "string",
17173
+ minLength: 4,
17174
+ maxLength: 192,
17175
+ pattern: "^[A-Za-z0-9_-]+$",
17176
+ description: "An opaque cursor from a previous page's pageInfo.nextCursor or pageInfo.previousCursor."
17177
+ },
17178
+ direction: {
17179
+ anyOf: [
17180
+ {
17181
+ type: "string",
17182
+ const: "forward"
17183
+ },
17184
+ {
17185
+ type: "string",
17186
+ const: "backward"
17187
+ }
17188
+ ],
17189
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
17190
+ default: "forward"
17191
+ },
17192
+ limit: {
17193
+ type: "integer",
17194
+ minimum: 1,
17195
+ maximum: 100,
17196
+ description: "Maximum items returned in one page. Defaults to 50; larger reads require another cursor.",
17197
+ default: 50
17198
+ }
17199
+ },
17200
+ additionalProperties: false
17201
+ },
17202
+ title: "List consent forms",
17203
+ description: "List consent form definitions offered by the organization's bound clinic login. A catalog entry identifies a form and supplies no evidence of any patient's signature or communication preferences.",
17204
+ effect: "read",
17205
+ confirmation: null,
17206
+ hidden: false
17207
+ },
17119
17208
  "oficlinic daily-roster list": {
17120
17209
  operation: "oficlinic.dailyRoster.list",
17121
17210
  sdkPath: [
@@ -179964,6 +180053,122 @@ var schemaComponents = {
179964
180053
  }
179965
180054
  }
179966
180055
  },
180056
+ OficlinicConsentForm: {
180057
+ type: "object",
180058
+ required: [
180059
+ "id",
180060
+ "name",
180061
+ "template",
180062
+ "file"
180063
+ ],
180064
+ properties: {
180065
+ id: {
180066
+ type: "string",
180067
+ maxLength: 32
180068
+ },
180069
+ name: {
180070
+ type: "string",
180071
+ maxLength: 512
180072
+ },
180073
+ template: {
180074
+ anyOf: [
180075
+ {
180076
+ type: "string",
180077
+ const: "unspecified"
180078
+ },
180079
+ {
180080
+ type: "string",
180081
+ const: "pdf"
180082
+ },
180083
+ {
180084
+ type: "string",
180085
+ const: "office"
180086
+ },
180087
+ {
180088
+ type: "string",
180089
+ const: "web"
180090
+ },
180091
+ {
180092
+ type: "string",
180093
+ const: "rendered"
180094
+ },
180095
+ {
180096
+ type: "string",
180097
+ const: "other"
180098
+ }
180099
+ ],
180100
+ description: "The format of the blank form reference offered by the picker."
180101
+ },
180102
+ file: {
180103
+ anyOf: [
180104
+ {
180105
+ type: "string",
180106
+ maxLength: 256
180107
+ },
180108
+ {
180109
+ type: "null"
180110
+ }
180111
+ ],
180112
+ description: "A local template reference; external, parameterized and unrecognized references are omitted."
180113
+ }
180114
+ },
180115
+ additionalProperties: false
180116
+ },
180117
+ OficlinicConsentFormPage: {
180118
+ type: "object",
180119
+ required: [
180120
+ "data",
180121
+ "object",
180122
+ "pageInfo"
180123
+ ],
180124
+ properties: {
180125
+ data: {
180126
+ type: "array",
180127
+ items: {
180128
+ $ref: "#/components/schemas/OficlinicConsentForm"
180129
+ },
180130
+ description: "Items admitted by this resource contract within the verified organization."
180131
+ },
180132
+ object: {
180133
+ type: "string",
180134
+ const: "list",
180135
+ description: "Discriminator for a resource list response."
180136
+ },
180137
+ pageInfo: {
180138
+ $ref: "#/components/schemas/PageInfo",
180139
+ description: "Opaque navigation cursors for this page’s stable keyset order."
180140
+ }
180141
+ },
180142
+ additionalProperties: false
180143
+ },
180144
+ OficlinicConsentFormPageResponse: {
180145
+ type: "object",
180146
+ description: "A successful answer.",
180147
+ additionalProperties: false,
180148
+ required: [
180149
+ "success",
180150
+ "data",
180151
+ "error",
180152
+ "metadata"
180153
+ ],
180154
+ properties: {
180155
+ success: {
180156
+ type: "boolean",
180157
+ enum: [
180158
+ true
180159
+ ]
180160
+ },
180161
+ data: {
180162
+ $ref: "#/components/schemas/OficlinicConsentFormPage"
180163
+ },
180164
+ error: {
180165
+ const: null
180166
+ },
180167
+ metadata: {
180168
+ $ref: "#/components/schemas/ResponseMetadata"
180169
+ }
180170
+ }
180171
+ },
179967
180172
  OficlinicContextNotAvailableFailure: {
179968
180173
  type: "object",
179969
180174
  description: "The selected company, site or IPS is not available to the provider account.",
@@ -184565,6 +184770,292 @@ var schemaComponents = {
184565
184770
  }
184566
184771
  }
184567
184772
  },
184773
+ OficlinicListConsentFormsBadGatewayError: {
184774
+ type: "object",
184775
+ description: "A failed answer.",
184776
+ additionalProperties: false,
184777
+ required: [
184778
+ "success",
184779
+ "data",
184780
+ "error",
184781
+ "metadata"
184782
+ ],
184783
+ properties: {
184784
+ success: {
184785
+ type: "boolean",
184786
+ enum: [
184787
+ false
184788
+ ]
184789
+ },
184790
+ data: {
184791
+ const: null
184792
+ },
184793
+ error: {
184794
+ $ref: "#/components/schemas/OficlinicListConsentFormsBadGatewayFailure"
184795
+ },
184796
+ metadata: {
184797
+ $ref: "#/components/schemas/ResponseMetadata"
184798
+ }
184799
+ }
184800
+ },
184801
+ OficlinicListConsentFormsBadGatewayFailure: {
184802
+ oneOf: [
184803
+ {
184804
+ $ref: "#/components/schemas/OutcomeUnknownFailure"
184805
+ },
184806
+ {
184807
+ $ref: "#/components/schemas/OficlinicSignInOutcomeUnknownFailure"
184808
+ },
184809
+ {
184810
+ $ref: "#/components/schemas/ProviderProtocolChangedFailure"
184811
+ }
184812
+ ],
184813
+ discriminator: {
184814
+ propertyName: "code",
184815
+ mapping: {
184816
+ OUTCOME_UNKNOWN: "#/components/schemas/OutcomeUnknownFailure",
184817
+ SIGN_IN_OUTCOME_UNKNOWN: "#/components/schemas/OficlinicSignInOutcomeUnknownFailure",
184818
+ PROVIDER_PROTOCOL_CHANGED: "#/components/schemas/ProviderProtocolChangedFailure"
184819
+ }
184820
+ }
184821
+ },
184822
+ OficlinicListConsentFormsBadRequestError: {
184823
+ type: "object",
184824
+ description: "A failed answer.",
184825
+ additionalProperties: false,
184826
+ required: [
184827
+ "success",
184828
+ "data",
184829
+ "error",
184830
+ "metadata"
184831
+ ],
184832
+ properties: {
184833
+ success: {
184834
+ type: "boolean",
184835
+ enum: [
184836
+ false
184837
+ ]
184838
+ },
184839
+ data: {
184840
+ const: null
184841
+ },
184842
+ error: {
184843
+ $ref: "#/components/schemas/OficlinicListConsentFormsBadRequestFailure"
184844
+ },
184845
+ metadata: {
184846
+ $ref: "#/components/schemas/ResponseMetadata"
184847
+ }
184848
+ }
184849
+ },
184850
+ OficlinicListConsentFormsBadRequestFailure: {
184851
+ oneOf: [
184852
+ {
184853
+ $ref: "#/components/schemas/InvalidInputFailure"
184854
+ },
184855
+ {
184856
+ $ref: "#/components/schemas/OficlinicInvalidCursorFailure"
184857
+ }
184858
+ ],
184859
+ discriminator: {
184860
+ propertyName: "code",
184861
+ mapping: {
184862
+ INVALID_INPUT: "#/components/schemas/InvalidInputFailure",
184863
+ INVALID_CURSOR: "#/components/schemas/OficlinicInvalidCursorFailure"
184864
+ }
184865
+ }
184866
+ },
184867
+ OficlinicListConsentFormsConflictError: {
184868
+ type: "object",
184869
+ description: "A failed answer.",
184870
+ additionalProperties: false,
184871
+ required: [
184872
+ "success",
184873
+ "data",
184874
+ "error",
184875
+ "metadata"
184876
+ ],
184877
+ properties: {
184878
+ success: {
184879
+ type: "boolean",
184880
+ enum: [
184881
+ false
184882
+ ]
184883
+ },
184884
+ data: {
184885
+ const: null
184886
+ },
184887
+ error: {
184888
+ $ref: "#/components/schemas/OficlinicListConsentFormsConflictFailure"
184889
+ },
184890
+ metadata: {
184891
+ $ref: "#/components/schemas/ResponseMetadata"
184892
+ }
184893
+ }
184894
+ },
184895
+ OficlinicListConsentFormsConflictFailure: {
184896
+ oneOf: [
184897
+ {
184898
+ $ref: "#/components/schemas/OficlinicConnectionRequiredFailure"
184899
+ },
184900
+ {
184901
+ $ref: "#/components/schemas/OficlinicConnectionNotActiveFailure"
184902
+ },
184903
+ {
184904
+ $ref: "#/components/schemas/OficlinicConnectionBusyFailure"
184905
+ },
184906
+ {
184907
+ $ref: "#/components/schemas/OficlinicReauthenticationRequiredFailure"
184908
+ }
184909
+ ],
184910
+ discriminator: {
184911
+ propertyName: "code",
184912
+ mapping: {
184913
+ CONNECTION_REQUIRED: "#/components/schemas/OficlinicConnectionRequiredFailure",
184914
+ CONNECTION_NOT_ACTIVE: "#/components/schemas/OficlinicConnectionNotActiveFailure",
184915
+ CONNECTION_BUSY: "#/components/schemas/OficlinicConnectionBusyFailure",
184916
+ REAUTHENTICATION_REQUIRED: "#/components/schemas/OficlinicReauthenticationRequiredFailure"
184917
+ }
184918
+ }
184919
+ },
184920
+ OficlinicListConsentFormsServiceUnavailableError: {
184921
+ type: "object",
184922
+ description: "A failed answer.",
184923
+ additionalProperties: false,
184924
+ required: [
184925
+ "success",
184926
+ "data",
184927
+ "error",
184928
+ "metadata"
184929
+ ],
184930
+ properties: {
184931
+ success: {
184932
+ type: "boolean",
184933
+ enum: [
184934
+ false
184935
+ ]
184936
+ },
184937
+ data: {
184938
+ const: null
184939
+ },
184940
+ error: {
184941
+ $ref: "#/components/schemas/OficlinicListConsentFormsServiceUnavailableFailure"
184942
+ },
184943
+ metadata: {
184944
+ $ref: "#/components/schemas/ResponseMetadata"
184945
+ }
184946
+ }
184947
+ },
184948
+ OficlinicListConsentFormsServiceUnavailableFailure: {
184949
+ oneOf: [
184950
+ {
184951
+ $ref: "#/components/schemas/UpstreamUnavailableFailure"
184952
+ },
184953
+ {
184954
+ $ref: "#/components/schemas/ProviderUnavailableFailure"
184955
+ }
184956
+ ],
184957
+ discriminator: {
184958
+ propertyName: "code",
184959
+ mapping: {
184960
+ UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
184961
+ PROVIDER_UNAVAILABLE: "#/components/schemas/ProviderUnavailableFailure"
184962
+ }
184963
+ }
184964
+ },
184965
+ OficlinicListConsentFormsTooManyRequestsError: {
184966
+ type: "object",
184967
+ description: "A failed answer.",
184968
+ additionalProperties: false,
184969
+ required: [
184970
+ "success",
184971
+ "data",
184972
+ "error",
184973
+ "metadata"
184974
+ ],
184975
+ properties: {
184976
+ success: {
184977
+ type: "boolean",
184978
+ enum: [
184979
+ false
184980
+ ]
184981
+ },
184982
+ data: {
184983
+ const: null
184984
+ },
184985
+ error: {
184986
+ $ref: "#/components/schemas/OficlinicListConsentFormsTooManyRequestsFailure"
184987
+ },
184988
+ metadata: {
184989
+ $ref: "#/components/schemas/ResponseMetadata"
184990
+ }
184991
+ }
184992
+ },
184993
+ OficlinicListConsentFormsTooManyRequestsFailure: {
184994
+ oneOf: [
184995
+ {
184996
+ $ref: "#/components/schemas/RateLimitedFailure"
184997
+ },
184998
+ {
184999
+ $ref: "#/components/schemas/OficlinicLoginCoolingDownFailure"
185000
+ }
185001
+ ],
185002
+ discriminator: {
185003
+ propertyName: "code",
185004
+ mapping: {
185005
+ RATE_LIMITED: "#/components/schemas/RateLimitedFailure",
185006
+ LOGIN_COOLING_DOWN: "#/components/schemas/OficlinicLoginCoolingDownFailure"
185007
+ }
185008
+ }
185009
+ },
185010
+ OficlinicListConsentFormsUnprocessableContentError: {
185011
+ type: "object",
185012
+ description: "A failed answer.",
185013
+ additionalProperties: false,
185014
+ required: [
185015
+ "success",
185016
+ "data",
185017
+ "error",
185018
+ "metadata"
185019
+ ],
185020
+ properties: {
185021
+ success: {
185022
+ type: "boolean",
185023
+ enum: [
185024
+ false
185025
+ ]
185026
+ },
185027
+ data: {
185028
+ const: null
185029
+ },
185030
+ error: {
185031
+ $ref: "#/components/schemas/OficlinicListConsentFormsUnprocessableContentFailure"
185032
+ },
185033
+ metadata: {
185034
+ $ref: "#/components/schemas/ResponseMetadata"
185035
+ }
185036
+ }
185037
+ },
185038
+ OficlinicListConsentFormsUnprocessableContentFailure: {
185039
+ oneOf: [
185040
+ {
185041
+ $ref: "#/components/schemas/CredentialsRejectedFailure"
185042
+ },
185043
+ {
185044
+ $ref: "#/components/schemas/OficlinicContextNotAvailableFailure"
185045
+ },
185046
+ {
185047
+ $ref: "#/components/schemas/OficlinicProviderIdentityMismatchFailure"
185048
+ }
185049
+ ],
185050
+ discriminator: {
185051
+ propertyName: "code",
185052
+ mapping: {
185053
+ CREDENTIALS_REJECTED: "#/components/schemas/CredentialsRejectedFailure",
185054
+ CONTEXT_NOT_AVAILABLE: "#/components/schemas/OficlinicContextNotAvailableFailure",
185055
+ PROVIDER_IDENTITY_MISMATCH: "#/components/schemas/OficlinicProviderIdentityMismatchFailure"
185056
+ }
185057
+ }
185058
+ },
184568
185059
  OficlinicListPatientRegistrationOptionsBadGatewayError: {
184569
185060
  type: "object",
184570
185061
  description: "A failed answer.",
@@ -261437,6 +261928,45 @@ var schemaComponents = {
261437
261928
  ],
261438
261929
  additionalProperties: false
261439
261930
  },
261931
+ OficlinicConsentFormsListInput: {
261932
+ type: "object",
261933
+ properties: {
261934
+ connectionId: {
261935
+ type: "string",
261936
+ pattern: "^con_[0-9A-Za-z]{26}$",
261937
+ description: "An Account connection id of the caller's organization."
261938
+ },
261939
+ cursor: {
261940
+ type: "string",
261941
+ minLength: 4,
261942
+ maxLength: 192,
261943
+ pattern: "^[A-Za-z0-9_-]+$",
261944
+ description: "An opaque cursor from a previous page's pageInfo.nextCursor or pageInfo.previousCursor."
261945
+ },
261946
+ direction: {
261947
+ anyOf: [
261948
+ {
261949
+ type: "string",
261950
+ const: "forward"
261951
+ },
261952
+ {
261953
+ type: "string",
261954
+ const: "backward"
261955
+ }
261956
+ ],
261957
+ description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
261958
+ default: "forward"
261959
+ },
261960
+ limit: {
261961
+ type: "integer",
261962
+ minimum: 1,
261963
+ maximum: 100,
261964
+ description: "Maximum items returned in one page. Defaults to 50; larger reads require another cursor.",
261965
+ default: 50
261966
+ }
261967
+ },
261968
+ additionalProperties: false
261969
+ },
261440
261970
  OficlinicDailyRosterListInput: {
261441
261971
  type: "object",
261442
261972
  properties: {
@@ -272821,9 +273351,9 @@ var schemaComponents = {
272821
273351
  // src/generated/generation.json
272822
273352
  var generation_default = {
272823
273353
  formatVersion: 6,
272824
- release: "1.20261130.41855",
272825
- openapiSha256: "0e0348b91409631c52b2fb6068f5baf2faa02a2d480b8e2293eeaaff24d27728",
272826
- openapiContentSha256: "2cdac85738ceec968b5ced6645bd448a3c66f7f65819925c656672c5eefa2977",
273354
+ release: "1.20261130.131600",
273355
+ openapiSha256: "04c1748c06e9ad9bf92534d598024e14f28c5c90ec22a502f684fc4749ff27c8",
273356
+ openapiContentSha256: "520895bb55c56e2386a57d6a0736d5d781cf1b7f02759efee07319460230de18",
272827
273357
  forge: {
272828
273358
  repository: "https://github.com/cloudflare/forge",
272829
273359
  commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
@@ -272836,7 +273366,7 @@ var generation_default = {
272836
273366
  outputs: [
272837
273367
  {
272838
273368
  path: "src/generated/commands.ts",
272839
- sha256: "db06c8dff5adbbaaf411605baf9bcd18094fa2fe2b585cfc8b60e4e7084f5242"
273369
+ sha256: "e790d19aa3be56cfb288840a902b367fa38e5976fca0e5f807af7315c1e1ec80"
272840
273370
  }
272841
273371
  ]
272842
273372
  };
@@ -274736,7 +275266,7 @@ ${name}`);
274736
275266
  }
274737
275267
 
274738
275268
  // src/index.ts
274739
- var VERSION = "3.75.0";
275269
+ var VERSION = "3.76.0";
274740
275270
  var RELEASE = generation_default.release;
274741
275271
  var commands2 = { ...commands, ...accountOperatorCommands };
274742
275272
  var SDK_PATHS = new Map(Object.values(commands2).map((command) => [command.operation, command.sdkPath]));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbol-ai/cli",
3
- "version": "3.75.0",
3
+ "version": "3.76.0",
4
4
  "description": "The Arbol CLI: the Arbol API from your terminal, with commands generated by Cloudflare Forge from the public OpenAPI.",
5
5
  "keywords": [
6
6
  "arbol",
@@ -45,7 +45,7 @@
45
45
  "verify:with-tests": "bun run typecheck && bun run test && bun run build"
46
46
  },
47
47
  "dependencies": {
48
- "@arbol-ai/sdk": "5.75.0",
48
+ "@arbol-ai/sdk": "5.76.0",
49
49
  "ajv": "8.20.0",
50
50
  "ajv-formats": "3.0.1",
51
51
  "oauth4webapi": "3.8.9"
@@ -60,8 +60,8 @@
60
60
  "packageManager": "bun@1.4.5",
61
61
  "arbol": {
62
62
  "openapi": {
63
- "release": "1.20261130.41855",
64
- "sha256": "2cdac85738ceec968b5ced6645bd448a3c66f7f65819925c656672c5eefa2977"
63
+ "release": "1.20261130.131600",
64
+ "sha256": "520895bb55c56e2386a57d6a0736d5d781cf1b7f02759efee07319460230de18"
65
65
  }
66
66
  }
67
67
  }